![]() |
VR-Forces 4.7 Class Documentation
|
Root transform for a group of instances. More...

Public Member Functions | |
| DtInstanceNode (DtInstanceManager &instanceManager) | |
| CTOR. | |
| ~DtInstanceNode () | |
| DTOR. | |
| DtInstanceNode (const DtInstanceNode &ob, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy CTOR. | |
| virtual osg::Object * | clone (const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) const |
| Clone this object. | |
| virtual void | traverse (osg::NodeVisitor &nv) |
| Needed to run material and alpha callbacks. | |
| virtual bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. | |
| virtual bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. | |
Protected Attributes | |
| osg::Vec3d | myLastEye |
| DtInstanceManager & | myInstanceManager |
Root transform for a group of instances.
Transforms position to camera position so that instance spatial data can be camera-relative (i.e. fit in a float32)
| makVrv::DtInstanceNode::DtInstanceNode | ( | DtInstanceManager & | instanceManager | ) |
CTOR.
| makVrv::DtInstanceNode::~DtInstanceNode | ( | ) |
DTOR.
| makVrv::DtInstanceNode::DtInstanceNode | ( | const DtInstanceNode & | ob, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy CTOR.
|
virtual |
Clone this object.
|
virtual |
Needed to run material and alpha callbacks.
|
virtual |
Transform to position relative to camera.
Used here to strip out the translation portion of the view matrix to allow camera relative rendering of instances
|
virtual |
Transform to position relative to camera.
|
protected |
|
protected |