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

Public Member Functions | |
| virtual | ~DtInstanceNode () |
| DTOR. More... | |
| DtInstanceNode (const DtInstanceNode &ob, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy CTOR. More... | |
| virtual osg::Object * | clone (const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) const |
| Clone this object. More... | |
| virtual void | traverse (osg::NodeVisitor &nv) |
| Needed to run material and alpha callbacks. More... | |
| virtual bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. More... | |
| virtual bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. More... | |
| virtual DtInstanceManager & | instanceManager () |
| needed for update callback More... | |
Protected Member Functions | |
| DtInstanceNode (DtInstanceManager &instanceManager) | |
| CTOR. More... | |
Protected Attributes | |
| osg::Vec3d | myLastEye |
| DtInstanceManager & | myInstanceManager |
Private Member Functions | |
| DtInstanceNode () | |
| Default Constructor. More... | |
| DtInstanceNode & | operator= (const DtInstanceNode &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Friends | |
| class | DtInstanceNodeCreator |
| friend creator class so that it is the only thing that will create a DtInstanceNode More... | |
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)
|
protected |
CTOR.
|
virtual |
DTOR.
|
private |
Default Constructor.
| makVrv::DtInstanceNode::DtInstanceNode | ( | const DtInstanceNode & | ob, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy CTOR.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
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.
|
inlinevirtual |
needed for update callback
|
friend |
friend creator class so that it is the only thing that will create a DtInstanceNode
|
protected |
|
protected |