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

void Impala::Application::MediaTable::TableDataSourceImageDir::OpenDir ( CString  dirName  )  [inline]

Definition at line 36 of file TableDataSourceImageDir.h.

References ClearFiles(), Impala::FileNameExt(), Impala::Core::Stream::RgbDataSrc::LastFrame(), mDirName, mFileNames, mRgbDataSrcRaw, and mTotalRows.

Referenced by TableDataSourceImageDir().

00037     {
00038         ClearFiles();
00039 
00040         mDirName    = dirName;
00041         String ext  = FileNameExt(dirName,true);
00042 
00043         if (ext == "raw")
00044             mRgbDataSrcRaw = new RgbDataSrcRaw(dirName);
00045         else
00046             Util::DirImageFileNames(dirName, mFileNames);
00047 
00048         if (mRgbDataSrcRaw)
00049             mTotalRows = mRgbDataSrcRaw->LastFrame();
00050         else
00051             mTotalRows = mFileNames.size();
00052     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:45:29 2010 for ImpalaSrc by  doxygen 1.5.1