00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #ifndef DLG_FILTER_COMMAND_H 00008 #define DLG_FILTER_COMMAND_H 00009 00010 #include "ColorFilterMode.h" 00011 00013 class DlgFilterCommand 00014 { 00015 public: 00017 DlgFilterCommand(ColorFilterMode colorFilterMode, 00018 double low0To1, 00019 double high0To1); 00020 00022 DlgFilterCommand(const DlgFilterCommand &other); 00023 00025 DlgFilterCommand &operator=(const DlgFilterCommand &other); 00026 00028 ColorFilterMode colorFilterMode() const; 00029 00031 double high0To1 () const; 00032 00034 double low0To1 () const; 00035 00036 private: 00037 DlgFilterCommand(); 00038 00039 ColorFilterMode m_colorFilterMode; 00040 double m_low0To1; 00041 double m_high0To1; 00042 }; 00043 00044 #endif // DLG_FILTER_COMMAND_H