Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkROIIOMimeTypes.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 mitkROIIOMimeTypes_h
14 #define mitkROIIOMimeTypes_h
15 
16 #include <mitkCustomMimeType.h>
17 #include <MitkROIIOExports.h>
18 
19 namespace mitk
20 {
21  namespace MitkROIIOMimeTypes
22  {
24  {
25  public:
27 
28  bool AppliesTo(const std::string& path) const override;
29  MitkROIMimeType* Clone() const override;
30  };
31 
34  MITKROIIO_EXPORT std::vector<CustomMimeType*> Get();
35  }
36 }
37 
38 #endif
#define MITKROIIO_EXPORT
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.
MitkROIMimeType * Clone() const override
MITKROIIO_EXPORT std::vector< CustomMimeType * > Get()
MITKROIIO_EXPORT MitkROIMimeType ROI_MIMETYPE()
MITKROIIO_EXPORT std::string ROI_MIMETYPE_NAME()
Find image slices visible on a given plane.