![]() |
VR-Forces Developer's Guide
|
DtLightPointVisitor walks the scene graph and collects pointers to the LightPoint nodes. It also aggregates transforms and provides hash values for switches and dofs.

Public Member Functions | |
| DtLightPointVisitor () | |
| virtual | ~DtLightPointVisitor () |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osgSim::LightPointNode &node) |
| virtual void | apply (DtLightPointNode &node) |
| virtual void | apply (DtDynamicTerrainSwitchNode &node) |
| virtual void | apply (osg::Switch &node) |
| virtual void | apply (osgSim::MultiSwitch &node) |
| virtual void | apply (osg::LOD &node) |
| virtual void | apply (osg::Sequence &node) |
| virtual void | apply (osg::MatrixTransform &matTrans) |
| virtual void | apply (osgSim::DOFTransform &node) |
| virtual const DtLightPointNodeAndXformVector & | foundLightPoints () const |
Protected Member Functions | |
| virtual void | addLightPoints (const LightPointNodeObs &node) |
| template<typename T > | |
| void | addToNodeStack (DtNodePointerStack &nodeStack, const T &nodeInfoStack) |
| makVrv::DtLightPointVisitor::DtLightPointVisitor | ( | ) |
Default CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
The visitor apply method used to traverse the scene-graph.
| [in] | node | is the osg::Node being visited. |
|
virtual |
used to collect the light point nodes
|
virtual |
used to collect the light point nodes
|
virtual |
Gather the switch node information.
|
virtual |
Gather the switch node information.
|
virtual |
Gather the switch node information.
|
virtual |
Gather the Lod information.
|
virtual |
Gather the sequence information.
|
virtual |
used to gather the matrix transforms so we get the geometry and lods in the correct position.
|
virtual |
used to gather DOFTransforms
|
virtual |
Returns the list of light points for a terrain.
|
protectedvirtual |
Track Common point to add light points to our set of them.
|
protected |
Add node pointers from given stack into a dedicated pointer stack used for light point aggregation division points. TODO: when C++11 is available, this could use move semantics.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |