1#ifndef __vtkMRMLROINode_h
2#define __vtkMRMLROINode_h
17 void PrintSelf(ostream& os, vtkIndent indent)
override;
32 void WriteXML(ostream& of,
int indent)
override;
65 void SetXYZ(
double X,
double Y,
double Z);
67 vtkGetVectorMacro(
XYZ,
double,3);
77 void SetIJK(
double I,
double J,
double K);
79 vtkGetVectorMacro(
IJK,
double,3);
friend class vtkMRMLScene
virtual void ReadXMLString(const char *keyValuePairs)
~vtkMRMLROINode() override
vtkMRMLNode * CreateNodeInstance() override
MRML methods.
void GetTransformedPlanes(vtkPlanes *planes)
double RadiusIJK[3]
The radius of the ROI box in IJK space.
void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) override
Propagate events generated in mrml.
void SetRadiusXYZ(double RadiusX, double RadiusY, double RadiusZ)
Get/Set for radius of the ROI in RAS coordinates.
void SetRadiusXYZ(double *RadiusXYZ)
bool CanApplyNonLinearTransforms() const override
transform utility functions
void ApplyTransform(vtkAbstractTransform *transform) override
void UpdateScene(vtkMRMLScene *scene) override
static vtkMRMLROINode * New()
void SetXYZ(double X, double Y, double Z)
void ReadXMLAttributes(const char **atts) override
Set node attributes.
void UpdateReferences() override
update display node ids
void SetRadiusIJK(double RadiusI, double RadiusJ, double RadiusK)
Get/Set for radius of the ROI in IJK coordinates.
vtkMRMLROINode(const vtkMRMLROINode &)
void operator=(const vtkMRMLROINode &)
char * VolumeNodeID
The ID of the volume associated with the ROI.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SetRadiusIJK(double *RadiusIJK)
void PrintSelf(ostream &os, vtkIndent indent) override
double RadiusXYZ[3]
The radius of the ROI box in RAS space.
void SetIJK(double I, double J, double K)
Get/Set for ROI Position in IJK coordinates.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
int InsideOut
Control the orientation of the normals.