SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
RotatedModelComponent.h
Go to the documentation of this file.
1
23#ifndef MODELFITTING_ROTATEDMODELCOMPONENT_H
24#define MODELFITTING_ROTATEDMODELCOMPONENT_H
25
26#include <memory> // for std::unique_ptr
29
30namespace ModelFitting {
31
37
38public:
39
50 std::shared_ptr<BasicParameter> rotation_angle);
51
53
54 virtual ~RotatedModelComponent();
55
56 double getValue(double x, double y) override;
57
58 void updateRasterizationInfo(double scale, double r_max) override;
59
61
62 bool insideSharpRegion(double x, double y) override;
63
64private:
65
68
69 double m_cos;
70 double m_sin;
72
73}; // end of class RotatedModelComponent
74
75} // end of namespace ModelFitting
76
77#endif /* MODELFITTING_ROTATEDMODELCOMPONENT_H */
78
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
double getValue(double x, double y) override
bool insideSharpRegion(double x, double y) override
std::shared_ptr< BasicParameter > m_rotation_angle
void updateRasterizationInfo(double scale, double r_max) override
std::vector< ModelSample > getSharpSampling() override
std::unique_ptr< ModelComponent > m_component