SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::PixelCoordinate Class Reference

A pixel coordinate made of two integers m_x and m_y. More...

#include <PixelCoordinate.h>

Public Member Functions

 PixelCoordinate ()
 PixelCoordinate (int x, int y)
bool operator== (const PixelCoordinate &other) const
bool operator!= (const PixelCoordinate &other) const
PixelCoordinate operator* (double scalar) const
PixelCoordinate operator+ (const PixelCoordinate &other) const
PixelCoordinateoperator+= (const PixelCoordinate &other)
PixelCoordinate operator- (const PixelCoordinate &other) const
PixelCoordinateoperator-= (const PixelCoordinate &other)
bool operator>= (const PixelCoordinate &other) const
bool operator<= (const PixelCoordinate &other) const
bool clip (int w, int h)

Public Attributes

int m_x
int m_y

Detailed Description

A pixel coordinate made of two integers m_x and m_y.

Definition at line 37 of file PixelCoordinate.h.

Constructor & Destructor Documentation

◆ PixelCoordinate() [1/2]

SourceXtractor::PixelCoordinate::PixelCoordinate ( )
inline

◆ PixelCoordinate() [2/2]

SourceXtractor::PixelCoordinate::PixelCoordinate ( int x,
int y )
inline

Definition at line 42 of file PixelCoordinate.h.

References m_x, and m_y.

Member Function Documentation

◆ clip()

bool SourceXtractor::PixelCoordinate::clip ( int w,
int h )
inline

Make sure the coordinates are within a box of a given width and height

Returns
true if the coordinates have been modified (clipped)

Definition at line 90 of file PixelCoordinate.h.

References m_x, m_y, std::max(), and std::min().

Referenced by SourceXtractor::NeighbourInfo::NeighbourInfo().

Here is the call graph for this function:

◆ operator!=()

bool SourceXtractor::PixelCoordinate::operator!= ( const PixelCoordinate & other) const
inline

Definition at line 48 of file PixelCoordinate.h.

References PixelCoordinate().

Here is the call graph for this function:

◆ operator*()

PixelCoordinate SourceXtractor::PixelCoordinate::operator* ( double scalar) const
inline

Definition at line 52 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator+()

PixelCoordinate SourceXtractor::PixelCoordinate::operator+ ( const PixelCoordinate & other) const
inline

Definition at line 57 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator+=()

PixelCoordinate & SourceXtractor::PixelCoordinate::operator+= ( const PixelCoordinate & other)
inline

Definition at line 61 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator-()

PixelCoordinate SourceXtractor::PixelCoordinate::operator- ( const PixelCoordinate & other) const
inline

Definition at line 67 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator-=()

PixelCoordinate & SourceXtractor::PixelCoordinate::operator-= ( const PixelCoordinate & other)
inline

Definition at line 71 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator<=()

bool SourceXtractor::PixelCoordinate::operator<= ( const PixelCoordinate & other) const
inline

Definition at line 81 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator==()

bool SourceXtractor::PixelCoordinate::operator== ( const PixelCoordinate & other) const
inline

Definition at line 44 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

◆ operator>=()

bool SourceXtractor::PixelCoordinate::operator>= ( const PixelCoordinate & other) const
inline

Definition at line 77 of file PixelCoordinate.h.

References m_x, m_y, and PixelCoordinate().

Here is the call graph for this function:

Member Data Documentation

◆ m_x

int SourceXtractor::PixelCoordinate::m_x

Definition at line 38 of file PixelCoordinate.h.

Referenced by SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingPointModel::addForSource(), SourceXtractor::FlexibleModelFittingSersicModel::addForSource(), clip(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTaskNoDetect::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::ImageAccessor< T >::firstCoordinates(), SourceXtractor::Image< SeFloat >::getChunk(), SourceXtractor::getCoordX(), SourceXtractor::FlexibleModelFittingIterativeTask::getEllipseRect(), SourceXtractor::getMirrorPixel(), SourceXtractor::ImageChunk< T >::getValue(), SourceXtractor::VectorImage< SourceXtractor::SeFloat >::getValue(), SourceXtractor::BFSSegmentation::labelSource(), SourceXtractor::MeasurementFrameGroupRectangle::MeasurementFrameGroupRectangle(), SourceXtractor::MeasurementFrameRectangle::MeasurementFrameRectangle(), SourceXtractor::ImageAccessor< T >::nextCoordinates(), std::hash< SourceXtractor::PixelCoordinate >::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<=(), operator==(), operator>=(), SourceXtractor::DFTConvolution< SeFloat, PaddedImage< SeFloat, Reflect101Coordinates > >::padKernel(), PixelCoordinate(), PixelCoordinate(), SourceXtractor::PixelRectangle::PixelRectangle(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), and SourceXtractor::SubImage< T >::SubImage().

◆ m_y

int SourceXtractor::PixelCoordinate::m_y

Definition at line 38 of file PixelCoordinate.h.

Referenced by SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingPointModel::addForSource(), SourceXtractor::FlexibleModelFittingSersicModel::addForSource(), clip(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTaskNoDetect::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::ImageAccessor< T >::firstCoordinates(), SourceXtractor::Image< SeFloat >::getChunk(), SourceXtractor::getCoordY(), SourceXtractor::FlexibleModelFittingIterativeTask::getEllipseRect(), SourceXtractor::getMirrorPixel(), SourceXtractor::ImageChunk< T >::getValue(), SourceXtractor::VectorImage< SourceXtractor::SeFloat >::getValue(), SourceXtractor::BFSSegmentation::labelSource(), SourceXtractor::MeasurementFrameGroupRectangle::MeasurementFrameGroupRectangle(), SourceXtractor::MeasurementFrameRectangle::MeasurementFrameRectangle(), SourceXtractor::ImageAccessor< T >::nextCoordinates(), std::hash< SourceXtractor::PixelCoordinate >::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<=(), operator==(), operator>=(), PixelCoordinate(), PixelCoordinate(), SourceXtractor::PixelRectangle::PixelRectangle(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), and SourceXtractor::SubImage< T >::SubImage().


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