IMAGECACHE Class Reference

Base class for one band image cache for random reading/writing Allows read from RVC::IMAGE using different buffer cache models. More...

#include <mi32/imagecache.h>

Inheritance diagram for IMAGECACHE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IMAGECACHE (RVC::IMAGE &image, const UINT8 *outofbound)
virtual ~IMAGECACHE ()
ERRVALUE Flush ()
ERRVALUE Get (const INT32 line, const INT32 column, UINT8 *value) const
RVC::IMAGEGetImage () const
bool IsInside (const INT32 line, const INT32 column) const
bool IsOpen () const
ERRVALUE Put (const INT32 line, const INT32 column, const UINT8 *value)

Protected Attributes

const INT32 m_Band
const RVC::IMAGE::CONVMODE m_ConvMode
RVC::IMAGEm_Image
const UINT8 m_NumBytes
UINT8 m_OutOfBound [8]

Detailed Description

Base class for one band image cache for random reading/writing Allows read from RVC::IMAGE using different buffer cache models.


Constructor & Destructor Documentation

IMAGECACHE::IMAGECACHE ( RVC::IMAGE image,
const UINT8 outofbound 
) [inline]

Ctor.

Parameters:
outofbound RVC::IMAGE to read/write to/from what value to return if out of bound
virtual IMAGECACHE::~IMAGECACHE (  )  [inline, virtual]

Dtor.


Member Function Documentation

ERRVALUE IMAGECACHE::Flush (  )  [inline]

Flush all values in cache buffers to image.

ERRVALUE IMAGECACHE::Get ( const INT32  line,
const INT32  column,
UINT8 value 
) const [inline]

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

RVC::IMAGE& IMAGECACHE::GetImage (  )  const [inline]
bool IMAGECACHE::IsInside ( const INT32  line,
const INT32  column 
) const [inline]

Is position (line, column) inside of image.

bool IMAGECACHE::IsOpen (  )  const [inline]

Check if image was open. Useful for NULLMASK.

ERRVALUE IMAGECACHE::Put ( const INT32  line,
const INT32  column,
const UINT8 value 
) [inline]

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


Member Data Documentation

const INT32 IMAGECACHE::m_Band [protected]
const UINT8 IMAGECACHE::m_NumBytes [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