15 #ifndef __vtkMRMLClipModelsNode_h 16 #define __vtkMRMLClipModelsNode_h 31 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 void WriteXML(ostream& of,
int indent)
override;
58 vtkGetMacro(ClipType,
int);
59 vtkSetMacro(ClipType,
int);
70 vtkGetMacro(RedSliceClipState,
int);
71 vtkSetMacro(RedSliceClipState,
int);
76 vtkGetMacro(YellowSliceClipState,
int);
77 vtkSetMacro(YellowSliceClipState,
int);
82 vtkGetMacro(GreenSliceClipState,
int);
83 vtkSetMacro(GreenSliceClipState,
int);
88 ClipPositiveSpace = 1,
89 ClipNegativeSpace = 2,
100 } ClippingMethodType;
102 vtkGetMacro(ClippingMethod, ClippingMethodType);
103 vtkSetMacro(ClippingMethod, ClippingMethodType);
106 static int GetClippingMethodFromString(
const char* name);
107 static const char* GetClippingMethodAsString(ClippingMethodType
id);
MRML node to represent three clipping planes.
virtual void ReadXMLAttributes(const char **atts)
void operator=(const vtkMRMLNode &)
ClippingMethodType ClippingMethod
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
virtual void WriteXML(ostream &of, int indent)
void PrintSelf(ostream &os, vtkIndent indent) override
#define vtkMRMLCopyContentMacro(thisClassName)
Abstract Superclass for all specific types of MRML nodes.