13 #ifndef mitkSegmentationTaskList_h
14 #define mitkSegmentationTaskList_h
39 void SetDefaults(
const Task* defaults);
52 const Task* m_Defaults;
56 itkFactorylessNewMacro(
Self)
69 size_t GetNumberOfTasks()
const;
70 size_t AddTask(
const Task& subtask);
71 const Task* GetTask(
size_t index)
const;
72 Task* GetTask(
size_t index);
74 const Task& GetDefaults()
const;
75 void SetDefaults(
const Task& defaults);
78 bool IsDone(
size_t index)
const;
80 fs::path GetInputLocation()
const;
81 fs::path GetBasePath()
const;
82 fs::path GetAbsolutePath(
const fs::path& path)
const;
83 fs::path GetInterimPath(
const fs::path& path)
const;
85 void SaveTask(
size_t index,
const BaseData* segmentation,
bool saveAsInterimResult =
false);
87 std::vector<Task>::const_iterator begin()
const;
88 std::vector<Task>::const_iterator end()
const;
90 std::vector<Task>::iterator begin();
91 std::vector<Task>::iterator end();
93 void SetRequestedRegionToLargestPossibleRegion()
override;
94 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
95 bool VerifyRequestedRegion()
override;
96 void SetRequestedRegion(
const itk::DataObject*)
override;
107 std::vector<Task> m_Tasks;