LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Encapsulate information about a bad portion of a detector. More...
#include <Defect.h>
Public Types | |
typedef boost::shared_ptr < DefectBase > | Ptr |
shared pointer to DefectBase More... | |
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) |
void | shift (geom::Extent2I const &d) |
Private Attributes | |
geom::Box2I | _bbox |
Bounding box for bad pixels. More... | |
typedef boost::shared_ptr<DefectBase> lsst::afw::image::DefectBase::Ptr |
|
inlineexplicit |
bbox | Bad pixels' bounding box |
Definition at line 46 of file Defect.h.
|
inlinevirtual |
|
inline |
Definition at line 58 of file Defect.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Offset a Defect by (dx, dy)
dx | How much to move defect in column direction |
dy | How much to move in row direction |
Definition at line 63 of file Defect.h.
|
inline |
Definition at line 68 of file Defect.h.
|
private |