Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Array2dVec3UInt8* Impala::Core::Array::ImageArchiveMemory::ReadImage ( int  idx  )  [inline, virtual]

Reimplemented from Impala::Core::Array::ImageArchive.

Definition at line 50 of file ImageArchiveMemory.h.

References GetImageData(), ILOG_ERROR, Impala::Core::Array::ReadImageFromMemory(), and Valid().

00051     {
00052         if (!Valid())
00053         {
00054             ILOG_ERROR("Cannot ReadImage: archive not valid");
00055             return 0;
00056         }
00057 
00058         size_t blockSize = 0;
00059         UInt8* data = GetImageData(idx, blockSize);
00060         Array2dVec3UInt8* im = 0;
00061         ReadImageFromMemory(im, (char*) data, blockSize);
00062         delete data;
00063         return im;
00064     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:17:20 2011 for ImpalaSrc by  doxygen 1.5.1