1 #ifndef __vtkMRMLROINode_h 2 #define __vtkMRMLROINode_h 17 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
26 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
28 virtual
void ReadXMLString( const
char *keyValuePairs);
32 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
40 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "MRMLROINode";}
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 ) VTK_OVERRIDE;
103 vtkGetStringMacro(VolumeNodeID);
104 vtkSetStringMacro(VolumeNodeID);
108 virtual
bool CanApplyNonLinearTransforms()const VTK_OVERRIDE;
109 virtual
void ApplyTransform(vtkAbstractTransform* transform) VTK_OVERRIDE;
113 void GetTransformedPlanes(vtkPlanes *planes);
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...
A set of MRML Nodes that supports serialization and undo/redo.
Abstract Superclass for all specific types of MRML nodes.
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data