23#ifndef __vtkMRMLSegmentEditorNode_h
24#define __vtkMRMLSegmentEditorNode_h
31#include "vtkSlicerSegmentationsModuleMRMLExport.h"
71 void PrintSelf(ostream& os, vtkIndent indent)
override;
80 void WriteXML(ostream& of,
int indent)
override;
173 vtkWarningMacro(
"vtkMRMLSegmentEditorNode::SetMasterVolumeIntensityMaskRange() method is deprecated, use SetSourceVolumeIntensityMaskRange method instead");
178 vtkWarningMacro(
"vtkMRMLSegmentEditorNode::SetMasterVolumeIntensityMaskRange() method is deprecated, use SetSourceVolumeIntensityMaskRange method instead");
184 vtkWarningMacro(
"vtkMRMLSegmentEditorNode::GetMasterVolumeIntensityMaskRange() method is deprecated, use GetSourceVolumeIntensityMaskRange method instead");
191 vtkWarningMacro(
"vtkMRMLSegmentEditorNode::GetMasterVolumeIntensityMaskRange() method is deprecated, use GetSourceVolumeIntensityMaskRange method instead");
198 vtkWarningMacro(
"vtkMRMLSegmentEditorNode::GetMasterVolumeIntensityMaskRange() method is deprecated, use GetSourceVolumeIntensityMaskRange method instead");
MRML node for representing a volume (image stack).
A set of MRML Nodes that supports serialization and undo/redo.
vtkMRMLScalarVolumeNode * GetMasterVolumeNode()
Deprecated. Use GetSourceVolumeNode/SetAndObserveSourceVolumeNode methods instead.
virtual void SourceVolumeIntensityMaskOff()
const char * GetNodeTagName() override
Get unique node XML tag name (like Volume, Model)
vtkMRMLSegmentEditorNode(const vtkMRMLSegmentEditorNode &)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
@ EffectParameterModified
virtual void SetMasterVolumeIntensityMaskRange(double _arg1, double _arg2)
Deprecated. Use Get/SetSourceVolumeIntensityMaskRange method instead.
bool SourceVolumeIntensityMask
void SetAndObserveSourceVolumeNode(vtkMRMLScalarVolumeNode *node)
virtual void SetSourceVolumeIntensityMaskRange(double, double)
char * ActiveEffectName
Active effect name.
virtual double * GetSourceVolumeIntensityMaskRange()
virtual VTK_WRAPEXCLUDE void GetMasterVolumeIntensityMaskRange(double _arg[2])
static int ConvertOverwriteModeFromString(const char *modeStr)
Convert between constants IDs to/from string.
virtual bool GetMasterVolumeIntensityMask()
virtual VTK_WRAPEXCLUDE void GetMasterVolumeIntensityMaskRange(double &_arg1, double &_arg2)
vtkMRMLSegmentationNode * GetSegmentationNode()
Get/set segmentation node.
virtual void SourceVolumeIntensityMaskOn()
Restrict editable area to regions where source volume intensity is in the specified range.
virtual void MasterVolumeIntensityMaskOn()
Deprecated. Use Get/SetSourceVolumeIntensityMask method instead.
static const char * ConvertOverwriteModeToString(int mode)
void SetAndObserveSegmentationNode(vtkMRMLSegmentationNode *node)
void ReadXMLAttributes(const char **atts) override
Set node attributes from name/value pairs.
vtkMRMLNode * CreateNodeInstance() override
Create a new node of this type.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual bool GetSourceVolumeIntensityMask()
void SetMasterVolumeIntensityMaskRange(const double _arg[2])
virtual void MasterVolumeIntensityMaskOff()
double SourceVolumeIntensityMaskRange[2]
static vtkMRMLSegmentEditorNode * New()
virtual void SetMasterVolumeIntensityMask(bool enable)
virtual double * GetMasterVolumeIntensityMaskRange() VTK_SIZEHINT(2)
vtkMRMLSegmentEditorNode()
void operator=(const vtkMRMLSegmentEditorNode &)
char * SelectedSegmentID
Selected segment ID.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
~vtkMRMLSegmentEditorNode() override
virtual void SetSourceVolumeIntensityMask(bool)
void SetAndObserveMasterVolumeNode(vtkMRMLScalarVolumeNode *node)
vtkMRMLScalarVolumeNode * GetSourceVolumeNode()
@ OverwriteAllSegments
Areas added to selected segment will be removed from all other segments. (no overlap)
@ OverwriteNone
Areas added to selected segment will not be removed from any segments. (overlap with all other segmen...
@ OverwriteVisibleSegments
Areas added to selected segment will be removed from all visible segments. (no overlap with visible,...
MRML node containing segmentations.
@ EditAllowedEverywhere
Modification is allowed everywhere.