23 #ifndef __vtkMRMLSegmentEditorNode_h 24 #define __vtkMRMLSegmentEditorNode_h 30 #include "vtkSlicerSegmentationsModuleMRMLExport.h" 54 EffectParameterModified = 62200
62 PaintAllowedEverywhere=0,
80 OverwriteAllSegments=0,
92 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
98 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
101 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
107 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "SegmentEditor"; }
109 static int ConvertOverwriteModeFromString(
const char* modeStr);
110 static const char* ConvertOverwriteModeToString(
int mode);
111 static const char* ConvertMaskModeToString(
int mode);
112 static int ConvertMaskModeFromString(
const char* modeStr);
126 vtkGetStringMacro(SelectedSegmentID);
128 vtkSetStringMacro(SelectedSegmentID);
131 vtkGetStringMacro(ActiveEffectName);
133 vtkSetStringMacro(ActiveEffectName);
137 vtkSetMacro(MaskMode,
int);
138 vtkGetMacro(MaskMode,
int);
142 vtkGetStringMacro(MaskSegmentID);
144 vtkSetStringMacro(MaskSegmentID);
147 vtkBooleanMacro(MasterVolumeIntensityMask,
bool);
148 vtkGetMacro(MasterVolumeIntensityMask,
bool);
149 vtkSetMacro(MasterVolumeIntensityMask,
bool);
153 vtkSetVector2Macro(MasterVolumeIntensityMaskRange,
double);
156 vtkGetVector2Macro(MasterVolumeIntensityMaskRange,
double);
160 vtkSetMacro(OverwriteMode,
int);
161 vtkGetMacro(OverwriteMode,
int);
181 double MasterVolumeIntensityMaskRange[2];
184 #endif // __vtkMRMLSegmentEditorNode_h Areas added to selected segment will be removed from all visible segments. (no overlap with visible...
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.
Areas added to selected segment will be removed from all other segments. (overlap with all other segm...
Parameter set node for the segment editor widget.
Modification is allowed inside all visible segments.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
bool MasterVolumeIntensityMask
char * ActiveEffectName
Active effect name.
Modification is allowed outside all segments.
Modification is allowed inside all segments.
Modification is allowed outside all visible segments.
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
Modification is allowed only over the area covered by segment specified in MaskSegmentID.
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...
char * SelectedSegmentID
Selected segment ID.