15 #ifndef __vtkDiffusionTensorGlyph_h 16 #define __vtkDiffusionTensorGlyph_h 18 #include "vtkTeemConfigure.h" 20 #include "vtkTensorGlyph.h" 21 #include <vtkVersion.h> 75 void PrintSelf(ostream& os, vtkIndent indent)
override;
85 vtkBooleanMacro(MaskGlyphs,
int);
86 vtkSetMacro(MaskGlyphs,
int);
87 vtkGetMacro(MaskGlyphs,
int);
92 virtual void SetMask(vtkImageData*);
98 void ColorGlyphsByLinearMeasure();
99 void ColorGlyphsBySphericalMeasure();
100 void ColorGlyphsByPlanarMeasure();
101 void ColorGlyphsByParallelDiffusivity();
102 void ColorGlyphsByPerpendicularDiffusivity();
103 void ColorGlyphsByMaxEigenvalue();
104 void ColorGlyphsByMidEigenvalue();
105 void ColorGlyphsByMinEigenvalue();
106 void ColorGlyphsByRelativeAnisotropy();
107 void ColorGlyphsByFractionalAnisotropy();
108 void ColorGlyphsByTrace();
112 void ColorGlyphsByOrientation();
127 virtual void SetVolumePositionMatrix(vtkMatrix4x4*);
128 vtkGetObjectMacro(VolumePositionMatrix, vtkMatrix4x4);
145 virtual void SetTensorRotationMatrix(vtkMatrix4x4*);
146 vtkGetObjectMacro(TensorRotationMatrix, vtkMatrix4x4);
152 vtkSetClampMacro(Resolution,
int,1,VTK_INT_MAX);
153 vtkGetMacro(Resolution,
int);
161 vtkGetVector2Macro(DimensionResolution,
int);
162 vtkSetVector2Macro(DimensionResolution,
int);
168 vtkMTimeType GetMTime()
override;
174 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
176 void ColorGlyphsBy(
int measure);
182 int DimensionResolution[2];
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors.
int MaskGlyphs
which function of eigenvalues to use for coloring
int Resolution
mask glyphs outside of the brain for example, using the Mask
vtkMatrix4x4 * VolumePositionMatrix
vtkMatrix4x4 * TensorRotationMatrix