15 #ifndef __vtkMRMLDiffusionWeightedVolumeNode_h 16 #define __vtkMRMLDiffusionWeightedVolumeNode_h 23 class vtkImageExtractComponents;
39 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
45 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
49 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
57 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "DiffusionWeightedVolume";}
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];
vtkImageExtractComponents * ExtractComponents
MRML node for representing a volume (image stack).
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
vtkDoubleArray * DiffusionGradients
virtual vtkMRMLStorageNode * CreateDefaultStorageNode() VTK_OVERRIDE
Create default storage node or NULL if does not have one.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkMRMLScalarVolumeNode * New()
A supercalss for other storage nodes.
void operator=(const vtkMRMLScalarVolumeNode &)
virtual void CreateDefaultDisplayNodes() VTK_OVERRIDE
Create and observe default display node.
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.