VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
13 #include <osg/Sequence>
14 
15 namespace makVrv
16 {
17  class DtAnimationModelAgent;
18  class DtSceneObjectAgent;
19 
23  {
24  public:
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 
63  virtual int animationState();
64 
65  protected:
66  DtAnimationModelAgent* myAnimationModel;
67  bool myLooping;
68  bool myReversed;
69  osg::Sequence::SequenceMode mySequenceMode;
70  };
71 
76 }
77 
bool myLooping
Definition: DtCigiAnimationEntity.h:67
DtCigiObjectCreatorTemplate< DtCigiAnimationEntity > DtCigiAnimationEntityCreator
Creator that will be registered with the cigi object factory to create this class.
Definition: DtCigiAnimationEntity.h:75
bool myReversed
Definition: DtCigiAnimationEntity.h:68
DtAnimationModelAgent * myAnimationModel
Definition: DtCigiAnimationEntity.h:66
Contains makVrv::DtCigiBaseEntity class declaration.
This class is responsible for the actual processing of CIGI data.
Definition: DtCigiConnection.h:56
A DtCigiAnimationEntity is a CIGI entity that loads an animation model.
Definition: DtCigiAnimationEntity.h:22
osg::Sequence::SequenceMode mySequenceMode
Definition: DtCigiAnimationEntity.h:69
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
This class provides an abstract base class for CIGI entities.
Definition: DtCigiBaseEntity.h:42
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:36
#define DT_DLL_VRVCIGI
Definition: vrvCigi.h:19
Definition: DtCigiBaseEntity.h:427

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)