00001 #ifndef __domSurfaces_h__ 00002 #define __domSurfaces_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domSurface.h> 00009 #include <dom/domExtra.h> 00010 class DAE; 00011 00012 class domSurfaces : public daeElement 00013 { 00014 public: 00015 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SURFACES; } 00016 static daeInt ID() { return 362; } 00017 virtual daeInt typeID() const { return ID(); } 00018 00019 protected: // Elements 00020 domSurface_Array elemSurface_array; 00021 domExtra_Array elemExtra_array; 00022 00023 public: //Accessors and Mutators 00028 domSurface_Array &getSurface_array() { return elemSurface_array; } 00033 const domSurface_Array &getSurface_array() const { return elemSurface_array; } 00038 domExtra_Array &getExtra_array() { return elemExtra_array; } 00043 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00044 protected: 00048 domSurfaces(DAE& dae) : daeElement(dae), elemSurface_array(), elemExtra_array() {} 00052 virtual ~domSurfaces() {} 00056 virtual domSurfaces &operator=( const domSurfaces &cpy ) { (void)cpy; return *this; } 00057 00058 public: // STATIC METHODS 00063 static DLLSPEC daeElementRef create(DAE& dae); 00069 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00070 }; 00071 00072 00073 #endif