13 #ifndef mitkDICOMRTMimeTypes_h
14 #define mitkDICOMRTMimeTypes_h
33 bool AppliesTo(
const std::string &path)
const override;
42 bool AppliesTo(
const std::string &path)
const override;
50 bool AppliesTo(
const std::string &path)
const override;
54 static std::array<std::unique_ptr<CustomMimeType>, 3>
Get();
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
RTDoseMimeType * Clone() const override
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
RTPlanMimeType * Clone() const override
RTStructMimeType * Clone() const override
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
static bool canReadByDicomFileReader(const std::string &path)
static RTPlanMimeType DICOMRT_PLAN_MIMETYPE()
static std::array< std::unique_ptr< CustomMimeType >, 3 > Get()
DICOMRTMimeTypes(const DICOMRTMimeTypes &)=delete
static RTStructMimeType DICOMRT_STRUCT_MIMETYPE()
static std::string GetModality(const std::string &path)
static RTDoseMimeType DICOMRT_DOSE_MIMETYPE()
static std::string DICOMRT_STRUCT_MIMETYPE_DESCRIPTION()
DICOMRTMimeTypes()=delete
static std::string DICOMRT_DOSE_MIMETYPE_DESCRIPTION()
static std::string DICOMRT_PLAN_MIMETYPE_NAME()
static std::string DICOMRT_STRUCT_MIMETYPE_NAME()
static std::string DICOMRT_DOSE_MIMETYPE_NAME()
static std::string DICOMRT_PLAN_MIMETYPE_DESCRIPTION()
Find image slices visible on a given plane.