VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtArticulatedModelAnimationHelper.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtOsgArticulatedModel;
20 
23  {
24  public:
27  static int animationFrameCount(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
28 
31  static int animationCurrentFrame(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
32 
36  static int animationFirstFrame(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
37 
41  static int animationLastFrame(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
42 
45  static double animationSpeed(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
46 
49  static DtArticulatedModel::AnimationState animationState(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
50 
54  static double animationLastFrameTime(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
55 
57  // default param is -1, repeat forever
59  static int animationLoopCount(const DtOsgArticulatedModel* articulatedModel, const std::string& animationName);
60 
61  };
62 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
An articulated model manipulator for controlling an articulated model.
Definition: DtOsgArticulatedModel.h:56
A helper class to help with animations of a DtOsgArticulatedModel.
Definition: DtArticulatedModelAnimationHelper.h:22
AnimationState
Definition: DtArticulatedModel.h:34
Contains makVrv::DtArticulatedModel class.
Contains DLL export macros.

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)