18#ifndef __vtkMRMLFileReader_h
19#define __vtkMRMLFileReader_h
35 void PrintSelf(ostream& os, vtkIndent indent)
override;
104 static std::string
ReadFileHeader(
const std::string& filePath,
size_t maxLength);
static vtkMRMLFileReader * New()
~vtkMRMLFileReader() override
void AddLoadedNodeID(const std::string &nodeID)
static std::string ReadFileHeader(const std::string &filePath, size_t maxLength)
static bool EndsWithNoCase(const std::string &text, const std::string &suffix)
Returns true if the string ends with the suffix (case-insensitive).
void PrintSelf(ostream &os, vtkIndent indent) override
virtual double ExamineFileListConfidence(std::vector< std::string > &fileList, vtkMRMLIOProperties *ioProperties)
virtual std::string ExamineFileList(std::vector< std::string > &fileList, vtkMRMLIOProperties *ioProperties)
std::vector< std::string > GetSupportedNameFilters(const std::string &filePath, int &longestExtensionMatch)
virtual double CanLoadFileConfidence(const std::string &filePath)
virtual bool Load(vtkMRMLIOProperties *properties)
void SetLoadedNodeIDs(const std::vector< std::string > &nodeIDs)
void ClearLoadedNodeIDs()
const std::vector< std::string > & GetLoadedNodeIDs() const
The nodes the last Load added, by node ID.
virtual bool CanLoadFile(const std::string &filePath)
std::vector< std::string > LoadedNodeIDs
double ConfidenceForMatchingExtension
std::vector< std::string > GetSupportedNameFilters(const std::string &filePath)