00001 #ifndef __domGles_sampler_states_h__ 00002 #define __domGles_sampler_states_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 00011 class domGles_sampler_states : public daeElement 00012 { 00013 public: 00014 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_SAMPLER_STATES; } 00015 static daeInt ID() { return 847; } 00016 virtual daeInt typeID() const { return ID(); } 00017 public: 00018 class domWrap_s; 00019 00020 typedef daeSmartRef<domWrap_s> domWrap_sRef; 00021 typedef daeTArray<domWrap_sRef> domWrap_s_Array; 00022 00023 class domWrap_s : public daeElement 00024 { 00025 public: 00026 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } 00027 static daeInt ID() { return 848; } 00028 virtual daeInt typeID() const { return ID(); } 00029 00030 00031 public: //Accessors and Mutators 00036 domGles_sampler_wrap& getValue() { return _value; } 00041 void setValue( const domGles_sampler_wrap& val ) { _value = val; } 00042 00043 protected: // Value 00047 domGles_sampler_wrap _value; 00048 protected: 00052 domWrap_s(DAE& dae) : daeElement(dae), _value() {} 00056 virtual ~domWrap_s() {} 00060 virtual domWrap_s &operator=( const domWrap_s &cpy ) { (void)cpy; return *this; } 00061 00062 public: // STATIC METHODS 00067 static DLLSPEC daeElementRef create(DAE& dae); 00073 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00074 }; 00075 00076 class domWrap_t; 00077 00078 typedef daeSmartRef<domWrap_t> domWrap_tRef; 00079 typedef daeTArray<domWrap_tRef> domWrap_t_Array; 00080 00081 class domWrap_t : public daeElement 00082 { 00083 public: 00084 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } 00085 static daeInt ID() { return 849; } 00086 virtual daeInt typeID() const { return ID(); } 00087 00088 00089 public: //Accessors and Mutators 00094 domGles_sampler_wrap& getValue() { return _value; } 00099 void setValue( const domGles_sampler_wrap& val ) { _value = val; } 00100 00101 protected: // Value 00105 domGles_sampler_wrap _value; 00106 protected: 00110 domWrap_t(DAE& dae) : daeElement(dae), _value() {} 00114 virtual ~domWrap_t() {} 00118 virtual domWrap_t &operator=( const domWrap_t &cpy ) { (void)cpy; return *this; } 00119 00120 public: // STATIC METHODS 00125 static DLLSPEC daeElementRef create(DAE& dae); 00131 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00132 }; 00133 00134 class domMinfilter; 00135 00136 typedef daeSmartRef<domMinfilter> domMinfilterRef; 00137 typedef daeTArray<domMinfilterRef> domMinfilter_Array; 00138 00139 class domMinfilter : public daeElement 00140 { 00141 public: 00142 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } 00143 static daeInt ID() { return 850; } 00144 virtual daeInt typeID() const { return ID(); } 00145 00146 00147 public: //Accessors and Mutators 00152 domFx_sampler_min_filter& getValue() { return _value; } 00157 void setValue( const domFx_sampler_min_filter& val ) { _value = val; } 00158 00159 protected: // Value 00163 domFx_sampler_min_filter _value; 00164 protected: 00168 domMinfilter(DAE& dae) : daeElement(dae), _value() {} 00172 virtual ~domMinfilter() {} 00176 virtual domMinfilter &operator=( const domMinfilter &cpy ) { (void)cpy; return *this; } 00177 00178 public: // STATIC METHODS 00183 static DLLSPEC daeElementRef create(DAE& dae); 00189 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00190 }; 00191 00192 class domMagfilter; 00193 00194 typedef daeSmartRef<domMagfilter> domMagfilterRef; 00195 typedef daeTArray<domMagfilterRef> domMagfilter_Array; 00196 00197 class domMagfilter : public daeElement 00198 { 00199 public: 00200 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } 00201 static daeInt ID() { return 851; } 00202 virtual daeInt typeID() const { return ID(); } 00203 00204 00205 public: //Accessors and Mutators 00210 domFx_sampler_mag_filter& getValue() { return _value; } 00215 void setValue( const domFx_sampler_mag_filter& val ) { _value = val; } 00216 00217 protected: // Value 00221 domFx_sampler_mag_filter _value; 00222 protected: 00226 domMagfilter(DAE& dae) : daeElement(dae), _value() {} 00230 virtual ~domMagfilter() {} 00234 virtual domMagfilter &operator=( const domMagfilter &cpy ) { (void)cpy; return *this; } 00235 00236 public: // STATIC METHODS 00241 static DLLSPEC daeElementRef create(DAE& dae); 00247 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00248 }; 00249 00250 class domMipfilter; 00251 00252 typedef daeSmartRef<domMipfilter> domMipfilterRef; 00253 typedef daeTArray<domMipfilterRef> domMipfilter_Array; 00254 00255 class domMipfilter : public daeElement 00256 { 00257 public: 00258 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } 00259 static daeInt ID() { return 852; } 00260 virtual daeInt typeID() const { return ID(); } 00261 00262 00263 public: //Accessors and Mutators 00268 domFx_sampler_mip_filter& getValue() { return _value; } 00273 void setValue( const domFx_sampler_mip_filter& val ) { _value = val; } 00274 00275 protected: // Value 00279 domFx_sampler_mip_filter _value; 00280 protected: 00284 domMipfilter(DAE& dae) : daeElement(dae), _value() {} 00288 virtual ~domMipfilter() {} 00292 virtual domMipfilter &operator=( const domMipfilter &cpy ) { (void)cpy; return *this; } 00293 00294 public: // STATIC METHODS 00299 static DLLSPEC daeElementRef create(DAE& dae); 00305 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00306 }; 00307 00308 class domMip_max_level; 00309 00310 typedef daeSmartRef<domMip_max_level> domMip_max_levelRef; 00311 typedef daeTArray<domMip_max_levelRef> domMip_max_level_Array; 00312 00313 class domMip_max_level : public daeElement 00314 { 00315 public: 00316 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_MAX_LEVEL; } 00317 static daeInt ID() { return 853; } 00318 virtual daeInt typeID() const { return ID(); } 00319 00320 00321 public: //Accessors and Mutators 00326 xsUnsignedByte& getValue() { return _value; } 00331 void setValue( const xsUnsignedByte& val ) { _value = val; } 00332 00333 protected: // Value 00337 xsUnsignedByte _value; 00338 protected: 00342 domMip_max_level(DAE& dae) : daeElement(dae), _value() {} 00346 virtual ~domMip_max_level() {} 00350 virtual domMip_max_level &operator=( const domMip_max_level &cpy ) { (void)cpy; return *this; } 00351 00352 public: // STATIC METHODS 00357 static DLLSPEC daeElementRef create(DAE& dae); 00363 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00364 }; 00365 00366 class domMip_bias; 00367 00368 typedef daeSmartRef<domMip_bias> domMip_biasRef; 00369 typedef daeTArray<domMip_biasRef> domMip_bias_Array; 00370 00371 class domMip_bias : public daeElement 00372 { 00373 public: 00374 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_BIAS; } 00375 static daeInt ID() { return 854; } 00376 virtual daeInt typeID() const { return ID(); } 00377 00378 00379 public: //Accessors and Mutators 00384 xsFloat& getValue() { return _value; } 00389 void setValue( const xsFloat& val ) { _value = val; } 00390 00391 protected: // Value 00395 xsFloat _value; 00396 protected: 00400 domMip_bias(DAE& dae) : daeElement(dae), _value() {} 00404 virtual ~domMip_bias() {} 00408 virtual domMip_bias &operator=( const domMip_bias &cpy ) { (void)cpy; return *this; } 00409 00410 public: // STATIC METHODS 00415 static DLLSPEC daeElementRef create(DAE& dae); 00421 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00422 }; 00423 00424 00425 00426 protected: // Elements 00427 domWrap_sRef elemWrap_s; 00428 domWrap_tRef elemWrap_t; 00429 domMinfilterRef elemMinfilter; 00430 domMagfilterRef elemMagfilter; 00431 domMipfilterRef elemMipfilter; 00432 domMip_max_levelRef elemMip_max_level; 00433 domMip_biasRef elemMip_bias; 00438 domExtra_Array elemExtra_array; 00439 00440 public: //Accessors and Mutators 00445 const domWrap_sRef getWrap_s() const { return elemWrap_s; } 00450 const domWrap_tRef getWrap_t() const { return elemWrap_t; } 00455 const domMinfilterRef getMinfilter() const { return elemMinfilter; } 00460 const domMagfilterRef getMagfilter() const { return elemMagfilter; } 00465 const domMipfilterRef getMipfilter() const { return elemMipfilter; } 00470 const domMip_max_levelRef getMip_max_level() const { return elemMip_max_level; } 00475 const domMip_biasRef getMip_bias() const { return elemMip_bias; } 00480 domExtra_Array &getExtra_array() { return elemExtra_array; } 00485 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00486 protected: 00490 domGles_sampler_states(DAE& dae) : daeElement(dae), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemMip_max_level(), elemMip_bias(), elemExtra_array() {} 00494 virtual ~domGles_sampler_states() {} 00498 virtual domGles_sampler_states &operator=( const domGles_sampler_states &cpy ) { (void)cpy; return *this; } 00499 00500 public: // STATIC METHODS 00505 static DLLSPEC daeElementRef create(DAE& dae); 00511 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00512 }; 00513 00514 00515 #endif