SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::TransformedAperture Class Reference

#include <TransformedAperture.h>

Inheritance diagram for SourceXtractor::TransformedAperture:
[legend]
Collaboration diagram for SourceXtractor::TransformedAperture:
[legend]

Public Member Functions

virtual ~TransformedAperture ()=default
 
 TransformedAperture (std::shared_ptr< Aperture > decorated, const std::tuple< double, double, double, double > &jacobian)
 
SeFloat getArea (SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
 
SeFloat drawArea (SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
 
PixelCoordinate getMinPixel (SeFloat centroid_x, SeFloat centroid_y) const override
 
PixelCoordinate getMaxPixel (SeFloat centroid_x, SeFloat centroid_y) const override
 
SeFloat getRadiusSquared (SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
 
- Public Member Functions inherited from SourceXtractor::Aperture
virtual ~Aperture ()=default
 

Private Attributes

std::shared_ptr< Aperturem_decorated
 
std::array< double, 4 > m_transform
 
std::array< double, 4 > m_inv_transform
 

Detailed Description

Definition at line 31 of file TransformedAperture.h.

Constructor & Destructor Documentation

◆ ~TransformedAperture()

virtual SourceXtractor::TransformedAperture::~TransformedAperture ( )
virtualdefault

◆ TransformedAperture()

SourceXtractor::TransformedAperture::TransformedAperture ( std::shared_ptr< Aperture decorated,
const std::tuple< double, double, double, double > &  jacobian 
)

Definition at line 29 of file TransformedAperture.cpp.

References m_inv_transform, and m_transform.

Member Function Documentation

◆ drawArea()

SeFloat SourceXtractor::TransformedAperture::drawArea ( SeFloat  center_x,
SeFloat  center_y,
SeFloat  pixel_x,
SeFloat  pixel_y 
) const
overridevirtual

Implements SourceXtractor::Aperture.

Definition at line 93 of file TransformedAperture.cpp.

References m_decorated, and m_inv_transform.

◆ getArea()

SeFloat SourceXtractor::TransformedAperture::getArea ( SeFloat  center_x,
SeFloat  center_y,
SeFloat  pixel_x,
SeFloat  pixel_y 
) const
overridevirtual

Implements SourceXtractor::Aperture.

Definition at line 83 of file TransformedAperture.cpp.

References m_decorated, and m_inv_transform.

◆ getMaxPixel()

PixelCoordinate SourceXtractor::TransformedAperture::getMaxPixel ( SeFloat  centroid_x,
SeFloat  centroid_y 
) const
overridevirtual

Implements SourceXtractor::Aperture.

Definition at line 68 of file TransformedAperture.cpp.

References m_decorated, m_transform, std::max(), std::min(), SourceXtractor::transform(), x, and y.

Here is the call graph for this function:

◆ getMinPixel()

PixelCoordinate SourceXtractor::TransformedAperture::getMinPixel ( SeFloat  centroid_x,
SeFloat  centroid_y 
) const
overridevirtual

Implements SourceXtractor::Aperture.

Definition at line 53 of file TransformedAperture.cpp.

References m_decorated, m_transform, std::max(), std::min(), SourceXtractor::transform(), x, and y.

Here is the call graph for this function:

◆ getRadiusSquared()

SeFloat SourceXtractor::TransformedAperture::getRadiusSquared ( SeFloat  center_x,
SeFloat  center_y,
SeFloat  pixel_x,
SeFloat  pixel_y 
) const
overridevirtual

Implements SourceXtractor::Aperture.

Definition at line 103 of file TransformedAperture.cpp.

References m_decorated, and m_inv_transform.

Member Data Documentation

◆ m_decorated

std::shared_ptr<Aperture> SourceXtractor::TransformedAperture::m_decorated
private

Definition at line 48 of file TransformedAperture.h.

Referenced by drawArea(), getArea(), getMaxPixel(), getMinPixel(), and getRadiusSquared().

◆ m_inv_transform

std::array<double, 4> SourceXtractor::TransformedAperture::m_inv_transform
private

Definition at line 49 of file TransformedAperture.h.

Referenced by drawArea(), getArea(), getRadiusSquared(), and TransformedAperture().

◆ m_transform

std::array<double, 4> SourceXtractor::TransformedAperture::m_transform
private

Definition at line 49 of file TransformedAperture.h.

Referenced by getMaxPixel(), getMinPixel(), and TransformedAperture().


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