Reimplemented from Impala::Core::Array::ImageArchive. Definition at line 95 of file ImageArchiveFileFset.h. References GetSegmentBuf(), ILOG_ERROR, mSegmentLength, Impala::Core::Array::ReadImageFromMemory(), and Valid(). 00096 { 00097 if (!Valid()) 00098 { 00099 ILOG_ERROR("Cannot ReadImage: archive not valid"); 00100 return 0; 00101 } 00102 00103 Array2dVec3UInt8* im = 0; 00104 char* data = GetSegmentBuf(idx); 00105 ReadImageFromMemory(im, data, mSegmentLength[idx]); 00106 delete data; 00107 00108 return im; 00109 }
Here is the call graph for this function:
|