|
lsst.afw g3a5ebb7d8a+28b83bf6a5
|
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) | |
| SpatialCellCandidate (SpatialCellCandidate const &)=default | |
| SpatialCellCandidate (SpatialCellCandidate &&)=default | |
| virtual | ~SpatialCellCandidate ()=default |
| (virtual) destructor – this is a base class you know | |
| float | getXCenter () const |
| Return the object's column-centre. | |
| float | getYCenter () const |
| Return the object's row-centre. | |
| virtual bool | instantiate () |
| Do anything needed to make this candidate usable. | |
| virtual double | getCandidateRating () const =0 |
| Return candidate's rating. | |
| virtual void | setCandidateRating (double) |
| Set the candidate's rating. | |
| int | getId () const |
| Return the candidate's unique ID. | |
| Status | getStatus () const |
| Return the candidate's status. | |
| void | setStatus (Status status) |
| Set the candidate's status. | |
| virtual bool | isBad () const |
| Is this candidate unacceptable? | |
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.
|
default |
|
default |
|
virtualdefault |
(virtual) destructor – this is a base class you know
|
pure virtual |
Return candidate's rating.
|
inline |
Return the candidate's unique ID.
Definition at line 102 of file SpatialCell.h.
|
inline |
Return the candidate's status.
Definition at line 104 of file SpatialCell.h.
|
inline |
Return the object's column-centre.
Definition at line 88 of file SpatialCell.h.
|
inline |
Return the object's row-centre.
Definition at line 91 of file SpatialCell.h.
|
inlinevirtual |
Do anything needed to make this candidate usable.
Definition at line 94 of file SpatialCell.h.
|
inlinevirtual |
Is this candidate unacceptable?
Definition at line 108 of file SpatialCell.h.
|
inlinevirtual |
Set the candidate's rating.
Definition at line 99 of file SpatialCell.h.
| void lsst::afw::math::SpatialCellCandidate::setStatus | ( | Status | status | ) |
Set the candidate's status.
Definition at line 52 of file SpatialCell.cc.