25 #ifndef LSST_AFW_FORMATTERS_TANWCSFORMATTER_H
26 #define LSST_AFW_FORMATTERS_TANWCSFORMATTER_H
32 #include "lsst/daf/base.h"
33 #include "lsst/daf/persistence.h"
42 namespace formatters {
52 virtual void write(lsst::daf::base::Persistable
const* persistable,
53 std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
54 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
55 virtual lsst::daf::base::Persistable*
read(std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
56 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
57 virtual void update(lsst::daf::base::Persistable* persistable,
58 std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
59 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
63 static std::shared_ptr<lsst::daf::persistence::Formatter>
createInstance(
64 std::shared_ptr<lsst::pex::policy::Policy> policy);
66 template <
class Archive>
70 explicit TanWcsFormatter(std::shared_ptr<lsst::pex::policy::Policy> policy);
72 static lsst::daf::persistence::FormatterRegistration registration;
Implementation of the WCS standard for the special case of the Gnomonic (tangent plane) projection...