lsst.afw  13.0-91-g2a3e2ee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
lsst::afw::image::XYTransformFromWcsPair Class Reference

XYTransformFromWcsPair: An XYTransform obtained by putting two Wcs objects "back to back". More...

#include <Wcs.h>

Inheritance diagram for lsst::afw::image::XYTransformFromWcsPair:
lsst::afw::geom::XYTransform

Public Member Functions

 XYTransformFromWcsPair (std::shared_ptr< Wcs const > dst, std::shared_ptr< Wcs const > src)
 
virtual ~XYTransformFromWcsPair ()
 
virtual std::shared_ptr
< afw::geom::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 std::shared_ptr
< afw::geom::XYTransform > 
clone () const
 The following methods are needed to devirtualize the XYTransform parent class. More...
 
virtual Point2D forwardTransform (Point2D const &pixel) const
 virtuals for forward and reverse transforms More...
 
virtual Point2D reverseTransform (Point2D const &pixel) const
 
- Public Member Functions inherited from lsst::afw::geom::XYTransform
 XYTransform ()
 
virtual ~XYTransform ()
 
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...
 

Protected Attributes

std::shared_ptr< Wcs const > _dst
 
std::shared_ptr< Wcs const > _src
 
bool const _isSameSkySystem
 

Additional Inherited Members

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

Detailed Description

XYTransformFromWcsPair: An XYTransform obtained by putting two Wcs objects "back to back".

Eventually there will be an XYTransform subclass which represents a camera distortion. For now we can get a SIP camera distortion in a clunky way, by using an XYTransformFromWcsPair with a SIP-distorted TanWcs and an undistorted Wcs.

Definition at line 503 of file Wcs.h.

Constructor & Destructor Documentation

lsst::afw::image::XYTransformFromWcsPair::XYTransformFromWcsPair ( std::shared_ptr< Wcs const >  dst,
std::shared_ptr< Wcs const >  src 
)

Definition at line 1162 of file Wcs.cc.

virtual lsst::afw::image::XYTransformFromWcsPair::~XYTransformFromWcsPair ( )
inlinevirtual

Definition at line 506 of file Wcs.h.

Member Function Documentation

std::shared_ptr< geom::XYTransform > lsst::afw::image::XYTransformFromWcsPair::clone ( void  ) const
virtual

The following methods are needed to devirtualize the XYTransform parent class.

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

Definition at line 1165 of file Wcs.cc.

geom::Point2D lsst::afw::image::XYTransformFromWcsPair::forwardTransform ( Point2D const &  point) const
virtual

virtuals for forward and reverse transforms

These routines are responsible for throwing exceptions if the 'point' arg is outside the domain of the transform.

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

Definition at line 1169 of file Wcs.cc.

std::shared_ptr< geom::XYTransform > lsst::afw::image::XYTransformFromWcsPair::invert ( ) const
virtual

returns a "deep inverse" in this sense that the forward+inverse transforms do not share state default implementation; subclass may override

Reimplemented from lsst::afw::geom::XYTransform.

Definition at line 1193 of file Wcs.cc.

geom::Point2D lsst::afw::image::XYTransformFromWcsPair::reverseTransform ( Point2D const &  pixel) const
virtual

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

Definition at line 1181 of file Wcs.cc.

Member Data Documentation

std::shared_ptr<Wcs const> lsst::afw::image::XYTransformFromWcsPair::_dst
protected

Definition at line 516 of file Wcs.h.

bool const lsst::afw::image::XYTransformFromWcsPair::_isSameSkySystem
protected

Definition at line 518 of file Wcs.h.

std::shared_ptr<Wcs const> lsst::afw::image::XYTransformFromWcsPair::_src
protected

Definition at line 517 of file Wcs.h.


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