Template Class MaskedImage::MaskedImageIteratorBase¶
Defined in File MaskedImage.h
Nested Relationships¶
This class is a nested type of Template Class MaskedImage.
Class Documentation¶
-
template<typename
ImageIterator
, typenameMaskIterator
, typenameVarianceIterator
, template<typename> classRef
= Reference>
classMaskedImageIteratorBase
The base class for MaskedImageIterators (const and non-const)
Public Types
-
template<>
typedef boost::zip_iterator<IMV_iterator_tuple>::referenceIMV_tuple
The underlying iterator tuple
- Note
not really for public consumption; could be made protected
-
template<>
typedef Pixeltype
Type pointed to by the iterator.
Public Functions
-
template<>
MaskedImageIteratorBase
(ImageIterator const &img, MaskIterator const &msk, VarianceIterator const &var) Construct a MaskedImageIteratorBase from the image/mask/variance iterators.
-
template<>
Ref<ImagePixelT>::typeimage
() Return (a reference to) the image part of the Pixel pointed at by the iterator.
-
template<>
Ref<MaskPixelT>::typemask
() Return (a reference to) the mask part of the Pixel pointed at by the iterator.
-
template<>
Ref<VariancePixelT>::typevariance
() Return (a reference to) the variance part of the Pixel pointed at by the iterator.
-
template<>
const IMV_iterator_tupleget_iterator_tuple
() const Return the underlying iterator tuple
- Note
not really for public consumption; could be made protected
-
template<>
MaskedImageIteratorBase &operator+=
(std::ptrdiff_t delta) Increment the iterator by
delta
- Parameters
delta
: how far to move the iterator
-
template<>
MaskedImageIteratorBase &operator-=
(std::ptrdiff_t delta) Decrement the iterator by
delta
- Parameters
delta
: how far to move the iterator
-
template<>
MaskedImageIteratorBase &operator++
() Increment the iterator (prefix)
-
template<>
MaskedImageIteratorBaseoperator++
(int) Increment the iterator (postfix)
-
template<>
std::ptrdiff_toperator-
(MaskedImageIteratorBase const &rhs) Return the distance between two iterators.
-
template<>
booloperator==
(MaskedImageIteratorBase const &rhs) Return true if the lhs equals the rhs.
-
template<>
booloperator!=
(MaskedImageIteratorBase const &rhs) Return true if the lhs doesn’t equal the rhs.
-
template<>
booloperator<
(MaskedImageIteratorBase const &rhs) Return true if the lhs is less than the rhs.
-
template<>
operator Pixel
() const Convert an iterator to a Pixel.
-
template<>
Pixeloperator*
() Dereference the iterator, returning a Pixel.
-
template<>
const Pixeloperator*
() const Dereference the iterator, returning a const Pixel.
Protected Attributes
-
template<>
boost::zip_iterator<IMV_iterator_tuple>_iter
Friends
-
friend
lsst::afw::image::MaskedImage::MaskedImageIteratorBase::const_MaskedImageIterator
The underlying const iterator tuple
- Note
not really for public consumption; could be made protected
-
template<>