VR-Forces 4.0.4 Class Documentation
include/vrfutil/diGuyAnimation.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: diGuyAnimation.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ** Created: 4/7/08 MEM
00008 *******************************************************************************/
00009 
00012 
00013 #ifndef diguyAnimation_H_
00014 #define diguyAnimation_H_
00015 
00016 #include <vlutil/vlString.h>
00017 #include <vlutil/vlSmartPointers.h>
00018 
00021 
00022 
00023 #include "vrfutil/vrfutilDefines.h"
00024 class DT_DLL_vrfutil DtDIGuyAnimation 
00025 {
00026 public:
00027 
00028    DtDIGuyAnimation();
00029 
00030    DtDIGuyAnimation(const DtString& name);
00031 
00032    DtDIGuyAnimation(const DtDIGuyAnimation& orig);
00033 
00034    virtual ~DtDIGuyAnimation();
00035 
00036    DtDIGuyAnimation& operator=(const DtDIGuyAnimation& orig);
00037 
00039 
00040    virtual void setAnimationName(const DtString& name);
00041    virtual const DtString & animationName() const;
00043 
00045 
00046    virtual void setDisplayName(const DtString& name);
00047    virtual const DtString & displayName() const;
00049 
00051 
00052    virtual void setDuration(const double time);
00053    virtual const double duration() const;
00055 
00057 
00058    virtual void setSpeed(const double speed);
00059    virtual const double speed() const;
00061 
00063    virtual void setPosture(const DtString & post);
00064    virtual const DtString & posture() const;
00065 
00067 
00068    virtual void setDirectionChange(const DtString & direction);
00069    virtual const DtString & directionChange() const;
00071 
00074 
00075    virtual void setVariant(const DtString & var);
00076    virtual const DtString& variant() const;
00078 
00080    virtual DtDIGuyAnimation* clone() const;
00081 
00083    virtual void print();
00084 
00085 protected:
00086 
00087    DtString                   myAnimationName;
00088    DtString                   myDisplayName;
00089    DtReal                     myAnimationDuration;
00090    DtReal                     myAnimationSpeed;
00091    DtString                   myAnimationPosture;
00092    DtString                   myAnimationDirectionChange;
00093    DtString                   myAnimationVariant;
00094 };
00095 
00096 typedef DtBoost::shared_ptr<DtDIGuyAnimation> DtDIGuyAnimationSharedPtr;
00097 
00098 #endif

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)