VR-Forces Development_Version 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
vrfGuiCore
vrfOsgRectangularPyramidModel.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2016 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
13
14
#pragma once
15
16
#include <
vrfGuiCore/vrfGuiCore.h
>
17
18
#include <
vrvOsg/DtOsgRectangularPyramidModel.h
>
19
#include <vrvOsg/DtOsgRectangularPyramidModelClasses.hpp>
20
21
namespace
makVrv
22
{
23
class
DtOsgSceneConnector;
24
}
25
26
namespace
makVrf
27
{
28
31
class
DT_DLL_VRFGUICORE
DtVrfOsgRectangularPyramidModel
32
:
public
makVrv::DtOsgRectangularPyramidModel
33
{
34
public
:
35
38
DtVrfOsgRectangularPyramidModel
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
&
id
);
39
41
virtual
~
DtVrfOsgRectangularPyramidModel
();
42
45
48
virtual
std::string className()
const
;
49
53
virtual
void
addToScene(
const
makVrv::DtUniqueID
& sceneObjectId,
54
int
modelSet,
int
visualizerType );
55
59
virtual
void
removeFromScene();
60
66
virtual
void
setModelDefinition(
const
std::string& str );
67
73
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
74
80
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
81
83
86
92
virtual
void
setRelativePosition(
double
x,
double
y,
double
z );
93
99
virtual
void
setRelativeOrientation(
const
DtTaitBryan& ori );
100
103
virtual
void
setSize(
double
slantHeight );
104
111
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a );
112
119
virtual
void
setInnerColor(
float
r,
float
g,
float
b,
float
a );
120
127
virtual
void
setOuterColor(
float
r,
float
g,
float
b,
float
a );
128
131
virtual
void
setXHalfAngle(
double
xHalfAngle );
132
135
virtual
void
setYHalfAngle(
double
yHalfAngle );
136
141
virtual
void
setShowLines(
bool
showLines );
142
147
virtual
void
setLinesHaveAlpha(
bool
lineAlpha );
148
152
virtual
void
setIsSupportModel(
bool
isSupport);
153
155
156
protected
:
158
virtual
void
update();
159
161
virtual
void
needsUpdate();
162
163
protected
:
164
165
bool
myNeedsUpdate
;
166
};
167
168
class
DT_DLL_VRFGUICORE
DtVrfOsgRectangularPyramidModelClassesCreator
:
public
makVrv::DtOsgRectangularPyramidModelClassesCreator
169
{
170
public
:
171
DtVrfOsgRectangularPyramidModelClassesCreator
();
172
virtual
~
DtVrfOsgRectangularPyramidModelClassesCreator
();
173
174
static
makVrv::DtAgentCreator
* create();
175
177
virtual
makVrv::DtAgentUpdateResolverInterface
* createResolver(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
178
};
179
180
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)