00001 #ifndef __domOrigin_h__ 00002 #define __domOrigin_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domOrigin : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ORIGIN; } 00014 static daeInt ID() { return 347; } 00015 virtual daeInt typeID() const { return ID(); } 00016 00017 00018 public: //Accessors and Mutators 00023 domFloat3& getValue() { return _value; } 00028 void setValue( const domFloat3& val ) { _value = val; } 00029 00030 protected: // Value 00034 domFloat3 _value; 00035 protected: 00039 domOrigin(DAE& dae) : daeElement(dae), _value() {} 00043 virtual ~domOrigin() {} 00047 virtual domOrigin &operator=( const domOrigin &cpy ) { (void)cpy; return *this; } 00048 00049 public: // STATIC METHODS 00054 static DLLSPEC daeElementRef create(DAE& dae); 00060 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00061 }; 00062 00063 00064 #endif