Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkFileReaderWriterBase_h
14 #define mitkFileReaderWriterBase_h
30 typedef std::map<std::string, us::Any>
Options;
void SetOption(const std::string &name, const us::Any &value)
us::ServiceRegistration< CustomMimeType > m_MimeTypeReg
std::string m_MimeTypePrefix
MimeType GetRegisteredMimeType() const
void SetOptions(const Options &options)
void SetMimeType(const CustomMimeType &mimeType)
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
void SetDefaultOptions(const Options &defaultOptions)
mitk::MessageAbstractDelegate1< float > ProgressCallback
us::ServiceRegistration< CustomMimeType > RegisterMimeType(us::ModuleContext *context)
Options GetDefaultOptions() const
Find image slices visible on a given plane.
std::map< std::string, us::Any > Options
std::string m_Description
Options m_Options
Options supported by this reader. Set sensible default values!
std::unique_ptr< CustomMimeType > m_CustomMimeType
void AddProgressCallback(const ProgressCallback &callback)
us::Any GetOption(const std::string &name) const
std::string GetDescription() const
void SetDescription(const std::string &description)
void SetMimeTypePrefix(const std::string &prefix)
void RemoveProgressCallback(const ProgressCallback &callback)
Options GetOptions() const
void SetRanking(int ranking)
Set the service ranking for this file reader.
const CustomMimeType * GetMimeType() const
virtual ~FileReaderWriterBase()
std::string GetMimeTypePrefix() const
Message1< float > m_ProgressMessage
void UnregisterMimeType()
The MimeType class represents a registered mime-type. It is an immutable wrapper for mitk::CustomMime...