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
Dt2DAggregateExtentVisualizer.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/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
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
42
44
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
45
46
protected
:
48
virtual
DtModelAgent* createExtentModelAgent();
49
51
virtual
void
createModelAgents();
52
54
virtual
void
destroyModelAgents();
55
58
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef);
59
60
protected
:
61
DtOverlayRectangleModelAgent*
myPolygonAgent
;
62
63
float
myOutlineWidth
;
64
bool
myFill
;
65
};
66
69
typedef
DtStateVisualizerCreatorTemplate<Dt2DAggregateExtentVisualizer>
70
Dt2DAggregateExtentVisualizerCreator
;
71
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)