cee::vtfx::SetItemGroup
-
class
SetItemGroup: public RefCountedObject A class to store a set (a group of items) that map to a given block.
For element blocks we currently support element, element face, element edge and element node sets. For node blocks, we only support node sets.
Public Functions
-
SetItemGroup()
-
virtual
~SetItemGroup()
-
int
blockId() const Returns the block id.
-
void
setBlockId(int blockId) Sets the block id.
-
size_t
itemCount() const Returns number of items in group.
-
int
itemIdOrIndex(size_t index) const Returns the id/index of the item at index.
-
int
itemSubIndex(size_t index) const Returns the sub-index of the item at index Returns -1 if no sub indices.
-
void
setItems(const std::vector<int> &itemIdOrIndices, const std::vector<int> &subItemIndices = std::vector<int>()) Sets items in this group from array of ids/indices.
-
void
addItems(const std::vector<int> &itemIdOrIndices) Adds items in this group from array of ids/indices.
-
void
addItem(int itemIdOrIndex) Adds a single item for given id/index.
-
VTFxSetBlockItems *
internal_vtfxSetBlockItems()
-