VR-Forces 4.6 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
DtOsgAttachableEllipsoidModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgAttachableEllipsoidModel.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtOsgAttachableEllipsoidModel_H_
14
#define DtOsgAttachableEllipsoidModel_H_
15
16
#include <
vrvOsg/vrvOsg.h
>
17
#include <
vrvCore/DtAttachableEllipsoidModel.h
>
18
#include <
vrvCore/DtUniqueID.h
>
19
20
#include <matrix/vlVector.h>
21
22
#include <osg/MatrixTransform>
23
24
namespace
osg
25
{
26
class
Group
;
27
}
28
29
namespace
makVrv
30
{
31
class
DtDe;
32
class
DtOsgSceneConnector;
33
36
class
DT_DLL_VRVOSG
DtOsgAttachableEllipsoidModel
37
:
public
DtAttachableEllipsoidModel
38
{
39
public
:
40
DtOsgAttachableEllipsoidModel
(
DtDe
& de,
DtUniqueID
&
id
);
41
42
virtual
~
DtOsgAttachableEllipsoidModel
();
43
44
//@name Distributed Interface
46
48
virtual
void
setDimensions(
double
x,
double
y,
double
z);
49
51
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
52
54
virtual
void
setVisible(
bool
visible);
55
57
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
58
60
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
61
63
virtual
void
setLightingEnabled(
bool
enabled );
64
68
virtual
void
setIsSupportModel(
bool
isSupport);
69
71
72
//@name Local Interface
74
76
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectID,
int
modelSet,
77
int
visualizerType);
78
80
virtual
void
removeFromScene();
81
83
84
protected
:
85
DtOsgSceneConnector
*
mySceneConnector
;
86
87
};
88
}
89
90
#endif
91
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)