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 __domCg_sampler3D_h__
     10 #define __domCg_sampler3D_h__
     11 
     12 #include <dae/daeDocument.h>
     13 #include <dom/domTypes.h>
     14 #include <dom/domElements.h>
     15 
     16 #include <dom/domFx_sampler3D_common.h>
     17 class DAE;
     18 
     19 class domCg_sampler3D_complexType  : public domFx_sampler3D_common_complexType
     20 {
     21 
     22 protected:
     23 	/**
     24 	 * Constructor
     25 	 */
     26 	domCg_sampler3D_complexType(DAE& dae, daeElement* elt) : domFx_sampler3D_common_complexType(dae, elt) {}
     27 	/**
     28 	 * Destructor
     29 	 */
     30 	virtual ~domCg_sampler3D_complexType() {}
     31 	/**
     32 	 * Overloaded assignment operator
     33 	 */
     34 	virtual domCg_sampler3D_complexType &operator=( const domCg_sampler3D_complexType &cpy ) { (void)cpy; return *this; }
     35 };
     36 
     37 /**
     38  * An element of type domCg_sampler3D_complexType.
     39  */
     40 class domCg_sampler3D : public daeElement, public domCg_sampler3D_complexType
     41 {
     42 public:
     43 	virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER3D; }
     44 	static daeInt ID() { return 129; }
     45 	virtual daeInt typeID() const { return ID(); }
     46 protected:
     47 	/**
     48 	 * Constructor
     49 	 */
     50 	domCg_sampler3D(DAE& dae) : daeElement(dae), domCg_sampler3D_complexType(dae, this) {}
     51 	/**
     52 	 * Destructor
     53 	 */
     54 	virtual ~domCg_sampler3D() {}
     55 	/**
     56 	 * Overloaded assignment operator
     57 	 */
     58 	virtual domCg_sampler3D &operator=( const domCg_sampler3D &cpy ) { (void)cpy; return *this; }
     59 
     60 public: // STATIC METHODS
     61 	/**
     62 	 * Creates an instance of this class and returns a daeElementRef referencing it.
     63 	 * @return a daeElementRef referencing an instance of this object.
     64 	 */
     65 	static DLLSPEC daeElementRef create(DAE& dae);
     66 	/**
     67 	 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
     68 	 * If a daeMetaElement already exists it will return that instead of creating a new one.
     69 	 * @return A daeMetaElement describing this COLLADA element.
     70 	 */
     71 	static DLLSPEC daeMetaElement* registerElement(DAE& dae);
     72 };
     73 
     74 
     75 #endif
     76