lsst.afw  13.0-94-ga1c444047
Public Member Functions | List of all members
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator > Class Template Reference

A const locator for the MaskedImage. More...

#include <MaskedImage.h>

Inheritance diagram for lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator >:
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< detail::const_locator_type< ImageLocator >::type, detail::const_locator_type< MaskLocator >::type, detail::const_locator_type< VarianceLocator >::type, ConstReference >

Public Member Functions

 const_MaskedImageLocator (MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator > const &iter)
 
- Public Member Functions inherited from lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< detail::const_locator_type< ImageLocator >::type, detail::const_locator_type< MaskLocator >::type, detail::const_locator_type< VarianceLocator >::type, ConstReference >
 MaskedImageLocatorBase (detail::const_locator_type< ImageLocator >::type const &img, detail::const_locator_type< MaskLocator >::type const &msk, detail::const_locator_type< VarianceLocator >::type const &var)
 Construct a MaskedImageLocator from image/mask/variance locators. More...
 
Pixel operator* ()
 Dereference a locator, returning a Pixel. More...
 
Pixel operator() (int x, int y)
 Dereference a locator, returning a Pixel offset by (x, y) from the locator. More...
 
Pixel operator[] (cached_location_t const &cached_loc)
 Dereference a locator, returning a Pixel offset by the amount set when we created the cached_location_t More...
 
x_iterator x ()
 Return an iterator that can be used to move (or dereference) a locator. More...
 
y_iterator y ()
 Return an iterator that can be used to move (or dereference) a locator. More...
 
cached_location_t cache_location (int x, int y) const
 Create a cached_location_t offset by (x, y) from locator. More...
 
ConstReference< typename boost::mpl::at< PixelTVec, N >::type >::type apply_IMV (cached_location_t const &cached_loc)
 
ConstReference< typename boost::mpl::at< PixelTVec, N >::type >::type apply_IMV ()
 
ConstReference< typename boost::mpl::at< PixelTVec, N >::type >::type apply_IMV (int x, int y)
 
ConstReference< ImagePixelT >::type image (cached_location_t const &cached_loc)
 Return a reference to the image at the offset set when we created the cached_location_t More...
 
ConstReference< ImagePixelT >::type image ()
 Return a reference to the image at the current position of the locator. More...
 
ConstReference< ImagePixelT >::type image (int x, int y)
 Return a reference to the image offset by (x, y) from the current position of the locator. More...
 
ConstReference< MaskPixelT >::type mask (cached_location_t const &cached_loc)
 Return a reference to the mask at the offset set when we created the cached_location_t More...
 
ConstReference< MaskPixelT >::type mask ()
 Return a reference to the mask at the current position of the locator. More...
 
ConstReference< MaskPixelT >::type mask (int x, int y)
 Return a reference to the mask offset by (x, y) from the current position of the locator. More...
 
ConstReference< VariancePixelT >::type variance (cached_location_t const &cached_loc)
 Return a reference to the variance at the offset set when we created the cached_location_t More...
 
ConstReference< VariancePixelT >::type variance ()
 Return a reference to the variance at the current position of the locator. More...
 
ConstReference< VariancePixelT >::type variance (int x, int y)
 Return a reference to the variance offset by (x, y) from the current position of the locator. More...
 
bool operator== (MaskedImageLocatorBase const &rhs)
 Return true iff two locators are equal. More...
 
bool operator!= (MaskedImageLocatorBase const &rhs)
 Return true iff two locators are not equal. More...
 
bool operator< (MaskedImageLocatorBase const &rhs)
 Return true iff lhs is less than rhs. More...
 
MaskedImageLocatorBase & operator+= (pair2I const &p)
 Increment the locator's x and y positions by p More...
 
MaskedImageLocatorBase & operator+= (detail::difference_type p)
 Increment the locator's x and y positions by p More...
 
IMVLocator const & getLoc () const
 

Additional Inherited Members

- Public Types inherited from lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< detail::const_locator_type< ImageLocator >::type, detail::const_locator_type< MaskLocator >::type, detail::const_locator_type< VarianceLocator >::type, ConstReference >
typedef boost::tuple< typename detail::const_locator_type< ImageLocator >::type ::cached_location_t, typename detail::const_locator_type< MaskLocator >::type ::cached_location_t, typename detail::const_locator_type< VarianceLocator >::type ::cached_location_t > IMVCachedLocation
 
typedef _x_or_y_iterator< apply_x > x_iterator
 An x_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) More...
 
typedef _x_or_y_iterator< apply_y > y_iterator
 A y_iterator that provides a view of the xy_locator (i.e. advancing one advances the other) More...
 
typedef boost::mpl::vector< ImagePixelT, MaskPixelT, VariancePixelT > PixelTVec
 
- Protected Attributes inherited from lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< detail::const_locator_type< ImageLocator >::type, detail::const_locator_type< MaskLocator >::type, detail::const_locator_type< VarianceLocator >::type, ConstReference >
IMVLocator _loc
 

Detailed Description

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator>
class lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator >

A const locator for the MaskedImage.

A const locator for a MaskedImage.

Definition at line 116 of file MaskedImage.h.

Constructor & Destructor Documentation

◆ const_MaskedImageLocator()

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator , typename MaskLocator , typename VarianceLocator >
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator >::const_MaskedImageLocator ( MaskedImageLocator< ImageLocator, MaskLocator, VarianceLocator > const &  iter)
inline

Definition at line 536 of file MaskedImage.h.


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