SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Public Types | Public Member Functions | List of all members
ModelFitting::ModelComponent Class Referenceabstract

#include <ModelComponent.h>

Inheritance diagram for ModelFitting::ModelComponent:
[legend]

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< ModelSamplegetSharpSampling ()=0
 
virtual bool insideSharpRegion (double x, double y)=0
 

Detailed Description

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.

Member Typedef Documentation

◆ ModelSample

using ModelFitting::ModelComponent::ModelSample = std::tuple<double, double, double>

Definition at line 44 of file ModelComponent.h.

Constructor & Destructor Documentation

◆ ~ModelComponent()

virtual ModelFitting::ModelComponent::~ModelComponent ( )
virtualdefault

Destructor

Member Function Documentation

◆ getSharpSampling()

virtual std::vector<ModelSample> ModelFitting::ModelComponent::getSharpSampling ( )
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::TransformModelComponent, ModelFitting::ScaledModelComponent, ModelFitting::RotatedModelComponent, ModelFitting::FlattenedMoffatComponent, and ModelFitting::CircularlySymmetricModelComponent< Profile >.

◆ getValue()

virtual double ModelFitting::ModelComponent::getValue ( double  x,
double  y 
)
pure virtual

◆ insideSharpRegion()

virtual bool ModelFitting::ModelComponent::insideSharpRegion ( double  x,
double  y 
)
pure virtual

◆ updateRasterizationInfo()

virtual void ModelFitting::ModelComponent::updateRasterizationInfo ( double  scale,
double  r_max 
)
pure virtual

The documentation for this class was generated from the following file: