DGtal::ImageContainer_vector< TPoint, TValue > Class Template Reference

#include <ImageContainer_vector.h>

List of all members.

Classes

class  SpanIterator

Public Types

typedef vector< TValue >::size_type TSizeType
typedef vector< TValue >::iterator Iterator
typedef vector< TValue >
::const_iterator 
ConstIterator

Public Member Functions

 ImageContainer_vector (const TPoint &aPointA, const TPoint &aPointB)
 ~ImageContainer_vector ()
TValue operator() (const TPoint &aPoint)
TValue operator() (const Iterator &it)
void setValue (const TPoint &aPoint, const TValue &aValue)
void setValue (Iterator &it, const TValue &aValue)
void allocate (const std::size_t aSize)
void setValue (SpanIterator &it, const TValue &aValue)
SpanIterator span_begin (const TPoint &aPoint, const std::size_t aDimension)
SpanIterator span_end (const TPoint &aPoint, const std::size_t aDimension)
TValue operator() (const SpanIterator &it)

Private Member Functions

TSizeType linearized (const TPoint &aPoint) const

Private Attributes

TPoint myLowerBound
TPoint myUpperBound

Detailed Description

template<class TPoint, typename TValue>
class DGtal::ImageContainer_vector< TPoint, TValue >

Description of class 'ImageContainer_vector'

Todo:
Documentation Aim:

Member Typedef Documentation

template<class TPoint, typename TValue>
typedef vector<TValue>::const_iterator DGtal::ImageContainer_vector< TPoint, TValue >::ConstIterator
template<class TPoint, typename TValue>
typedef vector<TValue>::iterator DGtal::ImageContainer_vector< TPoint, TValue >::Iterator
template<class TPoint, typename TValue>
typedef vector<TValue>::size_type DGtal::ImageContainer_vector< TPoint, TValue >::TSizeType

Constructor & Destructor Documentation

template<class TPoint, typename TValue>
DGtal::ImageContainer_vector< TPoint, TValue >::ImageContainer_vector ( const TPoint &  aPointA,
const TPoint &  aPointB 
)
template<class TPoint, typename TValue>
DGtal::ImageContainer_vector< TPoint, TValue >::~ImageContainer_vector (  ) 

Member Function Documentation

template<class TPoint, typename TValue>
void DGtal::ImageContainer_vector< TPoint, TValue >::allocate ( const std::size_t  aSize  )  [inline]
template<class TPoint, typename TValue>
TSizeType DGtal::ImageContainer_vector< TPoint, TValue >::linearized ( const TPoint &  aPoint  )  const [private]

Linearized a point and return the vector position.

Parameters:
aPoint the point to convert to an index
Returns:
the index of
Parameters:
aPoint in the container

Referenced by DGtal::ImageContainer_vector< TPoint, TValue >::SpanIterator::SpanIterator().

template<class TPoint, typename TValue>
TValue DGtal::ImageContainer_vector< TPoint, TValue >::operator() ( const SpanIterator it  )  [inline]
template<class TPoint, typename TValue>
TValue DGtal::ImageContainer_vector< TPoint, TValue >::operator() ( const Iterator it  )  [inline]
template<class TPoint, typename TValue>
TValue DGtal::ImageContainer_vector< TPoint, TValue >::operator() ( const TPoint &  aPoint  ) 
template<class TPoint, typename TValue>
void DGtal::ImageContainer_vector< TPoint, TValue >::setValue ( SpanIterator it,
const TValue &  aValue 
) [inline]
template<class TPoint, typename TValue>
void DGtal::ImageContainer_vector< TPoint, TValue >::setValue ( Iterator it,
const TValue &  aValue 
) [inline]
template<class TPoint, typename TValue>
void DGtal::ImageContainer_vector< TPoint, TValue >::setValue ( const TPoint &  aPoint,
const TValue &  aValue 
)
template<class TPoint, typename TValue>
SpanIterator DGtal::ImageContainer_vector< TPoint, TValue >::span_begin ( const TPoint &  aPoint,
const std::size_t  aDimension 
) [inline]
template<class TPoint, typename TValue>
SpanIterator DGtal::ImageContainer_vector< TPoint, TValue >::span_end ( const TPoint &  aPoint,
const std::size_t  aDimension 
) [inline]

Member Data Documentation

template<class TPoint, typename TValue>
TPoint DGtal::ImageContainer_vector< TPoint, TValue >::myLowerBound [private]
template<class TPoint, typename TValue>
TPoint DGtal::ImageContainer_vector< TPoint, TValue >::myUpperBound [private]

The documentation for this class was generated from the following file:
Generated on Fri Jun 18 14:39:28 2010 for DGtal by  doxygen 1.6.3