![]() |
VR-Forces 4.7 Class Documentation
|
Public Types | |
| typedef std::map< int, VectorGeometryLocations > | MapModelsToVectorGeometryLocations |
| typedef std::map< int, VectorMaterials > | MapModelsToVectorMaterials |
| typedef std::map< int, VectorOsgTextures > | MapModelsToVectorOsgTextures |
Public Member Functions | |
| DtAggregatedGeometry () | |
| virtual | ~DtAggregatedGeometry () |
| virtual int | numModels (void) const |
| number of models registered here | |
| virtual int | modelId (int index) const |
| the actual model id of the model with index | |
| VectorGeometryLocations & | getOrCreateLocationsFor (int modelId) |
| VectorMaterials & | getOrCreateMaterialsFor (int modelId) |
| VectorOsgTextures & | getOrCreateTexturesFor (int modelId) |
| virtual const VectorGeometryLocations & | getVectorGeometryLocations (int modelId) const |
| vector of the 'specs' for the model | |
| virtual bool | hasVectorGeometryLocations (int modelId) const |
| This being true indicates that the model with id modelId was infact registered here. | |
| virtual const VectorMaterials & | getVectorMaterials (int modelId) const |
| virtual const VectorOsgTextures & | getVectorOsgTextures (const int modelId) const |
| vector of osg textures encountered within the model | |
| int | vertexAndAttributesBufferSize (void) const |
| size of all vertex attributes (vertices, normals, colors, texture coords) | |
| void | copyVertexAndAttributeDataInto (DtGlBuffer *vertexAndAttributesBuffer) const |
| copy all vertex data into a gl buffer | |
| osg::Geometry * | aggregatedGeometry (void) |
| virtual void | printSpecsForModelId (int modelId) |
| debugging | |
| virtual void | printStats () |
| debugging | |
| virtual void | testDrawUsingDrawElements () |
| debugging | |
| virtual unsigned int | vertexBufferSizeInBytes () const |
| Accessors for the Vertex Buffer/Size. | |
| virtual unsigned int | vertexBufferNumElements () const |
| virtual const void * | verticesPointer () const |
| virtual unsigned int | numVertices (void) const |
| virtual unsigned int | normalBufferSizeInBytes () const |
| Accessors for the Normals' Buffer/Size. | |
| virtual unsigned int | normalBufferNumElements () const |
| virtual const void * | normalsPointer () const |
| virtual unsigned int | numNormals (void) const |
| virtual unsigned int | colorBufferSizeInBytes () const |
| Accessors for the Colors' Buffer/Size. | |
| virtual unsigned int | colorBufferNumElements () const |
| virtual const void * | colorsPointer () const |
| virtual unsigned int | numColors (void) const |
| virtual unsigned int | textureCoordsBufferSizeInBytes (unsigned int unit) const |
| Accessors for the Texture Coordinates' Buffer/Size. | |
| virtual unsigned int | textureCoordsBufferNumElements (unsigned int unit) const |
| virtual const void * | textureCoordsPointer (unsigned int unit) const |
| virtual unsigned int | numTextureCoords (unsigned int unit) const |
| virtual const void * | indexBufferPointer () const |
| Accessors for the Index Buffer/Size. | |
| virtual unsigned int | indexBufferSizeInBytes () const |
Public Attributes | |
| osg::ref_ptr< osg::Geometry > | myAggregatedGeometry |
| MapModelsToVectorGeometryLocations | myMapModelsToGeometryLocations |
| MapModelsToVectorMaterials | myMapModelsToVectorMaterials |
| MapModelsToVectorOsgTextures | myMapModelsToVectorOsgTextures |
| typedef std::map<int, VectorGeometryLocations> makVrv::DtAggregatedGeometry::MapModelsToVectorGeometryLocations |
| typedef std::map<int, VectorMaterials> makVrv::DtAggregatedGeometry::MapModelsToVectorMaterials |
| typedef std::map<int, VectorOsgTextures> makVrv::DtAggregatedGeometry::MapModelsToVectorOsgTextures |
| makVrv::DtAggregatedGeometry::DtAggregatedGeometry | ( | ) |
|
virtual |
|
virtual |
number of models registered here
the actual model id of the model with index
| VectorGeometryLocations& makVrv::DtAggregatedGeometry::getOrCreateLocationsFor | ( | int | modelId | ) |
| VectorMaterials& makVrv::DtAggregatedGeometry::getOrCreateMaterialsFor | ( | int | modelId | ) |
| VectorOsgTextures& makVrv::DtAggregatedGeometry::getOrCreateTexturesFor | ( | int | modelId | ) |
|
virtual |
vector of the 'specs' for the model
This being true indicates that the model with id modelId was infact registered here.
|
virtual |
|
virtual |
vector of osg textures encountered within the model
| int makVrv::DtAggregatedGeometry::vertexAndAttributesBufferSize | ( | void | ) | const |
size of all vertex attributes (vertices, normals, colors, texture coords)
| void makVrv::DtAggregatedGeometry::copyVertexAndAttributeDataInto | ( | DtGlBuffer * | vertexAndAttributesBuffer | ) | const |
copy all vertex data into a gl buffer
| osg::Geometry* makVrv::DtAggregatedGeometry::aggregatedGeometry | ( | void | ) |
Accessors for the Vertex Buffer/Size.
|
virtual |
Accessors for the Normals' Buffer/Size.
|
virtual |
Accessors for the Colors' Buffer/Size.
|
virtual |
|
virtual |
Accessors for the Texture Coordinates' Buffer/Size.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Accessors for the Index Buffer/Size.
|
virtual |
debugging
|
virtual |
debugging
|
virtual |
debugging
| osg::ref_ptr<osg::Geometry> makVrv::DtAggregatedGeometry::myAggregatedGeometry |
| MapModelsToVectorGeometryLocations makVrv::DtAggregatedGeometry::myMapModelsToGeometryLocations |
| MapModelsToVectorMaterials makVrv::DtAggregatedGeometry::myMapModelsToVectorMaterials |
| MapModelsToVectorOsgTextures makVrv::DtAggregatedGeometry::myMapModelsToVectorOsgTextures |