00001 #ifndef __domLookat_h__ 00002 #define __domLookat_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00016 class domLookat : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LOOKAT; } 00020 static daeInt ID() { return 14; } 00021 virtual daeInt typeID() const { return ID(); } 00022 protected: // Attribute 00028 domSid attrSid; 00029 00030 00031 public: //Accessors and Mutators 00036 domSid getSid() const { return attrSid; } 00041 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00042 00047 domFloat3x3& getValue() { return _value; } 00052 void setValue( const domFloat3x3& val ) { _value = val; } 00053 00054 protected: // Value 00058 domFloat3x3 _value; 00059 protected: 00063 domLookat(DAE& dae) : daeElement(dae), attrSid(), _value() {} 00067 virtual ~domLookat() {} 00071 virtual domLookat &operator=( const domLookat &cpy ) { (void)cpy; return *this; } 00072 00073 public: // STATIC METHODS 00078 static DLLSPEC daeElementRef create(DAE& dae); 00084 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00085 }; 00086 00087 00088 #endif