VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
Dt3DAggregateExtentVisualizer.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
#include <
vrvCore/DtAggregateExtentVisualizer.h
>
12
13
namespace
makVrv
14
{
15
class
DtAttachableCuboidModelAgent;
16
class
DtScribeBoxModelAgent;
17
21
class
DT_DLL_VRVCORE
Dt3DAggregateExtentVisualizer
:
22
public
DtAggregateExtentVisualizer
23
{
24
public
:
26
Dt3DAggregateExtentVisualizer
(
DtBaseConnection
& simulation,
27
DtStateListener
& listener,
int
modelSet);
28
30
virtual
~
Dt3DAggregateExtentVisualizer
();
31
34
virtual
void
setDimensions(
const
DtVector
& dim);
35
37
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
38
40
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
41
43
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
44
45
protected
:
47
virtual
DtModelAgent* createExtentModelAgent();
48
50
virtual
void
createModelAgents();
51
53
virtual
void
destroyModelAgents();
54
56
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef);
57
58
protected
:
59
DtAttachableCuboidModelAgent*
myCuboidAgent
;
60
DtScribeBoxModelAgent*
myScribeBox
;
61
double
myScribeWidth
;
62
bool
myScribeEnabled
;
63
bool
mySmoothScribeLine
;
64
};
65
68
typedef
DtStateVisualizerCreatorTemplate<Dt3DAggregateExtentVisualizer>
69
Dt3DAggregateExtentVisualizerCreator
;
70
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)