VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
Dt2DEntityExtentVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: Dt2DEntityExtentVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
11
12
#pragma once
13
14
#include <
vrfGuiCore/vrfGuiCore.h
>
15
#include <
vrfGuiCore/DtEntityExtentVisualizer.h
>
16
17
namespace
makVrv
18
{
19
class
DtOverlayRectangleModelAgent;
20
}
21
22
namespace
makVrf
23
{
27
class
DT_DLL_VRFGUICORE
Dt2DEntityExtentVisualizer
:
28
public
DtEntityExtentVisualizer
29
{
30
public
:
32
Dt2DEntityExtentVisualizer
(
makVrv::DtBaseConnection
& simulation,
33
makVrv::DtStateListener
& listener,
int
modelSet);
34
36
virtual
~
Dt2DEntityExtentVisualizer
();
37
40
virtual
void
setDimensions(
const
DtVector
& dim);
41
43
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
44
46
virtual
void
setLockUpdates(
bool
b);
47
49
virtual
const
makVrv::DtStateVisualizer::TypeInfo
& typeInfo()
const
;
50
52
static
const
makVrv::DtStateVisualizer::TypeInfo
& theTypeInfo();
53
54
protected
:
56
virtual
makVrv::DtModelAgent* createExtentModelAgent();
57
59
virtual
void
createModelAgents();
60
62
virtual
void
destroyModelAgents();
63
66
virtual
void
setVisualizerDefinition(
const
makVrv::DtVisualizerDefinition
& visDef);
67
69
static
const
makVrv::DtVisualizerSchema
& theDt2DEntityExtentSchema();
70
71
protected
:
72
makVrv::DtOverlayRectangleModelAgent*
myPolygonAgent
;
73
74
float
myOutlineWidth
;
75
bool
myFill
;
76
};
77
78
typedef
makVrv::DtStateVisualizerCreatorTemplate<Dt2DEntityExtentVisualizer>
79
Dt2DEntityExtentVisualizerCreator
;
80
}
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
)