00001 #ifndef __domBind_joint_axis_h__ 00002 #define __domBind_joint_axis_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domCommon_sidref_or_param.h> 00009 #include <dom/domCommon_float_or_param.h> 00010 class DAE; 00011 00012 class domBind_joint_axis : public daeElement 00013 { 00014 public: 00015 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND_JOINT_AXIS; } 00016 static daeInt ID() { return 432; } 00017 virtual daeInt typeID() const { return ID(); } 00018 protected: // Attribute 00019 xsToken attrTarget; 00020 00021 protected: // Elements 00022 domCommon_sidref_or_paramRef elemAxis; 00023 domCommon_float_or_paramRef elemValue; 00024 00025 public: //Accessors and Mutators 00030 xsToken getTarget() const { return attrTarget; } 00035 void setTarget( xsToken atTarget ) { *(daeStringRef*)&attrTarget = atTarget;} 00036 00041 const domCommon_sidref_or_paramRef getAxis() const { return elemAxis; } 00046 const domCommon_float_or_paramRef getValue() const { return elemValue; } 00047 protected: 00051 domBind_joint_axis(DAE& dae) : daeElement(dae), attrTarget(), elemAxis(), elemValue() {} 00055 virtual ~domBind_joint_axis() {} 00059 virtual domBind_joint_axis &operator=( const domBind_joint_axis &cpy ) { (void)cpy; return *this; } 00060 00061 public: // STATIC METHODS 00066 static DLLSPEC daeElementRef create(DAE& dae); 00072 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00073 }; 00074 00075 00076 #endif