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 __domCg_sampler3D_h__ 00010 #define __domCg_sampler3D_h__ 00011 00012 #include <dae/daeDocument.h> 00013 #include <dom/domTypes.h> 00014 #include <dom/domElements.h> 00015 00016 #include <dom/domFx_sampler3D_common.h> 00017 class DAE; 00018 00019 class domCg_sampler3D_complexType : public domFx_sampler3D_common_complexType 00020 { 00021 00022 protected: 00026 domCg_sampler3D_complexType(DAE& dae, daeElement* elt) : domFx_sampler3D_common_complexType(dae, elt) {} 00030 virtual ~domCg_sampler3D_complexType() {} 00034 virtual domCg_sampler3D_complexType &operator=( const domCg_sampler3D_complexType &cpy ) { (void)cpy; return *this; } 00035 }; 00036 00040 class domCg_sampler3D : public daeElement, public domCg_sampler3D_complexType 00041 { 00042 public: 00043 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER3D; } 00044 static daeInt ID() { return 129; } 00045 virtual daeInt typeID() const { return ID(); } 00046 protected: 00050 domCg_sampler3D(DAE& dae) : daeElement(dae), domCg_sampler3D_complexType(dae, this) {} 00054 virtual ~domCg_sampler3D() {} 00058 virtual domCg_sampler3D &operator=( const domCg_sampler3D &cpy ) { (void)cpy; return *this; } 00059 00060 public: // STATIC METHODS 00065 static DLLSPEC daeElementRef create(DAE& dae); 00071 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00072 }; 00073 00074 00075 #endif