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
vrvCore
DtScribeBoxVisualizer.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtEntityStateVisualizer.h
>
13
14
namespace
makVrv
15
{
16
17
class
DtSceneObjectAgent;
18
class
DtScribeBoxModelAgent;
19
23
class
DT_DLL_VRVCORE
DtScribeBoxVisualizer
:
public
DtStateVisualizer
24
{
25
public
:
26
28
DtScribeBoxVisualizer
(
DtBaseConnection
& simulation,
29
DtStateListener
& listener,
int
modelSet);
30
32
virtual
~
DtScribeBoxVisualizer
();
33
34
void
setParent(
DtStateVisualizer
* p );
35
38
virtual
void
setModelDefinitionForAgents();
39
40
virtual
void
setSelected(
bool
b );
41
43
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef );
44
46
virtual
void
setDisableModelScaling(
bool
b );
47
49
virtual
void
setLocalModelScalingEnabled(
bool
enabled );
50
52
virtual
void
setLocalModelScalingAmount(
float
localScl );
53
55
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
56
58
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
59
60
protected
:
61
62
virtual
void
createModelAgents();
63
virtual
void
destroyModelAgents();
64
65
protected
:
66
67
DtScribeBoxModelAgent*
myScribeBoxModelAgent
;
68
69
bool
myDisableModelScaling
;
70
bool
myEnableLocalModelScaling
;
71
72
float
myLocalModelScalingAmount
;
73
74
};
75
76
79
typedef
DtStateVisualizerCreatorTemplate<DtScribeBoxVisualizer>
80
DtScribeBoxVisualizerCreator
;
81
82
}
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
)