VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
Dt3DAggregateExtentVisualizer.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
#include <
vrvCore/DtAggregateExtentVisualizer.h
>
12
13
namespace
makVrv
14
{
15
class
DtAttachableCuboidModelAgent;
16
class
DtScribeBoxModelAgent;
17
21
class
DT_DLL_VRVCORE
Dt3DAggregateExtentVisualizer
:
22
public
DtAggregateExtentVisualizer
23
{
24
public
:
26
Dt3DAggregateExtentVisualizer
(
DtBaseConnection
& simulation,
27
DtStateListener
& listener,
int
modelSet);
28
30
virtual
~
Dt3DAggregateExtentVisualizer
();
31
34
virtual
void
setDimensions(
const
DtVector
& dim);
35
37
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
38
40
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
41
43
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
44
45
protected
:
47
virtual
DtModelAgent* createExtentModelAgent();
48
50
virtual
void
createModelAgents();
51
53
virtual
void
destroyModelAgents();
54
56
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef);
57
58
protected
:
59
DtAttachableCuboidModelAgent*
myCuboidAgent
;
60
DtScribeBoxModelAgent*
myScribeBox
;
61
double
myScribeWidth
;
62
bool
myScribeOccluded
;
63
bool
myScribeEnabled
;
64
bool
mySmoothScribeLine
;
65
};
66
69
typedef
DtStateVisualizerCreatorTemplate<Dt3DAggregateExtentVisualizer>
70
Dt3DAggregateExtentVisualizerCreator
;
71
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)