00001 #ifndef __domFx_sampler_states_h__
00002 #define __domFx_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 domFx_sampler_states : public daeElement
00012 {
00013 public:
00014 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER_STATES; }
00015 static daeInt ID() { return 488; }
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 489; }
00028 virtual daeInt typeID() const { return ID(); }
00029
00030
00031 public:
00036 domFx_sampler_wrap& getValue() { return _value; }
00041 void setValue( const domFx_sampler_wrap& val ) { _value = val; }
00042
00043 protected:
00047 domFx_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:
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 490; }
00086 virtual daeInt typeID() const { return ID(); }
00087
00088
00089 public:
00094 domFx_sampler_wrap& getValue() { return _value; }
00099 void setValue( const domFx_sampler_wrap& val ) { _value = val; }
00100
00101 protected:
00105 domFx_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:
00125 static DLLSPEC daeElementRef create(DAE& dae);
00131 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00132 };
00133
00134 class domWrap_p;
00135
00136 typedef daeSmartRef<domWrap_p> domWrap_pRef;
00137 typedef daeTArray<domWrap_pRef> domWrap_p_Array;
00138
00139 class domWrap_p : public daeElement
00140 {
00141 public:
00142 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; }
00143 static daeInt ID() { return 491; }
00144 virtual daeInt typeID() const { return ID(); }
00145
00146
00147 public:
00152 domFx_sampler_wrap& getValue() { return _value; }
00157 void setValue( const domFx_sampler_wrap& val ) { _value = val; }
00158
00159 protected:
00163 domFx_sampler_wrap _value;
00164 protected:
00168 domWrap_p(DAE& dae) : daeElement(dae), _value() {}
00172 virtual ~domWrap_p() {}
00176 virtual domWrap_p &operator=( const domWrap_p &cpy ) { (void)cpy; return *this; }
00177
00178 public:
00183 static DLLSPEC daeElementRef create(DAE& dae);
00189 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00190 };
00191
00192 class domMinfilter;
00193
00194 typedef daeSmartRef<domMinfilter> domMinfilterRef;
00195 typedef daeTArray<domMinfilterRef> domMinfilter_Array;
00196
00200 class domMinfilter : public daeElement
00201 {
00202 public:
00203 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
00204 static daeInt ID() { return 492; }
00205 virtual daeInt typeID() const { return ID(); }
00206
00207
00208 public:
00213 domFx_sampler_min_filter& getValue() { return _value; }
00218 void setValue( const domFx_sampler_min_filter& val ) { _value = val; }
00219
00220 protected:
00224 domFx_sampler_min_filter _value;
00225 protected:
00229 domMinfilter(DAE& dae) : daeElement(dae), _value() {}
00233 virtual ~domMinfilter() {}
00237 virtual domMinfilter &operator=( const domMinfilter &cpy ) { (void)cpy; return *this; }
00238
00239 public:
00244 static DLLSPEC daeElementRef create(DAE& dae);
00250 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00251 };
00252
00253 class domMagfilter;
00254
00255 typedef daeSmartRef<domMagfilter> domMagfilterRef;
00256 typedef daeTArray<domMagfilterRef> domMagfilter_Array;
00257
00261 class domMagfilter : public daeElement
00262 {
00263 public:
00264 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
00265 static daeInt ID() { return 493; }
00266 virtual daeInt typeID() const { return ID(); }
00267
00268
00269 public:
00274 domFx_sampler_mag_filter& getValue() { return _value; }
00279 void setValue( const domFx_sampler_mag_filter& val ) { _value = val; }
00280
00281 protected:
00285 domFx_sampler_mag_filter _value;
00286 protected:
00290 domMagfilter(DAE& dae) : daeElement(dae), _value() {}
00294 virtual ~domMagfilter() {}
00298 virtual domMagfilter &operator=( const domMagfilter &cpy ) { (void)cpy; return *this; }
00299
00300 public:
00305 static DLLSPEC daeElementRef create(DAE& dae);
00311 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00312 };
00313
00314 class domMipfilter;
00315
00316 typedef daeSmartRef<domMipfilter> domMipfilterRef;
00317 typedef daeTArray<domMipfilterRef> domMipfilter_Array;
00318
00324 class domMipfilter : public daeElement
00325 {
00326 public:
00327 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
00328 static daeInt ID() { return 494; }
00329 virtual daeInt typeID() const { return ID(); }
00330
00331
00332 public:
00337 domFx_sampler_mip_filter& getValue() { return _value; }
00342 void setValue( const domFx_sampler_mip_filter& val ) { _value = val; }
00343
00344 protected:
00348 domFx_sampler_mip_filter _value;
00349 protected:
00353 domMipfilter(DAE& dae) : daeElement(dae), _value() {}
00357 virtual ~domMipfilter() {}
00361 virtual domMipfilter &operator=( const domMipfilter &cpy ) { (void)cpy; return *this; }
00362
00363 public:
00368 static DLLSPEC daeElementRef create(DAE& dae);
00374 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00375 };
00376
00377 class domBorder_color;
00378
00379 typedef daeSmartRef<domBorder_color> domBorder_colorRef;
00380 typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
00381
00382 class domBorder_color : public daeElement
00383 {
00384 public:
00385 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
00386 static daeInt ID() { return 495; }
00387 virtual daeInt typeID() const { return ID(); }
00388
00389
00390 public:
00395 domFx_color& getValue() { return _value; }
00400 void setValue( const domFx_color& val ) { _value = val; }
00401
00402 protected:
00406 domFx_color _value;
00407 protected:
00411 domBorder_color(DAE& dae) : daeElement(dae), _value() {}
00415 virtual ~domBorder_color() {}
00419 virtual domBorder_color &operator=( const domBorder_color &cpy ) { (void)cpy; return *this; }
00420
00421 public:
00426 static DLLSPEC daeElementRef create(DAE& dae);
00432 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00433 };
00434
00435 class domMip_max_level;
00436
00437 typedef daeSmartRef<domMip_max_level> domMip_max_levelRef;
00438 typedef daeTArray<domMip_max_levelRef> domMip_max_level_Array;
00439
00444 class domMip_max_level : public daeElement
00445 {
00446 public:
00447 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_MAX_LEVEL; }
00448 static daeInt ID() { return 496; }
00449 virtual daeInt typeID() const { return ID(); }
00450
00451
00452 public:
00457 xsUnsignedByte& getValue() { return _value; }
00462 void setValue( const xsUnsignedByte& val ) { _value = val; }
00463
00464 protected:
00468 xsUnsignedByte _value;
00469 protected:
00473 domMip_max_level(DAE& dae) : daeElement(dae), _value() {}
00477 virtual ~domMip_max_level() {}
00481 virtual domMip_max_level &operator=( const domMip_max_level &cpy ) { (void)cpy; return *this; }
00482
00483 public:
00488 static DLLSPEC daeElementRef create(DAE& dae);
00494 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00495 };
00496
00497 class domMip_min_level;
00498
00499 typedef daeSmartRef<domMip_min_level> domMip_min_levelRef;
00500 typedef daeTArray<domMip_min_levelRef> domMip_min_level_Array;
00501
00506 class domMip_min_level : public daeElement
00507 {
00508 public:
00509 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_MIN_LEVEL; }
00510 static daeInt ID() { return 497; }
00511 virtual daeInt typeID() const { return ID(); }
00512
00513
00514 public:
00519 xsUnsignedByte& getValue() { return _value; }
00524 void setValue( const xsUnsignedByte& val ) { _value = val; }
00525
00526 protected:
00530 xsUnsignedByte _value;
00531 protected:
00535 domMip_min_level(DAE& dae) : daeElement(dae), _value() {}
00539 virtual ~domMip_min_level() {}
00543 virtual domMip_min_level &operator=( const domMip_min_level &cpy ) { (void)cpy; return *this; }
00544
00545 public:
00550 static DLLSPEC daeElementRef create(DAE& dae);
00556 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00557 };
00558
00559 class domMip_bias;
00560
00561 typedef daeSmartRef<domMip_bias> domMip_biasRef;
00562 typedef daeTArray<domMip_biasRef> domMip_bias_Array;
00563
00567 class domMip_bias : public daeElement
00568 {
00569 public:
00570 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_BIAS; }
00571 static daeInt ID() { return 498; }
00572 virtual daeInt typeID() const { return ID(); }
00573
00574
00575 public:
00580 xsFloat& getValue() { return _value; }
00585 void setValue( const xsFloat& val ) { _value = val; }
00586
00587 protected:
00591 xsFloat _value;
00592 protected:
00596 domMip_bias(DAE& dae) : daeElement(dae), _value() {}
00600 virtual ~domMip_bias() {}
00604 virtual domMip_bias &operator=( const domMip_bias &cpy ) { (void)cpy; return *this; }
00605
00606 public:
00611 static DLLSPEC daeElementRef create(DAE& dae);
00617 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00618 };
00619
00620 class domMax_anisotropy;
00621
00622 typedef daeSmartRef<domMax_anisotropy> domMax_anisotropyRef;
00623 typedef daeTArray<domMax_anisotropyRef> domMax_anisotropy_Array;
00624
00628 class domMax_anisotropy : public daeElement
00629 {
00630 public:
00631 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAX_ANISOTROPY; }
00632 static daeInt ID() { return 499; }
00633 virtual daeInt typeID() const { return ID(); }
00634
00635
00636 public:
00641 xsUnsignedInt& getValue() { return _value; }
00646 void setValue( const xsUnsignedInt& val ) { _value = val; }
00647
00648 protected:
00652 xsUnsignedInt _value;
00653 protected:
00657 domMax_anisotropy(DAE& dae) : daeElement(dae), _value() {}
00661 virtual ~domMax_anisotropy() {}
00665 virtual domMax_anisotropy &operator=( const domMax_anisotropy &cpy ) { (void)cpy; return *this; }
00666
00667 public:
00672 static DLLSPEC daeElementRef create(DAE& dae);
00678 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00679 };
00680
00681
00682
00683 protected:
00684 domWrap_sRef elemWrap_s;
00685 domWrap_tRef elemWrap_t;
00686 domWrap_pRef elemWrap_p;
00690 domMinfilterRef elemMinfilter;
00694 domMagfilterRef elemMagfilter;
00701 domMipfilterRef elemMipfilter;
00702 domBorder_colorRef elemBorder_color;
00707 domMip_max_levelRef elemMip_max_level;
00712 domMip_min_levelRef elemMip_min_level;
00716 domMip_biasRef elemMip_bias;
00720 domMax_anisotropyRef elemMax_anisotropy;
00721 domExtra_Array elemExtra_array;
00722
00723 public:
00728 const domWrap_sRef getWrap_s() const { return elemWrap_s; }
00733 const domWrap_tRef getWrap_t() const { return elemWrap_t; }
00738 const domWrap_pRef getWrap_p() const { return elemWrap_p; }
00743 const domMinfilterRef getMinfilter() const { return elemMinfilter; }
00748 const domMagfilterRef getMagfilter() const { return elemMagfilter; }
00753 const domMipfilterRef getMipfilter() const { return elemMipfilter; }
00758 const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
00763 const domMip_max_levelRef getMip_max_level() const { return elemMip_max_level; }
00768 const domMip_min_levelRef getMip_min_level() const { return elemMip_min_level; }
00773 const domMip_biasRef getMip_bias() const { return elemMip_bias; }
00778 const domMax_anisotropyRef getMax_anisotropy() const { return elemMax_anisotropy; }
00783 domExtra_Array &getExtra_array() { return elemExtra_array; }
00788 const domExtra_Array &getExtra_array() const { return elemExtra_array; }
00789 protected:
00793 domFx_sampler_states(DAE& dae) : daeElement(dae), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMip_max_level(), elemMip_min_level(), elemMip_bias(), elemMax_anisotropy(), elemExtra_array() {}
00797 virtual ~domFx_sampler_states() {}
00801 virtual domFx_sampler_states &operator=( const domFx_sampler_states &cpy ) { (void)cpy; return *this; }
00802
00803 public:
00808 static DLLSPEC daeElementRef create(DAE& dae);
00814 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00815 };
00816
00817
00818 #endif