#include <Plot2d_NormalizeAlgorithm.h>
Public Types | |
enum | NormalizationMode { NormalizeToMin, NormalizeToMax, NormalizeToMinMax, NormalizeNone } |
Public Member Functions | |
Plot2d_NormalizeAlgorithm (QObject *parent) | |
~Plot2d_NormalizeAlgorithm () | |
void | setNormalizationMode (NormalizationMode) |
NormalizationMode | getNormalizationMode () const |
double | getKkoef (Plot2d_Object *) |
double | getBkoef (Plot2d_Object *) |
virtual void | execute () |
virtual void | clear () |
Public Member Functions inherited from Plot2d_Algorithm | |
Plot2d_Algorithm (QObject *parent=0) | |
~Plot2d_Algorithm () | |
void | setInput (AlgoPlot2dInputData) |
AlgoPlot2dOutputData | getOutput () |
bool | isDataChanged () |
Private Attributes | |
NormalizationMode | myNormalizationMode |
QMap< Plot2d_Object *, double > | myBkoefs |
QMap< Plot2d_Object *, double > | myKkoefs |
Additional Inherited Members | |
Protected Attributes inherited from Plot2d_Algorithm | |
AlgoPlot2dInputData | myInuptData |
AlgoPlot2dOutputData | myResultData |
bool | myDataChanged |
Plot2d_NormalizeAlgorithm::Plot2d_NormalizeAlgorithm | ( | QObject * | parent | ) |
Constructor
Plot2d_NormalizeAlgorithm::~Plot2d_NormalizeAlgorithm | ( | ) |
Destructor
|
virtual |
Reimplemented from Plot2d_Algorithm.
References Plot2d_Algorithm::clear(), myBkoefs, and myKkoefs.
|
virtual |
Implements Plot2d_Algorithm.
References getNormalizationMode(), Plot2d_Algorithm::isDataChanged(), myBkoefs, Plot2d_Algorithm::myDataChanged, Plot2d_Algorithm::myInuptData, myKkoefs, myNormalizationMode, Plot2d_Algorithm::myResultData, NormalizeNone, NormalizeToMax, NormalizeToMin, and NormalizeToMinMax.
double Plot2d_NormalizeAlgorithm::getBkoef | ( | Plot2d_Object * | theObj | ) |
Gets b normalization coefficient
References myBkoefs.
double Plot2d_NormalizeAlgorithm::getKkoef | ( | Plot2d_Object * | theObj | ) |
Gets k normalization coefficient
References myKkoefs.
Plot2d_NormalizeAlgorithm::NormalizationMode Plot2d_NormalizeAlgorithm::getNormalizationMode | ( | ) | const |
Gets normalozation mode
References myNormalizationMode.
void Plot2d_NormalizeAlgorithm::setNormalizationMode | ( | NormalizationMode | theMode | ) |
Sets normalozation mode
References Plot2d_Algorithm::myDataChanged, and myNormalizationMode.
|
private |
|
private |
|
private |