SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Definition at line 44 of file ModelComponent.h.

Constructor & Destructor Documentation

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

Destructor

Member Function Documentation

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::ScaledModelComponent, ModelFitting::CircularlySymmetricModelComponent< Profile >, ModelFitting::RotatedModelComponent, ModelFitting::TransformModelComponent, and ModelFitting::FlattenedMoffatComponent.

Referenced by ModelFitting::_impl::addSharp().

virtual double ModelFitting::ModelComponent::getValue ( double  x,
double  y 
)
pure virtual
virtual bool ModelFitting::ModelComponent::insideSharpRegion ( double  x,
double  y 
)
pure virtual
virtual void ModelFitting::ModelComponent::updateRasterizationInfo ( double  scale,
double  r_max 
)
pure virtual

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