VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtCharacterModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtCharacterModel.h,v $ $Revision: 1.10 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtCharacterModel_H_
00014 #define DtCharacterModel_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvCore/DtModel.h>
00018 
00019 namespace makVrv
00020 {
00023    class DT_DLL_VRVCORE DtCharacterModel : public DtModel
00024    {
00025    public:
00026 
00027       enum Posture
00028       {
00029          Upright,
00030          Crouched,
00031          Prone,
00032          Sitting         
00033       };
00034 
00035 
00037       DtCharacterModel(DtDe& de, DtUniqueID id);
00038 
00039       //DTOR
00040       virtual ~DtCharacterModel();
00041 
00043 
00044 
00048       virtual void setCharacterModel(const std::string& appearanceName) = 0;
00049 
00050       virtual void setDefaultAppearance(const std::string& appearanceName) = 0;
00051       virtual void setAppearance(const std::string&  appearanceName) = 0;
00052       virtual void setHeadAppearance(const std::string&  appearanceName) = 0;
00053 
00055       virtual void setDesiredAction(const std::string& action,float speed) = 0;
00056 
00058       virtual void forceAction(const std::string& action, float speed) = 0;
00059 
00061       virtual void forceTemporaryAction(const std::string& action, double duration) = 0;
00062 
00064       virtual void setSpeed(float speed) = 0;
00065 
00067       virtual void setPosture(int posture) = 0;
00068 
00070       virtual bool weaponDeployed() const = 0;
00071 
00073       virtual void setWeaponDeployed(bool deployed) = 0;
00074 
00077       virtual void die(const std::string& deathAction) = 0;
00078 
00080       virtual void revive(const std::string& aliveAction) = 0;
00081 
00083       virtual void setPaused(bool paused) = 0;
00084 
00087       virtual std::string className() const;
00088 
00091       virtual void setModelScalingEnabled( bool b ) = 0;
00092 
00094 
00095    };
00096 
00097 }
00098 
00099 #endif
00100 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)