VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
makVrv::DtLightPointVisitor Class Reference

DtLightPointVisitor walks the scene graph and collects pointers to the LightPoint nodes. More...

Inheritance diagram for makVrv::DtLightPointVisitor:
Inheritance graph
[legend]

Public Types

typedef osg::observer_ptr
< osgSim::LightPointNode > 
LightPointNodeObs
 typdef a map of light point nodes use observer pointers so when they are deleted we don't try to use them anymore.
typedef std::vector
< LightPointNodeObs
LightPointNodeObsVec

Public Member Functions

 DtLightPointVisitor ()
 Default CTOR.
virtual ~DtLightPointVisitor ()
 Virtual DTOR.
virtual void apply (osg::Node &node)
 The visitor apply method used to traverse the scene-graph.
virtual const
LightPointNodeObsVec
foundLightPoints () const
 Returns the list of light points for a terrain.

Protected Attributes

LightPointNodeObsVec myLightPoints

Detailed Description

DtLightPointVisitor walks the scene graph and collects pointers to the LightPoint nodes.

Member Typedef Documentation

typedef osg::observer_ptr<osgSim::LightPointNode> makVrv::DtLightPointVisitor::LightPointNodeObs

typdef a map of light point nodes use observer pointers so when they are deleted we don't try to use them anymore.

Constructor & Destructor Documentation

makVrv::DtLightPointVisitor::DtLightPointVisitor ( )

Default CTOR.

virtual makVrv::DtLightPointVisitor::~DtLightPointVisitor ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtLightPointVisitor::apply ( osg::Node &  node)
virtual

The visitor apply method used to traverse the scene-graph.

Parameters
[in]nodeis the osg::Node being visited.
Note
Called during scene-graph traversal, do not directly call this function.
virtual const LightPointNodeObsVec& makVrv::DtLightPointVisitor::foundLightPoints ( ) const
virtual

Returns the list of light points for a terrain.

Member Data Documentation

LightPointNodeObsVec makVrv::DtLightPointVisitor::myLightPoints
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)