24 return m_GroupedFiles;
29 return m_UnsortedFiles;
35 m_GroupedFiles.push_back(filename);
40 m_UnsortedFiles.push_back(filename);
45 m_UnsortedFiles.insert(m_UnsortedFiles.end(), filenames.begin(), filenames.end());
51 assert(!m_GroupedFiles.empty());
52 m_UnsortedFiles.insert(m_UnsortedFiles.begin(), m_GroupedFiles.back());
53 m_GroupedFiles.pop_back();
StringContainer GetBlockFilenames()
Grouping result, all same origin-to-origin distance w/o gaps.
void AddFilesToUnsortedBlock(const StringContainer &filenames)
void UndoPrematureGrouping()
Only meaningful for use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption.
std::vector< std::string > StringContainer
Lists of filenames.
DataCollection - Class to facilitate loading/accessing structured data.
StringContainer GetUnsortedFilenames()
Remaining files, which could not be grouped.
static const std::string filename
void AddFileToSortedBlock(const std::string &filename)
Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.
bool ContainsGantryTilt()
Wheter or not the grouped result contain a gantry tilt.
SliceGroupingAnalysisResult()
void FlagGantryTilt()
Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.
void AddFileToUnsortedBlock(const std::string &filename)
Meant for internal use by AnalyzeFileForITKImageSeriesReaderSpacingAssumption only.