LSST Applications g06d8191974+b5247657d3,g180d380827+b23588344e,g2079a07aa2+86d27d4dc4,g2305ad1205+0130fb9023,g29320951ab+7714a6b20a,g2bbee38e9b+0e5473021a,g337abbeb29+0e5473021a,g33d1c0ed96+0e5473021a,g3a166c0a6a+0e5473021a,g3ddfee87b4+8783ab7716,g48712c4677+72a8b1060b,g487adcacf7+bbaada240a,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+ecccb6240b,g5a732f18d5+53520f316c,g5ea96fc03c+33ab2bc355,g64a986408d+b5247657d3,g858d7b2824+b5247657d3,g8a8a8dda67+585e252eca,g99cad8db69+1453026da9,g9ddcbc5298+9a081db1e4,ga1e77700b3+15fc3df1f7,gb0e22166c9+60f28cb32d,gba4ed39666+c2a2e4ac27,gbb8dafda3b+3751ca9c65,gc120e1dc64+c91d1388df,gc28159a63d+0e5473021a,gc3e9b769f7+241adb7c58,gcf0d15dbbd+8783ab7716,gdaeeff99f8+f9a426f77a,ge6526c86ff+acdbe9a537,ge79ae78c31+0e5473021a,gee10cc3b42+585e252eca,gff1a9f87cc+b5247657d3,w.2024.17
LSST Data Management Base Package
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
Transform.cc File Reference
#include <memory>
#include <iostream>
#include <sstream>
#include <vector>
#include "astshim.h"
#include "lsst/afw/formatters/Utils.h"
#include "lsst/afw/geom/detail/transformUtils.h"
#include "lsst/afw/geom/Endpoint.h"
#include "lsst/afw/geom/Transform.h"
#include "lsst/afw/geom/SkyWcs.h"
#include "lsst/pex/exceptions/Exception.h"
#include "lsst/afw/table/io/CatalogVector.h"
#include "lsst/afw/table/io/OutputArchive.h"
#include "lsst/afw/table/io/Persistable.cc"

Go to the source code of this file.

Namespaces

namespace  lsst
 
namespace  lsst::afw
 
namespace  lsst::afw::geom
 

Macros

#define INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, NextToEndpoint)
 
#define INSTANTIATE_TRANSFORM(FromEndpoint, ToEndpoint)
 

Functions

template<class FromEndpoint , class ToEndpoint >
std::ostreamlsst::afw::geom::operator<< (std::ostream &os, Transform< FromEndpoint, ToEndpoint > const &transform)
 Print a Transform to an ostream.
 
template std::ostreamlsst::afw::geom::operator<<< GenericEndpoint, GenericEndpoint > (std::ostream &os, Transform< GenericEndpoint, GenericEndpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< GenericEndpoint, Point2Endpoint > (std::ostream &os, Transform< GenericEndpoint, Point2Endpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< GenericEndpoint, SpherePointEndpoint > (std::ostream &os, Transform< GenericEndpoint, SpherePointEndpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< Point2Endpoint, GenericEndpoint > (std::ostream &os, Transform< Point2Endpoint, GenericEndpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< Point2Endpoint, Point2Endpoint > (std::ostream &os, Transform< Point2Endpoint, Point2Endpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< Point2Endpoint, SpherePointEndpoint > (std::ostream &os, Transform< Point2Endpoint, SpherePointEndpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< SpherePointEndpoint, GenericEndpoint > (std::ostream &os, Transform< SpherePointEndpoint, GenericEndpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< SpherePointEndpoint, Point2Endpoint > (std::ostream &os, Transform< SpherePointEndpoint, Point2Endpoint > const &transform)
 
template std::ostreamlsst::afw::geom::operator<<< SpherePointEndpoint, SpherePointEndpoint > (std::ostream &os, Transform< SpherePointEndpoint, SpherePointEndpoint > const &transform)
 

Macro Definition Documentation

◆ INSTANTIATE_OVERLOADS

#define INSTANTIATE_OVERLOADS ( FromEndpoint,
ToEndpoint,
NextToEndpoint )
Value:
Transform<FromEndpoint, ToEndpoint>::then<NextToEndpoint>( \
Transform<ToEndpoint, NextToEndpoint> const &next, bool) const;

Definition at line 248 of file Transform.cc.

248#define INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, NextToEndpoint) \
249 template std::shared_ptr<Transform<FromEndpoint, NextToEndpoint>> \
250 Transform<FromEndpoint, ToEndpoint>::then<NextToEndpoint>( \
251 Transform<ToEndpoint, NextToEndpoint> const &next, bool) const;

◆ INSTANTIATE_TRANSFORM

#define INSTANTIATE_TRANSFORM ( FromEndpoint,
ToEndpoint )
Value:
} /* namespace geom */ \
table::io::PersistableFacade<geom::Transform<geom::FromEndpoint, geom::ToEndpoint>>::dynamicCast( \
namespace geom { \
template class Transform<FromEndpoint, ToEndpoint>; \
template std::ostream &operator<<<FromEndpoint, ToEndpoint>( \
std::ostream &os, Transform<FromEndpoint, ToEndpoint> const &transform); \
namespace { \
TransformFactory<FromEndpoint, ToEndpoint> registration##FromEndpoint##ToEndpoint( \
} /* namespace */ \
INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, GenericEndpoint) \
INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, Point2Endpoint) \
INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, SpherePointEndpoint)
static std::string getShortClassName()
Return a short version of the class name with no punctuation.
Definition Transform.cc:137

Definition at line 253 of file Transform.cc.

253#define INSTANTIATE_TRANSFORM(FromEndpoint, ToEndpoint) \
254 } /* namespace geom */ \
255 template std::shared_ptr<geom::Transform<geom::FromEndpoint, geom::ToEndpoint>> \
256 table::io::PersistableFacade<geom::Transform<geom::FromEndpoint, geom::ToEndpoint>>::dynamicCast( \
257 std::shared_ptr<table::io::Persistable> const &); \
258 namespace geom { \
259 template class Transform<FromEndpoint, ToEndpoint>; \
260 template std::ostream &operator<<<FromEndpoint, ToEndpoint>( \
261 std::ostream &os, Transform<FromEndpoint, ToEndpoint> const &transform); \
262 namespace { \
263 TransformFactory<FromEndpoint, ToEndpoint> registration##FromEndpoint##ToEndpoint( \
264 Transform<FromEndpoint, ToEndpoint>::getShortClassName()); \
265 } /* namespace */ \
266 INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, GenericEndpoint) \
267 INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, Point2Endpoint) \
268 INSTANTIATE_OVERLOADS(FromEndpoint, ToEndpoint, SpherePointEndpoint)

Variable Documentation

◆ bytes

table::Key<table::Array<std::uint8_t> > bytes

Definition at line 198 of file Transform.cc.

◆ schema

table::Schema schema

Definition at line 197 of file Transform.cc.