VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsgAnimationModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgAnimationModel.h,v $ $Revision: 1.17 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtOsgAnimationModel_H_
14
#define DtOsgAnimationModel_H_
15
16
#include <
vrvOsg/vrvOsg.h
>
17
#include <
vrvCore/DtAnimationModel.h
>
18
19
#include <osg/Group>
20
21
#include <matrix/vlVector.h>
22
23
namespace
makVrv
24
{
25
class
DtOsgSceneConnector;
26
class
DtAnimationModelInstance;
27
30
class
DT_DLL_VRVOSG
DtOsgAnimationModel
:
public
DtAnimationModel
31
{
32
public
:
33
35
DtOsgAnimationModel
(
DtDe
& de,
DtUniqueID
id
);
36
38
virtual
~
DtOsgAnimationModel
();
39
42
virtual
std::string className()
const
;
43
45
virtual
void
setDuration(
double
seconds);
46
48
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& ori);
49
51
virtual
void
setPosition(
int
vtx,
const
DtVector
& pos);
52
54
virtual
void
stop();
55
57
virtual
void
start();
58
60
virtual
void
pause();
61
63
virtual
void
resume();
64
66
virtual
void
setLoopMode(
bool
loopOn);
67
69
virtual
void
setReverseAnimation(
bool
reverse);
70
72
virtual
void
setVisible(
bool
isVisible);
73
75
virtual
void
setSolid(
bool
solid);
76
77
protected
:
78
81
virtual
void
addToScene(
const
DtUniqueID
&
id
,
int
modelSet,
82
int
visualizerType);
83
85
virtual
void
removeFromScene();
86
87
protected
:
88
DtOsgSceneConnector
*
mySceneConnector
;
89
double
myDuration
;
90
};
91
}
92
93
#endif
94
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)