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 __domGl_samplerRECT_h__ 00010 #define __domGl_samplerRECT_h__ 00011 00012 #include <dae/daeDocument.h> 00013 #include <dom/domTypes.h> 00014 #include <dom/domElements.h> 00015 00016 #include <dom/domFx_samplerRECT_common.h> 00017 class DAE; 00018 00022 class domGl_samplerRECT_complexType : public domFx_samplerRECT_common_complexType 00023 { 00024 00025 protected: 00029 domGl_samplerRECT_complexType(DAE& dae, daeElement* elt) : domFx_samplerRECT_common_complexType(dae, elt) {} 00033 virtual ~domGl_samplerRECT_complexType() {} 00037 virtual domGl_samplerRECT_complexType &operator=( const domGl_samplerRECT_complexType &cpy ) { (void)cpy; return *this; } 00038 }; 00039 00043 class domGl_samplerRECT : public daeElement, public domGl_samplerRECT_complexType 00044 { 00045 public: 00046 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERRECT; } 00047 static daeInt ID() { return 101; } 00048 virtual daeInt typeID() const { return ID(); } 00049 protected: 00053 domGl_samplerRECT(DAE& dae) : daeElement(dae), domGl_samplerRECT_complexType(dae, this) {} 00057 virtual ~domGl_samplerRECT() {} 00061 virtual domGl_samplerRECT &operator=( const domGl_samplerRECT &cpy ) { (void)cpy; return *this; } 00062 00063 public: // STATIC METHODS 00068 static DLLSPEC daeElementRef create(DAE& dae); 00074 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00075 }; 00076 00077 00078 #endif