23 #ifndef __vtkMRMLSegmentEditorNode_h 24 #define __vtkMRMLSegmentEditorNode_h 30 #include "vtkSlicerSegmentationsModuleMRMLExport.h" 54 EffectParameterModified = 62200
60 PaintAllowedEverywhere=0,
78 OverwriteAllSegments=0,
90 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
96 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
99 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
105 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "SegmentEditor"; }
107 static int ConvertOverwriteModeFromString(
const char* modeStr);
108 static const char* ConvertOverwriteModeToString(
int mode);
109 static const char* ConvertMaskModeToString(
int mode);
110 static int ConvertMaskModeFromString(
const char* modeStr);
124 vtkGetStringMacro(SelectedSegmentID);
126 vtkSetStringMacro(SelectedSegmentID);
129 vtkGetStringMacro(ActiveEffectName);
131 vtkSetStringMacro(ActiveEffectName);
135 vtkSetMacro(MaskMode,
int);
136 vtkGetMacro(MaskMode,
int);
140 vtkGetStringMacro(MaskSegmentID);
142 vtkSetStringMacro(MaskSegmentID);
145 vtkBooleanMacro(MasterVolumeIntensityMask,
bool);
146 vtkGetMacro(MasterVolumeIntensityMask,
bool);
147 vtkSetMacro(MasterVolumeIntensityMask,
bool);
151 vtkSetVector2Macro(MasterVolumeIntensityMaskRange,
double);
154 vtkGetVector2Macro(MasterVolumeIntensityMaskRange,
double);
158 vtkSetMacro(OverwriteMode,
int);
159 vtkGetMacro(OverwriteMode,
int);
179 double MasterVolumeIntensityMaskRange[2];
182 #endif // __vtkMRMLSegmentEditorNode_h Modification is allowed outside all segments.
Modification is allowed only over the area covered by segment specified in MaskSegmentID.
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
A set of MRML Nodes that supports serialization and undo/redo.
Modification is allowed outside all visible segments.
Parameter set node for the segment editor widget.
Areas added to selected segment will be removed from all other segments. (overlap with all other segm...
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Modification is allowed inside all segments.
bool MasterVolumeIntensityMask
char * ActiveEffectName
Active effect name.
Areas added to selected segment will be removed from all visible segments. (no overlap with visible...
Modification is allowed inside all visible segments.
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...
char * SelectedSegmentID
Selected segment ID.