Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
Dlg
DlgFilterCommand.cpp
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
#include "
DlgFilterCommand.h
"
8
9
DlgFilterCommand::DlgFilterCommand
(
ColorFilterMode
colorFilterMode
,
10
double
low0To1
,
11
double
high0To1
) :
12
m_colorFilterMode (
colorFilterMode
),
13
m_low0To1 (
low0To1
),
14
m_high0To1 (
high0To1
)
15
{
16
}
17
18
DlgFilterCommand::DlgFilterCommand
(
const
DlgFilterCommand
&other) :
19
m_colorFilterMode (other.
colorFilterMode
()),
20
m_low0To1 (other.
low0To1
()),
21
m_high0To1 (other.
high0To1
())
22
{
23
}
24
25
DlgFilterCommand
&
DlgFilterCommand::operator=
(
const
DlgFilterCommand
&other)
26
{
27
m_colorFilterMode = other.
colorFilterMode
();
28
m_low0To1 = other.
low0To1
();
29
m_high0To1 = other.
high0To1
();
30
31
return
*
this
;
32
}
33
34
ColorFilterMode
DlgFilterCommand::colorFilterMode
()
const
35
{
36
return
m_colorFilterMode;
37
}
38
39
double
DlgFilterCommand::high0To1
()
const
40
{
41
return
m_high0To1;
42
}
43
44
double
DlgFilterCommand::low0To1
()
const
45
{
46
return
m_low0To1;
47
}
ColorFilterMode
ColorFilterMode
Definition
ColorFilterMode.h:12
DlgFilterCommand.h
DlgFilterCommand::high0To1
double high0To1() const
Get method for high value.
Definition
DlgFilterCommand.cpp:39
DlgFilterCommand::low0To1
double low0To1() const
Get method for low value.
Definition
DlgFilterCommand.cpp:44
DlgFilterCommand::colorFilterMode
ColorFilterMode colorFilterMode() const
Get method for filter mode.
Definition
DlgFilterCommand.cpp:34
DlgFilterCommand::operator=
DlgFilterCommand & operator=(const DlgFilterCommand &other)
Assignment operator.
Definition
DlgFilterCommand.cpp:25
DlgFilterCommand::DlgFilterCommand
DlgFilterCommand(ColorFilterMode colorFilterMode, double low0To1, double high0To1)
Initial constructor.
Definition
DlgFilterCommand.cpp:9
Generated on
for Engauge Digitizer by
1.17.0