VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
Dt2DAggregateExtentVisualizer.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/vrvCore.h
>
13
#include <
vrvCore/DtAggregateExtentVisualizer.h
>
14
15
namespace
makVrv
16
{
17
class
DtOverlayRectangleModelAgent;
18
22
class
DT_DLL_VRVCORE
Dt2DAggregateExtentVisualizer
:
23
public
DtAggregateExtentVisualizer
24
{
25
public
:
27
Dt2DAggregateExtentVisualizer
(
DtBaseConnection
& simulation,
28
DtStateListener
& listener,
int
modelSet);
29
31
virtual
~
Dt2DAggregateExtentVisualizer
();
32
35
virtual
void
setDimensions(
const
DtVector
& dim);
36
38
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
39
41
virtual
void
setLockUpdates(
bool
b);
42
44
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
45
47
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
48
49
protected
:
51
virtual
DtModelAgent* createExtentModelAgent();
52
54
virtual
void
createModelAgents();
55
57
virtual
void
destroyModelAgents();
58
61
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef);
62
63
protected
:
64
DtOverlayRectangleModelAgent*
myPolygonAgent
;
65
66
float
myOutlineWidth
;
67
bool
myFill
;
68
};
69
72
typedef
DtStateVisualizerCreatorTemplate<Dt2DAggregateExtentVisualizer>
73
Dt2DAggregateExtentVisualizerCreator
;
74
}
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
)