VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
Dt3DEntityExtentVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: Dt3DEntityExtentVisualizer.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
DtAttachableCuboidModelAgent;
20
class
DtScribeBoxModelAgent;
21
}
22
23
namespace
makVrf
24
{
28
class
DT_DLL_VRFGUICORE
Dt3DEntityExtentVisualizer
:
29
public
DtEntityExtentVisualizer
30
{
31
public
:
33
Dt3DEntityExtentVisualizer
(
makVrv::DtBaseConnection
& simulation,
34
makVrv::DtStateListener
& listener,
int
modelSet);
35
37
virtual
~
Dt3DEntityExtentVisualizer
();
38
41
virtual
void
setDimensions(
const
DtVector
& dim);
42
44
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
45
47
virtual
const
makVrv::DtStateVisualizer::TypeInfo
& typeInfo()
const
;
48
50
static
const
makVrv::DtStateVisualizer::TypeInfo
& theTypeInfo();
51
53
static
const
makVrv::DtVisualizerSchema
& theDt3DEntityExtentSchema();
54
55
protected
:
57
virtual
makVrv::DtModelAgent* createExtentModelAgent();
58
60
virtual
void
createModelAgents();
61
63
virtual
void
destroyModelAgents();
64
66
virtual
void
setVisualizerDefinition(
const
makVrv::DtVisualizerDefinition
& visDef);
67
68
protected
:
69
makVrv::DtAttachableCuboidModelAgent*
myCuboidAgent
;
70
makVrv::DtScribeBoxModelAgent*
myScribeBox
;
71
double
myScribeWidth
;
72
bool
myScribeOccluded
;
73
bool
myScribeEnabled
;
74
bool
mySmoothScribeLine
;
75
};
76
77
typedef
makVrv::DtStateVisualizerCreatorTemplate<Dt3DEntityExtentVisualizer>
78
Dt3DEntityExtentVisualizerCreator
;
79
}
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
)