SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NormalizedConverter.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_NORMALIZEDCONVERTER_H
24 #define MODELFITTING_NORMALIZEDCONVERTER_H
25 
27 
28 namespace ModelFitting {
29 
37 
38 public:
39 
46  NormalizedConverter(double norm_value);
47 
49  virtual ~NormalizedConverter();
50 
63  double worldToEngine(const double world_value) const override;
64 
77  double engineToWorld(const double engine_value) const override;
78 
79  double getEngineToWorldDerivative(const double value) const override;
80 
81 
82 private:
83 
84  double m_norm_value;
85 
86 }; // end of class NormalizedConverter
87 
88 } // end of namespace ModelFitting
89 
90 #endif /* MODELFITTING_NORMALIZEDCONVERTER_H */
91 
virtual ~NormalizedConverter()
Destructor.
The coordinate converter interface.
double engineToWorld(const double engine_value) const override
Returns the world value for the given engine value.
double getEngineToWorldDerivative(const double value) const override
CoordinateConverter implementation which performs normalization.
NormalizedConverter(double norm_value)
Constructs a new instance of NormalizedConverter.
double worldToEngine(const double world_value) const override
Returns the engine value for the given world value.