00001 #ifndef __domImage_mips_h__ 00002 #define __domImage_mips_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domImage_mips : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::IMAGE_MIPS; } 00014 static daeInt ID() { return 22; } 00015 virtual daeInt typeID() const { return ID(); } 00016 protected: // Attributes 00021 xsUnsignedInt attrLevels; 00025 xsBoolean attrAuto_generate; 00026 00027 00028 public: //Accessors and Mutators 00033 xsUnsignedInt getLevels() const { return attrLevels; } 00038 void setLevels( xsUnsignedInt atLevels ) { attrLevels = atLevels; } 00039 00044 xsBoolean getAuto_generate() const { return attrAuto_generate; } 00049 void setAuto_generate( xsBoolean atAuto_generate ) { attrAuto_generate = atAuto_generate; } 00050 00051 protected: 00055 domImage_mips(DAE& dae) : daeElement(dae), attrLevels(), attrAuto_generate() {} 00059 virtual ~domImage_mips() {} 00063 virtual domImage_mips &operator=( const domImage_mips &cpy ) { (void)cpy; return *this; } 00064 00065 public: // STATIC METHODS 00070 static DLLSPEC daeElementRef create(DAE& dae); 00076 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00077 }; 00078 00079 00080 #endif