SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
Public Member Functions | Private Attributes | List of all members
CVD::ImageCreationIterator< T > Class Template Reference

#include <image.h>

Inheritance diagram for CVD::ImageCreationIterator< T >:

Public Member Functions

void operator++ (int)
 
void operator++ ()
 
bool operator== (const ImageCreationIterator &i)
 
bool operator!= (const ImageCreationIterator &i)
 
const T & operator* ()
 
 ImageCreationIterator (const T &data)
 
 ImageCreationIterator (int i)
 

Private Attributes

const T * construct_from_me
 
int num
 

Detailed Description

template<class T>
class CVD::ImageCreationIterator< T >

An input iterator which just returns N copies of the same value over and over again. This can be used for construction of containers of images. For intstance the code:

vector<Image<float> > foo(3, ImageRef(10,10));

All elements of foo point to the same 10x10 image, which is probably not the desired behaviour. The desired behaviour can be obtained with the ImageCreationIterator:

ImageCreationIterator<ImageRef> begin(10,10), end(3);
vector<Image<float> > foo(begin, end);

In this case, foo contains 3 distinct images.

See also

Definition at line 556 of file image.h.

Constructor & Destructor Documentation

template<class T >
CVD::ImageCreationIterator< T >::ImageCreationIterator ( const T &  data)
inline

Definition at line 566 of file image.h.

template<class T >
CVD::ImageCreationIterator< T >::ImageCreationIterator ( int  i)
inline

Definition at line 569 of file image.h.

Member Function Documentation

template<class T >
bool CVD::ImageCreationIterator< T >::operator!= ( const ImageCreationIterator< T > &  i)
inline

Definition at line 562 of file image.h.

template<class T >
const T& CVD::ImageCreationIterator< T >::operator* ( )
inline

Definition at line 564 of file image.h.

template<class T >
void CVD::ImageCreationIterator< T >::operator++ ( int  )
inline

Definition at line 559 of file image.h.

template<class T >
void CVD::ImageCreationIterator< T >::operator++ ( )
inline

Definition at line 560 of file image.h.

template<class T >
bool CVD::ImageCreationIterator< T >::operator== ( const ImageCreationIterator< T > &  i)
inline

Definition at line 561 of file image.h.

Member Data Documentation

template<class T >
const T* CVD::ImageCreationIterator< T >::construct_from_me
private

Definition at line 573 of file image.h.

template<class T >
int CVD::ImageCreationIterator< T >::num
private

Definition at line 574 of file image.h.


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