00001 #ifndef __domFx_clearstencil_h__ 00002 #define __domFx_clearstencil_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domFx_clearstencil : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARSTENCIL; } 00014 static daeInt ID() { return 136; } 00015 virtual daeInt typeID() const { return ID(); } 00016 protected: // Attribute 00017 xsNonNegativeInteger attrIndex; 00018 00019 00020 public: //Accessors and Mutators 00025 xsNonNegativeInteger getIndex() const { return attrIndex; } 00030 void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; } 00031 00036 xsByte& getValue() { return _value; } 00041 void setValue( const xsByte& val ) { _value = val; } 00042 00043 protected: // Value 00047 xsByte _value; 00048 protected: 00052 domFx_clearstencil(DAE& dae) : daeElement(dae), attrIndex(), _value() {} 00056 virtual ~domFx_clearstencil() {} 00060 virtual domFx_clearstencil &operator=( const domFx_clearstencil &cpy ) { (void)cpy; return *this; } 00061 00062 public: // STATIC METHODS 00067 static DLLSPEC daeElementRef create(DAE& dae); 00073 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00074 }; 00075 00076 00077 #endif