Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkSegmentationTaskListIO.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 mitkSegmentationTaskListIO_h
14 #define mitkSegmentationTaskListIO_h
15 
16 #include <mitkAbstractFileIO.h>
17 #include <mitkFileSystem.h>
18 
19 namespace mitk
20 {
21  class SegmentationTaskList;
22 
24  {
25  public:
27 
29  void Write() override;
30 
31  protected:
32  std::vector<BaseData::Pointer> DoRead() override;
33 
34  int GetMinimumRequiredVersion(const SegmentationTaskList* segmentationTaskList) const;
35  fs::path ResolvePath(const fs::path& path) const;
36 
37  private:
38  SegmentationTaskListIO* IOClone() const override;
39  };
40 }
41 
42 #endif
mitk::SegmentationTaskListIO::Write
void Write() override
Write the base data to the specified location or output stream.
mitk::SegmentationTaskListIO::GetMinimumRequiredVersion
int GetMinimumRequiredVersion(const SegmentationTaskList *segmentationTaskList) const
mitk::SegmentationTaskList
A list of segmentation tasks.
Definition: mitkSegmentationTaskList.h:30
mitk::SegmentationTaskListIO
Definition: mitkSegmentationTaskListIO.h:23
mitk::SegmentationTaskListIO::DoRead
std::vector< BaseData::Pointer > DoRead() override
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkAbstractFileIO.h
mitk::SegmentationTaskListIO::ResolvePath
fs::path ResolvePath(const fs::path &path) const
mitk::SegmentationTaskListIO::SegmentationTaskListIO
SegmentationTaskListIO()
mitk::AbstractFileIO
Abstract class for implementing a reader and writer.
Definition: mitkAbstractFileIO.h:69
mitkFileSystem.h
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.