SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ScaledModelComponent.h
Go to the documentation of this file.
1
22
23#ifndef MODELFITTING_SCALEDMODELCOMPONENT_H
24#define MODELFITTING_SCALEDMODELCOMPONENT_H
25
26#include <memory> // for std::unique_ptr
29
30namespace ModelFitting {
31
42
43public:
44
56
58
60
61 double getValue(double x, double y) override;
62
63 void updateRasterizationInfo(double scale, double r_max) override;
64
66
67 bool insideSharpRegion(double x, double y) override;
68
69private:
70
72
75}; // end of class ScaledModelComponent
76
77} // end of namespace ModelFitting
78
79#endif /* MODELFITTING_SCALEDMODELCOMPONENT_H */
80
std::vector< ModelSample > getSharpSampling() override
void updateRasterizationInfo(double scale, double r_max) override
std::shared_ptr< BasicParameter > m_y_scale
std::shared_ptr< BasicParameter > m_x_scale
ScaledModelComponent(std::unique_ptr< ModelComponent > component, std::shared_ptr< BasicParameter > x_scale, std::shared_ptr< BasicParameter > y_scale)
std::unique_ptr< ModelComponent > m_component
bool insideSharpRegion(double x, double y) override
double getValue(double x, double y) override