|
lsst.afw
13.0-101-g894215678
|
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 |
Public Member Functions | |
| SeparableXYTransform (Functor const &xfunctor, Functor const &yfunctor) | |
| virtual | ~SeparableXYTransform () |
| 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... | |
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.
|
inlinevirtual |
Definition at line 61 of file SeparableXYTransform.h.
|
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::image::XYTransformFromWcsPair, 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.
|
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