15#ifndef __vtkMRMLTensorVolumeNode_h
16#define __vtkMRMLTensorVolumeNode_h
39 void PrintSelf(ostream& os, vtkIndent indent)
override;
49 void WriteXML(ostream& of,
int indent)
override;
63 { Superclass::UpdateReferences(); }
68 { Superclass::UpdateReferenceID(oldID, newID); }
71 vtkGetMacro(Order,
int);
72 vtkSetMacro(Order,
int);
80 const double yr,
const double ya,
const double ys,
81 const double zr,
const double za,
const double zs);
100 double MeasurementFrameMatrix[3][3];
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing a volume (image stack).
A superclass for other storage nodes.
MRML node for representing diffusion weighted MRI volume.
void PrintSelf(ostream &os, vtkIndent indent) override
void GetMeasurementFrameMatrix(double mf[3][3])
vtkMRMLTensorVolumeNode()
void operator=(const vtkMRMLTensorVolumeNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void SetMeasurementFrameMatrix(const double mf[3][3])
Set the Measurement frame matrix from 3x3 array.
void GetMeasurementFrameMatrix(vtkMatrix4x4 *mat)
~vtkMRMLTensorVolumeNode() override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SetMeasurementFrameMatrix(const double xr, const double xa, const double xs, const double yr, const double ya, const double ys, const double zr, const double za, const double zs)
void UpdateReferences() override
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void SetMeasurementFrameMatrix(vtkMatrix4x4 *mat)
Set/Get the measurement frame matrix from a vtk 4x4 matrix.
static vtkMRMLTensorVolumeNode * New()
void UpdateReferenceID(const char *oldID, const char *newID) override
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one.
vtkMRMLTensorVolumeNode(const vtkMRMLTensorVolumeNode &)
vtkMRMLCopyContentMacro(vtkMRMLTensorVolumeNode)
void ReadXMLAttributes(const char **atts) override
Set node attributes.