|
lsst.afw
14.0-25-g0e8fc950e+7
|
Base class for candidate objects in a SpatialCell. More...
#include <SpatialCell.h>
Public Types | |
| enum | Status { BAD = 0, GOOD = 1, UNKNOWN = 2 } |
Public Member Functions | |
| SpatialCellCandidate (float const xCenter, float const yCenter) | |
| virtual | ~SpatialCellCandidate () |
| (virtual) destructor – this is a base class you know More... | |
| 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... | |
Base class for candidate objects in a SpatialCell.
Definition at line 70 of file SpatialCell.h.
| Enumerator | |
|---|---|
| BAD | |
| GOOD | |
| UNKNOWN | |
Definition at line 72 of file SpatialCell.h.
|
inline |
| xCenter | The object's column-centre |
| yCenter | The object's row-centre |
Definition at line 74 of file SpatialCell.h.
|
inlinevirtual |
(virtual) destructor – this is a base class you know
Definition at line 82 of file SpatialCell.h.
|
pure virtual |
Return candidate's rating.
|
inline |
Return the candidate's unique ID.
Definition at line 99 of file SpatialCell.h.
|
inline |
Return the candidate's status.
Definition at line 101 of file SpatialCell.h.
|
inline |
Return the object's column-centre.
Definition at line 85 of file SpatialCell.h.
|
inline |
Return the object's row-centre.
Definition at line 88 of file SpatialCell.h.
|
inlinevirtual |
Do anything needed to make this candidate usable.
Definition at line 91 of file SpatialCell.h.
|
inlinevirtual |
Is this candidate unacceptable?
Definition at line 105 of file SpatialCell.h.
|
inlinevirtual |
Set the candidate's rating.
Definition at line 96 of file SpatialCell.h.
| void lsst::afw::math::SpatialCellCandidate::setStatus | ( | Status | status | ) |
Set the candidate's status.
Definition at line 54 of file SpatialCell.cc.
1.8.13