lsst.afw  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
lsst::afw::math::SpatialCellImageCandidate Class Reference

Base class for candidate objects in a SpatialCell that are able to return an Image of some sort (e.g. More...

#include <SpatialCell.h>

Inheritance diagram for lsst::afw::math::SpatialCellImageCandidate:
lsst::afw::math::SpatialCellCandidate

Public Member Functions

 SpatialCellImageCandidate (float const xCenter, float const yCenter)
 ctor More...
 
virtual ~SpatialCellImageCandidate ()
 
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 ()
 (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...
 

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...
 

Additional Inherited Members

- Public Types inherited from lsst::afw::math::SpatialCellCandidate
enum  Status { BAD = 0, GOOD = 1, UNKNOWN = 2 }
 

Detailed Description

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)

Examples:
testSpatialCell.h.

Definition at line 121 of file SpatialCell.h.

Constructor & Destructor Documentation

lsst::afw::math::SpatialCellImageCandidate::SpatialCellImageCandidate ( float const  xCenter,
float const  yCenter 
)
inline

ctor

Parameters
xCenterThe object's column-centre
yCenterThe object's row-centre

Definition at line 124 of file SpatialCell.h.

virtual lsst::afw::math::SpatialCellImageCandidate::~SpatialCellImageCandidate ( )
inlinevirtual

Definition at line 128 of file SpatialCell.h.

Member Function Documentation

double lsst::afw::math::SpatialCellImageCandidate::getChi2 ( ) const
inline

Return the candidate's chi^2.

Definition at line 141 of file SpatialCell.h.

static int lsst::afw::math::SpatialCellImageCandidate::getHeight ( )
inlinestatic

Return the height of the image that getImage should return.

Definition at line 138 of file SpatialCell.h.

static int lsst::afw::math::SpatialCellImageCandidate::getWidth ( )
inlinestatic

Return the width of the image that getImage should return.

Definition at line 133 of file SpatialCell.h.

void lsst::afw::math::SpatialCellImageCandidate::setChi2 ( double  chi2)
inline

Set the candidate's chi^2.

Definition at line 143 of file SpatialCell.h.

static void lsst::afw::math::SpatialCellImageCandidate::setHeight ( int  height)
inlinestatic

Set the height of the image that getImage should return.

Definition at line 136 of file SpatialCell.h.

static void lsst::afw::math::SpatialCellImageCandidate::setWidth ( int  width)
inlinestatic

Set the width of the image that getImage should return.

Definition at line 131 of file SpatialCell.h.


The documentation for this class was generated from the following files: