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
|
#include <SpatialCell.h>
Public Types | |
typedef boost::shared_ptr < SpatialCellMaskedImageCandidate > | Ptr |
typedef boost::shared_ptr < const SpatialCellMaskedImageCandidate > | ConstPtr |
Public Types inherited from lsst::afw::math::SpatialCellCandidate | |
enum | Status { BAD = 0, GOOD = 1, UNKNOWN = 2 } |
typedef boost::shared_ptr < SpatialCellCandidate > | Ptr |
typedef boost::shared_ptr < const SpatialCellCandidate > | ConstPtr |
Public Member Functions | |
SpatialCellMaskedImageCandidate (float const xCenter, float const yCenter) | |
ctor More... | |
virtual | ~SpatialCellMaskedImageCandidate () |
virtual boost::shared_ptr < lsst::afw::image::MaskedImage < PixelT const > lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > | getMaskedImage () const =0 |
Return the Candidate's Image. More... | |
double | getChi2 () const |
Return the candidate's chi^2. More... | |
void | setChi2 (double chi2) |
Set the candidate's chi^2. More... | |
Public Member Functions inherited from lsst::afw::math::SpatialCellCandidate | |
SpatialCellCandidate (float const xCenter, float const yCenter) | |
virtual | ~SpatialCellCandidate () |
float | getXCenter () const |
Return the object's column-centre. More... | |
float | getYCenter () const |
Return the object's row-centre. More... | |
virtual bool | instantiate () |
Do anything needed to make this candidate usable. More... | |
virtual double | getCandidateRating () const =0 |
Return candidate's rating. More... | |
virtual void | setCandidateRating (double) |
Set the candidate's rating. More... | |
int | getId () const |
Return the candidate's unique ID. More... | |
Status | getStatus () const |
Return the candidate's status. More... | |
void | setStatus (Status status) |
Set the candidate's status. More... | |
virtual bool | isBad () const |
Is this candidate unacceptable? More... | |
Static Public Member Functions | |
static void | setWidth (int width) |
Set the width of the image that getImage should return. More... | |
static int | getWidth () |
Return the width of the image that getImage should return. More... | |
static void | setHeight (int height) |
Set the height of the image that getImage should return. More... | |
static int | getHeight () |
Return the height of the image that getImage should return. More... | |
Protected Attributes | |
boost::shared_ptr < lsst::afw::image::MaskedImage < PixelT > lsst::afw::image::MaskPixel, lsst::afw::image::VariancePixel > | _image |
a pointer to the MaskedImage, for the use of the base class More... | |
Private Attributes | |
double | _chi2 |
Static Private Attributes | |
static int | _width = 0 |
The width of images that SpatialCellMaskedImageCandidate should return; may be ignored by subclasses. More... | |
static int | _height = 0 |
The height of images that SpatialCellMaskedImageCandidate should return; may be ignored by subclasses. More... | |
Base class for candidate objects in a SpatialCell that are able to return a MaskedImage of some sort (e.g. a PSF or a DIA kernel)
Definition at line 189 of file SpatialCell.h.
typedef boost::shared_ptr<const SpatialCellMaskedImageCandidate> lsst::afw::math::SpatialCellMaskedImageCandidate< PixelT >::ConstPtr |
Definition at line 192 of file SpatialCell.h.
typedef boost::shared_ptr<SpatialCellMaskedImageCandidate> lsst::afw::math::SpatialCellMaskedImageCandidate< PixelT >::Ptr |
Definition at line 191 of file SpatialCell.h.
|
inline |
ctor
xCenter | The object's column-centre |
yCenter | The object's row-centre |
Definition at line 195 of file SpatialCell.h.
|
inlinevirtual |
Definition at line 203 of file SpatialCell.h.
|
inline |
|
inlinestatic |
Return the height of the image that getImage should return.
Definition at line 219 of file SpatialCell.h.
|
pure virtual |
Return the Candidate's Image.
Implemented in lsst::meas::algorithms::PsfCandidate< PixelT >.
|
inlinestatic |
Return the width of the image that getImage should return.
Definition at line 214 of file SpatialCell.h.
|
inline |
|
inlinestatic |
Set the height of the image that getImage should return.
Definition at line 217 of file SpatialCell.h.
|
inlinestatic |
Set the width of the image that getImage should return.
Definition at line 210 of file SpatialCell.h.
|
private |
Definition at line 232 of file SpatialCell.h.
|
staticprivate |
The height of images that SpatialCellMaskedImageCandidate should return; may be ignored by subclasses.
Definition at line 231 of file SpatialCell.h.
|
mutableprotected |
a pointer to the MaskedImage, for the use of the base class
Definition at line 228 of file SpatialCell.h.
|
staticprivate |
The width of images that SpatialCellMaskedImageCandidate should return; may be ignored by subclasses.
Definition at line 230 of file SpatialCell.h.