#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:
void reset() { _n = _npix = 0; }
++_n;
}
int getN() const { return _n; }
int getNPix() const { return _npix; }
private:
int _n;
int _npix;
};
#endif