15 #ifndef __vtkMRMLDiffusionWeightedVolumeNode_h 16 #define __vtkMRMLDiffusionWeightedVolumeNode_h 23 class vtkImageExtractComponents;
39 void PrintSelf(ostream& os, vtkIndent indent)
override;
49 void WriteXML(ostream& of,
int indent)
override;
60 void SetNumberOfGradients(
int val);
61 int GetNumberOfGradients();
64 void SetDiffusionGradient(
int val,
const double g[3]);
65 void SetDiffusionGradients(vtkDoubleArray *grad);
66 double *GetDiffusionGradient(
int val);
67 void GetDiffusionGradient(
int val,
double g[3]);
68 vtkGetObjectMacro(DiffusionGradients,vtkDoubleArray);
71 void SetBValue (
int val,
const double b);
72 void SetBValues (vtkDoubleArray *bValue);
77 double GetBValue(
int val);
78 vtkGetObjectMacro(BValues,vtkDoubleArray);
82 void SetMeasurementFrameMatrix(
const double mf[3][3]);
83 void GetMeasurementFrameMatrix(
double mf[3][3]);
84 void SetMeasurementFrameMatrix(
const double xr,
const double xa,
const double xs,
85 const double yr,
const double ya,
const double ys,
86 const double zr,
const double za,
const double zs);
88 void SetMeasurementFrameMatrix(vtkMatrix4x4 *mat);
89 void GetMeasurementFrameMatrix(vtkMatrix4x4 *mat);
109 void SetNumberOfGradientsInternal(
int val);
111 double MeasurementFrameMatrix[3][3];
MRML node for representing a volume (image stack).
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
vtkDoubleArray * DiffusionGradients
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
static vtkMRMLScalarVolumeNode * New()
A superclass for other storage nodes.
void operator=(const vtkMRMLScalarVolumeNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
MRML node for representing diffusion weighted MRI volume.
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
void ReadXMLAttributes(const char **atts) override
Set node attributes
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void CreateDefaultDisplayNodes() override
Create and observe default display node
void PrintSelf(ostream &os, vtkIndent indent) override