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 | |
enum | Status { BAD = 0, GOOD = 1, UNKNOWN = 2 } |
typedef boost::shared_ptr < SpatialCellCandidate > | Ptr |
typedef boost::shared_ptr < const SpatialCellCandidate > | ConstPtr |
Public Member Functions | |
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... | |
Private Attributes | |
int | _id |
Status | _status |
float const | _xCenter |
float const | _yCenter |
Static Private Attributes | |
static int | _CandidateId = 0 |
Unique identifier for candidates; useful for preserving current candidate following insertion. More... | |
Base class for candidate objects in a SpatialCell
Definition at line 74 of file SpatialCell.h.
typedef boost::shared_ptr<const SpatialCellCandidate> lsst::afw::math::SpatialCellCandidate::ConstPtr |
Definition at line 77 of file SpatialCell.h.
typedef boost::shared_ptr<SpatialCellCandidate> lsst::afw::math::SpatialCellCandidate::Ptr |
Definition at line 76 of file SpatialCell.h.
|
inline |
xCenter | The object's column-centre |
yCenter | The object's row-centre |
Definition at line 81 of file SpatialCell.h.
|
inlinevirtual |
(virtual) destructor – this is a base class you know
Definition at line 92 of file SpatialCell.h.
|
pure virtual |
Return candidate's rating.
Implemented in lsst::meas::algorithms::ShapeletPsfCandidate, lsst::meas::algorithms::PsfCandidate< PixelT >, and lsst::ip::diffim::KernelCandidate< _PixelT >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Do anything needed to make this candidate usable.
Definition at line 101 of file SpatialCell.h.
|
inlinevirtual |
|
inlinevirtual |
void lsst::afw::math::SpatialCellCandidate::setStatus | ( | Status | status | ) |
|
staticprivate |
Unique identifier for candidates; useful for preserving current candidate following insertion.
Definition at line 123 of file SpatialCell.h.
|
private |
Definition at line 118 of file SpatialCell.h.
|
private |
Definition at line 119 of file SpatialCell.h.
|
private |
Definition at line 120 of file SpatialCell.h.
|
private |
Definition at line 121 of file SpatialCell.h.