Loading...
Searching...
No Matches
SBMVisualModelCylinderArray Class Reference

This class describes an array of cylinders.

Constructors and destructors

 SBMVisualModelCylinderArray (unsigned int numberOfCylinders, unsigned int numberOfPositions, unsigned int *indexData, float *positionData, float *radiusData, unsigned int *capData, float *colorData, SBDDataGraphNodeMaterial **materialData, SBDDataGraphNode **nodeData, unsigned int *flagData, unsigned int *nodeIndexData)
 Builds a cylinder array.
 
virtual ~SBMVisualModelCylinderArray ()
 Deletes the cylinder array.
 

Geometry

unsigned int getNumberOfCylinders () const
 Returns the number of cylinders.
 
void setNumberOfCylinders (unsigned int numberOfCylinders)
 Sets the number of cylinders.
 
unsigned int getNumberOfPositions () const
 Returns the number of positions.
 
void setNumberOfPositions (unsigned int numberOfPositions)
 Sets the number of positions.
 
unsigned int * getIndexData () const
 Returns the index data.
 
void setIndexData (unsigned int *indexData)
 Sets the index data.
 
float * getPositionData () const
 Returns the position data.
 
void setPositionData (float *positionData)
 Sets the position data.
 
float * getRadiusData () const
 Returns the radius data.
 
void setRadiusData (float *normalData)
 Sets the radius data.
 
unsigned int * getCapData () const
 Returns the cap data.
 
void setCapData (unsigned int *flagData)
 Sets the cap data.
 
float * getColorData () const
 Returns the color data.
 
void setColorData (float *colorData)
 Sets the color data.
 
SBDDataGraphNodeMaterial ** getMaterialData () const
 Returns the material data.
 
void setMaterialData (SBDDataGraphNodeMaterial **materialData)
 Sets the material data.
 
SBDDataGraphNode ** getNodeData () const
 Returns the node data.
 
void setNodeData (SBDDataGraphNode **nodeData)
 Sets the node data.
 
unsigned int * getFlagData () const
 Returns the flag data.
 
void setFlagData (unsigned int *flagData)
 Sets the flag data.
 
unsigned int * getNodeIndexData () const
 Returns the node index data.
 
void setNodeIndexData (unsigned int *nodeIndexData)
 Sets the node index data.
 
 SB_DECLARE_DATA (SBMVisualModelCylinderArray)
 

Additional Inherited Members

- Public Member Functions inherited from SBCReferenceTarget
unsigned int getMemoryFootprint () const
 
void printReferencesToOwners () const
 
 SBCReferenceTarget ()
 
virtual ~SBCReferenceTarget ()
 
- Protected Member Functions inherited from SBCReferenceTarget
void removeAllReferenceOwners ()
 
 SBCReferenceTarget (SBCReferenceTargetData *dataPointer)
 
- Protected Attributes inherited from SBCReferenceTarget
SBCReferenceTargetData * dataPointer