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 Member Functions | Private Types | List of all members
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename > 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< typename, typename, typename >:
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 >::typeconst &img, detail::const_locator_type< MaskLocator >::typeconst &msk, detail::const_locator_type< VarianceLocator >::typeconst &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 ()
 
y_iterator y ()
 
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...
 
MaskedImageLocatorBaseoperator+= (pair2I const &p)
 Increment the locator's x and y positions by p. More...
 
MaskedImageLocatorBaseoperator+= (detail::difference_type p)
 Increment the locator's x and y positions by p. More...
 

Private Types

typedef
detail::const_locator_type
< ImageLocator >::type 
const_ImageLocator
 
typedef
detail::const_locator_type
< MaskLocator >::type 
const_MaskLocator
 
typedef
detail::const_locator_type
< VarianceLocator >::type 
const_VarianceLocator
 
typedef MaskedImageLocatorBase
< const_ImageLocator,
const_MaskLocator,
const_VarianceLocator,
ConstReference
MaskedImageLocatorBase_t
 

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, typename, typename>
class lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename >

A const locator for the MaskedImage.

A const locator for a MaskedImage.

Definition at line 115 of file MaskedImage.h.

Member Typedef Documentation

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename , typename , typename >
typedef detail::const_locator_type<ImageLocator>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename >::const_ImageLocator
private

Definition at line 543 of file MaskedImage.h.

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename , typename , typename >
typedef detail::const_locator_type<MaskLocator>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename >::const_MaskLocator
private

Definition at line 544 of file MaskedImage.h.

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename , typename , typename >
typedef detail::const_locator_type<VarianceLocator>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename >::const_VarianceLocator
private

Definition at line 545 of file MaskedImage.h.

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename , typename , typename >
typedef MaskedImageLocatorBase<const_ImageLocator, const_MaskLocator, const_VarianceLocator, ConstReference> lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::const_MaskedImageLocator< typename, typename, typename >::MaskedImageLocatorBase_t
private

Definition at line 548 of file MaskedImage.h.

Constructor & Destructor Documentation

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

Definition at line 550 of file MaskedImage.h.

550  :
551  MaskedImageLocatorBase_t(const_ImageLocator(iter._loc.template get<0>()),
552  const_MaskLocator(iter._loc.template get<1>()),
553  const_VarianceLocator(iter._loc.template get<2>())
554  ) {
555  ;
556  }
int iter
detail::const_locator_type< MaskLocator >::type const_MaskLocator
Definition: MaskedImage.h:544
detail::const_locator_type< ImageLocator >::type const_ImageLocator
Definition: MaskedImage.h:543
MaskedImageLocatorBase< const_ImageLocator, const_MaskLocator, const_VarianceLocator, ConstReference > MaskedImageLocatorBase_t
Definition: MaskedImage.h:548
detail::const_locator_type< VarianceLocator >::type const_VarianceLocator
Definition: MaskedImage.h:545

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