#if !defined(TESTSPATIALCELL_H)
#define TESTSPATIALCELL_H
#include <memory>
#include "lsst/pex/policy.h"
public:
typedef float PixelT;
ExampleCandidate(float const xCenter, float const yCenter, std::shared_ptr<MaskedImageT const> parent,
std::shared_ptr<MaskedImageT const> getMaskedImage() const;
private:
mutable std::shared_ptr<MaskedImageT> _image;
std::shared_ptr<MaskedImageT const> _parent;
};
public:
ExampleCandidateVisitor() : lsst::afw::math::CandidateVisitor(),
_n(0), _npix(0) {}
}
int getN()
const {
return _n; }
int getNPix() const { return _npix; }
private:
int _npix;
};
#endif