00001 #ifndef __domPlane_h__ 00002 #define __domPlane_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domExtra.h> 00009 class DAE; 00010 00014 class domPlane : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PLANE; } 00018 static daeInt ID() { return 283; } 00019 virtual daeInt typeID() const { return ID(); } 00020 public: 00021 class domEquation; 00022 00023 typedef daeSmartRef<domEquation> domEquationRef; 00024 typedef daeTArray<domEquationRef> domEquation_Array; 00025 00030 class domEquation : public daeElement 00031 { 00032 public: 00033 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EQUATION; } 00034 static daeInt ID() { return 284; } 00035 virtual daeInt typeID() const { return ID(); } 00036 00037 00038 public: //Accessors and Mutators 00043 domFloat4& getValue() { return _value; } 00048 void setValue( const domFloat4& val ) { _value = val; } 00049 00050 protected: // Value 00054 domFloat4 _value; 00055 protected: 00059 domEquation(DAE& dae) : daeElement(dae), _value() {} 00063 virtual ~domEquation() {} 00067 virtual domEquation &operator=( const domEquation &cpy ) { (void)cpy; return *this; } 00068 00069 public: // STATIC METHODS 00074 static DLLSPEC daeElementRef create(DAE& dae); 00080 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00081 }; 00082 00083 00084 00085 protected: // Elements 00090 domEquationRef elemEquation; 00094 domExtra_Array elemExtra_array; 00095 00096 public: //Accessors and Mutators 00101 const domEquationRef getEquation() const { return elemEquation; } 00106 domExtra_Array &getExtra_array() { return elemExtra_array; } 00111 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00112 protected: 00116 domPlane(DAE& dae) : daeElement(dae), elemEquation(), elemExtra_array() {} 00120 virtual ~domPlane() {} 00124 virtual domPlane &operator=( const domPlane &cpy ) { (void)cpy; return *this; } 00125 00126 public: // STATIC METHODS 00131 static DLLSPEC daeElementRef create(DAE& dae); 00137 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00138 }; 00139 00140 00141 #endif