Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
mitkSegmentationsProcessingTool.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 mitkSegmentationsProcessingTool_h
14
#define mitkSegmentationsProcessingTool_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkDataNode.h
"
18
#include "
mitkTool.h
"
19
#include <
MitkSegmentationExports.h
>
20
21
namespace
mitk
22
{
28
class
MITKSEGMENTATION_EXPORT
SegmentationsProcessingTool
:
public
Tool
29
{
30
public
:
31
mitkClassMacro
(
SegmentationsProcessingTool
,
Tool
);
32
33
protected
:
34
SegmentationsProcessingTool
();
// purposely hidden
35
~SegmentationsProcessingTool
()
override
;
36
37
const
char
*
GetGroup
()
const override
;
38
44
void
Activated
()
override
;
45
void
Deactivated
()
override
;
46
58
virtual
void
ProcessAllObjects
();
59
64
virtual
void
StartProcessingAllData
();
65
70
virtual
bool
ProcessOneWorkingData
(
DataNode
*node);
71
76
virtual
void
FinishProcessingAllData
();
77
81
virtual
void
SendErrorMessageIfAny
();
82
86
virtual
std::string
GetErrorMessage
();
87
88
std::string
m_FailedNodes
;
89
};
90
91
}
// namespace
92
93
#endif
MitkSegmentationExports.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:64
mitk::SegmentationsProcessingTool
Batch processing of all selected segmentations/data.
Definition:
mitkSegmentationsProcessingTool.h:29
mitk::SegmentationsProcessingTool::FinishProcessingAllData
virtual void FinishProcessingAllData()
Subclasses should override this method.
mitk::SegmentationsProcessingTool::GetErrorMessage
virtual std::string GetErrorMessage()
Describes the error (if one occurred during processing).
mitk::SegmentationsProcessingTool::~SegmentationsProcessingTool
~SegmentationsProcessingTool() override
mitk::SegmentationsProcessingTool::Activated
void Activated() override
Called when the tool gets activated.
mitk::SegmentationsProcessingTool::mitkClassMacro
mitkClassMacro(SegmentationsProcessingTool, Tool)
mitk::SegmentationsProcessingTool::ProcessOneWorkingData
virtual bool ProcessOneWorkingData(DataNode *node)
Subclasses should override this method.
mitk::SegmentationsProcessingTool::GetGroup
const char * GetGroup() const override
Name of a group.
mitk::SegmentationsProcessingTool::SegmentationsProcessingTool
SegmentationsProcessingTool()
mitk::SegmentationsProcessingTool::ProcessAllObjects
virtual void ProcessAllObjects()
Loop over all working data items.
mitk::SegmentationsProcessingTool::m_FailedNodes
std::string m_FailedNodes
Definition:
mitkSegmentationsProcessingTool.h:88
mitk::SegmentationsProcessingTool::Deactivated
void Deactivated() override
Called when the tool gets deactivated.
mitk::SegmentationsProcessingTool::SendErrorMessageIfAny
virtual void SendErrorMessageIfAny()
Sends an error message if there was an error during processing.
mitk::SegmentationsProcessingTool::StartProcessingAllData
virtual void StartProcessingAllData()
Subclasses should override this method.
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:79
mitkCommon.h
mitkDataNode.h
mitkTool.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
src
MITK
Modules
Segmentation
Interactions
mitkSegmentationsProcessingTool.h
Generated on Mon Feb 23 2026 23:28:11 for Medical Imaging Interaction Toolkit by
1.9.1