lsst.afw  13.0-110-ge674a0930
Public Member Functions | List of all members
lsst::afw::image::DefectBase Class Reference

Encapsulate information about a bad portion of a detector. More...

#include <Defect.h>

Public Member Functions

 DefectBase (const geom::Box2I &bbox)
 
virtual ~DefectBase ()
 
geom::Box2I const & getBBox () const
 Return the Defect's bounding box. More...
 
int getX0 () const
 Return the Defect's left column. More...
 
int getX1 () const
 Return the Defect's right column. More...
 
int getY0 () const
 Return the Defect's bottom row. More...
 
int getY1 () const
 Return the Defect's top row. More...
 
void clip (geom::Box2I const &bbox)
 
void shift (int dx, int dy)
 Offset a Defect by (dx, dy) More...
 
void shift (geom::Extent2I const &d)
 

Detailed Description

Encapsulate information about a bad portion of a detector.

Definition at line 41 of file Defect.h.

Constructor & Destructor Documentation

◆ DefectBase()

lsst::afw::image::DefectBase::DefectBase ( const geom::Box2I &  bbox)
inlineexplicit
Parameters
bboxBad pixels' bounding box

Definition at line 43 of file Defect.h.

◆ ~DefectBase()

virtual lsst::afw::image::DefectBase::~DefectBase ( )
inlinevirtual

Definition at line 46 of file Defect.h.

Member Function Documentation

◆ clip()

void lsst::afw::image::DefectBase::clip ( geom::Box2I const &  bbox)
inline

Definition at line 54 of file Defect.h.

◆ getBBox()

geom::Box2I const& lsst::afw::image::DefectBase::getBBox ( ) const
inline

Return the Defect's bounding box.

Definition at line 48 of file Defect.h.

◆ getX0()

int lsst::afw::image::DefectBase::getX0 ( ) const
inline

Return the Defect's left column.

Definition at line 49 of file Defect.h.

◆ getX1()

int lsst::afw::image::DefectBase::getX1 ( ) const
inline

Return the Defect's right column.

Definition at line 50 of file Defect.h.

◆ getY0()

int lsst::afw::image::DefectBase::getY0 ( ) const
inline

Return the Defect's bottom row.

Definition at line 51 of file Defect.h.

◆ getY1()

int lsst::afw::image::DefectBase::getY1 ( ) const
inline

Return the Defect's top row.

Definition at line 52 of file Defect.h.

◆ shift() [1/2]

void lsst::afw::image::DefectBase::shift ( int  dx,
int  dy 
)
inline

Offset a Defect by (dx, dy)

Parameters
dxHow much to move defect in column direction
dyHow much to move in row direction

Definition at line 59 of file Defect.h.

◆ shift() [2/2]

void lsst::afw::image::DefectBase::shift ( geom::Extent2I const &  d)
inline

Definition at line 64 of file Defect.h.


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