Class SBMVisualModelCylinderArray#
ClassList > SBMVisualModelCylinderArray
#include <SBMVisualModelCylinderArray.hpp>
Inherits the following classes: SBMVisualModelGeometryArray
Public Types inherited from SBMVisualModelGeometryArray#
See SBMVisualModelGeometryArray
Type | Name |
---|---|
enum | Type |
Public Functions#
Type | Name |
---|---|
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, SBSpatialTransform * transform) Builds a cylinder array. |
|
SB_DECLARE_DATA (SBMVisualModelCylinderArray) |
|
unsigned int * | getCapData () const Returns the cap data. |
float * | getRadiusData () const Returns the radius data. |
virtual SBMVisualModelGeometryArray::Type | getType () override const Returns the type of geometry array. |
void | setCapData (unsigned int * flagData) Sets the cap data. |
void | setRadiusData (float * normalData) Sets the radius data. |
virtual | ~SBMVisualModelCylinderArray () Deletes the cylinder array. |
Public Functions inherited from SBMVisualModelGeometryArray#
See SBMVisualModelGeometryArray
Type | Name |
---|---|
SBMVisualModelGeometryArray (SBMVisualModelGeometryArrayData * datapointer) Builds a geometry array. |
|
SB_DECLARE_DATA (SBMVisualModelGeometryArray) |
|
float * | getColorData () const Returns the color data. |
unsigned int * | getFlagData () const Returns the flag data. |
unsigned int * | getIndexData () const Returns the index data. |
SBDDataGraphNodeMaterial ** | getMaterialData () const Returns the material data. |
SBDDataGraphNode ** | getNodeData () const Returns the node data. |
unsigned int * | getNodeIndexData () const Returns the node index data. |
unsigned int | getNumberOfGeometries () const Returns the number of geometries. |
unsigned int | getNumberOfPositions () const Returns the number of positions. |
float * | getPositionData () const Returns the position data. |
SBSpatialTransform * | getTransform () const Returns the transform. |
virtual Type | getType () const = 0 Returns the type of geometry array. |
void | setColorData (float * colorData) Sets the color data. |
void | setFlagData (unsigned int * flagData) Sets the flag data. |
void | setIndexData (unsigned int * indexData) Sets the index data. |
void | setMaterialData (SBDDataGraphNodeMaterial ** materialData) Sets the material data. |
void | setNodeData (SBDDataGraphNode ** nodeData) Sets the node data. |
void | setNodeIndexData (unsigned int * nodeIndexData) Sets the node index data. |
void | setNumberOfGeometries (unsigned int numberOfGeometries) Sets the number of geometries. |
void | setNumberOfPositions (unsigned int numberOfPositions) Sets the number of positions. |
void | setPositionData (float * positionData) Sets the position data. |
void | setTransform (SBSpatialTransform * transform) Sets the transform. |
virtual | ~SBMVisualModelGeometryArray () Deletes the triangle array. |
Public Functions inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTarget () |
|
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
virtual | ~SBCReferenceTarget () |
Protected Attributes inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTargetData * | dataPointer |
Protected Functions inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTarget (SBCReferenceTargetData * dataPointer) |
|
void | removeAllReferenceOwners () |
Detailed Description#
This class describes an array of cylinders
Short name: SBCylinderArray
Public Functions Documentation#
function SBMVisualModelCylinderArray#
Builds a cylinder array.
SBMVisualModelCylinderArray::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,
SBSpatialTransform * transform
)
function SB_DECLARE_DATA#
function getCapData#
Returns the cap data.
function getRadiusData#
Returns the radius data.
function getType#
Returns the type of geometry array.
Implements SBMVisualModelGeometryArray::getType
function setCapData#
Sets the cap data.
function setRadiusData#
Sets the radius data.
function ~SBMVisualModelCylinderArray#
Deletes the cylinder array.