LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Types | Public Member Functions | List of all members
lsst::afw::math::detail::PositionFunctor Class Referenceabstract

Base class to transform pixel position for a destination image to its position in the original source image. More...

#include <PositionFunctor.h>

Inheritance diagram for lsst::afw::math::detail::PositionFunctor:
lsst::afw::math::detail::AffineTransformPositionFunctor lsst::afw::math::detail::WcsPositionFunctor

Public Types

typedef boost::shared_ptr
< PositionFunctor
Ptr
 

Public Member Functions

 PositionFunctor ()
 
virtual ~PositionFunctor ()
 
virtual lsst::afw::geom::Point2D operator() (int destCol, int destRow) const =0
 

Detailed Description

Base class to transform pixel position for a destination image to its position in the original source image.

The different possible transform definitions (from WCS to WCS, or via AffineTransform) are handled through derived classes, and are used in warping. When computing a warped image, one iterates over the pixels in the destination image and must ask 'for the value I wish to put here, where should I go to find it in the source image?'. Instantiating a Functor derived from this base class creates a callable function which accepts (destination) col,row and returns (source image) col,row (in the form of a Point2D).

Definition at line 58 of file PositionFunctor.h.

Member Typedef Documentation

Definition at line 60 of file PositionFunctor.h.

Constructor & Destructor Documentation

lsst::afw::math::detail::PositionFunctor::PositionFunctor ( )
inlineexplicit

Definition at line 62 of file PositionFunctor.h.

62 {};
virtual lsst::afw::math::detail::PositionFunctor::~PositionFunctor ( )
inlinevirtual

Definition at line 63 of file PositionFunctor.h.

63 {};

Member Function Documentation

virtual lsst::afw::geom::Point2D lsst::afw::math::detail::PositionFunctor::operator() ( int  destCol,
int  destRow 
) const
pure virtual

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