CDPSet
Functions
~CDPSet |
|
void | addItem |
void | addItems |
void | addAdaptiveGeometryItem |
void | addAdaptiveGeometryItems |
Detailed Description
-
class
CDPSet
This class defines the items of a set.
A set item is specified by:
- geometry index
- group index
- item index
- (optional) state id (for adaptive geometries)
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
Public Functions
-
inline virtual
~CDPSet
()
-
virtual void
addItem
(cdp_size_t geometryIndex, cdp_size_t groupIndex, cdp_int_t itemIndex) = 0 Adds 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 referring to a non-adaptive geometry.
-
virtual void
addItems
(cdp_size_t geometryIndex, cdp_size_t groupIndex, const cdp_int_t *itemIndexArr, cdp_size_t itemCount) = 0 Adds 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 referring to a non-adaptive geometry.
-
virtual void
addAdaptiveGeometryItem
(cdp_int_t stateId, cdp_size_t geometryIndex, cdp_size_t groupIndex, cdp_int_t itemIndex) = 0 Adds 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 referring to an adaptive geometry.
-
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 Adds 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 referring to an adaptive geometry.