00001 #ifndef __domMotion_axis_info_h__ 00002 #define __domMotion_axis_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_float_or_param.h> 00012 class DAE; 00013 00014 class domMotion_axis_info : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MOTION_AXIS_INFO; } 00018 static daeInt ID() { return 448; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00021 domSid attrSid; 00022 xsToken attrAxis; 00023 xsToken attrName; 00024 00025 protected: // Elements 00026 domKinematics_bind_Array elemBind_array; 00027 domKinematics_newparam_Array elemNewparam_array; 00028 domKinematics_setparam_Array elemSetparam_array; 00029 domCommon_float_or_paramRef elemSpeed; 00030 domCommon_float_or_paramRef elemAcceleration; 00031 domCommon_float_or_paramRef elemDeceleration; 00032 domCommon_float_or_paramRef elemJerk; 00033 00034 public: //Accessors and Mutators 00039 domSid getSid() const { return attrSid; } 00044 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00045 00050 xsToken getAxis() const { return attrAxis; } 00055 void setAxis( xsToken atAxis ) { *(daeStringRef*)&attrAxis = atAxis;} 00056 00061 xsToken getName() const { return attrName; } 00066 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00067 00072 domKinematics_bind_Array &getBind_array() { return elemBind_array; } 00077 const domKinematics_bind_Array &getBind_array() const { return elemBind_array; } 00082 domKinematics_newparam_Array &getNewparam_array() { return elemNewparam_array; } 00087 const domKinematics_newparam_Array &getNewparam_array() const { return elemNewparam_array; } 00092 domKinematics_setparam_Array &getSetparam_array() { return elemSetparam_array; } 00097 const domKinematics_setparam_Array &getSetparam_array() const { return elemSetparam_array; } 00102 const domCommon_float_or_paramRef getSpeed() const { return elemSpeed; } 00107 const domCommon_float_or_paramRef getAcceleration() const { return elemAcceleration; } 00112 const domCommon_float_or_paramRef getDeceleration() const { return elemDeceleration; } 00117 const domCommon_float_or_paramRef getJerk() const { return elemJerk; } 00118 protected: 00122 domMotion_axis_info(DAE& dae) : daeElement(dae), attrSid(), attrAxis(), attrName(), elemBind_array(), elemNewparam_array(), elemSetparam_array(), elemSpeed(), elemAcceleration(), elemDeceleration(), elemJerk() {} 00126 virtual ~domMotion_axis_info() {} 00130 virtual domMotion_axis_info &operator=( const domMotion_axis_info &cpy ) { (void)cpy; return *this; } 00131 00132 public: // STATIC METHODS 00137 static DLLSPEC daeElementRef create(DAE& dae); 00143 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00144 }; 00145 00146 00147 #endif