SourceXtractorPlusPlus
0.19
SourceXtractor++, the next generation SExtractor
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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::m_component
std::unique_ptr< ModelComponent > m_component
Definition:
RotatedModelComponent.h:66
std::shared_ptr
ModelFitting::RotatedModelComponent::getValue
double getValue(double x, double y) override
Definition:
RotatedModelComponent.cpp:52
ModelFitting::ModelComponent
Definition:
ModelComponent.h:37
ModelFitting::y
y
Definition:
CompactModelBase.icpp:19
ModelFitting::RotatedModelComponent::insideSharpRegion
bool insideSharpRegion(double x, double y) override
Definition:
RotatedModelComponent.cpp:73
ModelFitting::x
x
Definition:
CompactModelBase.icpp:19
ModelFitting::RotatedModelComponent::getSharpSampling
std::vector< ModelSample > getSharpSampling() override
Definition:
RotatedModelComponent.cpp:62
ModelFitting::RotatedModelComponent::m_observer_id
std::size_t m_observer_id
Definition:
RotatedModelComponent.h:71
std::size_t
ModelFitting::RotatedModelComponent::RotatedModelComponent
RotatedModelComponent(std::unique_ptr< ModelComponent > component, std::shared_ptr< BasicParameter > rotation_angle)
Definition:
RotatedModelComponent.cpp:29
BasicParameter.h
ModelFitting::RotatedModelComponent::m_sin
double m_sin
Definition:
RotatedModelComponent.h:70
ModelFitting::RotatedModelComponent::m_cos
double m_cos
Definition:
RotatedModelComponent.h:69
ModelFitting::RotatedModelComponent
Definition:
RotatedModelComponent.h:36
ModelFitting::RotatedModelComponent::~RotatedModelComponent
virtual ~RotatedModelComponent()
Definition:
RotatedModelComponent.cpp:48
ModelComponent.h
std::vector
STL class.
std::unique_ptr
STL class.
ModelFitting::RotatedModelComponent::m_rotation_angle
std::shared_ptr< BasicParameter > m_rotation_angle
Definition:
RotatedModelComponent.h:67
ModelFitting::RotatedModelComponent::updateRasterizationInfo
void updateRasterizationInfo(double scale, double r_max) override
Definition:
RotatedModelComponent.cpp:58
Generated by
1.8.5