25 #ifndef LSST_AFW_MATH_KernelPersistenceHelper_h_INCLUDED
26 #define LSST_AFW_MATH_KernelPersistenceHelper_h_INCLUDED
34 namespace lsst {
namespace afw {
namespace math {
53 afw::
table::BaseRecord & record,
58 afw::
table::io::InputArchive const & archive,
59 afw::
table::BaseRecord const & record
65 #endif // !LSST_AFW_MATH_KernelPersistenceHelper_h_INCLUDED)
Defines the fields and offsets for a table.
Declare the Kernel class and subclasses.
boost::shared_ptr< lsst::afw::math::Function2< double > > SpatialFunctionPtr
An object passed to Persistable::write to allow it to persist itself.
boost::shared_ptr< afw::table::BaseRecord > write(afw::table::io::OutputArchiveHandle &handle, Kernel const &kernel) const
afw::table::Key< afw::table::Array< int > > spatialFunctions
afw::table::Schema schema
std::map< Citizen const *, CitizenInfo > table
PersistenceHelper(int nSpatialFunctions)
afw::table::PointKey< int > dimensions
std::vector< SpatialFunctionPtr > readSpatialFunctions(afw::table::io::InputArchive const &archive, afw::table::BaseRecord const &record) const
Base class for all records.
A class used as a handle to a particular field in a table.
void writeSpatialFunctions(afw::table::io::OutputArchiveHandle &handle, afw::table::BaseRecord &record, std::vector< SpatialFunctionPtr > const &spatialFunctionList) const
afw::table::PointKey< int > center
Kernels are used for convolution with MaskedImages and (eventually) Images.