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 < SpatialCellImageCandidate > | Ptr |
typedef boost::shared_ptr < const SpatialCellImageCandidate > | 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 | |
SpatialCellImageCandidate (float const xCenter, float const yCenter) | |
ctor More... | |
virtual | ~SpatialCellImageCandidate () |
virtual boost::shared_ptr < lsst::afw::image::Image < PixelT > const > | getImage () 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::Image < PixelT > > | _image |
a pointer to the Image, for the use of the base class More... | |
Private Attributes | |
double | _chi2 |
Static Private Attributes | |
static int | _width = 0 |
The width of images that SpatialCellImageCandidate should return; may be ignored by subclasses. More... | |
static int | _height = 0 |
The height of images that SpatialCellImageCandidate should return; may be ignored by subclasses. More... | |
Base class for candidate objects in a SpatialCell that are able to return an Image of some sort (e.g. a PSF or a DIA kernel)
Definition at line 133 of file SpatialCell.h.
typedef boost::shared_ptr<const SpatialCellImageCandidate> lsst::afw::math::SpatialCellImageCandidate< PixelT >::ConstPtr |
Definition at line 136 of file SpatialCell.h.
typedef boost::shared_ptr<SpatialCellImageCandidate> lsst::afw::math::SpatialCellImageCandidate< PixelT >::Ptr |
Definition at line 135 of file SpatialCell.h.
|
inline |
ctor
xCenter | The object's column-centre |
yCenter | The object's row-centre |
Definition at line 139 of file SpatialCell.h.
|
inlinevirtual |
Definition at line 145 of file SpatialCell.h.
|
inline |
|
inlinestatic |
Return the height of the image that getImage should return.
Definition at line 160 of file SpatialCell.h.
|
pure virtual |
Return the Candidate's Image.
Implemented in lsst::ip::diffim::KernelCandidate< _PixelT >.
|
inlinestatic |
Return the width of the image that getImage should return.
Definition at line 155 of file SpatialCell.h.
|
inline |
|
inlinestatic |
Set the height of the image that getImage should return.
Definition at line 158 of file SpatialCell.h.
|
inlinestatic |
Set the width of the image that getImage should return.
Definition at line 151 of file SpatialCell.h.
|
private |
Definition at line 172 of file SpatialCell.h.
|
staticprivate |
The height of images that SpatialCellImageCandidate should return; may be ignored by subclasses.
Definition at line 171 of file SpatialCell.h.
|
mutableprotected |
a pointer to the Image, for the use of the base class
Definition at line 168 of file SpatialCell.h.
|
staticprivate |
The width of images that SpatialCellImageCandidate should return; may be ignored by subclasses.
Definition at line 170 of file SpatialCell.h.