13 #ifndef mitkSegWithPreviewTool_h
14 #define mitkSegWithPreviewTool_h
49 itkSetMacro(CreateAllTimeSteps,
bool);
50 itkGetMacro(CreateAllTimeSteps,
bool);
51 itkBooleanMacro(CreateAllTimeSteps);
53 itkSetMacro(KeepActiveAfterAccept,
bool);
54 itkGetMacro(KeepActiveAfterAccept,
bool);
55 itkBooleanMacro(KeepActiveAfterAccept);
57 itkSetMacro(IsTimePointChangeAware,
bool);
58 itkGetMacro(IsTimePointChangeAware,
bool);
59 itkBooleanMacro(IsTimePointChangeAware);
61 itkSetMacro(ResetsToEmptyPreview,
bool);
62 itkGetMacro(ResetsToEmptyPreview,
bool);
63 itkBooleanMacro(ResetsToEmptyPreview);
65 itkSetMacro(UseSpecialPreviewColor,
bool);
66 itkGetMacro(UseSpecialPreviewColor,
bool);
67 itkBooleanMacro(UseSpecialPreviewColor);
69 itkSetMacro(RequestDeactivationConfirmation,
bool);
70 itkGetMacro(RequestDeactivationConfirmation,
bool);
71 itkBooleanMacro(RequestDeactivationConfirmation);
256 void CreateResultSegmentationFromPreview();
258 void OnRoiDataChanged();
259 void OnTimePointChanged();
268 bool EnsureUpToDateUserDefinedActiveLabel();
276 DataNode::Pointer m_PreviewSegmentationNode;
278 DataNode::Pointer m_ReferenceDataNode;
281 DataNode::Pointer m_SegmentationInputNode;
285 bool m_CreateAllTimeSteps =
false;
288 bool m_KeepActiveAfterAccept =
false;
295 bool m_LazyDynamicPreviews =
false;
297 bool m_IsTimePointChangeAware =
true;
301 bool m_ResetsToEmptyPreview =
false;
305 bool m_UseSpecialPreviewColor =
true;
309 bool m_IsUpdating =
false;
318 PlaneGeometry::Pointer m_WorkingPlaneGeometry;
330 LabelTransferMode m_LabelTransferMode = LabelTransferMode::MapLabel;
332 bool m_IsPreviewGenerated =
false;
337 bool m_RequestDeactivationConfirmation =
false;
#define MITKSEGMENTATION_EXPORT
Base of all data objects.
Class for nodes of the DataTree.
Image class for storing images.
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 a two-dimensional, rectangular plane.
Find image slices visible on a given plane.
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
mitk::ScalarType TimePointType