VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgIntersectionVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgIntersectVisitor.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgIntersectVisitor_H_
14 #define DtOsgIntersectVisitor_H_
15 
16 #include <vrvOsg/vrvOsg.h>
17 #include <osgUtil/IntersectionVisitor>
18 
19 namespace makVrv
20 {
21  class DtOsgTerrainPatchObject;
22 
27  class DT_DLL_VRVOSG DtOsgIntersectionVisitor : public osgUtil::IntersectionVisitor
28  {
29  public:
32 
34  virtual ~DtOsgIntersectionVisitor();
35 
37  virtual void setUseHighLodForOsgEarth( bool b );
38 
40  virtual bool useHighLodForOsgEarth() const;
41 
44  virtual void setAboveOceanLODAltitude( bool b );
45 
47  virtual void setCheckForOcean( bool b );
48 
49  public:
50 
54  virtual void apply(osg::Group& group);
55 
57  virtual void apply(osg::Node& node);
58  virtual void apply(osg::Geode& geode);
59 
60  protected:
61  virtual void osgEarthIntersect( DtOsgTerrainPatchObject& tpo );
62 
63  protected:
67  };
68 }
69 
70 #endif
71 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)