VR-Forces 4.3.1 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
DtIntervisibilityEntityFanVisualizer.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtIntervisibilityLineVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
11
12
#pragma once
13
14
#include <
vrvCore/vrvCore.h
>
15
#include <
vrvCore/DtSceneObjectVisualizer.h
>
16
17
class
DtVector
;
18
19
namespace
makVrv
20
{
21
class
DtIntervisibilityEntityFanStateListener;
22
class
DtMultiLineModelAgent;
23
class
DtShapeModelAgent;
24
class
DtIntervisibilityLineVisualizer;
25
class
DtAttachableEntityFanUpdater;
26
30
class
DT_DLL_VRVCORE
DtIntervisibilityEntityFanVisualizer
:
public
DtSceneObjectVisualizer
31
{
32
public
:
34
DtIntervisibilityEntityFanVisualizer
(
DtBaseConnection
& simulation,
DtStateListener
& listener,
35
int
modelSet);
36
38
virtual
~
DtIntervisibilityEntityFanVisualizer
();
39
41
virtual
void
setVisibleColor(
float
r,
float
g,
float
b,
float
a);
42
void
visibleColor(
float
& r,
float
& g,
float
& b,
float
& a)
const
;
43
45
virtual
void
setBlockedColor(
float
r,
float
g,
float
b,
float
a);
46
void
blockedColor(
float
& r,
float
& g,
float
& b,
float
& a)
const
;
47
49
virtual
void
setCircleColor(
float
r,
float
g,
float
b,
float
a) = 0;
50
52
virtual
void
setStartPoint(
const
DtVector
&);
53
55
virtual
void
setEndPoint(
const
DtVector
&);
56
58
virtual
void
setStartAttachPoint(
DtElementID
);
59
61
virtual
void
setStartPointOffset(
const
DtVector
&);
62
64
virtual
void
setEndAttachPoint(
DtElementID
);
65
67
virtual
void
setEndPointOffset(
const
DtVector
&);
68
69
virtual
void
setSelected(
bool
b );
70
71
virtual
void
setEntityFanUpdateRate(
double
d);
72
73
protected
:
74
virtual
void
createModelAgents();
75
virtual
void
destroyModelAgents();
76
virtual
void
setModelDefinitionForAgents();
77
virtual
void
resetSpatial();
78
79
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
& visDef );
80
virtual
void
setFixedDistance(
bool
b);
81
83
virtual
void
createCircle() = 0;
84
86
virtual
void
selectCircle(
bool
) = 0;
87
88
protected
:
89
DtIntervisibilityEntityFanStateListener
&
myEntityFanListener
;
90
DtMultiLineModelAgent*
myMultiLineModelAgent
;
91
DtAttachableEntityFanUpdater
*
myAttachableUpdater
;
92
double
myEntityFanUpdateRate
;
93
DtSceneObjectAgent*
myMultiLineSceneObjectAgent
;
94
};
95
}
96
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)