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

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

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

Definition at line 47 of file ImageArchiveMapi.h.

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

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

Here is the call graph for this function:


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