13 #ifndef mitkSegmentationTaskList_h
14 #define mitkSegmentationTaskList_h
52 void SetDefaults(
const Task* defaults);
67 const Task* m_Defaults;
71 itkFactorylessNewMacro(
Self)
86 size_t GetNumberOfTasks()
const;
87 size_t AddTask(
const Task& subtask);
88 const Task* GetTask(
size_t index)
const;
89 Task* GetTask(
size_t index);
91 const Task& GetDefaults()
const;
92 void SetDefaults(
const Task& defaults);
95 bool IsDone(
size_t index)
const;
97 fs::path GetInputLocation()
const;
98 fs::path GetBasePath()
const;
99 fs::path GetAbsolutePath(
const fs::path& path)
const;
100 fs::path GetInterimPath(
const fs::path& path)
const;
102 void SaveTask(
size_t index,
const BaseData* segmentation,
bool saveAsInterimResult =
false);
104 std::vector<Task>::const_iterator begin()
const;
105 std::vector<Task>::const_iterator end()
const;
107 std::vector<Task>::iterator begin();
108 std::vector<Task>::iterator end();
110 void SetRequestedRegionToLargestPossibleRegion()
override;
111 bool RequestedRegionIsOutsideOfTheBufferedRegion()
override;
112 bool VerifyRequestedRegion()
override;
113 void SetRequestedRegion(
const itk::DataObject*)
override;
124 std::vector<Task> m_Tasks;