Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkDICOMSegIOMimeTypes.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 mitkDICOMSegIOMimeTypes_h
14 #define mitkDICOMSegIOMimeTypes_h
15 
16 #include <mitkCustomMimeType.h>
17 #include <MitkDICOMSegIOExports.h>
18 
19 
20 #include <string>
21 
22 namespace mitk
23 {
26  {
27  public:
31  {
32  public:
34  bool AppliesTo(const std::string &path) const override;
35  MitkDICOMSEGMimeType *Clone() const override;
36  };
37 
40 
42  static std::string DICOMSEG_MIMETYPE_NAME();
43 
45  static std::vector<CustomMimeType *> Get();
46 
47  private:
48  // purposely not implemented
51  };
52 }
53 
54 #endif
#define MITKDICOMSEGIO_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.
MitkDICOMSEGMimeType * 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 DICOMSEG_MIMETYPE_NAME()
Return the name string for the DICOM Segmentation MIME type.
static MitkDICOMSEGMimeType DICOMSEG_MIMETYPE()
Return an instance of the DICOM Segmentation MIME type.
static std::vector< CustomMimeType * > Get()
Return all registered DICOM Segmentation MIME types. Caller takes ownership.
Find image slices visible on a given plane.