[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE > Class Template Reference

merge a vector and a scalar image into a vector image. More...

#include <FunctorAccessor.h>

List of all members.

Public Types

typedef Acc1::value_type image1_type
 the vector's value_type
typedef Acc2::value_type image2_type
typedef image1_type::value_type component_type
typedef vigra::TinyVector<
component_type, SIZE > 
value_type

Public Member Functions

 MergeVectorScalar2VectorAccessor (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 ITERATOR>
component_type getComponent (ITERATOR const &i, int idx) const
 read one component
template<class ITERATOR, class DIFFERENCE_>
component_type const getComponent (ITERATOR i, DIFFERENCE_ const &d, int idx) const
 read one component, with offset
template<class ITERATOR>
unsigned int size (ITERATOR const &i) const
 return the size (Number of Bands)

Public Attributes

Iter1 i1_
Acc1 a1_
Iter2 i2_
Acc2 a2_


Detailed Description

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
class vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >

merge a vector and a scalar image into a vector image.

This virtually "appends" the scalar image plane to the vector image.

the inverse to SplitVectorNAccessor.


Member Typedef Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
typedef image1_type::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::component_type
 

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
typedef Acc1::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::image1_type
 

the vector's value_type

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
typedef Acc2::value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::image2_type
 

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
typedef vigra::TinyVector<component_type, SIZE> vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::value_type
 


Constructor & Destructor Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::MergeVectorScalar2VectorAccessor Iter1  i1,
Acc1  a1,
Iter2  i2,
Acc2  a2
[inline]
 

Construct from two image iterators and associated accessors.


Member Function Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
template<class ITERATOR, class DIFFERENCE_>
component_type const vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::getComponent ITERATOR  i,
DIFFERENCE_ const &  d,
int  idx
const [inline]
 

read one component, with offset

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

read one component

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
template<class DIFFERENCE_>
value_type vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::operator() DIFFERENCE_ const &  d  )  const [inline]
 

read the current data item

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

return the size (Number of Bands)


Member Data Documentation

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
Acc1 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a1_
 

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
Acc2 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::a2_
 

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
Iter1 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i1_
 

template<class Iter1, class Acc1, class Iter2, class Acc2, int SIZE>
Iter2 vigra_ext::MergeVectorScalar2VectorAccessor< Iter1, Acc1, Iter2, Acc2, SIZE >::i2_
 


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

Generated on Mon Sep 20 01:01:37 2010 for Hugintrunk by doxygen 1.3.9.1