SourceXtractorPlusPlus
0.14
Please provide a description of the project.
|
CoordinateConverter implementation which performs normalization. More...
#include <NormalizedConverter.h>
Public Member Functions | |
NormalizedConverter (double norm_value) | |
Constructs a new instance of NormalizedConverter. More... | |
virtual | ~NormalizedConverter () |
Destructor. More... | |
double | worldToEngine (const double world_value) const override |
Returns the engine value for the given world value. More... | |
double | engineToWorld (const double engine_value) const override |
Returns the world value for the given engine value. More... | |
double | getEngineToWorldDerivative (const double value) const override |
![]() | |
virtual | ~CoordinateConverter () |
Destructor. More... | |
Private Attributes | |
double | m_norm_value |
CoordinateConverter implementation which performs normalization.
Definition at line 36 of file NormalizedConverter.h.
ModelFitting::NormalizedConverter::NormalizedConverter | ( | double | norm_value | ) |
Constructs a new instance of NormalizedConverter.
norm_value | The world value which will be normalized to 1 in engine coordinates |
Definition at line 27 of file NormalizedConverter.cpp.
|
virtualdefault |
Destructor.
|
overridevirtual |
Returns the world value for the given engine value.
The world value is engine_value * norm_value, where norm_value is the normalization value given to the constructor of the NormalizedConverter.
engine_value | The engine value of the parameter |
Implements ModelFitting::CoordinateConverter.
Definition at line 35 of file NormalizedConverter.cpp.
References m_norm_value.
|
overridevirtual |
Implements ModelFitting::CoordinateConverter.
Definition at line 39 of file NormalizedConverter.cpp.
References m_norm_value.
|
overridevirtual |
Returns the engine value for the given world value.
The engine value is world_value / norm_value, where norm_value is the normalization value given to the constructor of the NormalizedConverter.
world_value | The world value of the parameter |
Implements ModelFitting::CoordinateConverter.
Definition at line 31 of file NormalizedConverter.cpp.
References m_norm_value.
|
private |
Definition at line 84 of file NormalizedConverter.h.
Referenced by engineToWorld(), getEngineToWorldDerivative(), and worldToEngine().