SourceXtractorPlusPlus  0.11
Please provide a description of the project.
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 
30 namespace ModelFitting {
31 
37 
38 public:
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 
64 private:
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 
ModelFitting::RotatedModelComponent::insideSharpRegion
bool insideSharpRegion(double x, double y) override
Definition: RotatedModelComponent.cpp:73
std::shared_ptr< BasicParameter >
ModelFitting::RotatedModelComponent::getValue
double getValue(double x, double y) override
Definition: RotatedModelComponent.cpp:52
std::vector
STL class.
ModelFitting::RotatedModelComponent
Definition: RotatedModelComponent.h:36
ModelFitting::RotatedModelComponent::~RotatedModelComponent
virtual ~RotatedModelComponent()
Definition: RotatedModelComponent.cpp:48
ModelComponent.h
ModelFitting::ModelComponent
Definition: ModelComponent.h:37
ModelFitting::RotatedModelComponent::m_observer_id
std::size_t m_observer_id
Definition: RotatedModelComponent.h:71
ModelFitting::RotatedModelComponent::m_sin
double m_sin
Definition: RotatedModelComponent.h:70
ModelFitting::RotatedModelComponent::m_rotation_angle
std::shared_ptr< BasicParameter > m_rotation_angle
Definition: RotatedModelComponent.h:67
ModelFitting::RotatedModelComponent::RotatedModelComponent
RotatedModelComponent(std::unique_ptr< ModelComponent > component, std::shared_ptr< BasicParameter > rotation_angle)
Definition: RotatedModelComponent.cpp:29
BasicParameter.h
ModelFitting::RotatedModelComponent::getSharpSampling
std::vector< ModelSample > getSharpSampling() override
Definition: RotatedModelComponent.cpp:62
ModelFitting::RotatedModelComponent::updateRasterizationInfo
void updateRasterizationInfo(double scale, double r_max) override
Definition: RotatedModelComponent.cpp:58
x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
Definition: MoffatModelFittingTask.cpp:93
ModelFitting::RotatedModelComponent::m_component
std::unique_ptr< ModelComponent > m_component
Definition: RotatedModelComponent.h:66
ModelFitting::RotatedModelComponent::m_cos
double m_cos
Definition: RotatedModelComponent.h:69
std::size_t
y
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Definition: MoffatModelFittingTask.cpp:93
std::unique_ptr
STL class.
ModelFitting
Definition: AsinhChiSquareComparator.h:30