13 #ifndef mitkSegmentationTaskListIO_h
14 #define mitkSegmentationTaskListIO_h
21 class SegmentationTaskList;
47 std::vector<BaseData::Pointer>
DoRead()
override;
Abstract base class for implementing a combined file reader and writer.
std::vector< itk::SmartPointer< BaseData > > Read() override
Read data and create a list of BaseData objects.
File I/O for reading and writing SegmentationTaskList objects.
std::vector< BaseData::Pointer > DoRead() override
Perform the actual reading of a SegmentationTaskList from a JSON file.
fs::path ResolvePath(const fs::path &path) const
Resolve a relative path against the task list file's directory.
void Write() override
Write the SegmentationTaskList to a JSON file.
int GetMinimumRequiredVersion(const SegmentationTaskList *segmentationTaskList) const
Determine the minimum file format version required for the given task list.
SegmentationTaskListIO()
Default constructor. Registers reader/writer for the SegmentationTaskList MIME type.
A list of segmentation tasks.
Portability header that provides a unified namespace alias for the C++ filesystem library.
Find image slices visible on a given plane.