VR-Forces 4.1.1 Class Documentation
DtCharacterModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtCharacterModel.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtCharacterModel_H_
14 #define DtCharacterModel_H_
15 
16 #include <vrvCore/vrvCore.h>
17 #include <vrvCore/DtModel.h>
18 
19 namespace makVrv
20 {
24  {
25  public:
26 
27  enum Posture
28  {
32  Sitting
33  };
34 
35 
38 
39  //DTOR
40  virtual ~DtCharacterModel();
41 
43 
44 
48  virtual void setCharacterModel(const std::string& appearanceName) = 0;
49 
50  virtual void setDefaultAppearance(const std::string& appearanceName) = 0;
51  virtual void setAppearance(const std::string& appearanceName) = 0;
52  virtual void setHeadAppearance(const std::string& appearanceName) = 0;
53 
55  virtual void setDesiredAction(const std::string& action,float speed) = 0;
56 
58  virtual void forceAction(const std::string& action, float speed) = 0;
59 
61  virtual void forceTemporaryAction(const std::string& action, double duration) = 0;
62 
64  virtual void setSpeed(float speed) = 0;
65 
67  virtual void setPosture(int posture) = 0;
68 
70  virtual bool weaponDeployed() const = 0;
71 
73  virtual void setWeaponDeployed(bool deployed) = 0;
74 
77  virtual void die(const std::string& deathAction) = 0;
78 
80  virtual void revive(const std::string& aliveAction) = 0;
81 
83  virtual void setPaused(bool paused) = 0;
84 
87  virtual std::string className() const;
88 
91  virtual void setModelScalingEnabled( bool b ) = 0;
92 
94 
95  };
96 
97 }
98 
99 #endif
100 

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)