55  int csoVoxelSetAt(
unsigned int index) { 
return _csoVoxelSetIds[index]; }
 
   57  bool hasCSOVoxelSetWithId(
int id) { 
return (std::find(_csoVoxelSetIds.begin(), _csoVoxelSetIds.end(), 
id) != _csoVoxelSetIds.end() ); }
 
   60  void setLabel(
const std::string& label) { _label = label; }
 
   62  const std::string& 
label()
 const { 
return _label; }
 
   65  void setDescription(
const std::string& description) { _description = description; }
 
   67  const std::string& 
description()
 const { 
return _description; }
 
   86  std::vector<int> _csoVoxelSetIds;
 
   90  std::string _description;
 
 
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
 
void setLabel(const std::string &label)
Sets the label of this CSOVoxelSetGroup.
 
int uniqueId() const
Returns the unique ID of this CSOVoxelSetGroup.
 
bool hasCSOVoxelSetWithId(int id)
Returns true if the specified CSOVoxelSet ID exists in this CSOVoxelSetGroup.
 
const std::string & description() const
Returns the description of this CSOVoxelSetGroup.
 
virtual ~CSOVoxelSetGroup()
Standard destructor.
 
int numCSOVoxelSet()
Returns the number of associated CSOVoxelSets.
 
CSOVoxelSetGroup(const CSOVoxelSetGroup &csoVoxelSetGroup)
Copy constructor. The unique ID is initialized with 0.
 
void setVoxelSetList(CSOVoxelSetList *list)
Sets the pointer to the host CSOVoxelSetList.
 
int csoVoxelSetAt(unsigned int index)
Returns the ID of a CSOVoxelSet at the specified index.
 
void addCSOVoxelSetId(int id)
Adds an ID of a CSOVoxelSet.
 
CSOVoxelSetGroup()
Standard constructor. The unique ID is initialized with 0.
 
const std::string & label() const
Returns the label of this CSOVoxelSetGroup.
 
void setCSOVoxelSetList(CSOVoxelSetList *csoVoxelSetList)
Sets the pointer to the embracing CSOVoxelSetList.
 
int voxelSetIdAt(size_t index)
Returns the ID of the voxel set at the specified index.
 
CSOVoxelSetList * csoVoxelSetList() const
Returns the pointer to the embracing CSOVoxelSetList.
 
void setDescription(const std::string &description)
Sets the description of this CSOVoxelSetGroup.
 
void setUniqueId(int id)
Sets the unique ID of this CSOVoxelSetGroup.