Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSegmentationIOMimeTypes.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 mitkSegmentationIOMimeTypes_h
14 #define mitkSegmentationIOMimeTypes_h
15 
16 #include <mitkCustomMimeType.h>
18 
19 namespace mitk
20 {
24  namespace MitkSegmentationIOMimeTypes
25  {
34  {
35  public:
37 
38  bool AppliesTo(const std::string& path) const override;
40  };
41 
44 
47 
49  MITKSEGMENTATIONIO_EXPORT std::vector<CustomMimeType*> Get();
50  }
51 }
52 
53 #endif
#define MITKSEGMENTATIONIO_EXPORT
A custom mime-type that can be registered as a service object.
Custom MIME type for segmentation task list files (.json).
bool AppliesTo(const std::string &path) const override
Check whether this mime-type can handle the file at the given path.
MitkSegmentationTaskListMimeType * Clone() const override
Create a heap-allocated copy of this CustomMimeType.
MITKSEGMENTATIONIO_EXPORT MitkSegmentationTaskListMimeType SEGMENTATIONTASKLIST_MIMETYPE()
Returns the segmentation task list MIME type instance.
MITKSEGMENTATIONIO_EXPORT std::string SEGMENTATIONTASKLIST_MIMETYPE_NAME()
Returns the name string for the segmentation task list MIME type.
MITKSEGMENTATIONIO_EXPORT std::vector< CustomMimeType * > Get()
Returns all registered segmentation MIME types.
Find image slices visible on a given plane.