Home | History | Annotate | Download | only in dom
      1 /*
      2 * Copyright 2006 Sony Computer Entertainment Inc.
      3 *
      4 * Licensed under the MIT Open Source License, for details please see license.txt or the website
      5 * http://www.opensource.org/licenses/mit-license.php
      6 *
      7 */
      8 
      9 #ifndef __domFx_sampler3D_common_h__
     10 #define __domFx_sampler3D_common_h__
     11 
     12 #include <dae/daeDocument.h>
     13 #include <dom/domTypes.h>
     14 #include <dom/domElements.h>
     15 
     16 #include <dom/domExtra.h>
     17 class DAE;
     18 
     19 /**
     20  * A three-dimensional texture sampler.
     21  */
     22 class domFx_sampler3D_common_complexType
     23 {
     24 public:
     25 	class domSource;
     26 
     27 	typedef daeSmartRef<domSource> domSourceRef;
     28 	typedef daeTArray<domSourceRef> domSource_Array;
     29 
     30 	class domSource : public daeElement
     31 	{
     32 	public:
     33 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; }
     34 		static daeInt ID() { return 47; }
     35 		virtual daeInt typeID() const { return ID(); }
     36 
     37 	protected:  // Value
     38 		/**
     39 		 * The xsNCName value of the text data of this element.
     40 		 */
     41 		xsNCName _value;
     42 
     43 	public:	//Accessors and Mutators
     44 		/**
     45 		 * Gets the value of this element.
     46 		 * @return Returns a xsNCName of the value.
     47 		 */
     48 		xsNCName getValue() const { return _value; }
     49 		/**
     50 		 * Sets the _value of this element.
     51 		 * @param val The new value for this element.
     52 		 */
     53 		void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
     54 
     55 	protected:
     56 		/**
     57 		 * Constructor
     58 		 */
     59 		domSource(DAE& dae) : daeElement(dae), _value() {}
     60 		/**
     61 		 * Destructor
     62 		 */
     63 		virtual ~domSource() {}
     64 		/**
     65 		 * Overloaded assignment operator
     66 		 */
     67 		virtual domSource &operator=( const domSource &cpy ) { (void)cpy; return *this; }
     68 
     69 	public: // STATIC METHODS
     70 		/**
     71 		 * Creates an instance of this class and returns a daeElementRef referencing it.
     72 		 * @return a daeElementRef referencing an instance of this object.
     73 		 */
     74 		static DLLSPEC daeElementRef create(DAE& dae);
     75 		/**
     76 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
     77 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
     78 		 * @return A daeMetaElement describing this COLLADA element.
     79 		 */
     80 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
     81 	};
     82 
     83 	class domWrap_s;
     84 
     85 	typedef daeSmartRef<domWrap_s> domWrap_sRef;
     86 	typedef daeTArray<domWrap_sRef> domWrap_s_Array;
     87 
     88 	class domWrap_s : public daeElement
     89 	{
     90 	public:
     91 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; }
     92 		static daeInt ID() { return 48; }
     93 		virtual daeInt typeID() const { return ID(); }
     94 
     95 	protected:  // Value
     96 		/**
     97 		 * The domFx_sampler_wrap_common value of the text data of this element.
     98 		 */
     99 		domFx_sampler_wrap_common _value;
    100 
    101 	public:	//Accessors and Mutators
    102 		/**
    103 		 * Gets the value of this element.
    104 		 * @return a domFx_sampler_wrap_common of the value.
    105 		 */
    106 		domFx_sampler_wrap_common getValue() const { return _value; }
    107 		/**
    108 		 * Sets the _value of this element.
    109 		 * @param val The new value for this element.
    110 		 */
    111 		void setValue( domFx_sampler_wrap_common val ) { _value = val; }
    112 
    113 	protected:
    114 		/**
    115 		 * Constructor
    116 		 */
    117 		domWrap_s(DAE& dae) : daeElement(dae), _value() {}
    118 		/**
    119 		 * Destructor
    120 		 */
    121 		virtual ~domWrap_s() {}
    122 		/**
    123 		 * Overloaded assignment operator
    124 		 */
    125 		virtual domWrap_s &operator=( const domWrap_s &cpy ) { (void)cpy; return *this; }
    126 
    127 	public: // STATIC METHODS
    128 		/**
    129 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    130 		 * @return a daeElementRef referencing an instance of this object.
    131 		 */
    132 		static DLLSPEC daeElementRef create(DAE& dae);
    133 		/**
    134 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    135 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    136 		 * @return A daeMetaElement describing this COLLADA element.
    137 		 */
    138 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    139 	};
    140 
    141 	class domWrap_t;
    142 
    143 	typedef daeSmartRef<domWrap_t> domWrap_tRef;
    144 	typedef daeTArray<domWrap_tRef> domWrap_t_Array;
    145 
    146 	class domWrap_t : public daeElement
    147 	{
    148 	public:
    149 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; }
    150 		static daeInt ID() { return 49; }
    151 		virtual daeInt typeID() const { return ID(); }
    152 
    153 	protected:  // Value
    154 		/**
    155 		 * The domFx_sampler_wrap_common value of the text data of this element.
    156 		 */
    157 		domFx_sampler_wrap_common _value;
    158 
    159 	public:	//Accessors and Mutators
    160 		/**
    161 		 * Gets the value of this element.
    162 		 * @return a domFx_sampler_wrap_common of the value.
    163 		 */
    164 		domFx_sampler_wrap_common getValue() const { return _value; }
    165 		/**
    166 		 * Sets the _value of this element.
    167 		 * @param val The new value for this element.
    168 		 */
    169 		void setValue( domFx_sampler_wrap_common val ) { _value = val; }
    170 
    171 	protected:
    172 		/**
    173 		 * Constructor
    174 		 */
    175 		domWrap_t(DAE& dae) : daeElement(dae), _value() {}
    176 		/**
    177 		 * Destructor
    178 		 */
    179 		virtual ~domWrap_t() {}
    180 		/**
    181 		 * Overloaded assignment operator
    182 		 */
    183 		virtual domWrap_t &operator=( const domWrap_t &cpy ) { (void)cpy; return *this; }
    184 
    185 	public: // STATIC METHODS
    186 		/**
    187 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    188 		 * @return a daeElementRef referencing an instance of this object.
    189 		 */
    190 		static DLLSPEC daeElementRef create(DAE& dae);
    191 		/**
    192 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    193 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    194 		 * @return A daeMetaElement describing this COLLADA element.
    195 		 */
    196 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    197 	};
    198 
    199 	class domWrap_p;
    200 
    201 	typedef daeSmartRef<domWrap_p> domWrap_pRef;
    202 	typedef daeTArray<domWrap_pRef> domWrap_p_Array;
    203 
    204 	class domWrap_p : public daeElement
    205 	{
    206 	public:
    207 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; }
    208 		static daeInt ID() { return 50; }
    209 		virtual daeInt typeID() const { return ID(); }
    210 
    211 	protected:  // Value
    212 		/**
    213 		 * The domFx_sampler_wrap_common value of the text data of this element.
    214 		 */
    215 		domFx_sampler_wrap_common _value;
    216 
    217 	public:	//Accessors and Mutators
    218 		/**
    219 		 * Gets the value of this element.
    220 		 * @return a domFx_sampler_wrap_common of the value.
    221 		 */
    222 		domFx_sampler_wrap_common getValue() const { return _value; }
    223 		/**
    224 		 * Sets the _value of this element.
    225 		 * @param val The new value for this element.
    226 		 */
    227 		void setValue( domFx_sampler_wrap_common val ) { _value = val; }
    228 
    229 	protected:
    230 		/**
    231 		 * Constructor
    232 		 */
    233 		domWrap_p(DAE& dae) : daeElement(dae), _value() {}
    234 		/**
    235 		 * Destructor
    236 		 */
    237 		virtual ~domWrap_p() {}
    238 		/**
    239 		 * Overloaded assignment operator
    240 		 */
    241 		virtual domWrap_p &operator=( const domWrap_p &cpy ) { (void)cpy; return *this; }
    242 
    243 	public: // STATIC METHODS
    244 		/**
    245 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    246 		 * @return a daeElementRef referencing an instance of this object.
    247 		 */
    248 		static DLLSPEC daeElementRef create(DAE& dae);
    249 		/**
    250 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    251 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    252 		 * @return A daeMetaElement describing this COLLADA element.
    253 		 */
    254 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    255 	};
    256 
    257 	class domMinfilter;
    258 
    259 	typedef daeSmartRef<domMinfilter> domMinfilterRef;
    260 	typedef daeTArray<domMinfilterRef> domMinfilter_Array;
    261 
    262 	class domMinfilter : public daeElement
    263 	{
    264 	public:
    265 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; }
    266 		static daeInt ID() { return 51; }
    267 		virtual daeInt typeID() const { return ID(); }
    268 
    269 	protected:  // Value
    270 		/**
    271 		 * The domFx_sampler_filter_common value of the text data of this element.
    272 		 */
    273 		domFx_sampler_filter_common _value;
    274 
    275 	public:	//Accessors and Mutators
    276 		/**
    277 		 * Gets the value of this element.
    278 		 * @return a domFx_sampler_filter_common of the value.
    279 		 */
    280 		domFx_sampler_filter_common getValue() const { return _value; }
    281 		/**
    282 		 * Sets the _value of this element.
    283 		 * @param val The new value for this element.
    284 		 */
    285 		void setValue( domFx_sampler_filter_common val ) { _value = val; }
    286 
    287 	protected:
    288 		/**
    289 		 * Constructor
    290 		 */
    291 		domMinfilter(DAE& dae) : daeElement(dae), _value() {}
    292 		/**
    293 		 * Destructor
    294 		 */
    295 		virtual ~domMinfilter() {}
    296 		/**
    297 		 * Overloaded assignment operator
    298 		 */
    299 		virtual domMinfilter &operator=( const domMinfilter &cpy ) { (void)cpy; return *this; }
    300 
    301 	public: // STATIC METHODS
    302 		/**
    303 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    304 		 * @return a daeElementRef referencing an instance of this object.
    305 		 */
    306 		static DLLSPEC daeElementRef create(DAE& dae);
    307 		/**
    308 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    309 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    310 		 * @return A daeMetaElement describing this COLLADA element.
    311 		 */
    312 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    313 	};
    314 
    315 	class domMagfilter;
    316 
    317 	typedef daeSmartRef<domMagfilter> domMagfilterRef;
    318 	typedef daeTArray<domMagfilterRef> domMagfilter_Array;
    319 
    320 	class domMagfilter : public daeElement
    321 	{
    322 	public:
    323 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; }
    324 		static daeInt ID() { return 52; }
    325 		virtual daeInt typeID() const { return ID(); }
    326 
    327 	protected:  // Value
    328 		/**
    329 		 * The domFx_sampler_filter_common value of the text data of this element.
    330 		 */
    331 		domFx_sampler_filter_common _value;
    332 
    333 	public:	//Accessors and Mutators
    334 		/**
    335 		 * Gets the value of this element.
    336 		 * @return a domFx_sampler_filter_common of the value.
    337 		 */
    338 		domFx_sampler_filter_common getValue() const { return _value; }
    339 		/**
    340 		 * Sets the _value of this element.
    341 		 * @param val The new value for this element.
    342 		 */
    343 		void setValue( domFx_sampler_filter_common val ) { _value = val; }
    344 
    345 	protected:
    346 		/**
    347 		 * Constructor
    348 		 */
    349 		domMagfilter(DAE& dae) : daeElement(dae), _value() {}
    350 		/**
    351 		 * Destructor
    352 		 */
    353 		virtual ~domMagfilter() {}
    354 		/**
    355 		 * Overloaded assignment operator
    356 		 */
    357 		virtual domMagfilter &operator=( const domMagfilter &cpy ) { (void)cpy; return *this; }
    358 
    359 	public: // STATIC METHODS
    360 		/**
    361 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    362 		 * @return a daeElementRef referencing an instance of this object.
    363 		 */
    364 		static DLLSPEC daeElementRef create(DAE& dae);
    365 		/**
    366 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    367 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    368 		 * @return A daeMetaElement describing this COLLADA element.
    369 		 */
    370 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    371 	};
    372 
    373 	class domMipfilter;
    374 
    375 	typedef daeSmartRef<domMipfilter> domMipfilterRef;
    376 	typedef daeTArray<domMipfilterRef> domMipfilter_Array;
    377 
    378 	class domMipfilter : public daeElement
    379 	{
    380 	public:
    381 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; }
    382 		static daeInt ID() { return 53; }
    383 		virtual daeInt typeID() const { return ID(); }
    384 
    385 	protected:  // Value
    386 		/**
    387 		 * The domFx_sampler_filter_common value of the text data of this element.
    388 		 */
    389 		domFx_sampler_filter_common _value;
    390 
    391 	public:	//Accessors and Mutators
    392 		/**
    393 		 * Gets the value of this element.
    394 		 * @return a domFx_sampler_filter_common of the value.
    395 		 */
    396 		domFx_sampler_filter_common getValue() const { return _value; }
    397 		/**
    398 		 * Sets the _value of this element.
    399 		 * @param val The new value for this element.
    400 		 */
    401 		void setValue( domFx_sampler_filter_common val ) { _value = val; }
    402 
    403 	protected:
    404 		/**
    405 		 * Constructor
    406 		 */
    407 		domMipfilter(DAE& dae) : daeElement(dae), _value() {}
    408 		/**
    409 		 * Destructor
    410 		 */
    411 		virtual ~domMipfilter() {}
    412 		/**
    413 		 * Overloaded assignment operator
    414 		 */
    415 		virtual domMipfilter &operator=( const domMipfilter &cpy ) { (void)cpy; return *this; }
    416 
    417 	public: // STATIC METHODS
    418 		/**
    419 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    420 		 * @return a daeElementRef referencing an instance of this object.
    421 		 */
    422 		static DLLSPEC daeElementRef create(DAE& dae);
    423 		/**
    424 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    425 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    426 		 * @return A daeMetaElement describing this COLLADA element.
    427 		 */
    428 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    429 	};
    430 
    431 	class domBorder_color;
    432 
    433 	typedef daeSmartRef<domBorder_color> domBorder_colorRef;
    434 	typedef daeTArray<domBorder_colorRef> domBorder_color_Array;
    435 
    436 	class domBorder_color : public daeElement
    437 	{
    438 	public:
    439 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; }
    440 		static daeInt ID() { return 54; }
    441 		virtual daeInt typeID() const { return ID(); }
    442 
    443 	protected:  // Value
    444 		/**
    445 		 * The domFx_color_common value of the text data of this element.
    446 		 */
    447 		domFx_color_common _value;
    448 
    449 	public:	//Accessors and Mutators
    450 		/**
    451 		 * Gets the _value array.
    452 		 * @return Returns a domFx_color_common reference of the _value array.
    453 		 */
    454 		domFx_color_common &getValue() { return _value; }
    455 		/**
    456 		 * Gets the _value array.
    457 		 * @return Returns a constant domFx_color_common reference of the _value array.
    458 		 */
    459 		const domFx_color_common &getValue() const { return _value; }
    460 		/**
    461 		 * Sets the _value array.
    462 		 * @param val The new value for the _value array.
    463 		 */
    464 		void setValue( const domFx_color_common &val ) { _value = val; }
    465 
    466 	protected:
    467 		/**
    468 		 * Constructor
    469 		 */
    470 		domBorder_color(DAE& dae) : daeElement(dae), _value() {}
    471 		/**
    472 		 * Destructor
    473 		 */
    474 		virtual ~domBorder_color() {}
    475 		/**
    476 		 * Overloaded assignment operator
    477 		 */
    478 		virtual domBorder_color &operator=( const domBorder_color &cpy ) { (void)cpy; return *this; }
    479 
    480 	public: // STATIC METHODS
    481 		/**
    482 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    483 		 * @return a daeElementRef referencing an instance of this object.
    484 		 */
    485 		static DLLSPEC daeElementRef create(DAE& dae);
    486 		/**
    487 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    488 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    489 		 * @return A daeMetaElement describing this COLLADA element.
    490 		 */
    491 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    492 	};
    493 
    494 	class domMipmap_maxlevel;
    495 
    496 	typedef daeSmartRef<domMipmap_maxlevel> domMipmap_maxlevelRef;
    497 	typedef daeTArray<domMipmap_maxlevelRef> domMipmap_maxlevel_Array;
    498 
    499 	class domMipmap_maxlevel : public daeElement
    500 	{
    501 	public:
    502 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; }
    503 		static daeInt ID() { return 55; }
    504 		virtual daeInt typeID() const { return ID(); }
    505 
    506 	protected:  // Value
    507 		/**
    508 		 * The xsUnsignedByte value of the text data of this element.
    509 		 */
    510 		xsUnsignedByte _value;
    511 
    512 	public:	//Accessors and Mutators
    513 		/**
    514 		 * Gets the value of this element.
    515 		 * @return a xsUnsignedByte of the value.
    516 		 */
    517 		xsUnsignedByte getValue() const { return _value; }
    518 		/**
    519 		 * Sets the _value of this element.
    520 		 * @param val The new value for this element.
    521 		 */
    522 		void setValue( xsUnsignedByte val ) { _value = val; }
    523 
    524 	protected:
    525 		/**
    526 		 * Constructor
    527 		 */
    528 		domMipmap_maxlevel(DAE& dae) : daeElement(dae), _value() {}
    529 		/**
    530 		 * Destructor
    531 		 */
    532 		virtual ~domMipmap_maxlevel() {}
    533 		/**
    534 		 * Overloaded assignment operator
    535 		 */
    536 		virtual domMipmap_maxlevel &operator=( const domMipmap_maxlevel &cpy ) { (void)cpy; return *this; }
    537 
    538 	public: // STATIC METHODS
    539 		/**
    540 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    541 		 * @return a daeElementRef referencing an instance of this object.
    542 		 */
    543 		static DLLSPEC daeElementRef create(DAE& dae);
    544 		/**
    545 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    546 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    547 		 * @return A daeMetaElement describing this COLLADA element.
    548 		 */
    549 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    550 	};
    551 
    552 	class domMipmap_bias;
    553 
    554 	typedef daeSmartRef<domMipmap_bias> domMipmap_biasRef;
    555 	typedef daeTArray<domMipmap_biasRef> domMipmap_bias_Array;
    556 
    557 	class domMipmap_bias : public daeElement
    558 	{
    559 	public:
    560 		virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; }
    561 		static daeInt ID() { return 56; }
    562 		virtual daeInt typeID() const { return ID(); }
    563 
    564 	protected:  // Value
    565 		/**
    566 		 * The xsFloat value of the text data of this element.
    567 		 */
    568 		xsFloat _value;
    569 
    570 	public:	//Accessors and Mutators
    571 		/**
    572 		 * Gets the value of this element.
    573 		 * @return a xsFloat of the value.
    574 		 */
    575 		xsFloat getValue() const { return _value; }
    576 		/**
    577 		 * Sets the _value of this element.
    578 		 * @param val The new value for this element.
    579 		 */
    580 		void setValue( xsFloat val ) { _value = val; }
    581 
    582 	protected:
    583 		/**
    584 		 * Constructor
    585 		 */
    586 		domMipmap_bias(DAE& dae) : daeElement(dae), _value() {}
    587 		/**
    588 		 * Destructor
    589 		 */
    590 		virtual ~domMipmap_bias() {}
    591 		/**
    592 		 * Overloaded assignment operator
    593 		 */
    594 		virtual domMipmap_bias &operator=( const domMipmap_bias &cpy ) { (void)cpy; return *this; }
    595 
    596 	public: // STATIC METHODS
    597 		/**
    598 		 * Creates an instance of this class and returns a daeElementRef referencing it.
    599 		 * @return a daeElementRef referencing an instance of this object.
    600 		 */
    601 		static DLLSPEC daeElementRef create(DAE& dae);
    602 		/**
    603 		 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    604 		 * If a daeMetaElement already exists it will return that instead of creating a new one.
    605 		 * @return A daeMetaElement describing this COLLADA element.
    606 		 */
    607 		static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    608 	};
    609 
    610 
    611 
    612 protected:  // Elements
    613 	domSourceRef elemSource;
    614 	domWrap_sRef elemWrap_s;
    615 	domWrap_tRef elemWrap_t;
    616 	domWrap_pRef elemWrap_p;
    617 	domMinfilterRef elemMinfilter;
    618 	domMagfilterRef elemMagfilter;
    619 	domMipfilterRef elemMipfilter;
    620 	domBorder_colorRef elemBorder_color;
    621 	domMipmap_maxlevelRef elemMipmap_maxlevel;
    622 	domMipmap_biasRef elemMipmap_bias;
    623 	domExtra_Array elemExtra_array;
    624 
    625 public:	//Accessors and Mutators
    626 	/**
    627 	 * Gets the source element.
    628 	 * @return a daeSmartRef to the source element.
    629 	 */
    630 	const domSourceRef getSource() const { return elemSource; }
    631 	/**
    632 	 * Gets the wrap_s element.
    633 	 * @return a daeSmartRef to the wrap_s element.
    634 	 */
    635 	const domWrap_sRef getWrap_s() const { return elemWrap_s; }
    636 	/**
    637 	 * Gets the wrap_t element.
    638 	 * @return a daeSmartRef to the wrap_t element.
    639 	 */
    640 	const domWrap_tRef getWrap_t() const { return elemWrap_t; }
    641 	/**
    642 	 * Gets the wrap_p element.
    643 	 * @return a daeSmartRef to the wrap_p element.
    644 	 */
    645 	const domWrap_pRef getWrap_p() const { return elemWrap_p; }
    646 	/**
    647 	 * Gets the minfilter element.
    648 	 * @return a daeSmartRef to the minfilter element.
    649 	 */
    650 	const domMinfilterRef getMinfilter() const { return elemMinfilter; }
    651 	/**
    652 	 * Gets the magfilter element.
    653 	 * @return a daeSmartRef to the magfilter element.
    654 	 */
    655 	const domMagfilterRef getMagfilter() const { return elemMagfilter; }
    656 	/**
    657 	 * Gets the mipfilter element.
    658 	 * @return a daeSmartRef to the mipfilter element.
    659 	 */
    660 	const domMipfilterRef getMipfilter() const { return elemMipfilter; }
    661 	/**
    662 	 * Gets the border_color element.
    663 	 * @return a daeSmartRef to the border_color element.
    664 	 */
    665 	const domBorder_colorRef getBorder_color() const { return elemBorder_color; }
    666 	/**
    667 	 * Gets the mipmap_maxlevel element.
    668 	 * @return a daeSmartRef to the mipmap_maxlevel element.
    669 	 */
    670 	const domMipmap_maxlevelRef getMipmap_maxlevel() const { return elemMipmap_maxlevel; }
    671 	/**
    672 	 * Gets the mipmap_bias element.
    673 	 * @return a daeSmartRef to the mipmap_bias element.
    674 	 */
    675 	const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
    676 	/**
    677 	 * Gets the extra element array.
    678 	 * @return Returns a reference to the array of extra elements.
    679 	 */
    680 	domExtra_Array &getExtra_array() { return elemExtra_array; }
    681 	/**
    682 	 * Gets the extra element array.
    683 	 * @return Returns a constant reference to the array of extra elements.
    684 	 */
    685 	const domExtra_Array &getExtra_array() const { return elemExtra_array; }
    686 protected:
    687 	/**
    688 	 * Constructor
    689 	 */
    690 	domFx_sampler3D_common_complexType(DAE& dae, daeElement* elt) : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
    691 	/**
    692 	 * Destructor
    693 	 */
    694 	virtual ~domFx_sampler3D_common_complexType() {}
    695 	/**
    696 	 * Overloaded assignment operator
    697 	 */
    698 	virtual domFx_sampler3D_common_complexType &operator=( const domFx_sampler3D_common_complexType &cpy ) { (void)cpy; return *this; }
    699 };
    700 
    701 /**
    702  * An element of type domFx_sampler3D_common_complexType.
    703  */
    704 class domFx_sampler3D_common : public daeElement, public domFx_sampler3D_common_complexType
    705 {
    706 public:
    707 	virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER3D_COMMON; }
    708 	static daeInt ID() { return 57; }
    709 	virtual daeInt typeID() const { return ID(); }
    710 protected:
    711 	/**
    712 	 * Constructor
    713 	 */
    714 	domFx_sampler3D_common(DAE& dae) : daeElement(dae), domFx_sampler3D_common_complexType(dae, this) {}
    715 	/**
    716 	 * Destructor
    717 	 */
    718 	virtual ~domFx_sampler3D_common() {}
    719 	/**
    720 	 * Overloaded assignment operator
    721 	 */
    722 	virtual domFx_sampler3D_common &operator=( const domFx_sampler3D_common &cpy ) { (void)cpy; return *this; }
    723 
    724 public: // STATIC METHODS
    725 	/**
    726 	 * Creates an instance of this class and returns a daeElementRef referencing it.
    727 	 * @return a daeElementRef referencing an instance of this object.
    728 	 */
    729 	static DLLSPEC daeElementRef create(DAE& dae);
    730 	/**
    731 	 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
    732 	 * If a daeMetaElement already exists it will return that instead of creating a new one.
    733 	 * @return A daeMetaElement describing this COLLADA element.
    734 	 */
    735 	static DLLSPEC daeMetaElement* registerElement(DAE& dae);
    736 };
    737 
    738 
    739 #endif
    740