00001 #ifndef __domGles_texcombiner_command_rgb_h__ 00002 #define __domGles_texcombiner_command_rgb_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domGles_texcombiner_argument_rgb.h> 00009 class DAE; 00010 00015 class domGles_texcombiner_command_rgb : public daeElement 00016 { 00017 public: 00018 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMAND_RGB; } 00019 static daeInt ID() { return 264; } 00020 virtual daeInt typeID() const { return ID(); } 00021 protected: // Attributes 00022 domGles_texcombiner_operator_rgb attrOperator; 00023 xsFloat attrScale; 00024 00025 protected: // Element 00026 domGles_texcombiner_argument_rgb_Array elemArgument_array; 00027 00028 public: //Accessors and Mutators 00033 domGles_texcombiner_operator_rgb getOperator() const { return attrOperator; } 00038 void setOperator( domGles_texcombiner_operator_rgb atOperator ) { attrOperator = atOperator; } 00039 00044 xsFloat getScale() const { return attrScale; } 00049 void setScale( xsFloat atScale ) { attrScale = atScale; } 00050 00055 domGles_texcombiner_argument_rgb_Array &getArgument_array() { return elemArgument_array; } 00060 const domGles_texcombiner_argument_rgb_Array &getArgument_array() const { return elemArgument_array; } 00061 protected: 00065 domGles_texcombiner_command_rgb(DAE& dae) : daeElement(dae), attrOperator(), attrScale(), elemArgument_array() {} 00069 virtual ~domGles_texcombiner_command_rgb() {} 00073 virtual domGles_texcombiner_command_rgb &operator=( const domGles_texcombiner_command_rgb &cpy ) { (void)cpy; return *this; } 00074 00075 public: // STATIC METHODS 00080 static DLLSPEC daeElementRef create(DAE& dae); 00086 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00087 }; 00088 00089 00090 #endif