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...
Protected Member Functions |
| virtual void | expandBoundingBox (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)
|
Detailed Description
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.
Constructor & Destructor Documentation
| virtual makVrv::DtCellIndirectGeo::~DtCellIndirectGeo |
( |
| ) |
|
|
virtual |
| makVrv::DtCellIndirectGeo::DtCellIndirectGeo |
( |
| ) |
|
|
private |
CTOR (unimplemented default CTOR)
Member Function Documentation
| virtual void makVrv::DtCellIndirectGeo::addInstance |
( |
const osg::Matrixd & |
instanceXForm, |
|
|
int |
modelId, |
|
|
osg::Node * |
modelNode |
|
) |
| |
|
virtual |
- Parameters
-
| instanceXForm | is the 'absolute' 64 bit transformation |
| modelId | per the registrar |
| modelNode | the top level osg node corresponding to the model geometry |
| 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 void makVrv::DtCellIndirectGeo::expandBoundingBox |
( |
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)
Member Data Documentation
| osg::ref_ptr<osg::Group> makVrv::DtCellIndirectGeo::myIndirectGeoIntersectionGroup |
|
protected |
| osg::BoundingBoxd makVrv::DtCellIndirectGeo::myBoundingBox |
|
protected |
bounding box computation management
| DtDe& makVrv::DtCellIndirectGeo::myDe |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-6-branch/include/vrvOsg/DtCellIndirectGeo.h