SourceXtractorPlusPlus  0.16
Please provide a description of the project.
ScaledModelComponent.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_SCALEDMODELCOMPONENT_H
24 #define MODELFITTING_SCALEDMODELCOMPONENT_H
25 
26 #include <memory> // for std::unique_ptr
29 
30 namespace ModelFitting {
31 
42 
43 public:
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 
69 private:
70 
72 
75 }; // end of class ScaledModelComponent
76 
77 } // end of namespace ModelFitting
78 
79 #endif /* MODELFITTING_SCALEDMODELCOMPONENT_H */
80 
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
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