00001 #ifndef __domGles_texcombiner_command_alpha_h__ 00002 #define __domGles_texcombiner_command_alpha_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domGles_texcombiner_argument_alpha.h> 00009 class DAE; 00010 00011 class domGles_texcombiner_command_alpha : public daeElement 00012 { 00013 public: 00014 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMAND_ALPHA; } 00015 static daeInt ID() { return 265; } 00016 virtual daeInt typeID() const { return ID(); } 00017 protected: // Attributes 00018 domGles_texcombiner_operator_alpha attrOperator; 00019 xsFloat attrScale; 00020 00021 protected: // Element 00022 domGles_texcombiner_argument_alpha_Array elemArgument_array; 00023 00024 public: //Accessors and Mutators 00029 domGles_texcombiner_operator_alpha getOperator() const { return attrOperator; } 00034 void setOperator( domGles_texcombiner_operator_alpha atOperator ) { attrOperator = atOperator; } 00035 00040 xsFloat getScale() const { return attrScale; } 00045 void setScale( xsFloat atScale ) { attrScale = atScale; } 00046 00051 domGles_texcombiner_argument_alpha_Array &getArgument_array() { return elemArgument_array; } 00056 const domGles_texcombiner_argument_alpha_Array &getArgument_array() const { return elemArgument_array; } 00057 protected: 00061 domGles_texcombiner_command_alpha(DAE& dae) : daeElement(dae), attrOperator(), attrScale(), elemArgument_array() {} 00065 virtual ~domGles_texcombiner_command_alpha() {} 00069 virtual domGles_texcombiner_command_alpha &operator=( const domGles_texcombiner_command_alpha &cpy ) { (void)cpy; return *this; } 00070 00071 public: // STATIC METHODS 00076 static DLLSPEC daeElementRef create(DAE& dae); 00082 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00083 }; 00084 00085 00086 #endif