vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 > Class Template Reference

#include <impexalpha.hxx>

List of all members.

Public Types

typedef vigra::TinyVector<
typename Acc1::value_type, 2 > 
value_type
 The accessors value_type: construct a pair that contains the corresponding image values.
typedef Acc1::value_type component_type
typedef Acc2::value_type alpha_type

Public Member Functions

 MultiImageMaskAccessor2 (Iter1 i1, Acc1 a1, Iter2 i2, Acc2 a2)
 Construct from two image iterators and associated accessors.
template<class DIFFERENCE>
value_type operator() (DIFFERENCE const &d) const
 read the current data item
template<class DIFFERENCE1, class DIFFERENCE2>
value_type operator() (DIFFERENCE1 d, DIFFERENCE2 const &d2) const
 read the data item at an offset
template<class DIFFERENCE>
value_type set (const value_type &vt, DIFFERENCE const &d) const
 write the current data item
template<class V, class ITERATOR>
void setComponent (V const &value, ITERATOR const &i, int idx) const
 scalar & scalar image
template<class ITERATOR>
component_type getComponent (ITERATOR const &i, int idx) const
 read one component
template<class ITERATOR>
unsigned int size (ITERATOR const &i) const

Private Attributes

Iter1 i1_
Acc1 a1_
Iter2 i2_
Acc2 a2_

template<class Iter1, class Acc1, class Iter2, class Acc2>
class vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >


Member Typedef Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2>
typedef Acc2::value_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::alpha_type
 

Definition at line 198 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
typedef Acc1::value_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::component_type
 

Definition at line 197 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
typedef vigra::TinyVector<typename Acc1::value_type, 2> vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::value_type
 

The accessors value_type: construct a pair that contains the corresponding image values.

Definition at line 196 of file impexalpha.hxx.


Constructor & Destructor Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2>
vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::MultiImageMaskAccessor2 Iter1  i1,
Acc1  a1,
Iter2  i2,
Acc2  a2
[inline]
 

Construct from two image iterators and associated accessors.

Definition at line 202 of file impexalpha.hxx.


Member Function Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class ITERATOR>
component_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::getComponent ITERATOR const &  i,
int  idx
const [inline]
 

read one component

Definition at line 257 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class DIFFERENCE1, class DIFFERENCE2>
value_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::operator() DIFFERENCE1  d,
DIFFERENCE2 const &  d2
const [inline]
 

read the data item at an offset

Definition at line 218 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class DIFFERENCE>
value_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::operator() DIFFERENCE const &  d  )  const [inline]
 

read the current data item

Definition at line 209 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class DIFFERENCE>
value_type vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::set const value_type vt,
DIFFERENCE const &  d
const [inline]
 

write the current data item

Definition at line 231 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class V, class ITERATOR>
void vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::setComponent V const &  value,
ITERATOR const &  i,
int  idx
const [inline]
 

scalar & scalar image

Definition at line 240 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
template<class ITERATOR>
unsigned int vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::size ITERATOR const &  i  )  const [inline]
 

Definition at line 273 of file impexalpha.hxx.


Member Data Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2>
Acc1 vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::a1_ [private]
 

Definition at line 280 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
Acc2 vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::a2_ [private]
 

Definition at line 282 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
Iter1 vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::i1_ [private]
 

Definition at line 279 of file impexalpha.hxx.

template<class Iter1, class Acc1, class Iter2, class Acc2>
Iter2 vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >::i2_ [private]
 

Definition at line 281 of file impexalpha.hxx.


The documentation for this class was generated from the following file:
Generated on Thu Apr 17 01:25:58 2014 for Hugintrunk by  doxygen 1.3.9.1