lsst.afw  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
lsst::afw::geom::SeparableXYTransform Class Reference

A 2D transform for which the pixel distortions in the in the x- and y-directions are separable. More...

#include <SeparableXYTransform.h>

Inheritance diagram for lsst::afw::geom::SeparableXYTransform:
lsst::afw::geom::XYTransform

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
 
- Public Member Functions inherited from lsst::afw::geom::XYTransform
 XYTransform ()
 
virtual ~XYTransform ()
 
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...
 

Additional Inherited Members

- Public Types inherited from lsst::afw::geom::XYTransform
typedef afw::geom::Point2D Point2D
 
typedef afw::geom::AffineTransform AffineTransform
 

Detailed Description

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 47 of file SeparableXYTransform.h.

Constructor & Destructor Documentation

lsst::afw::geom::SeparableXYTransform::SeparableXYTransform ( Functor const &  xfunctor,
Functor const &  yfunctor 
)
Parameters
xfunctorFunctor describing the transformation from nominal pixels to actual pixels in the x-direction.
yfunctorFunctor describing the transformation from nominal pixels to actual pixels in the y-direction.
virtual lsst::afw::geom::SeparableXYTransform::~SeparableXYTransform ( )
inlinevirtual

Definition at line 56 of file SeparableXYTransform.h.

Member Function Documentation

virtual std::shared_ptr<XYTransform> lsst::afw::geom::SeparableXYTransform::clone ( ) const
virtual

returns a deep copy

Implements lsst::afw::geom::XYTransform.

virtual Point2D lsst::afw::geom::SeparableXYTransform::forwardTransform ( Point2D const &  point) const
virtual
Parameters
pointThe Point2D location in sensor coordinates in units of pixels. This corresponds to the location on the sensor in the absence of the pixel distortions.
Returns
The transformed Point2D in sensor coordinates in units of pixels.

Implements lsst::afw::geom::XYTransform.

Functor const& lsst::afw::geom::SeparableXYTransform::getXfunctor ( ) const
Returns
Const reference to the xfunctor.
Functor const& lsst::afw::geom::SeparableXYTransform::getYfunctor ( ) const
Returns
Const reference to the yfunctor.
virtual Point2D lsst::afw::geom::SeparableXYTransform::reverseTransform ( Point2D const &  point) const
virtual
Parameters
pointThe Point2D location in sensor coordinates. This corresponds to the actual location of charge deposition, i.e., with the pixel distortions applied.
Returns
The un-transformed Point2D in sensor coordinates.

Implements lsst::afw::geom::XYTransform.


The documentation for this class was generated from the following file: