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 DtCellIndirectGeo.
More...
|
| virtual void | expandBoundingBox (const osg::Node *modelNode, const osg::Matrixd &instanceXForm) |
| | internal method to actually expand the bounding box based on the instance xform as well as the model node (and hence the model bbox in question) 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 DtCellIndirectGeo.
| virtual makVrv::DtCellIndirectGeo::~DtCellIndirectGeo |
( |
| ) |
|
|
virtual |
| makVrv::DtCellIndirectGeo::DtCellIndirectGeo |
( |
| ) |
|
|
privatedelete |
default constructor not implemented
Copy Constructor not implemented – Copy Not Allowed.
Assignment Operator Not implemented – Assignment Not Allowed.
set the models container.
- Parameters
-
| ownsModelsContainer | whether cell owns the container (and hence should delete on its own destruction. Essentially a value of true transfers ownership to the cell |
| virtual void makVrv::DtCellIndirectGeo::setCullShaderConfig |
( |
const DtCullShaderConfig & |
cullShaderConfig | ) |
|
|
virtual |
set the cull shader config
| virtual void makVrv::DtCellIndirectGeo::setParent |
( |
const osg::Group * |
parent | ) |
|
|
virtual |
Sets up the parent of the indirect geometry which this manages.
| virtual const osg::BoundingBoxd& makVrv::DtCellIndirectGeo::boundingBox |
( |
void |
| ) |
const |
|
virtual |
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.
| virtual const DtIndirectGeometry* makVrv::DtCellIndirectGeo::indirectGeometry |
( |
void |
| ) |
const |
|
virtual |
internal. Access the internally held indirect geometry
internal. Access the internally held indirect geometry
| virtual osg::Group* makVrv::DtCellIndirectGeo::indirectIntersectionGroup |
( |
| ) |
|
|
virtual |
get the intersection group for this cell
internal method to add intersection geometry for an instance of the modelNode, with transform as instanceXForm.
returns the instance id in the indirect geometry for the added instance.
| virtual void makVrv::DtCellIndirectGeo::expandBoundingBox |
( |
const osg::Node * |
modelNode, |
|
|
const osg::Matrixd & |
instanceXForm |
|
) |
| |
|
protectedvirtual |
internal method to actually expand the bounding box based on the instance xform as well as the model node (and hence the model bbox in question)
| bool makVrv::DtCellIndirectGeo::myOwnsModelsContainer |
|
protected |
| osg::ref_ptr<osg::Group> makVrv::DtCellIndirectGeo::myIndirectGeoIntersectionGroup |
|
protected |
| osg::BoundingBoxd makVrv::DtCellIndirectGeo::myBoundingBox |
|
protected |
bounding box computation management
| DtDe& makVrv::DtCellIndirectGeo::myDe |
|
protected |
| bool makVrv::DtCellIndirectGeo::myFirstInstance |
|
protected |
| bool makVrv::DtCellIndirectGeo::myIncludeIntersectionGeoInNodePath |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-10-branch/include/vrvOsg/DtCellIndirectGeo.h