00001 /* 00002 * Copyright 2006 Sony Computer Entertainment Inc. 00003 * 00004 * Licensed under the MIT Open Source License, for details please see license.txt or the website 00005 * http://www.opensource.org/licenses/mit-license.php 00006 * 00007 */ 00008 00009 #ifndef __domFx_samplerDEPTH_common_h__ 00010 #define __domFx_samplerDEPTH_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_samplerDEPTH_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 79; } 00035 virtual daeInt typeID() const { return ID(); } 00036 00037 protected: // Value 00041 xsNCName _value; 00042 00043 public: //Accessors and Mutators 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: // STATIC METHODS 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 80; } 00093 virtual daeInt typeID() const { return ID(); } 00094 00095 protected: // Value 00099 domFx_sampler_wrap_common _value; 00100 00101 public: //Accessors and Mutators 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: // STATIC METHODS 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 81; } 00151 virtual daeInt typeID() const { return ID(); } 00152 00153 protected: // Value 00157 domFx_sampler_wrap_common _value; 00158 00159 public: //Accessors and Mutators 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: // STATIC METHODS 00190 static DLLSPEC daeElementRef create(DAE& dae); 00196 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00197 }; 00198 00199 class domMinfilter; 00200 00201 typedef daeSmartRef<domMinfilter> domMinfilterRef; 00202 typedef daeTArray<domMinfilterRef> domMinfilter_Array; 00203 00204 class domMinfilter : public daeElement 00205 { 00206 public: 00207 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } 00208 static daeInt ID() { return 82; } 00209 virtual daeInt typeID() const { return ID(); } 00210 00211 protected: // Value 00215 domFx_sampler_filter_common _value; 00216 00217 public: //Accessors and Mutators 00222 domFx_sampler_filter_common getValue() const { return _value; } 00227 void setValue( domFx_sampler_filter_common val ) { _value = val; } 00228 00229 protected: 00233 domMinfilter(DAE& dae) : daeElement(dae), _value() {} 00237 virtual ~domMinfilter() {} 00241 virtual domMinfilter &operator=( const domMinfilter &cpy ) { (void)cpy; return *this; } 00242 00243 public: // STATIC METHODS 00248 static DLLSPEC daeElementRef create(DAE& dae); 00254 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00255 }; 00256 00257 class domMagfilter; 00258 00259 typedef daeSmartRef<domMagfilter> domMagfilterRef; 00260 typedef daeTArray<domMagfilterRef> domMagfilter_Array; 00261 00262 class domMagfilter : public daeElement 00263 { 00264 public: 00265 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } 00266 static daeInt ID() { return 83; } 00267 virtual daeInt typeID() const { return ID(); } 00268 00269 protected: // Value 00273 domFx_sampler_filter_common _value; 00274 00275 public: //Accessors and Mutators 00280 domFx_sampler_filter_common getValue() const { return _value; } 00285 void setValue( domFx_sampler_filter_common val ) { _value = val; } 00286 00287 protected: 00291 domMagfilter(DAE& dae) : daeElement(dae), _value() {} 00295 virtual ~domMagfilter() {} 00299 virtual domMagfilter &operator=( const domMagfilter &cpy ) { (void)cpy; return *this; } 00300 00301 public: // STATIC METHODS 00306 static DLLSPEC daeElementRef create(DAE& dae); 00312 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00313 }; 00314 00315 00316 00317 protected: // Elements 00318 domSourceRef elemSource; 00319 domWrap_sRef elemWrap_s; 00320 domWrap_tRef elemWrap_t; 00321 domMinfilterRef elemMinfilter; 00322 domMagfilterRef elemMagfilter; 00323 domExtra_Array elemExtra_array; 00324 00325 public: //Accessors and Mutators 00330 const domSourceRef getSource() const { return elemSource; } 00335 const domWrap_sRef getWrap_s() const { return elemWrap_s; } 00340 const domWrap_tRef getWrap_t() const { return elemWrap_t; } 00345 const domMinfilterRef getMinfilter() const { return elemMinfilter; } 00350 const domMagfilterRef getMagfilter() const { return elemMagfilter; } 00355 domExtra_Array &getExtra_array() { return elemExtra_array; } 00360 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00361 protected: 00365 domFx_samplerDEPTH_common_complexType(DAE& dae, daeElement* elt) : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemExtra_array() {} 00369 virtual ~domFx_samplerDEPTH_common_complexType() {} 00373 virtual domFx_samplerDEPTH_common_complexType &operator=( const domFx_samplerDEPTH_common_complexType &cpy ) { (void)cpy; return *this; } 00374 }; 00375 00379 class domFx_samplerDEPTH_common : public daeElement, public domFx_samplerDEPTH_common_complexType 00380 { 00381 public: 00382 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERDEPTH_COMMON; } 00383 static daeInt ID() { return 84; } 00384 virtual daeInt typeID() const { return ID(); } 00385 protected: 00389 domFx_samplerDEPTH_common(DAE& dae) : daeElement(dae), domFx_samplerDEPTH_common_complexType(dae, this) {} 00393 virtual ~domFx_samplerDEPTH_common() {} 00397 virtual domFx_samplerDEPTH_common &operator=( const domFx_samplerDEPTH_common &cpy ) { (void)cpy; return *this; } 00398 00399 public: // STATIC METHODS 00404 static DLLSPEC daeElementRef create(DAE& dae); 00410 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00411 }; 00412 00413 00414 #endif