Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DlgFilterCommand Class Reference

Command pattern object for receiving new parameters in DlgFilterWorker from GUI thread. More...

#include <DlgFilterCommand.h>

Collaboration diagram for DlgFilterCommand:
Collaboration graph

Public Member Functions

 DlgFilterCommand (ColorFilterMode colorFilterMode, double low0To1, double high0To1)
 Initial constructor.
 
 DlgFilterCommand (const DlgFilterCommand &other)
 Copy constructor.
 
DlgFilterCommandoperator= (const DlgFilterCommand &other)
 Assignment operator.
 
ColorFilterMode colorFilterMode () const
 Get method for filter mode.
 
double high0To1 () const
 Get method for high value.
 
double low0To1 () const
 Get method for low value.
 

Detailed Description

Command pattern object for receiving new parameters in DlgFilterWorker from GUI thread.

Definition at line 13 of file DlgFilterCommand.h.

Constructor & Destructor Documentation

◆ DlgFilterCommand() [1/2]

DlgFilterCommand::DlgFilterCommand ( ColorFilterMode colorFilterMode,
double low0To1,
double high0To1 )

Initial constructor.

Definition at line 9 of file DlgFilterCommand.cpp.

11 :
12 m_colorFilterMode (colorFilterMode),
13 m_low0To1 (low0To1),
14 m_high0To1 (high0To1)
15{
16}
double high0To1() const
Get method for high value.
double low0To1() const
Get method for low value.
ColorFilterMode colorFilterMode() const
Get method for filter mode.

◆ DlgFilterCommand() [2/2]

DlgFilterCommand::DlgFilterCommand ( const DlgFilterCommand & other)

Copy constructor.

Definition at line 18 of file DlgFilterCommand.cpp.

18 :
19 m_colorFilterMode (other.colorFilterMode()),
20 m_low0To1 (other.low0To1()),
21 m_high0To1 (other.high0To1())
22{
23}
const int INNER_RADIUS_MIN

Member Function Documentation

◆ colorFilterMode()

ColorFilterMode DlgFilterCommand::colorFilterMode ( ) const

Get method for filter mode.

Definition at line 34 of file DlgFilterCommand.cpp.

35{
36 return m_colorFilterMode;
37}

◆ high0To1()

double DlgFilterCommand::high0To1 ( ) const

Get method for high value.

Definition at line 39 of file DlgFilterCommand.cpp.

40{
41 return m_high0To1;
42}

◆ low0To1()

double DlgFilterCommand::low0To1 ( ) const

Get method for low value.

Definition at line 44 of file DlgFilterCommand.cpp.

45{
46 return m_low0To1;
47}

◆ operator=()

DlgFilterCommand & DlgFilterCommand::operator= ( const DlgFilterCommand & other)

Assignment operator.

Definition at line 25 of file DlgFilterCommand.cpp.

26{
27 m_colorFilterMode = other.colorFilterMode();
28 m_low0To1 = other.low0To1();
29 m_high0To1 = other.high0To1();
30
31 return *this;
32}

The documentation for this class was generated from the following files: