Engauge Digitizer
2
Dlg
DlgFilterCommand.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef DLG_FILTER_COMMAND_H
8
#define DLG_FILTER_COMMAND_H
9
10
#include "
ColorFilterMode.h
"
11
13
class
DlgFilterCommand
14
{
15
public
:
17
DlgFilterCommand
(
ColorFilterMode
colorFilterMode
,
18
double
low0To1
,
19
double
high0To1
);
20
22
DlgFilterCommand
(
const
DlgFilterCommand
&other);
23
25
DlgFilterCommand
&
operator=
(
const
DlgFilterCommand
&other);
26
28
ColorFilterMode
colorFilterMode
()
const
;
29
31
double
high0To1
()
const
;
32
34
double
low0To1
()
const
;
35
36
private
:
37
DlgFilterCommand
();
38
39
ColorFilterMode
m_colorFilterMode;
40
double
m_low0To1;
41
double
m_high0To1;
42
};
43
44
#endif // DLG_FILTER_COMMAND_H
ColorFilterMode.h
DlgFilterCommand::operator=
DlgFilterCommand & operator=(const DlgFilterCommand &other)
Assignment operator.
Definition:
DlgFilterCommand.cpp:25
DlgFilterCommand
Command pattern object for receiving new parameters in DlgFilterWorker from GUI thread.
Definition:
DlgFilterCommand.h:12
DlgFilterCommand::high0To1
double high0To1() const
Get method for high value.
Definition:
DlgFilterCommand.cpp:39
DlgFilterCommand::colorFilterMode
ColorFilterMode colorFilterMode() const
Get method for filter mode.
Definition:
DlgFilterCommand.cpp:34
DlgFilterCommand::low0To1
double low0To1() const
Get method for low value.
Definition:
DlgFilterCommand.cpp:44
ColorFilterMode
ColorFilterMode
Definition:
ColorFilterMode.h:11
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16