SourceXtractorPlusPlus
0.11
Please provide a description of the project.
ModelFitting
ModelFitting
Models
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
27
#include "
ModelFitting/Parameters/BasicParameter.h
"
28
#include "
ModelFitting/Models/ModelComponent.h
"
29
30
namespace
ModelFitting
{
31
36
class
RotatedModelComponent
:
public
ModelComponent
{
37
38
public
:
39
49
RotatedModelComponent
(
std::unique_ptr<ModelComponent>
component,
50
std::shared_ptr<BasicParameter>
rotation_angle);
51
52
RotatedModelComponent
(
RotatedModelComponent
&& other);
53
54
virtual
~RotatedModelComponent
();
55
56
double
getValue
(
double
x
,
double
y
)
override
;
57
58
void
updateRasterizationInfo
(
double
scale,
double
r_max)
override
;
59
60
std::vector<ModelSample>
getSharpSampling
()
override
;
61
62
bool
insideSharpRegion
(
double
x
,
double
y
)
override
;
63
64
private
:
65
66
std::unique_ptr<ModelComponent>
m_component
;
67
std::shared_ptr<BasicParameter>
m_rotation_angle
;
68
69
double
m_cos
;
70
double
m_sin
;
71
std::size_t
m_observer_id
;
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
Generated by
1.8.18