VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsgArticulatingCylinderModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgArticulatingCylinderModel.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsg/vrvOsg.h
>
15
#include <
vrvCore/DtArticulatingCylinderModel.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
namespace
osg
19
{
20
class
Group
;
21
}
22
23
class
DtVector
;
24
25
namespace
makVrv
26
{
27
class
DtDe;
28
class
DtOsgSceneConnector;
29
32
class
DT_DLL_VRVOSG
DtOsgArticulatingCylinderModel
33
:
public
DtArticulatingCylinderModel
34
{
35
public
:
36
DtOsgArticulatingCylinderModel
(
DtDe
& de,
DtUniqueID
&
id
);
37
38
virtual
~
DtOsgArticulatingCylinderModel
();
39
40
//@name Distributed Interface
42
44
virtual
void
setDimensions(
double
x,
double
y,
double
z);
45
47
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
48
50
virtual
void
setVisible(
bool
visible);
51
53
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
54
56
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
57
59
virtual
void
setLightingEnabled(
bool
enabled );
60
62
virtual
void
setSolid(
bool
solid);
63
65
66
//@name Local Interface
68
70
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectID,
int
modelSet,
71
int
visualizerType);
72
74
virtual
void
removeFromScene();
76
77
protected
:
78
DtOsgSceneConnector
*
mySceneConnector
;
79
80
};
81
}
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
)