Medical Imaging Interaction Toolkit  2021.10.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 
38  static MitkDICOMSEGMimeType DICOMSEG_MIMETYPE();
39  static std::string DICOMSEG_MIMETYPE_NAME();
40 
41 
42 
43  // Get all Mime Types
44  static std::vector<CustomMimeType *> Get();
45 
46  private:
47  // purposely not implemented
50  };
51 }
52 
53 #endif // MITKDICOMSEGIOMIMETYPES_H
Provides the custom mime types for dicom qi objects loaded with DCMQI.
DataCollection - Class to facilitate loading/accessing structured data.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
#define MITKDICOMSEGIO_EXPORT