|
lsst.afw
14.0-60-ga423a1d65+2
|
A 2D transform for which the pixel distortions in the in the x- and y-directions are separable. More...
#include <SeparableXYTransform.h>
Public Types | |
| typedef afw::geom::Point2D | Point2D |
| typedef afw::geom::AffineTransform | AffineTransform |
| typedef unsigned long | memId |
| typedef memId(* | memNewCallback) (const memId cid) |
| typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
| SeparableXYTransform (Functor const &xfunctor, Functor const &yfunctor) | |
| SeparableXYTransform (SeparableXYTransform const &) | |
| SeparableXYTransform (SeparableXYTransform &&) | |
| SeparableXYTransform & | operator= (SeparableXYTransform const &) |
| SeparableXYTransform & | operator= (SeparableXYTransform &&) |
| virtual | ~SeparableXYTransform ()=default |
| virtual std::shared_ptr< XYTransform > | clone () const |
| returns a deep copy More... | |
| virtual Point2D | forwardTransform (Point2D const &point) const |
| virtual Point2D | reverseTransform (Point2D const &point) const |
| Functor const & | getXfunctor () const |
| Functor const & | getYfunctor () const |
| virtual std::shared_ptr< XYTransform > | invert () const |
| returns a "deep inverse" in this sense that the forward+inverse transforms do not share state default implementation; subclass may override More... | |
| virtual AffineTransform | linearizeForwardTransform (Point2D const &point) const |
| linearized forward and reversed transforms More... | |
| virtual AffineTransform | linearizeReverseTransform (Point2D const &point) const |
| default implementation; subclass may override More... | |
| std::string | repr () const |
| void | markPersistent (void) |
| memId | getId () const |
Static Public Member Functions | |
| static bool | hasBeenCorrupted () |
| static memId | getNextMemId () |
| static int | init () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static memId | setNewCallbackId (memId id) |
| static memId | setNewCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memNewCallback | setNewCallback (memNewCallback func) |
| static memCallback | setDeleteCallback (memCallback func) |
| static memCallback | setCorruptionCallback (memCallback func) |
Public Attributes | |
| magicSentinel | |
A 2D transform for which the pixel distortions in the in the x- and y-directions are separable.
The transformations in each direction are implemented as separate instances of concrete subclasses of the Functor base class.
Definition at line 52 of file SeparableXYTransform.h.
|
inherited |
Definition at line 52 of file XYTransform.h.
|
inherited |
Definition at line 51 of file XYTransform.h.
| lsst::afw::geom::SeparableXYTransform::SeparableXYTransform | ( | SeparableXYTransform const & | ) |
| lsst::afw::geom::SeparableXYTransform::SeparableXYTransform | ( | SeparableXYTransform && | ) |
|
virtualdefault |
|
virtual |
returns a deep copy
Implements lsst::afw::geom::XYTransform.
|
virtual |
| point | The Point2D location in sensor coordinates in units of pixels. This corresponds to the location on the sensor in the absence of the pixel distortions. |
Implements lsst::afw::geom::XYTransform.
| Functor const& lsst::afw::geom::SeparableXYTransform::getXfunctor | ( | ) | const |
| Functor const& lsst::afw::geom::SeparableXYTransform::getYfunctor | ( | ) | const |
|
virtualinherited |
returns a "deep inverse" in this sense that the forward+inverse transforms do not share state default implementation; subclass may override
Reimplemented in lsst::afw::geom::RadialXYTransform, and lsst::afw::geom::InvertedXYTransform.
|
virtualinherited |
linearized forward and reversed transforms
These are virtual but not pure virtual; there is a default implementation which calls forwardTransform() or reverseTransform() and takes finite differences with step size equal to one.
The following should always be satisfied for an arbitrary Point2D p (and analogously for the reverse transform) this->forwardTransform(p) == this->linearizeForwardTransform(p)(p);default implementation; subclass may override
Reimplemented in lsst::afw::geom::RadialXYTransform, lsst::afw::geom::AffineXYTransform, lsst::afw::geom::MultiXYTransform, lsst::afw::geom::InvertedXYTransform, and lsst::afw::geom::IdentityXYTransform.
|
virtualinherited |
default implementation; subclass may override
Reimplemented in lsst::afw::geom::RadialXYTransform, lsst::afw::geom::AffineXYTransform, lsst::afw::geom::MultiXYTransform, lsst::afw::geom::InvertedXYTransform, and lsst::afw::geom::IdentityXYTransform.
| SeparableXYTransform& lsst::afw::geom::SeparableXYTransform::operator= | ( | SeparableXYTransform const & | ) |
| SeparableXYTransform& lsst::afw::geom::SeparableXYTransform::operator= | ( | SeparableXYTransform && | ) |
|
virtual |
| point | The Point2D location in sensor coordinates. This corresponds to the actual location of charge deposition, i.e., with the pixel distortions applied. |
Implements lsst::afw::geom::XYTransform.
1.8.13