LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Encapsulate information about a bad portion of a detector. More...
#include <Interp.h>
Public Types | |
enum | DefectPosition { LEFT = 1, NEAR_LEFT, WIDE_LEFT, MIDDLE, WIDE_NEAR_LEFT, WIDE, WIDE_NEAR_RIGHT, NEAR_RIGHT, WIDE_RIGHT, RIGHT } |
enum | { WIDE_DEFECT = 11 } |
typedef std::shared_ptr< Defect > | Ptr |
shared pointer to Defect More... | |
Public Member Functions | |
Defect (const geom::BoxI &bbox=geom::BoxI()) | |
virtual | ~Defect () |
void | classify (DefectPosition pos, unsigned int type) |
unsigned int | getType () const |
Return the defect's interpolation type. More... | |
DefectPosition | getPos () const |
Return the position of the defect. More... | |
lsst::geom::Box2I const & | getBBox () const noexcept |
Return the Defect's bounding box. More... | |
int | getX0 () const noexcept |
Return the Defect's left column. More... | |
int | getX1 () const noexcept |
Return the Defect's right column. More... | |
int | getY0 () const noexcept |
Return the Defect's bottom row. More... | |
int | getY1 () const noexcept |
Return the Defect's top row. More... | |
void | clip (lsst::geom::Box2I const &bbox) noexcept |
void | shift (int dx, int dy) |
Offset a Defect by (dx, dy) More... | |
void | shift (lsst::geom::Extent2I const &d) |
anonymous enum |
Definition at line 76 of file Interp.h.
|
inlineexplicit |
|
inlinevirtual |
|
inline |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inline |
|
inline |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
Offset a Defect by (dx, dy)
dx | How much to move defect in column direction |
dy | How much to move in row direction |
|
inlineinherited |