VR-Forces Development_Version 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
DtAggregateExtentVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2015 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtStateVisualizer.h
>
14
#include <matrix/vlVector.h>
15
16
namespace
makVrv
17
{
18
class
DtModelAgent;
19
22
class
DT_DLL_VRVCORE
DtAggregateExtentVisualizer
:
public
DtStateVisualizer
23
{
24
public
:
26
DtAggregateExtentVisualizer
(
DtBaseConnection
& simulation,
DtStateListener
& listener,
27
int
modelSet);
28
30
virtual
~
DtAggregateExtentVisualizer
();
31
33
virtual
void
setDimensions(
const
DtVector
& dim);
34
36
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
37
39
virtual
void
setShowExtents(
bool
);
40
42
virtual
void
setShowOnlyIfSelected(
bool
);
43
bool
showOnlyIfSelected()
const
44
{
45
return
myShowOnlyIfSelected;
46
}
47
48
virtual
void
setVisible(
bool
yesNo);
49
51
virtual
void
setSelected(
bool
);
52
53
protected
:
54
virtual
void
createModelAgents();
55
56
virtual
void
destroyModelAgents();
57
58
virtual
void
setModelDefinitionForAgents();
59
61
virtual
DtModelAgent* createExtentModelAgent() = 0;
62
63
protected
:
64
DtModelAgent*
myAggregateExtentModelAgent
;
65
float
myColor[4];
66
DtVector
myDimensions
;
67
bool
myShowOnlyIfSelected
;
68
};
69
}
70
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)