VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTritonGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvTriton/vrvTriton.h>
13 
14 #include <osg/Camera>
15 #include <osg/Group>
16 
17 namespace osg { class NodeVisitor; }
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtOsgCullVisitorParameters;
23 
26  class DT_DLL_VRVTRITON DtTritonGroup : public osg::Group
27  {
28  public:
30  {
34  TraverseBelowDisplayRange
35  };
37  DtTritonGroup(DtDe& de, double displayRange);
38 
40  DtTritonGroup(const DtTritonGroup& obj,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
41 
43  virtual void traverse(osg::NodeVisitor& nv);
44 
46  virtual void setElevationRange(double newRange);
47 
49  virtual void setTraversalState( TraversalState state );
50 
51  protected:
52  virtual void doDynamicWaterVisibility( double altitude,
53  const DtOsgCullVisitorParameters* cullParams ) const;
54 
55  virtual void resetFogState(osg::ref_ptr<osg::Camera> camera);
56 
57  virtual void setReflectionState(bool enabled);
58 
59  protected:
65  };
66 }

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)