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
vrvOsg
DtOsgOverlayDirectionLineModel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2014 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
52
virtual
void
setGroup(
int
);
53
55
virtual
void
setPositionOffset(
const
DtVector
&);
57
virtual
void
setIsSupportModel(
bool
);
58
// @}
59
61
virtual
void
setVisible(
bool
isVisible );
62
64
virtual
const
std::vector<DtVector>& points()
const
;
65
66
protected
:
67
68
// @name Inherited DtModel methods
69
// @{
70
72
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
int
visualizerType );
73
75
virtual
void
removeFromScene();
76
78
virtual
void
setModelDefinition(
const
std::string& str );
79
80
// @}
81
83
virtual
void
needsUpdate();
84
87
virtual
void
update();
88
89
protected
:
90
DtUniqueID
myParentId
;
91
bool
myConnectedToPostUpdate
;
92
int
myGroup
;
93
};
94
}
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
)