Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkDICOMPMIOMimeTypes.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 mitkDICOMPMIOMimeTypes_h
14 #define mitkDICOMPMIOMimeTypes_h
15 
16 #include <mitkCustomMimeType.h>
17 #include <MitkDICOMPMIOExports.h>
18 
19 
20 #include <string>
21 
22 namespace mitk
23 {
26  {
27  public:
28 
33  {
34  public:
36  bool AppliesTo(const std::string &path) const override;
37  MitkDICOMPMMimeType *Clone() const override;
38  };
39 
42 
44  static std::string DICOMPM_MIMETYPE_NAME();
45 
47  static std::vector<CustomMimeType *> Get();
48 
49  private:
50  // purposely not implemented
53  };
54 }
55 
56 #endif
#define MITKDICOMPMIO_EXPORT
A custom mime-type that can be registered as a service object.
bool AppliesTo(const std::string &path) const override
Check whether this mime-type can handle the file at the given path.
MitkDICOMPMMimeType * Clone() const override
Create a heap-allocated copy of this CustomMimeType.
Provides the custom mime types for dicom qi objects loaded with DCMQI.
static std::string DICOMPM_MIMETYPE_NAME()
Return the name string for the DICOM Parametric Map MIME type.
static std::vector< CustomMimeType * > Get()
Return all registered DICOM PM MIME types. Caller takes ownership.
static MitkDICOMPMMimeType DICOMPM_MIMETYPE()
Return an instance of the DICOM Parametric Map MIME type.
Find image slices visible on a given plane.