00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __domFx_samplerCUBE_common_h__
00010 #define __domFx_samplerCUBE_common_h__
00011
00012 #include <dae/daeDocument.h>
00013 #include <dom/domTypes.h>
00014 #include <dom/domElements.h>
00015
00016 #include <dom/domExtra.h>
00017 class DAE;
00018
00022 class domFx_samplerCUBE_common_complexType
00023 {
00024 public:
00025 class domSource;
00026
00027 typedef daeSmartRef<domSource> domSourceRef;
00028 typedef daeTArray<domSourceRef> domSource_Array;
00029
00030 class domSource : public daeElement
00031 {
00032 public:
00033 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
00034 static daeInt ID() { return 58; }
00035 virtual daeInt typeID() const { return ID(); }
00036
00037 protected:
00041 xsNCName _value;
00042
00043 public:
00048 xsNCName getValue() const { return _value; }
00053 void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
00054
00055 protected:
00059 domSource(DAE& dae) : daeElement(dae), _value() {}
00063 virtual ~domSource() {}
00067 virtual domSource &operator=( const domSource &cpy ) { (void)cpy; return *this; }
00068
00069 public:
00074 static DLLSPEC daeElementRef create(DAE& dae);
00080 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00081 };
00082
00083 class domWrap_s;
00084
00085 typedef daeSmartRef<domWrap_s> domWrap_sRef;
00086 typedef daeTArray<domWrap_sRef> domWrap_s_Array;
00087
00088 class domWrap_s : public daeElement
00089 {
00090 public:
00091 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
00092 static daeInt ID() { return 59; }
00093 virtual daeInt typeID() const { return ID(); }
00094
00095 protected:
00099 domFx_sampler_wrap_common _value;
00100
00101 public:
00106 domFx_sampler_wrap_common getValue() const { return _value; }
00111 void setValue( domFx_sampler_wrap_common val ) { _value = val; }
00112
00113 protected:
00117 domWrap_s(DAE& dae) : daeElement(dae), _value() {}
00121 virtual ~domWrap_s() {}
00125 virtual domWrap_s &operator=( const domWrap_s &cpy ) { (void)cpy; return *this; }
00126
00127 public:
00132 static DLLSPEC daeElementRef create(DAE& dae);
00138 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00139 };
00140
00141 class domWrap_t;
00142
00143 typedef daeSmartRef<domWrap_t> domWrap_tRef;
00144 typedef daeTArray<domWrap_tRef> domWrap_t_Array;
00145
00146 class domWrap_t : public daeElement
00147 {
00148 public:
00149 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
00150 static daeInt ID() { return 60; }
00151 virtual daeInt typeID() const { return ID(); }
00152
00153 protected:
00157 domFx_sampler_wrap_common _value;
00158
00159 public:
00164 domFx_sampler_wrap_common getValue() const { return _value; }
00169 void setValue( domFx_sampler_wrap_common val ) { _value = val; }
00170
00171 protected:
00175 domWrap_t(DAE& dae) : daeElement(dae), _value() {}
00179 virtual ~domWrap_t() {}
00183 virtual domWrap_t &operator=( const domWrap_t &cpy ) { (void)cpy; return *this; }
00184
00185 public:
00190 static DLLSPEC daeElementRef create(DAE& dae);
00196 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00197 };
00198
00199 class domWrap_p;
00200
00201 typedef daeSmartRef<domWrap_p> domWrap_pRef;
00202 typedef daeTArray<domWrap_pRef> domWrap_p_Array;
00203
00204 class domWrap_p : public daeElement
00205 {
00206 public:
00207 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; }
00208 static daeInt ID() { return 61; }
00209 virtual daeInt typeID() const { return ID(); }
00210
00211 protected:
00215 domFx_sampler_wrap_common _value;
00216
00217 public:
00222 domFx_sampler_wrap_common getValue() const { return _value; }
00227 void setValue( domFx_sampler_wrap_common val ) { _value = val; }
00228
00229 protected:
00233 domWrap_p(DAE& dae) : daeElement(dae), _value() {}
00237 virtual ~domWrap_p() {}
00241 virtual domWrap_p &operator=( const domWrap_p &cpy ) { (void)cpy; return *this; }
00242
00243 public:
00248 static DLLSPEC daeElementRef create(DAE& dae);
00254 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00255 };
00256
00257 class domMinfilter;
00258
00259 typedef daeSmartRef<domMinfilter> domMinfilterRef;
00260 typedef daeTArray<domMinfilterRef> domMinfilter_Array;
00261
00262 class domMinfilter : public daeElement
00263 {
00264 public:
00265 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
00266 static daeInt ID() { return 62; }
00267 virtual daeInt typeID() const { return ID(); }
00268
00269 protected:
00273 domFx_sampler_filter_common _value;
00274
00275 public:
00280 domFx_sampler_filter_common getValue() const { return _value; }
00285 void setValue( domFx_sampler_filter_common val ) { _value = val; }
00286
00287 protected:
00291 domMinfilter(DAE& dae) : daeElement(dae), _value() {}
00295 virtual ~domMinfilter() {}
00299 virtual domMinfilter &operator=( const domMinfilter &cpy ) { (void)cpy; return *this; }
00300
00301 public:
00306 static DLLSPEC daeElementRef create(DAE& dae);
00312 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00313 };
00314
00315 class domMagfilter;
00316
00317 typedef daeSmartRef<domMagfilter> domMagfilterRef;
00318 typedef daeTArray<domMagfilterRef> domMagfilter_Array;
00319
00320 class domMagfilter : public daeElement
00321 {
00322 public:
00323 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
00324 static daeInt ID() { return 63; }
00325 virtual daeInt typeID() const { return ID(); }
00326
00327 protected:
00331 domFx_sampler_filter_common _value;
00332
00333 public:
00338 domFx_sampler_filter_common getValue() const { return _value; }
00343 void setValue( domFx_sampler_filter_common val ) { _value = val; }
00344
00345 protected:
00349 domMagfilter(DAE& dae) : daeElement(dae), _value() {}
00353 virtual ~domMagfilter() {}
00357 virtual domMagfilter &operator=( const domMagfilter &cpy ) { (void)cpy; return *this; }
00358
00359 public:
00364 static DLLSPEC daeElementRef create(DAE& dae);
00370 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00371 };
00372
00373 class domMipfilter;
00374
00375 typedef daeSmartRef<domMipfilter> domMipfilterRef;
00376 typedef daeTArray<domMipfilterRef> domMipfilter_Array;
00377
00378 class domMipfilter : public daeElement
00379 {
00380 public:
00381 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
00382 static daeInt ID() { return 64; }
00383 virtual daeInt typeID() const { return ID(); }
00384
00385 protected:
00389 domFx_sampler_filter_common _value;
00390
00391 public:
00396 domFx_sampler_filter_common getValue() const { return _value; }
00401 void setValue( domFx_sampler_filter_common val ) { _value = val; }
00402
00403 protected:
00407 domMipfilter(DAE& dae) : daeElement(dae), _value() {}
00411 virtual ~domMipfilter() {}
00415 virtual domMipfilter &operator=( const domMipfilter &cpy ) { (void)cpy; return *this; }
00416
00417 public:
00422 static DLLSPEC daeElementRef create(DAE& dae);
00428 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00429 };
00430
00431 class domBorder_color;
00432
00433 typedef daeSmartRef<domBorder_color> domBorder_colorRef;
00434 typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
00435
00436 class domBorder_color : public daeElement
00437 {
00438 public:
00439 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
00440 static daeInt ID() { return 65; }
00441 virtual daeInt typeID() const { return ID(); }
00442
00443 protected:
00447 domFx_color_common _value;
00448
00449 public:
00454 domFx_color_common &getValue() { return _value; }
00459 const domFx_color_common &getValue() const { return _value; }
00464 void setValue( const domFx_color_common &val ) { _value = val; }
00465
00466 protected:
00470 domBorder_color(DAE& dae) : daeElement(dae), _value() {}
00474 virtual ~domBorder_color() {}
00478 virtual domBorder_color &operator=( const domBorder_color &cpy ) { (void)cpy; return *this; }
00479
00480 public:
00485 static DLLSPEC daeElementRef create(DAE& dae);
00491 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00492 };
00493
00494 class domMipmap_maxlevel;
00495
00496 typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
00497 typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
00498
00499 class domMipmap_maxlevel : public daeElement
00500 {
00501 public:
00502 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
00503 static daeInt ID() { return 66; }
00504 virtual daeInt typeID() const { return ID(); }
00505
00506 protected:
00510 xsUnsignedByte _value;
00511
00512 public:
00517 xsUnsignedByte getValue() const { return _value; }
00522 void setValue( xsUnsignedByte val ) { _value = val; }
00523
00524 protected:
00528 domMipmap_maxlevel(DAE& dae) : daeElement(dae), _value() {}
00532 virtual ~domMipmap_maxlevel() {}
00536 virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &cpy ) { (void)cpy; return *this; }
00537
00538 public:
00543 static DLLSPEC daeElementRef create(DAE& dae);
00549 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00550 };
00551
00552 class domMipmap_bias;
00553
00554 typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
00555 typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
00556
00557 class domMipmap_bias : public daeElement
00558 {
00559 public:
00560 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
00561 static daeInt ID() { return 67; }
00562 virtual daeInt typeID() const { return ID(); }
00563
00564 protected:
00568 xsFloat _value;
00569
00570 public:
00575 xsFloat getValue() const { return _value; }
00580 void setValue( xsFloat val ) { _value = val; }
00581
00582 protected:
00586 domMipmap_bias(DAE& dae) : daeElement(dae), _value() {}
00590 virtual ~domMipmap_bias() {}
00594 virtual domMipmap_bias &operator=( const domMipmap_bias &cpy ) { (void)cpy; return *this; }
00595
00596 public:
00601 static DLLSPEC daeElementRef create(DAE& dae);
00607 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00608 };
00609
00610
00611
00612 protected:
00613 domSourceRef elemSource;
00614 domWrap_sRef elemWrap_s;
00615 domWrap_tRef elemWrap_t;
00616 domWrap_pRef elemWrap_p;
00617 domMinfilterRef elemMinfilter;
00618 domMagfilterRef elemMagfilter;
00619 domMipfilterRef elemMipfilter;
00620 domBorder_colorRef elemBorder_color;
00621 domMipmap_maxlevelRef elemMipmap_maxlevel;
00622 domMipmap_biasRef elemMipmap_bias;
00623 domExtra_Array elemExtra_array;
00624
00625 public:
00630 const domSourceRef getSource() const { return elemSource; }
00635 const domWrap_sRef getWrap_s() const { return elemWrap_s; }
00640 const domWrap_tRef getWrap_t() const { return elemWrap_t; }
00645 const domWrap_pRef getWrap_p() const { return elemWrap_p; }
00650 const domMinfilterRef getMinfilter() const { return elemMinfilter; }
00655 const domMagfilterRef getMagfilter() const { return elemMagfilter; }
00660 const domMipfilterRef getMipfilter() const { return elemMipfilter; }
00665 const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
00670 const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
00675 const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
00680 domExtra_Array &getExtra_array() { return elemExtra_array; }
00685 const domExtra_Array &getExtra_array() const { return elemExtra_array; }
00686 protected:
00690 domFx_samplerCUBE_common_complexType(DAE& dae, daeElement* elt) : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
00694 virtual ~domFx_samplerCUBE_common_complexType() {}
00698 virtual domFx_samplerCUBE_common_complexType &operator=( const domFx_samplerCUBE_common_complexType &cpy ) { (void)cpy; return *this; }
00699 };
00700
00704 class domFx_samplerCUBE_common : public daeElement, public domFx_samplerCUBE_common_complexType
00705 {
00706 public:
00707 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERCUBE_COMMON; }
00708 static daeInt ID() { return 68; }
00709 virtual daeInt typeID() const { return ID(); }
00710 protected:
00714 domFx_samplerCUBE_common(DAE& dae) : daeElement(dae), domFx_samplerCUBE_common_complexType(dae, this) {}
00718 virtual ~domFx_samplerCUBE_common() {}
00722 virtual domFx_samplerCUBE_common &operator=( const domFx_samplerCUBE_common &cpy ) { (void)cpy; return *this; }
00723
00724 public:
00729 static DLLSPEC daeElementRef create(DAE& dae);
00735 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00736 };
00737
00738
00739 #endif