Ceetron Data Provider Framework
Public Member Functions | List of all members
CDPSet Class Referenceabstract

Public Member Functions

virtual void addItem (cdp_size_t geometryIndex, cdp_size_t groupIndex, cdp_int_t itemIndex)=0
 
virtual void addItems (cdp_size_t geometryIndex, cdp_size_t groupIndex, const cdp_int_t *itemIndexArr, cdp_size_t itemCount)=0
 
virtual void addAdaptiveGeometryItem (cdp_int_t stateId, cdp_size_t geometryIndex, cdp_size_t groupIndex, cdp_int_t itemIndex)=0
 
virtual void addAdaptiveGeometryItems (cdp_int_t stateId, cdp_size_t geometryIndex, cdp_size_t groupIndex, const cdp_int_t *itemIndexArr, cdp_size_t itemCount)=0
 

Detailed Description

This class defines the items of a set

A set item is specified by:

If you are using adaptive geometries, you should use the addAdaptiveGeometryItem or addAdaptiveGeometryItems methods to add items to the set.

Note
Currently, only element sets are supported

Member Function Documentation

void CDPSet::addAdaptiveGeometryItem ( cdp_int_t  stateId,
cdp_size_t  geometryIndex,
cdp_size_t  groupIndex,
cdp_int_t  itemIndex 
)
pure virtual

Add an item with the given state id, geometry index, group index and item index to the set.

As only element sets are currently supported, item index is element index.

Note
Only use this method if you are refering to an adaptive geometry.
void CDPSet::addAdaptiveGeometryItems ( cdp_int_t  stateId,
cdp_size_t  geometryIndex,
cdp_size_t  groupIndex,
const cdp_int_t *  itemIndexArr,
cdp_size_t  itemCount 
)
pure virtual

Add items with the given state id, geometry index, group index and item indices to the set.

This is useful for adding many items (elements) to the set from a given element group.

Note
Only use this method if you are refering to an adaptive geometry.
void CDPSet::addItem ( cdp_size_t  geometryIndex,
cdp_size_t  groupIndex,
cdp_int_t  itemIndex 
)
pure virtual

Add an item with the given geometry index, group index and item index to the set.

As only element sets are currently supported, item index is element index.

Note
Only use this method if you are refering to a non-adaptive geometry.
void CDPSet::addItems ( cdp_size_t  geometryIndex,
cdp_size_t  groupIndex,
const cdp_int_t *  itemIndexArr,
cdp_size_t  itemCount 
)
pure virtual

Add items with the given geometry index, group index and item indices to the set.

This is useful for adding many items (elements) to the set from a given element group.

Note
Only use this method if you are refering to a non-adaptive geometry.

The documentation for this class was generated from the following files: