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
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
#include <matrix/vlVector.h>
19
20
namespace
osg
21
{
22
class
Group
;
23
}
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
64
virtual
void
setIsSupportModel(
bool
isSupport);
65
67
68
//@name Local Interface
70
72
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectID,
int
modelSet,
73
int
visualizerType);
74
76
virtual
void
removeFromScene();
78
79
protected
:
80
DtOsgSceneConnector
*
mySceneConnector
;
81
82
};
83
}
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
)