15 #ifndef __vtkMRMLClipModelsNode_h 16 #define __vtkMRMLClipModelsNode_h 31 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
45 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
54 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "ClipModels";}
59 vtkGetMacro(ClipType,
int);
60 vtkSetMacro(ClipType,
int);
71 vtkGetMacro(RedSliceClipState,
int);
72 vtkSetMacro(RedSliceClipState,
int);
77 vtkGetMacro(YellowSliceClipState,
int);
78 vtkSetMacro(YellowSliceClipState,
int);
83 vtkGetMacro(GreenSliceClipState,
int);
84 vtkSetMacro(GreenSliceClipState,
int);
89 ClipPositiveSpace = 1,
90 ClipNegativeSpace = 2,
103 vtkGetMacro(ClippingMethod, ClippingMethodType);
104 vtkSetMacro(ClippingMethod, ClippingMethodType);
107 static int GetClippingMethodFromString(
const char* name);
108 static const char* GetClippingMethodAsString(ClippingMethodType
id);
MRML node to represent three clipping planes.
void operator=(const vtkMRMLNode &)
ClippingMethodType ClippingMethod
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.