VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLightPointVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/NodeVisitor>
15 #include <osgSim/LightPoint>
16 #include <osgSim/LightPointNode>
17 #include <osg/observer_ptr>
18 
20 
21 namespace makVrv
22 {
26  class DT_DLL_VRVOSG DtLightPointVisitor : public osg::NodeVisitor
27  {
28 
29  public:
30 
33 
35  virtual ~DtLightPointVisitor();
36 
41  virtual void apply(osg::Node& node);
42 
44  virtual const LightPointNodeObsSet& foundLightPoints() const;
45 
46  protected:
47 
49  };
50 
51 }
LightPointNodeObsSet myLightPoints
Definition: DtLightPointVisitor.h:48
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtOsgLightPointManager class.
std::set< LightPointNodeObs > LightPointNodeObsSet
Definition: DtOsgLightPointManager.h:49
DtLightPointVisitor walks the scene graph and collects pointers to the LightPoint nodes...
Definition: DtLightPointVisitor.h:26
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)