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
|
Base class to transform pixel position for a destination image to its position in the original source image. More...
#include <PositionFunctor.h>
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 |
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.
typedef boost::shared_ptr<PositionFunctor> lsst::afw::math::detail::PositionFunctor::Ptr |
Definition at line 60 of file PositionFunctor.h.
|
inlineexplicit |
Definition at line 62 of file PositionFunctor.h.
|
inlinevirtual |
Definition at line 63 of file PositionFunctor.h.
|
pure virtual |