LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 |