VR-Forces 4.7 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
vrvCigi
DtCigiAnimationEntity.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2017 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCigi/DtCigiBaseEntity.h
>
13
#include <osg/Sequence>
14
15
namespace
makVrv
16
{
17
class
DtAnimationModelAgent;
18
class
DtSceneObjectAgent;
19
22
class
DT_DLL_VRVCIGI
DtCigiAnimationEntity
:
public
DtCigiBaseEntity
23
{
24
public
:
26
DtCigiAnimationEntity
(
DtCigiConnection
& connection,
27
DtAgentManagerInterface
& sceneInterface,
int
entityId,
int
entityType);
28
30
virtual
~
DtCigiAnimationEntity
();
31
34
virtual
void
init
();
35
37
virtual
void
uninit();
38
41
virtual
void
restart();
42
44
virtual
void
stop();
45
47
virtual
void
start();
48
50
virtual
void
pause();
51
53
virtual
void
resume();
54
56
virtual
void
setLoopMode(
bool
loopOn);
57
59
virtual
void
setReverseAnimation(
bool
reverse);
60
61
protected
:
62
DtAnimationModelAgent*
myAnimationModel
;
63
bool
myLooping
;
64
bool
myReversed
;
65
osg::Sequence::SequenceMode
mySequenceMode
;
66
};
67
70
typedef
DtCigiObjectCreatorTemplate<DtCigiAnimationEntity>
71
DtCigiAnimationEntityCreator
;
72
}
73
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)