VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsg
DtSwitchStateMapper.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
#include <
vrvOsg/vrvOsg.h
>
12
#include <
vrvOsg/DtMetaObjectCreator.h
>
13
#include <
vrvUtil/DtVirtualBaseClass.h
>
14
15
namespace
makVrv
16
{
17
class
DtOsgArticulatedModel;
18
23
class
DT_DLL_VRVOSG
DtSwitchStateMapper
:
24
public
DtVirtualBaseClass
25
{
26
public
:
27
29
DtSwitchStateMapper
(
DtDe
& de);
30
32
virtual
~
DtSwitchStateMapper
();
33
36
virtual
void
configure(osg::Node* n,
DtOsgArticulatedModel
* osgArticulatedModel,
const
std::string& modelDefName,
const
rapidjson::Value
& jsonData);
37
38
public
:
39
// @{
42
static
const
char
*
theSwitchStateMapperFeatureName
;
43
// @}
44
45
private
:
47
DtSwitchStateMapper
();
48
50
DtSwitchStateMapper
(
const
DtSwitchStateMapper
& orig);
51
53
DtSwitchStateMapper
& operator=(
const
DtSwitchStateMapper
);
54
55
protected
:
56
57
DtDe
&
myDe
;
58
60
std::string
myFeatureName
;
61
62
};
63
66
class
DT_DLL_VRVOSG
DtSwitchStateMapperCreator
:
public
DtMetaObjectCreator
67
{
68
69
public
:
70
72
DtSwitchStateMapperCreator
();
73
75
virtual
~
DtSwitchStateMapperCreator
();
76
78
virtual
DtSwitchStateMapper
* create(
DtDe
& de, osg::Node* node,
DtOsgArticulatedModel
* osgArticulatedModel,
79
const
rapidjson::Value
& jsonObject,
const
std::string& modelDefName,
80
const
DtElementID
elementId,
const
DtUniqueID
id
,
81
const
bool
useInstancing,
const
unsigned
int
nodeTypeIndex);
82
83
};
84
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)