VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsgOverlayDirectionLineModel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#include <
vrvOsg/vrvOsg.h
>
11
#include <
vrvCore/DtOverlayDirectionLineModel.h
>
12
13
14
namespace
makVrv
15
{
16
19
class
DT_DLL_VRVOSG
DtOsgOverlayDirectionLineModel
:
20
public
DtOverlayDirectionLineModel
21
{
22
public
:
24
DtOsgOverlayDirectionLineModel
(
DtDe
& de,
DtUniqueID
id
);
25
27
virtual
~
DtOsgOverlayDirectionLineModel
();
28
30
virtual
void
setPosition(
int
index,
const
DtVector
& position);
31
33
virtual
void
setDirection(
int
index,
const
DtVector
& direction);
34
36
virtual
void
setLength(
int
index,
float
length);
37
39
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
40
42
virtual
void
setWidth(
float
width);
43
45
virtual
void
setStipplePattern(
unsigned
int
stipple,
int
repeatFactor);
46
48
virtual
void
setEventsEnabled(
bool
);
49
51
virtual
void
setPositionOffset(
const
DtVector
&);
53
virtual
void
setSolid(
bool
);
54
// @}
55
57
virtual
void
setVisible(
bool
isVisible );
58
59
protected
:
60
61
// @name Inherited DtModel methods
62
// @{
63
65
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
int
visualizerType );
66
68
virtual
void
removeFromScene();
69
71
virtual
void
setModelDefinition(
const
std::string& str );
72
73
// @}
74
76
virtual
void
needsUpdate();
77
80
virtual
void
update();
81
82
protected
:
83
DtUniqueID
myParentId
;
84
bool
myConnectedToPostUpdate
;
85
};
86
}
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
)