|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
CoordinateConverter implementation which performs normalization. More...
#include <NormalizedConverter.h>


Public Member Functions | |
| NormalizedConverter (double norm_value) | |
| Constructs a new instance of NormalizedConverter. | |
| virtual | ~NormalizedConverter () |
| Destructor. | |
| double | worldToEngine (const double world_value) const override |
| Returns the engine value for the given world value. | |
| double | engineToWorld (const double engine_value) const override |
| Returns the world value for the given engine value. | |
| double | getEngineToWorldDerivative (const double value) const override |
| Public Member Functions inherited from ModelFitting::CoordinateConverter | |
| virtual | ~CoordinateConverter () |
| Destructor. | |
Private Attributes | |
| double | m_norm_value |
CoordinateConverter implementation which performs normalization.
Definition at line 36 of file NormalizedConverter.h.
|
explicit |
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.
References m_norm_value.
|
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(), NormalizedConverter(), and worldToEngine().