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, DtIndirectGeometryCreator &indirectGeomCreator, DtIndirectGeoComputeBoundCallbackCreator &indirectGeoCallbackCreator, DtIndirectVisitorControlGroupCreator &indirectGeoIntersectionGroupCreator, bool includeIntersectionGeoInNodePath, bool terrainPatch, const DtIndirectFadeParameters &fadeParameters) |
| | CTOR. More...
|
| |
| virtual | ~DtCellGeoSpecificIndirectGeo () |
| | DTOR. More...
|
| |
| virtual void | addInstance (const osg::Matrixd &instanceXForm, const std::string &modelName, const osg::NodePath &nodePath=osg::NodePath(), const DtIndirectLodManager::DequeIndirectLodInfos &lodStack=DtIndirectLodManager::DequeIndirectLodInfos(), bool addToIntersectionGroup=true, const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack=DtIndirectSwitchManager::DequeNodeSwitchInfoPairs()) |
| |
| virtual void | addInstance (const osg::Matrixd &instanceXForm, const osg::Node *modelNode, const std::string &modelNameSuffix, const osg::NodePath &nodePath=osg::NodePath(), const DtIndirectLodManager::DequeIndirectLodInfos &lodStack=DtIndirectLodManager::DequeIndirectLodInfos(), bool addToIntersectionGroup=true, const DtIndirectSwitchManager::DequeNodeSwitchInfoPairs &switchStack=DtIndirectSwitchManager::DequeNodeSwitchInfoPairs(), bool cullFaceEnabled=true, const DtIndirectPolygonOffset &polygonOffset=DtIndirectPolygonOffset(0, 0)) |
| |
| | DtCellIndirectGeo (DtDe &de, DtIndirectGeometryCreator &indirectGeometryCreator, DtIndirectGeoComputeBoundCallbackCreator &indirectGeoComputeCallbackCreator, DtIndirectVisitorControlGroupCreator &indirectGeoIntersectionGroupCreator, 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...
|
| |
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.