VR-Forces Developer's Guide
 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:
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:
38  unsigned int myCurrentState;
39  unsigned int myPreviousState;
41  };
42 
43 }
unsigned int myPreviousState
Definition: DtDefaultDynamicTerrainSwitch.h:39
DynamicTerrain::NodePathHash myHashIndex
Definition: DtDefaultDynamicTerrainSwitch.h:40
size_t NodePathHash
Typedef used to represent a hash of an OSG Node path to a referenced node.
Definition: DtMultiReferencedNodeContainer.h:26
Definition: DtDefaultDynamicTerrainSwitch.h:21
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
State switch. This is an interface for manipulating a switch. A switch in this context is defined as ...
Definition: DtDynamicTerrainStateManipulatorFactory.h:107
Contains makVrv::DtDynamicTerrainStateManipulatorFactory class.
unsigned int myCurrentState
Definition: DtDefaultDynamicTerrainSwitch.h:38
Contains DLL export macros.
Contains makVrv::DtDynamicTerrainSwitchNode class.
osg::ref_ptr< DtDynamicTerrainSwitchNode > mySwitch
Definition: DtDefaultDynamicTerrainSwitch.h:37

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)