VR-Forces 4.5 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
vrfGuiCore
3DEntityExtentVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiCore/vrfGuiCore.h
>
13
#include <
vrfGuiCore/entityExtentVisualizer.h
>
14
#include <
vrvCore/Dt3DAggregateExtentVisualizer.h
>
15
16
namespace
makVrv
17
{
18
class
DtAttachableCuboidModelAgent;
19
class
DtScribeBoxModelAgent;
20
}
21
22
namespace
makVrf
23
{
27
class
DT_DLL_VRFGUICORE
Dt3DEntityExtentVisualizer
:
28
public
DtEntityExtentVisualizer
29
{
30
public
:
32
Dt3DEntityExtentVisualizer
(
makVrv::DtBaseConnection
& simulation,
33
makVrv::DtStateListener
& listener,
int
modelSet);
34
36
virtual
~
Dt3DEntityExtentVisualizer
();
37
40
virtual
void
setDimensions(
const
DtVector
& dim);
41
43
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
44
46
virtual
const
makVrv::DtStateVisualizer::TypeInfo
& typeInfo()
const
;
47
49
static
const
makVrv::DtStateVisualizer::TypeInfo
& theTypeInfo();
50
52
static
const
makVrv::DtVisualizerSchema
& theDt3DEntityExtentSchema();
53
54
protected
:
56
virtual
makVrv::DtModelAgent* createExtentModelAgent();
57
59
virtual
void
createModelAgents();
60
62
virtual
void
destroyModelAgents();
63
65
virtual
void
setVisualizerDefinition(
const
makVrv::DtVisualizerDefinition
& visDef);
66
67
protected
:
68
makVrv::DtAttachableCuboidModelAgent*
myCuboidAgent
;
69
makVrv::DtScribeBoxModelAgent*
myScribeBox
;
70
double
myScribeWidth
;
71
bool
myScribeOccluded
;
72
bool
myScribeEnabled
;
73
bool
mySmoothScribeLine
;
74
};
75
76
typedef
makVrv::DtStateVisualizerCreatorTemplate<Dt3DEntityExtentVisualizer>
77
Dt3DEntityExtentVisualizerCreator
;
78
82
class
DT_DLL_VRFGUICORE
DtVrf3DAggregateExtentVisualizer
:
83
public
makVrv::Dt3DAggregateExtentVisualizer
84
{
85
public
:
87
DtVrf3DAggregateExtentVisualizer
(
makVrv::DtBaseConnection
& simulation,
88
makVrv::DtStateListener
& listener,
int
modelSet);
89
91
virtual
~
DtVrf3DAggregateExtentVisualizer
();
92
94
virtual
void
createModelAgents();
95
96
protected
:
97
virtual
bool
hasPhysicalFootprint();
98
};
99
100
typedef
makVrv::DtStateVisualizerCreatorTemplate<DtVrf3DAggregateExtentVisualizer>
101
DtVrf3DAggregateExtentVisualizerCreator
;
102
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)