SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SharpRegionManager.h
Go to the documentation of this file.
1
22
23#ifndef MODELFITTING_SHARPREGIONMANAGER_H
24#define MODELFITTING_SHARPREGIONMANAGER_H
25
26#include <utility>
27#include <functional>
29
30namespace ModelFitting {
31
32
45
46public:
47
51 using Profile = std::function<double(double)>;
52
56 virtual ~SharpRegionManager() = default;
57
68 virtual void updateRasterizationInfo(double scale, double r_max,
69 Profile profile) = 0;
70
77 virtual bool insideSharpRegion(double r) = 0;
78
89 virtual std::pair<double, int> nextRadiusAndAngleNo(double prev_r) = 0;
90
91}; // end of class SharpRegionManager
92
93} // end of namespace ModelFitting
94
95#endif /* MODELFITTING_SHARPREGIONMANAGER_H */
96
std::function< double(double)> Profile
virtual ~SharpRegionManager()=default
virtual std::pair< double, int > nextRadiusAndAngleNo(double prev_r)=0
virtual void updateRasterizationInfo(double scale, double r_max, Profile profile)=0
virtual bool insideSharpRegion(double r)=0