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
vrvOsg
DtOsgOverlayDirectionLineModel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2015 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
67
virtual
void
setModelDefinition(
const
std::string& str );
68
69
protected
:
70
71
// @name Inherited DtModel methods
72
// @{
73
75
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
int
visualizerType );
76
78
virtual
void
removeFromScene();
79
80
// @}
81
83
virtual
void
needsUpdate();
84
87
virtual
void
update();
88
89
protected
:
90
DtUniqueID
myParentId
;
91
bool
myNeedsUpdate
;
92
int
myGroup
;
93
};
94
}
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
)