VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsg
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
14
#include <
vrvOsg/DtDynamicTerrainStateManipulatorFactory.h
>
15
#include <
vrvOsg/DtDynamicTerrainSwitchNode.h
>
16
17
#include <osg/Group>
18
19
namespace
makVrv
20
{
21
class
DT_DLL_VRVOSG
DtDefaultDynamicTerrainSwitch
:
public
DtDynamicTerrainSwitch
22
{
23
public
:
24
explicit
DtDefaultDynamicTerrainSwitch
(
const
osg::ref_ptr<DtDynamicTerrainSwitchNode>& tSwitch,
25
DynamicTerrain::NodePathHash
hashIndex);
26
27
virtual
void
setState(
unsigned
int
index );
28
30
virtual
unsigned
int
getState()
const
;
31
32
virtual
unsigned
int
numStates()
const
;
33
34
protected
:
35
osg::ref_ptr<DtDynamicTerrainSwitchNode>
mySwitch
;
36
unsigned
int
myCurrentState
;
37
DynamicTerrain::NodePathHash
myHashIndex
;
38
};
39
40
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)