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 | Protected Attributes | List of all members
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y > Class Template Reference

Public Member Functions

 _x_or_y_iterator (MaskedImageLocatorBase *mil)
 
void operator+= (const int di)
 
void operator++ ()
 
bool operator== (_x_or_y_iterator const &rhs)
 
bool operator!= (_x_or_y_iterator const &rhs)
 
bool operator< (_x_or_y_iterator const &rhs)
 
Pixel operator* ()
 
Ref< ImagePixelT >::type image ()
 
Ref< MaskPixelT >::type mask ()
 
Ref< VariancePixelT >::type variance ()
 

Protected Attributes

MaskedImageLocatorBase_mil
 

Detailed Description

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
class lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >

Definition at line 282 of file MaskedImage.h.

Constructor & Destructor Documentation

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::_x_or_y_iterator ( MaskedImageLocatorBase mil)
inline

Definition at line 284 of file MaskedImage.h.

Member Function Documentation

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
Ref<ImagePixelT>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::image ( )
inline

Definition at line 325 of file MaskedImage.h.

325  {
326  // Equivalent to "return (*_mil->_loc.template get<0>().x())[0];"
327 
328  return (*(X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())()))[0];
329  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
Ref<MaskPixelT>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::mask ( )
inline

Definition at line 330 of file MaskedImage.h.

330  {
331  return (*(X_OR_Y<MaskLocator>(_mil->_loc.template get<1>())()))[0];
332  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
bool lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator!= ( _x_or_y_iterator< X_OR_Y > const &  rhs)
inline

Definition at line 306 of file MaskedImage.h.

306  {
307  return
308  X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())() !=
309  X_OR_Y<ImageLocator>(rhs._mil->_loc.template get<0>())();
310 
311  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
Pixel lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator* ( )
inline

Definition at line 319 of file MaskedImage.h.

319  {
320  return Pixel((*(X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())()))[0],
321  (*(X_OR_Y<MaskLocator>(_mil->_loc.template get<1>())()))[0],
322  (*(X_OR_Y<VarianceLocator>(_mil->_loc.template get<2>())()))[0]);
323  }
lsst::afw::image::pixel::Pixel< ImagePixelT, MaskPixelT, VariancePixelT > Pixel
A Pixel in the MaskedImage.
Definition: MaskedImage.h:115
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator++ ( )
inline

Definition at line 293 of file MaskedImage.h.

293  { // prefix
294  // Equivalent to "++_mil->_loc.template get<0>().x();"
295  ++X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())();
296  ++X_OR_Y<MaskLocator>(_mil->_loc.template get<1>())();
297  ++X_OR_Y<VarianceLocator>(_mil->_loc.template get<2>())();
298  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
void lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator+= ( const int  di)
inline

Definition at line 286 of file MaskedImage.h.

286  {
287  // Equivalent to "_mil->_loc.template get<0>().x() += di;"
288  X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())() += di;
289  X_OR_Y<MaskLocator>(_mil->_loc.template get<1>())() += di;
290  X_OR_Y<VarianceLocator>(_mil->_loc.template get<2>())() += di;
291  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
bool lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator< ( _x_or_y_iterator< X_OR_Y > const &  rhs)
inline

Definition at line 312 of file MaskedImage.h.

312  {
313  return
314  X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())() <
315  X_OR_Y<ImageLocator>(rhs._mil->_loc.template get<0>())();
316 
317  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
bool lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::operator== ( _x_or_y_iterator< X_OR_Y > const &  rhs)
inline

Definition at line 300 of file MaskedImage.h.

300  {
301  return
302  X_OR_Y<ImageLocator>(_mil->_loc.template get<0>())() ==
303  X_OR_Y<ImageLocator>(rhs._mil->_loc.template get<0>())();
304 
305  }
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
Ref<VariancePixelT>::type lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::variance ( )
inline

Definition at line 333 of file MaskedImage.h.

333  {
334  return (*(X_OR_Y<VarianceLocator>(_mil->_loc.template get<2>())()))[0];
335  }

Member Data Documentation

template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageLocator, typename MaskLocator, typename VarianceLocator, template< typename > class Ref = Reference>
template<template< typename > class X_OR_Y>
MaskedImageLocatorBase* lsst::afw::image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageLocatorBase< ImageLocator, MaskLocator, VarianceLocator, Ref >::_x_or_y_iterator< X_OR_Y >::_mil
protected

Definition at line 337 of file MaskedImage.h.


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