31 return "segmentationProcessing";
36 Superclass::Activated();
39 m_ToolManager->ActivateTool(-1);
44 Superclass::Deactivated();
49 m_FailedNodes.clear();
50 StartProcessingAllData();
56 for (ToolManager::DataVectorType::iterator nodeiter = nodes.begin(); nodeiter != nodes.end(); ++nodeiter)
60 if (!ProcessOneWorkingData(node))
63 m_FailedNodes +=
" '";
64 if (node->GetName(nodeName))
66 m_FailedNodes += nodeName.c_str();
70 m_FailedNodes +=
"(no name)";
78 FinishProcessingAllData();
93 SendErrorMessageIfAny();
98 if (!m_FailedNodes.empty())
106 return "Processing of these nodes failed:";
void Progress(unsigned int steps=1)
Sets the current amount of progress to current progress + steps.
static ProgressBar * GetInstance()
static method to get the GUI dependent ProgressBar-instance so the methods for steps to do and progre...
void AddStepsToDo(unsigned int steps)
Adds steps to totalSteps.
Class for nodes of the DataTree.