SourceXtractorPlusPlus  0.15
Please provide a description of the project.
ModelComponent.h
Go to the documentation of this file.
1 
23 #ifndef MODELFITTING_MODELCOMPONENT_H
24 #define MODELFITTING_MODELCOMPONENT_H
25 
26 #include <vector>
27 #include <tuple>
28 #include <memory>
29 #include <utility>
30 
31 namespace ModelFitting {
32 
38 
39 public:
40 
41  /***
42  * Defines a sample: X coordinate, Y coordinate, and Value at those coordinates
43  */
45 
49  virtual ~ModelComponent() = default;
50 
54  virtual double getValue(double x, double y) = 0;
55 
61  virtual void updateRasterizationInfo(double scale, double r_max) = 0;
62 
71 
75  virtual bool insideSharpRegion(double x, double y) = 0;
76 
77 }; // end of class ModelComponent
78 
79 } // end of namespace ModelFitting
80 
81 #endif /* MODELFITTING_MODELCOMPONENT_H */
82 
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
virtual double getValue(double x, double y)=0
virtual bool insideSharpRegion(double x, double y)=0
virtual std::vector< ModelSample > getSharpSampling()=0
virtual ~ModelComponent()=default
virtual void updateRasterizationInfo(double scale, double r_max)=0