Definition at line 60 of file DirImViewer.h. References ClearFiles(), Impala::Core::Stream::RgbDataSrcFactory::Construct(), Impala::FileNameExt(), HandleDocDimensions(), Impala::Core::Stream::RgbDataSrcFactory::Instance(), mDirName, mFileNames, and mRgbDataSrcRaw. Referenced by Impala::Visualization::DirImViewerScroller::OpenDir(). 00061 { 00062 ClearFiles(); 00063 mDirName = dirName; 00064 #ifndef NO_RAW 00065 #ifdef REPOSITORY_USED 00066 if (FileNameExt(dirName) == "raw") 00067 { 00068 if (dirName[0] == '/' || dirName[0] == '\\') 00069 OpenSrc(Persistency::RgbDataSrcLocator("file:", "abs", dirName)); 00070 else 00071 OpenSrc(Persistency::RgbDataSrcLocator("file:", "dot", dirName)); 00072 } 00073 #else 00074 if (FileNameExt(dirName) == "raw") 00075 { 00076 RgbDataSrcFactory& f = RgbDataSrcFactory::Instance(); 00077 mRgbDataSrcRaw = f.Construct(dirName, "raw"); 00078 } 00079 #endif //REPOSITORY_USED 00080 #endif // NO_RAW 00081 Util::DirImageFileNames(dirName, mFileNames); 00082 HandleDocDimensions(true,true); 00083 }
Here is the call graph for this function:
|