VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgIntersectVisitor.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/IntersectVisitor>
18 
19 namespace makVrv
20 {
21  class DtOsgTerrainPatchObject;
22 
27  class DT_DLL_VRVOSG DtOsgIntersectVisitor : public osgUtil::IntersectVisitor
28  {
29  public:
32 
35 
37  virtual osgUtil::IntersectVisitor* clone() const { return new DtOsgIntersectVisitor(*this); }
38 
40  virtual void setUseHighLodForOsgEarth( bool b );
41 
43  virtual bool useHighLodForOsgEarth() const;
44 
47  virtual void setAboveOceanLODAltitude( bool b );
48 
50  virtual void setCheckForOcean( bool b );
51 
52  protected:
53 
57  virtual void apply(osg::Group& group);
58 
60  virtual void apply(osg::Node& node);
61  virtual void apply(osg::Geode& geode);
62 
63  protected:
64  virtual void osgEarthIntersect( DtOsgTerrainPatchObject& tpo );
65 
66  protected:
70  };
71 }
72 
73 #endif
74 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)