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

#include <MeasurementFrameGroupRectangle.h>

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

Public Member Functions

virtual ~MeasurementFrameGroupRectangle ()=default
 
 MeasurementFrameGroupRectangle (bool bad_projection)
 
 MeasurementFrameGroupRectangle (PixelCoordinate min_coord, PixelCoordinate max_coord)
 
PixelCoordinate getTopLeft () const
 
PixelCoordinate getBottomRight () const
 
int getWidth () const
 
int getHeight () const
 
bool badProjection () const
 
- Public Member Functions inherited from SourceXtractor::Property
virtual ~Property ()=default
 

Private Attributes

PixelCoordinate m_min_coord
 
PixelCoordinate m_max_coord
 
bool m_bad_projection
 

Detailed Description

Definition at line 33 of file MeasurementFrameGroupRectangle.h.

Constructor & Destructor Documentation

◆ ~MeasurementFrameGroupRectangle()

virtual SourceXtractor::MeasurementFrameGroupRectangle::~MeasurementFrameGroupRectangle ( )
virtualdefault

◆ MeasurementFrameGroupRectangle() [1/2]

SourceXtractor::MeasurementFrameGroupRectangle::MeasurementFrameGroupRectangle ( bool  bad_projection)
inlineexplicit

Definition at line 37 of file MeasurementFrameGroupRectangle.h.

◆ MeasurementFrameGroupRectangle() [2/2]

SourceXtractor::MeasurementFrameGroupRectangle::MeasurementFrameGroupRectangle ( PixelCoordinate  min_coord,
PixelCoordinate  max_coord 
)
inline

Member Function Documentation

◆ badProjection()

bool SourceXtractor::MeasurementFrameGroupRectangle::badProjection ( ) const
inline

true if the translation detection pixel -> world -> measurement pixel failed (probably falls outside the measurement image and the projection there is discontinuous)

Definition at line 69 of file MeasurementFrameGroupRectangle.h.

References m_bad_projection.

◆ getBottomRight()

PixelCoordinate SourceXtractor::MeasurementFrameGroupRectangle::getBottomRight ( ) const
inline

◆ getHeight()

int SourceXtractor::MeasurementFrameGroupRectangle::getHeight ( ) const
inline

◆ getTopLeft()

PixelCoordinate SourceXtractor::MeasurementFrameGroupRectangle::getTopLeft ( ) const
inline

◆ getWidth()

int SourceXtractor::MeasurementFrameGroupRectangle::getWidth ( ) const
inline

Member Data Documentation

◆ m_bad_projection

bool SourceXtractor::MeasurementFrameGroupRectangle::m_bad_projection
private

Definition at line 75 of file MeasurementFrameGroupRectangle.h.

Referenced by badProjection().

◆ m_max_coord

PixelCoordinate SourceXtractor::MeasurementFrameGroupRectangle::m_max_coord
private

Definition at line 74 of file MeasurementFrameGroupRectangle.h.

Referenced by getBottomRight(), getHeight(), getTopLeft(), and getWidth().

◆ m_min_coord

PixelCoordinate SourceXtractor::MeasurementFrameGroupRectangle::m_min_coord
private

Definition at line 74 of file MeasurementFrameGroupRectangle.h.

Referenced by getHeight(), getTopLeft(), and getWidth().


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