VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtAggregateExtentVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtAggregateExtentVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
11
12
#pragma once
13
14
#include <
vrvCore/vrvCore.h
>
15
#include <
vrvCore/DtStateVisualizer.h
>
16
#include <matrix/vlVector.h>
17
18
namespace
makVrv
19
{
20
class
DtModelAgent;
21
24
class
DT_DLL_VRVCORE
DtAggregateExtentVisualizer
:
public
DtStateVisualizer
25
{
26
public
:
28
DtAggregateExtentVisualizer
(
DtBaseConnection
& simulation,
DtStateListener
& listener,
29
int
modelSet);
30
32
virtual
~
DtAggregateExtentVisualizer
();
33
35
virtual
void
setDimensions(
const
DtVector
& dim);
36
38
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
39
41
virtual
void
setShowExtents(
bool
);
42
44
virtual
void
setShowOnlyIfSelected(
bool
);
45
bool
showOnlyIfSelected()
const
46
{
47
return
myShowOnlyIfSelected;
48
}
49
50
virtual
void
setVisible(
bool
yesNo);
51
53
virtual
void
setSelected(
bool
);
54
55
virtual
void
setLockUpdates(
bool
b);
56
bool
updatesLocked()
const
;
57
58
protected
:
59
virtual
void
createModelAgents();
60
61
virtual
void
destroyModelAgents();
62
63
virtual
void
setModelDefinitionForAgents();
64
66
virtual
DtModelAgent* createExtentModelAgent() = 0;
67
68
protected
:
69
DtModelAgent*
myAggregateExtentModelAgent
;
70
float
myColor[4];
71
DtVector
myDimensions
;
72
bool
myShowOnlyIfSelected
;
73
74
bool
myLockUpdates
;
75
};
76
}
77
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
)