VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDefaultDynamicTerrainSwitch.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
16 
17 #include <osg/Group>
18 
19 namespace makVrv
20 {
22  {
23  public:
24  explicit DtDefaultDynamicTerrainSwitch(const osg::ref_ptr<DtDynamicTerrainSwitchNode>& tSwitch,
26 
27  virtual void setState( unsigned int index );
28 
30  virtual unsigned int getState() const;
31 
32  virtual unsigned int getPreviousState() const;
33 
34  virtual unsigned int numStates() const;
35 
36  protected:
37  osg::ref_ptr<DtDynamicTerrainSwitchNode> mySwitch;
38  unsigned int myCurrentState;
39  unsigned int myPreviousState;
41  };
42 
43 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)