Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkCESTIOMimeTypes.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkCESTIOMimeTypes_h
14 #define mitkCESTIOMimeTypes_h
15 
16 #include <mitkIOMimeTypes.h>
17 
18 #include <string>
19 
20 namespace mitk
21 {
24  {
25  public:
32  {
33  public:
35  bool AppliesTo(const std::string &path) const override;
36  MitkCESTDicomMimeType *Clone() const override;
37  };
38 
41 
43  static std::string CEST_DICOM_MIMETYPE_NAME();
44 
51  {
52  public:
54  bool AppliesTo(const std::string& path) const override;
56  };
57 
60 
62  static std::string CEST_DICOM_WITH_META_FILE_NAME();
63 
71  {
72  public:
74  bool AppliesTo(const std::string& path) const override;
76  };
77 
80 
82  static std::string CEST_DICOM_WITHOUT_META_FILE_NAME();
83 
85  static std::vector<CustomMimeType *> Get();
86 
87  private:
88  // purposely not implemented
91  };
92 }
93 
94 #endif
Base mime-type for all DICOM image formats.
MitkCESTDicomMimeType * Clone() const override
Create a heap-allocated copy of this CustomMimeType.
bool AppliesTo(const std::string &path) const override
Check whether this mime-type can handle the file at the given path.
MitkCESTDicomWOMetaFileMimeType * Clone() const override
Create a heap-allocated copy of this CustomMimeType.
bool AppliesTo(const std::string &path) const override
Check whether this mime-type can handle the file at the given path.
MitkCESTDicomWithMetaFileMimeType * Clone() const override
Create a heap-allocated copy of this CustomMimeType.
bool AppliesTo(const std::string &path) const override
Check whether this mime-type can handle the file at the given path.
Provides the custom mime types for MitkCEST.
static MitkCESTDicomWOMetaFileMimeType CEST_DICOM_WITHOUT_META_FILE_MIMETYPE()
Return an instance of the CEST DICOM without meta file MIME type.
static MitkCESTDicomWithMetaFileMimeType CEST_DICOM_WITH_META_FILE_MIMETYPE()
Return an instance of the CEST DICOM with meta file MIME type.
static std::string CEST_DICOM_WITH_META_FILE_NAME()
Return the name string for the CEST DICOM with meta file MIME type.
static MitkCESTDicomMimeType CEST_DICOM_MIMETYPE()
Return an instance of the CEST DICOM MIME type.
static std::vector< CustomMimeType * > Get()
Return all registered CEST MIME types. Caller takes ownership of the returned pointers.
static std::string CEST_DICOM_WITHOUT_META_FILE_NAME()
Return the name string for the CEST DICOM without meta file MIME type.
static std::string CEST_DICOM_MIMETYPE_NAME()
Return the name string for the CEST DICOM MIME type.
Find image slices visible on a given plane.