Helper for managing indirect geometry, its intersection group and registrar corresponding to a 'tile node' (gs cell or gt cell) DtCellToIndirectGeoMap in turn manages a map of feature tile nodes (for a layer) to a corresponding instance of DtCellGeoSpecificIndirectGeo.
More...
|
| | DtCellGeoSpecificIndirectGeo (DtDe &de, bool includeIntersectionGeoInNodePath, bool terrainPatch, const DtIndirectFadeParameters &fadeParameters) |
| | CTOR. More...
|
| |
| virtual | ~DtCellGeoSpecificIndirectGeo () |
| | DTOR. More...
|
| |
| virtual int | addInstance (DtCellIndirectGeoInstance &instance, const std::string &modelName, bool cullFaceEnabled) |
| |
| virtual int | addInstance (DtCellIndirectGeoInstance &instance, const osg::Node *modelNode, const std::string &modelNameSuffix, bool cullFaceEnabled, const DtIndirectPolygonOffset &polygonOffset) |
| |
| | DtCellIndirectGeo (DtDe &de, bool includeIntersectionGeoInNodePath, bool terrainPatch, const DtIndirectFadeParameters &fadeParameters) |
| | CTOR. More...
|
| |
| virtual | ~DtCellIndirectGeo () |
| | DTOR. More...
|
| |
| virtual void | setModelsContainer (DtIndirectModelsContainer *modelsContainer, bool ownsModelsContainer) |
| | set the models container. More...
|
| |
| virtual void | setCullShaderConfig (const DtCullShaderConfig &cullShaderConfig) |
| | set the cull shader config More...
|
| |
| virtual void | setParent (const osg::Group *parent) |
| | Sets up the parent of the indirect geometry which this manages. More...
|
| |
| virtual const osg::BoundingBoxd & | boundingBox (void) const |
| | An indirect geometry doesn't know how to calculate bounding box since this is related to the instances as well as the osg models (that indirect geometry knows nothing about This class computes it for it, and sets itself up as the compute bound call back for the indirect geometry. More...
|
| |
| virtual const DtIndirectGeometry * | indirectGeometry (void) const |
| | internal. Access the internally held indirect geometry More...
|
| |
| virtual DtIndirectGeometry * | indirectGeometry (void) |
| | internal. Access the internally held indirect geometry More...
|
| |
| virtual osg::Group * | indirectIntersectionGroup () |
| | get the intersection group for this cell More...
|
| |
| virtual int | addInstance (const DtCellIndirectGeoInstance &cellIndirectGeoInstance) |
| | internal method to add intersection geometry for an instance of the modelNode, with transform as instanceXForm. More...
|
| |
Helper for managing indirect geometry, its intersection group and registrar corresponding to a 'tile node' (gs cell or gt cell) DtCellToIndirectGeoMap in turn manages a map of feature tile nodes (for a layer) to a corresponding instance of DtCellGeoSpecificIndirectGeo.
| makVrv::DtCellGeoSpecificIndirectGeo::DtCellGeoSpecificIndirectGeo |
( |
DtDe & |
de, |
|
|
bool |
includeIntersectionGeoInNodePath, |
|
|
bool |
terrainPatch, |
|
|
const DtIndirectFadeParameters & |
fadeParameters |
|
) |
| |
| virtual makVrv::DtCellGeoSpecificIndirectGeo::~DtCellGeoSpecificIndirectGeo |
( |
| ) |
|
|
virtual |
| makVrv::DtCellGeoSpecificIndirectGeo::DtCellGeoSpecificIndirectGeo |
( |
| ) |
|
|
privatedelete |
- Parameters
-
| instanceXForm | is the transformation relative to the node under which this cell/tile (and hence the indirect geometry) is parented |
| modelId | per the registrar |
| modelNode | the top level osg node corresponding to the model geometry returns the instance id in the indirect geometry for the added instance. |
- Parameters
-
| instanceXForm | is the transformation relative to the node under which this cell/tile (and hence the indirect geometry) is parented |
| modelNode | the top level osg node corresponding to the model geometry |
| modelNamePrefix | a raw pointer to be indirected does not really have any model name. The printed string if something goes wrong is the pointer value itself this suffix/debug string will be appended to this suffix returns the instance id in the indirect geometry for the added instance. |
The documentation for this class was generated from the following file: