13 #ifndef mitkSegWithPreviewTool_h
14 #define mitkSegWithPreviewTool_h
60 itkSetMacro(CreateAllTimeSteps,
bool);
61 itkGetMacro(CreateAllTimeSteps,
bool);
62 itkBooleanMacro(CreateAllTimeSteps);
65 itkSetMacro(KeepActiveAfterAccept,
bool);
66 itkGetMacro(KeepActiveAfterAccept,
bool);
67 itkBooleanMacro(KeepActiveAfterAccept);
70 itkSetMacro(IsTimePointChangeAware,
bool);
71 itkGetMacro(IsTimePointChangeAware,
bool);
72 itkBooleanMacro(IsTimePointChangeAware);
75 itkSetMacro(ResetsToEmptyPreview,
bool);
76 itkGetMacro(ResetsToEmptyPreview,
bool);
77 itkBooleanMacro(ResetsToEmptyPreview);
80 itkSetMacro(UseSpecialPreviewColor,
bool);
81 itkGetMacro(UseSpecialPreviewColor,
bool);
82 itkBooleanMacro(UseSpecialPreviewColor);
85 itkSetMacro(RequestDeactivationConfirmation,
bool);
86 itkGetMacro(RequestDeactivationConfirmation,
bool);
87 itkBooleanMacro(RequestDeactivationConfirmation);
198 itkGetConstMacro(PreviewOpacity,
float);
203 itkGetConstMacro(PreviewVisibility,
bool);
322 void CreateResultSegmentationFromPreview();
324 void OnRoiDataChanged();
333 bool EnsureUpToDateUserDefinedActiveLabel();
341 DataNode::Pointer m_PreviewSegmentationNode;
343 DataNode::Pointer m_ReferenceDataNode;
346 DataNode::Pointer m_SegmentationInputNode;
350 bool m_CreateAllTimeSteps =
false;
353 bool m_KeepActiveAfterAccept =
false;
360 bool m_LazyDynamicPreviews =
false;
362 bool m_IsTimePointChangeAware =
true;
366 bool m_ResetsToEmptyPreview =
false;
370 bool m_UseSpecialPreviewColor =
true;
374 bool m_IsUpdating =
false;
383 PlaneGeometry::Pointer m_WorkingPlaneGeometry;
395 LabelTransferMode m_LabelTransferMode = LabelTransferMode::MapLabel;
397 bool m_IsPreviewGenerated =
false;
403 float m_PreviewOpacity = 1.0f / 3.0f;
408 bool m_PreviewVisibility =
true;
413 bool m_RequestDeactivationConfirmation =
false;
#define MITKSEGMENTATION_EXPORT
Base class of all data objects.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Image class for storing multi-dimensional medical image data.
unsigned short PixelType
Pixel type used for label values (unsigned short).
AlgorithmType
Enumeration describing how a label was created or refined.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
@ RegardLocks
Locked labels in the same spatial group will not be overwritten/changed.
mitk::Label::PixelType LabelValueType
Describes the geometry of a plane object.
Represents a CppMicroServices module.
Find image slices visible on a given plane.
itk::RGBPixel< float > Color
Standard RGB color typedef using float components.
std::size_t TimeStepType
Type for time step indices (non-negative integers starting from 0).
mitk::ScalarType TimePointType
Type for time point values in milliseconds (ms).