VR-Forces 4.1 Class Documentation
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 
45  protected:
46 
50  virtual void apply(osg::Group& group);
51 
52 
53  protected:
54  virtual void osgEarthIntersect( DtOsgTerrainPatchObject& tpo );
55 
56  protected:
58  };
59 }
60 
61 #endif
62 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)