#include <mitkCollectionReader.h>
|
typedef std::vector< std::vector< std::string > > | FileListType |
|
|
void | StartElement (const char *elementName, const char **atts) override |
| Derived from XMLReader. More...
|
|
void | EndElement (const char *elementName) override |
| Derived from XMLReader. More...
|
|
Definition at line 24 of file mitkCollectionReader.h.
◆ FileListType
◆ CollectionReader()
mitk::CollectionReader::CollectionReader |
( |
| ) |
|
◆ ~CollectionReader()
mitk::CollectionReader::~CollectionReader |
( |
| ) |
|
|
override |
◆ AddDataElementIds()
void mitk::CollectionReader::AddDataElementIds |
( |
std::vector< std::string > |
dataElemetIds | ) |
|
◆ AddSubColIds()
void mitk::CollectionReader::AddSubColIds |
( |
std::vector< std::string > |
subColIds | ) |
|
◆ Clear()
void mitk::CollectionReader::Clear |
( |
| ) |
|
◆ ClearDataElementIds()
void mitk::CollectionReader::ClearDataElementIds |
( |
| ) |
|
◆ ClearSubColIds()
void mitk::CollectionReader::ClearSubColIds |
( |
| ) |
|
◆ EndElement()
void mitk::CollectionReader::EndElement |
( |
const char * |
elementName | ) |
|
|
overrideprotected |
◆ FolderToCollection()
static DataCollection::Pointer mitk::CollectionReader::FolderToCollection |
( |
std::string |
folder, |
|
|
std::vector< std::string > |
suffixes, |
|
|
std::vector< std::string > |
seriesNames, |
|
|
bool |
allowGaps |
|
) |
| |
|
static |
◆ GenerateFileLists()
static FileListType mitk::CollectionReader::GenerateFileLists |
( |
std::string |
folder, |
|
|
std::vector< std::string > |
suffixes, |
|
|
bool |
allowGaps = false |
|
) |
| |
|
static |
GenerateFileLists Returns a collection of lists with valid files names in a folder.
The first suffix entry in the vector is used for the reference images which are put in the first list, then the suffixes are interchanged and checked if the file exists; for each suffix a list is returned with filenames, if a file is expected but does not exist an empty string "" is added instead.
- Parameters
-
folder | |
suffixes | |
allowGaps | |
- Returns
◆ LoadCollection()
◆ SanitizeFileList()
SanitizeFileList Removes all entries that are lacking at least one modality.
- Parameters
-
- Returns
◆ SetDataItemNames()
void mitk::CollectionReader::SetDataItemNames |
( |
std::vector< std::string > |
itemNames | ) |
|
◆ StartElement()
void mitk::CollectionReader::StartElement |
( |
const char * |
elementName, |
|
|
const char ** |
atts |
|
) |
| |
|
overrideprotected |
The documentation for this class was generated from the following file: