lsst.afw  15.0-17-g0b88e3da8
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)
 
 DefectBase (DefectBase const &)=default
 
 DefectBase (DefectBase &&)=default
 
DefectBase & operator= (DefectBase const &)=default
 
DefectBase & operator= (DefectBase &&)=default
 
virtual ~DefectBase ()=default
 
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() [1/3]

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

Definition at line 43 of file Defect.h.

◆ DefectBase() [2/3]

lsst::afw::image::DefectBase::DefectBase ( DefectBase const &  )
default

◆ DefectBase() [3/3]

lsst::afw::image::DefectBase::DefectBase ( DefectBase &&  )
default

◆ ~DefectBase()

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

Member Function Documentation

◆ clip()

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

Definition at line 58 of file Defect.h.

◆ getBBox()

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

Return the Defect's bounding box.

Definition at line 52 of file Defect.h.

◆ getX0()

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

Return the Defect's left column.

Definition at line 53 of file Defect.h.

◆ getX1()

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

Return the Defect's right column.

Definition at line 54 of file Defect.h.

◆ getY0()

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

Return the Defect's bottom row.

Definition at line 55 of file Defect.h.

◆ getY1()

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

Return the Defect's top row.

Definition at line 56 of file Defect.h.

◆ operator=() [1/2]

DefectBase& lsst::afw::image::DefectBase::operator= ( DefectBase const &  )
default

◆ operator=() [2/2]

DefectBase& lsst::afw::image::DefectBase::operator= ( DefectBase &&  )
default

◆ 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 63 of file Defect.h.

◆ shift() [2/2]

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

Definition at line 68 of file Defect.h.


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