SourceXtractorPlusPlus
0.11
Please provide a description of the project.
|
#include <ModelComponent.h>
Public Types | |
using | ModelSample = std::tuple< double, double, double > |
Public Member Functions | |
virtual | ~ModelComponent ()=default |
virtual double | getValue (double x, double y)=0 |
virtual void | updateRasterizationInfo (double scale, double r_max)=0 |
virtual std::vector< ModelSample > | getSharpSampling ()=0 |
virtual bool | insideSharpRegion (double x, double y)=0 |
An expended model has one or more components that define its shape. These components must implement this interface.
Definition at line 37 of file ModelComponent.h.
using ModelFitting::ModelComponent::ModelSample = std::tuple<double, double, double> |
Definition at line 44 of file ModelComponent.h.
|
virtualdefault |
Destructor
|
pure virtual |
Returns the samples computed only for the sharp area, if any.
The returned value is the integrated value of the function for the area corresponding to the sample, not the value of the function. A pixel may be computed adding up the samples that fall within.
Implemented in ModelFitting::ScaledModelComponent, ModelFitting::CircularlySymmetricModelComponent< Profile >, ModelFitting::RotatedModelComponent, ModelFitting::TransformModelComponent, and ModelFitting::FlattenedMoffatComponent.
|
pure virtual |
Returns the value of the point value of the model at the given coordinates.
Implemented in ModelFitting::ScaledModelComponent, ModelFitting::CircularlySymmetricModelComponent< Profile >, ModelFitting::RotatedModelComponent, ModelFitting::TransformModelComponent, and ModelFitting::FlattenedMoffatComponent.
|
pure virtual |
Returns true if the coordinates fall inside the sharp region
Implemented in ModelFitting::ScaledModelComponent, ModelFitting::CircularlySymmetricModelComponent< Profile >, ModelFitting::RotatedModelComponent, ModelFitting::TransformModelComponent, and ModelFitting::FlattenedMoffatComponent.
|
pure virtual |
scale | |
r_max |
Implemented in ModelFitting::ScaledModelComponent, ModelFitting::CircularlySymmetricModelComponent< Profile >, ModelFitting::RotatedModelComponent, ModelFitting::TransformModelComponent, and ModelFitting::FlattenedMoffatComponent.