IMAGECACHE_T< _TT > Class Template Reference

Base Template for grayscale image cache for random reading/writing IMAGECACHE allows to read from RVC::IMAGE using different buffer cache models. More...

#include <mi32/imagecache.h>

Inheritance diagram for IMAGECACHE_T< _TT >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IMAGECACHE_T (RVC::IMAGE &image, const _TT outofbound=0)
virtual ~IMAGECACHE_T ()
ERRVALUE Flush ()
ERRVALUE Get (const INT32 line, const INT32 column, _TT &value) const
bool IsInside (const INT32 line, const INT32 column) const
bool IsOpen ()
ERRVALUE Put (const INT32 line, const INT32 column, _TT value)

Protected Attributes

const INT32 m_Band
RVC::IMAGEm_Image
const _TT m_OutOfBound

Detailed Description

template<typename _TT>
class IMAGECACHE_T< _TT >

Base Template for grayscale image cache for random reading/writing IMAGECACHE allows to read from RVC::IMAGE using different buffer cache models.


Constructor & Destructor Documentation

template<typename _TT >
IMAGECACHE_T< _TT >::IMAGECACHE_T ( RVC::IMAGE image,
const _TT  outofbound = 0 
) [inline]

Ctor.

Parameters:
outofbound RVC::IMAGE to read/write to/from what value to return if out of bound
template<typename _TT >
virtual IMAGECACHE_T< _TT >::~IMAGECACHE_T (  )  [inline, virtual]

Dtor.


Member Function Documentation

template<typename _TT >
ERRVALUE IMAGECACHE_T< _TT >::Flush (  )  [inline]

Flush all values in cache buffers to image.

template<typename _TT >
ERRVALUE IMAGECACHE_T< _TT >::Get ( const INT32  line,
const INT32  column,
_TT &  value 
) const [inline]

Get value at given position (line, column) in image.

template<typename _TT >
bool IMAGECACHE_T< _TT >::IsInside ( const INT32  line,
const INT32  column 
) const [inline]

Is position (line, column) inside of image.

template<typename _TT >
bool IMAGECACHE_T< _TT >::IsOpen (  )  [inline]

Check if image was open. Useful for NULLMASK.

template<typename _TT >
ERRVALUE IMAGECACHE_T< _TT >::Put ( const INT32  line,
const INT32  column,
_TT  value 
) [inline]

Put value at given position (line, column) in image.


Member Data Documentation

template<typename _TT >
const INT32 IMAGECACHE_T< _TT >::m_Band [protected]
template<typename _TT >
RVC::IMAGE& IMAGECACHE_T< _TT >::m_Image [protected]
template<typename _TT >
const _TT IMAGECACHE_T< _TT >::m_OutOfBound [protected]

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

Generated on Sun Oct 7 21:33:31 2012 for TNTsdk 2012 by  doxygen 1.6.1