1 #ifndef __vtkMRMLROINode_h 2 #define __vtkMRMLROINode_h 17 void PrintSelf(ostream& os, vtkIndent indent)
override;
28 virtual void ReadXMLString(
const char *keyValuePairs);
32 void WriteXML(ostream& of,
int indent)
override;
52 vtkBooleanMacro(Visibility,
int);
53 vtkGetMacro(Visibility,
int);
54 vtkSetMacro(Visibility,
int);
58 vtkBooleanMacro(InteractiveMode,
int);
59 vtkGetMacro(InteractiveMode,
int);
60 vtkSetMacro(InteractiveMode,
int);
65 void SetXYZ(
double X,
double Y,
double Z);
66 void SetXYZ(
double* XYZ);
67 vtkGetVectorMacro(XYZ,
double,3);
71 void SetRadiusXYZ(
double RadiusX,
double RadiusY,
double RadiusZ);
72 void SetRadiusXYZ(
double* RadiusXYZ);
73 vtkGetVectorMacro(RadiusXYZ,
double,3);
77 void SetIJK(
double I,
double J,
double K);
78 void SetIJK(
double* IJK);
79 vtkGetVectorMacro(IJK,
double,3);
83 void SetRadiusIJK(
double RadiusI,
double RadiusJ,
double RadiusK);
84 void SetRadiusIJK(
double* RadiusIJK);
85 vtkGetVectorMacro(RadiusIJK,
double,3);
92 vtkSetMacro(InsideOut,
int);
93 vtkGetMacro(InsideOut,
int);
94 vtkBooleanMacro(InsideOut,
int);
98 vtkSetStringMacro(LabelText);
99 vtkGetStringMacro(LabelText);
101 void ProcessMRMLEvents ( vtkObject *caller,
unsigned long event,
void *callData )
override;
103 vtkGetStringMacro(VolumeNodeID);
104 vtkSetStringMacro(VolumeNodeID);
113 void GetTransformedPlanes(vtkPlanes *planes);
int InsideOut
Control the orientation of the normals.
char * VolumeNodeID
The ID of the volume associated with the ROI
MRML node to represent a 3D ROI.
virtual void UpdateReferences()
The method should remove all pointers and observations to all nodes that are not in the scene anymore...
virtual void Copy(vtkMRMLNode *node)
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
A set of MRML Nodes that supports serialization and undo/redo.
void UpdateScene(vtkMRMLScene *scene) override
Finds the storage node and read the data
Abstract Superclass for all specific types of MRML nodes.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)