VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)