00001 #ifndef __domFx_common_transparent_h__ 00002 #define __domFx_common_transparent_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domFx_common_color_or_texture.h> 00009 class DAE; 00010 00011 class domFx_common_transparent : public domFx_common_color_or_texture 00012 { 00013 public: 00014 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_COMMON_TRANSPARENT; } 00015 static daeInt ID() { return 196; } 00016 virtual daeInt typeID() const { return ID(); } 00017 protected: // Attribute 00018 domFx_opaque attrOpaque; 00019 00020 00021 public: //Accessors and Mutators 00026 domFx_opaque getOpaque() const { return attrOpaque; } 00031 void setOpaque( domFx_opaque atOpaque ) { attrOpaque = atOpaque; } 00032 00033 protected: 00037 domFx_common_transparent(DAE& dae) : domFx_common_color_or_texture(dae), attrOpaque() {} 00041 virtual ~domFx_common_transparent() {} 00045 virtual domFx_common_transparent &operator=( const domFx_common_transparent &cpy ) { (void)cpy; return *this; } 00046 00047 public: // STATIC METHODS 00052 static DLLSPEC daeElementRef create(DAE& dae); 00058 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00059 }; 00060 00061 00062 #endif