00001 #ifndef __domTargetable_float3_h__ 00002 #define __domTargetable_float3_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00014 class domTargetable_float3 : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TARGETABLE_FLOAT3; } 00018 static daeInt ID() { return 4; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attribute 00026 domSid attrSid; 00027 00028 00029 public: //Accessors and Mutators 00034 domSid getSid() const { return attrSid; } 00039 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00040 00045 domFloat3& getValue() { return _value; } 00050 void setValue( const domFloat3& val ) { _value = val; } 00051 00052 protected: // Value 00056 domFloat3 _value; 00057 protected: 00061 domTargetable_float3(DAE& dae) : daeElement(dae), attrSid(), _value() {} 00065 virtual ~domTargetable_float3() {} 00069 virtual domTargetable_float3 &operator=( const domTargetable_float3 &cpy ) { (void)cpy; return *this; } 00070 00071 public: // STATIC METHODS 00076 static DLLSPEC daeElementRef create(DAE& dae); 00082 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00083 }; 00084 00085 00086 #endif