00001 #ifndef __domMotion_effector_info_h__ 00002 #define __domMotion_effector_info_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domKinematics_bind.h> 00009 #include <dom/domKinematics_newparam.h> 00010 #include <dom/domKinematics_setparam.h> 00011 #include <dom/domCommon_float2_or_param.h> 00012 class DAE; 00013 00014 class domMotion_effector_info : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MOTION_EFFECTOR_INFO; } 00018 static daeInt ID() { return 455; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00021 domSid attrSid; 00022 xsToken attrName; 00023 00024 protected: // Elements 00025 domKinematics_bind_Array elemBind_array; 00026 domKinematics_newparam_Array elemNewparam_array; 00027 domKinematics_setparam_Array elemSetparam_array; 00028 domCommon_float2_or_paramRef elemSpeed; 00029 domCommon_float2_or_paramRef elemAcceleration; 00030 domCommon_float2_or_paramRef elemDeceleration; 00031 domCommon_float2_or_paramRef elemJerk; 00032 00033 public: //Accessors and Mutators 00038 domSid getSid() const { return attrSid; } 00043 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00044 00049 xsToken getName() const { return attrName; } 00054 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00055 00060 domKinematics_bind_Array &getBind_array() { return elemBind_array; } 00065 const domKinematics_bind_Array &getBind_array() const { return elemBind_array; } 00070 domKinematics_newparam_Array &getNewparam_array() { return elemNewparam_array; } 00075 const domKinematics_newparam_Array &getNewparam_array() const { return elemNewparam_array; } 00080 domKinematics_setparam_Array &getSetparam_array() { return elemSetparam_array; } 00085 const domKinematics_setparam_Array &getSetparam_array() const { return elemSetparam_array; } 00090 const domCommon_float2_or_paramRef getSpeed() const { return elemSpeed; } 00095 const domCommon_float2_or_paramRef getAcceleration() const { return elemAcceleration; } 00100 const domCommon_float2_or_paramRef getDeceleration() const { return elemDeceleration; } 00105 const domCommon_float2_or_paramRef getJerk() const { return elemJerk; } 00106 protected: 00110 domMotion_effector_info(DAE& dae) : daeElement(dae), attrSid(), attrName(), elemBind_array(), elemNewparam_array(), elemSetparam_array(), elemSpeed(), elemAcceleration(), elemDeceleration(), elemJerk() {} 00114 virtual ~domMotion_effector_info() {} 00118 virtual domMotion_effector_info &operator=( const domMotion_effector_info &cpy ) { (void)cpy; return *this; } 00119 00120 public: // STATIC METHODS 00125 static DLLSPEC daeElementRef create(DAE& dae); 00131 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00132 }; 00133 00134 00135 #endif