Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDiffusionTensorMathematics Class Reference

#include <Libs/vtkTeem/vtkDiffusionTensorMathematics.h>

Inheritance diagram for vtkDiffusionTensorMathematics:
Inheritance graph
[legend]
Collaboration diagram for vtkDiffusionTensorMathematics:
Collaboration graph
[legend]

Public Types

enum  {
  VTK_TENS_TRACE = 0, VTK_TENS_DETERMINANT = 1, VTK_TENS_RELATIVE_ANISOTROPY = 2, VTK_TENS_FRACTIONAL_ANISOTROPY = 3,
  VTK_TENS_MAX_EIGENVALUE = 4, VTK_TENS_MID_EIGENVALUE = 5, VTK_TENS_MIN_EIGENVALUE = 6, VTK_TENS_LINEAR_MEASURE = 7,
  VTK_TENS_PLANAR_MEASURE = 8, VTK_TENS_SPHERICAL_MEASURE = 9, VTK_TENS_COLOR_ORIENTATION = 10, VTK_TENS_D11 = 11,
  VTK_TENS_D22 = 12, VTK_TENS_D33 = 13, VTK_TENS_MODE = 14, VTK_TENS_COLOR_MODE =15,
  VTK_TENS_MAX_EIGENVALUE_PROJX = 16, VTK_TENS_MAX_EIGENVALUE_PROJY = 17, VTK_TENS_MAX_EIGENVALUE_PROJZ = 18, VTK_TENS_RAI_MAX_EIGENVEC_PROJX = 19,
  VTK_TENS_RAI_MAX_EIGENVEC_PROJY = 20, VTK_TENS_RAI_MAX_EIGENVEC_PROJZ = 21, VTK_TENS_MAX_EIGENVEC_PROJX = 22, VTK_TENS_MAX_EIGENVEC_PROJY = 23,
  VTK_TENS_MAX_EIGENVEC_PROJZ = 24, VTK_TENS_PARALLEL_DIFFUSIVITY = 25, VTK_TENS_PERPENDICULAR_DIFFUSIVITY = 26, VTK_TENS_COLOR_ORIENTATION_MIDDLE_EIGENVECTOR = 27,
  VTK_TENS_COLOR_ORIENTATION_MIN_EIGENVECTOR = 28, VTK_TENS_MEAN_DIFFUSIVITY = 29
}
 Operation options. More...
 
typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

void ComputeTensorIncrements (vtkImageData *imageData, vtkIdType incr[3])
 
virtual void ExtractEigenvaluesOff ()
 
virtual void ExtractEigenvaluesOn ()
 
virtual void FixNegativeEigenvaluesOff ()
 
virtual void FixNegativeEigenvaluesOn ()
 
virtual const char * GetClassName ()
 
virtual int GetExtractEigenvalues ()
 
virtual int GetFixNegativeEigenvalues ()
 
virtual int GetMaskLabelValue ()
 
virtual int GetMaskWithScalars ()
 
virtual int GetOperation ()
 
Get the Operation to perform. More...
 
virtual vtkImageData * GetScalarMask ()
 
virtual double GetScaleFactor ()
 
virtual vtkMatrix4x4 * GetTensorRotationMatrix ()
 
virtual int IsA (const char *type)
 
virtual void MaskWithScalarsOff ()
 
virtual void MaskWithScalarsOn ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetExtractEigenvalues (int)
 
Turn on/off extraction of eigenvalues from tensor. More...
 
virtual void SetFixNegativeEigenvalues (int)
 
virtual void SetMaskLabelValue (int)
 
Label value defining ROI for mask More...
 
virtual void SetMaskWithScalars (int)
 
virtual void SetOperation (int)
 
void SetOperationToColorByMode ()
 
void SetOperationToColorByOrientation ()
 
void SetOperationToD11 ()
 
Output a matrix (tensor) component More...
 
void SetOperationToD22 ()
 
void SetOperationToD33 ()
 
void SetOperationToDeterminant ()
 
Output the determinant More...
 
void SetOperationToFractionalAnisotropy ()
 
void SetOperationToLinearMeasure ()
 
void SetOperationToMaxEigenvalue ()
 
Output a selected eigenvalue More...
 
void SetOperationToMaxEigenvalueProjectionX ()
 
Output Maxeigenvalue*Maxeigenvec_projection also known as L1Z More...
 
void SetOperationToMaxEigenvalueProjectionY ()
 
void SetOperationToMaxEigenvalueProjectionZ ()
 
void SetOperationToMaxEigenvecX ()
 
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z More...
 
void SetOperationToMaxEigenvecY ()
 
void SetOperationToMaxEigenvecZ ()
 
void SetOperationToMeanDiffusivity ()
 
void SetOperationToMiddleEigenvalue ()
 
void SetOperationToMinEigenvalue ()
 
void SetOperationToMode ()
 
void SetOperationToParallelDiffusivity ()
 
void SetOperationToPerpendicularDiffusivity ()
 
void SetOperationToPlanarMeasure ()
 
void SetOperationToRAIMaxEigenvecX ()
 
Output Relative_anisotropy*Maxeigenvec_projection also known as L1z More...
 
void SetOperationToRAIMaxEigenvecY ()
 
void SetOperationToRAIMaxEigenvecZ ()
 
void SetOperationToRelativeAnisotropy ()
 
Output various anisotropy and shape measures More...
 
void SetOperationToSphericalMeasure ()
 
void SetOperationToTrace ()
 
Output the trace (sum of eigenvalues = sum along diagonal) More...
 
virtual void SetScalarMask (vtkImageData *)
 
Scalar mask More...
 
virtual void SetScaleFactor (double)
 
virtual void SetTensorRotationMatrix (vtkMatrix4x4 *)
 

Static Public Member Functions

static void ColorByMode (double w[3], double &R, double &G, double &B)
 
static double Determinant (double D[3][3])
 
static int FixNegativeEigenvaluesMethod (double w[3])
 
Helper functions to perform operations pixel-wise More...
 
static double FractionalAnisotropy (double w[3])
 
static int IsTypeOf (const char *type)
 
static double LinearMeasure (double w[3])
 
static double MaxEigenvalue (double w[3])
 
static double MaxEigenvalueProjectionX (double **v, double w[3])
 
static double MaxEigenvalueProjectionY (double **v, double w[3])
 
static double MaxEigenvalueProjectionZ (double **v, double w[3])
 
static double MaxEigenvecX (double **v, double w[3])
 
static double MaxEigenvecY (double **v, double w[3])
 
static double MaxEigenvecZ (double **v, double w[3])
 
static double MeanDiffusivity (double w[3])
 
static double MiddleEigenvalue (double w[3])
 
static double MinEigenvalue (double w[3])
 
static double Mode (double w[3])
 
static void ModeToRGB (double Mode, double FA, double &R, double &G, double &B)
 Public for access from threads. More...
 
static vtkDiffusionTensorMathematicsNew ()
 
static double ParallelDiffusivity (double w[3])
 
static double PerpendicularDiffusivity (double w[3])
 
static double PlanarMeasure (double w[3])
 
static double RAIMaxEigenvecX (double **v, double w[3])
 
static double RAIMaxEigenvecY (double **v, double w[3])
 
static double RAIMaxEigenvecZ (double **v, double w[3])
 
static double RelativeAnisotropy (double w[3])
 
static void RGBToIndex (double R, double G, double B, double &index)
 
static vtkDiffusionTensorMathematicsSafeDownCast (vtkObject *o)
 
static double SphericalMeasure (double w[3])
 
static int TeemEigenSolver (double **m, double *w, double **v)
 
static double Trace (double D[3][3])
 
static double Trace (double w[3])
 

Protected Member Functions

int FillInputPortInformation (int port, vtkInformation *info) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId) override
 
 vtkDiffusionTensorMathematics ()
 
 ~vtkDiffusionTensorMathematics () override
 

Protected Attributes

int ExtractEigenvalues
 Scale factor for output scalars. More...
 
int FixNegativeEigenvalues
 
int MaskLabelValue
 
int MaskWithScalars
 Boolean controls eigenfunction extraction. More...
 
int Operation
 
vtkImageData * ScalarMask
 
double ScaleFactor
 math operation to perform More...
 
vtkMatrix4x4 * TensorRotationMatrix
 

Detailed Description

Definition at line 37 of file vtkDiffusionTensorMathematics.h.

Member Typedef Documentation

◆ Superclass

typedef vtkThreadedImageAlgorithm vtkDiffusionTensorMathematics::Superclass

Definition at line 41 of file vtkDiffusionTensorMathematics.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Operation options.

Enumerator
VTK_TENS_TRACE 
VTK_TENS_DETERMINANT 
VTK_TENS_RELATIVE_ANISOTROPY 
VTK_TENS_FRACTIONAL_ANISOTROPY 
VTK_TENS_MAX_EIGENVALUE 
VTK_TENS_MID_EIGENVALUE 
VTK_TENS_MIN_EIGENVALUE 
VTK_TENS_LINEAR_MEASURE 
VTK_TENS_PLANAR_MEASURE 
VTK_TENS_SPHERICAL_MEASURE 
VTK_TENS_COLOR_ORIENTATION 
VTK_TENS_D11 
VTK_TENS_D22 
VTK_TENS_D33 
VTK_TENS_MODE 
VTK_TENS_COLOR_MODE 
VTK_TENS_MAX_EIGENVALUE_PROJX 
VTK_TENS_MAX_EIGENVALUE_PROJY 
VTK_TENS_MAX_EIGENVALUE_PROJZ 
VTK_TENS_RAI_MAX_EIGENVEC_PROJX 
VTK_TENS_RAI_MAX_EIGENVEC_PROJY 
VTK_TENS_RAI_MAX_EIGENVEC_PROJZ 
VTK_TENS_MAX_EIGENVEC_PROJX 
VTK_TENS_MAX_EIGENVEC_PROJY 
VTK_TENS_MAX_EIGENVEC_PROJZ 
VTK_TENS_PARALLEL_DIFFUSIVITY 
VTK_TENS_PERPENDICULAR_DIFFUSIVITY 
VTK_TENS_COLOR_ORIENTATION_MIDDLE_EIGENVECTOR 
VTK_TENS_COLOR_ORIENTATION_MIN_EIGENVECTOR 
VTK_TENS_MEAN_DIFFUSIVITY 

Definition at line 45 of file vtkDiffusionTensorMathematics.h.

Constructor & Destructor Documentation

◆ vtkDiffusionTensorMathematics()

vtkDiffusionTensorMathematics::vtkDiffusionTensorMathematics ( )
protected

◆ ~vtkDiffusionTensorMathematics()

vtkDiffusionTensorMathematics::~vtkDiffusionTensorMathematics ( )
overrideprotected

Member Function Documentation

◆ ColorByMode()

static void vtkDiffusionTensorMathematics::ColorByMode ( double  w[3],
double &  R,
double &  G,
double &  B 
)
static

◆ ComputeTensorIncrements()

void vtkDiffusionTensorMathematics::ComputeTensorIncrements ( vtkImageData *  imageData,
vtkIdType  incr[3] 
)

◆ Determinant()

static double vtkDiffusionTensorMathematics::Determinant ( double  D[3][3])
static

◆ ExtractEigenvaluesOff()

virtual void vtkDiffusionTensorMathematics::ExtractEigenvaluesOff ( )
virtual

◆ ExtractEigenvaluesOn()

virtual void vtkDiffusionTensorMathematics::ExtractEigenvaluesOn ( )
virtual

◆ FillInputPortInformation()

int vtkDiffusionTensorMathematics::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
overrideprotected

◆ FixNegativeEigenvaluesMethod()

static int vtkDiffusionTensorMathematics::FixNegativeEigenvaluesMethod ( double  w[3])
static


Helper functions to perform operations pixel-wise

◆ FixNegativeEigenvaluesOff()

virtual void vtkDiffusionTensorMathematics::FixNegativeEigenvaluesOff ( )
virtual

◆ FixNegativeEigenvaluesOn()

virtual void vtkDiffusionTensorMathematics::FixNegativeEigenvaluesOn ( )
virtual

◆ FractionalAnisotropy()

static double vtkDiffusionTensorMathematics::FractionalAnisotropy ( double  w[3])
static

◆ GetClassName()

virtual const char* vtkDiffusionTensorMathematics::GetClassName ( )
virtual

◆ GetExtractEigenvalues()

virtual int vtkDiffusionTensorMathematics::GetExtractEigenvalues ( )
virtual

◆ GetFixNegativeEigenvalues()

virtual int vtkDiffusionTensorMathematics::GetFixNegativeEigenvalues ( )
virtual

◆ GetMaskLabelValue()

virtual int vtkDiffusionTensorMathematics::GetMaskLabelValue ( )
virtual

◆ GetMaskWithScalars()

virtual int vtkDiffusionTensorMathematics::GetMaskWithScalars ( )
virtual

◆ GetOperation()

virtual int vtkDiffusionTensorMathematics::GetOperation ( )
virtual


Get the Operation to perform.

◆ GetScalarMask()

virtual vtkImageData* vtkDiffusionTensorMathematics::GetScalarMask ( )
virtual

◆ GetScaleFactor()

virtual double vtkDiffusionTensorMathematics::GetScaleFactor ( )
virtual

◆ GetTensorRotationMatrix()

virtual vtkMatrix4x4* vtkDiffusionTensorMathematics::GetTensorRotationMatrix ( )
virtual

◆ IsA()

virtual int vtkDiffusionTensorMathematics::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkDiffusionTensorMathematics::IsTypeOf ( const char *  type)
static

◆ LinearMeasure()

static double vtkDiffusionTensorMathematics::LinearMeasure ( double  w[3])
static

◆ MaskWithScalarsOff()

virtual void vtkDiffusionTensorMathematics::MaskWithScalarsOff ( )
virtual

◆ MaskWithScalarsOn()

virtual void vtkDiffusionTensorMathematics::MaskWithScalarsOn ( )
virtual

Description Input scalars are a binary mask: 0 prevents display of tensor quantity at that point

◆ MaxEigenvalue()

static double vtkDiffusionTensorMathematics::MaxEigenvalue ( double  w[3])
static

◆ MaxEigenvalueProjectionX()

static double vtkDiffusionTensorMathematics::MaxEigenvalueProjectionX ( double **  v,
double  w[3] 
)
static

◆ MaxEigenvalueProjectionY()

static double vtkDiffusionTensorMathematics::MaxEigenvalueProjectionY ( double **  v,
double  w[3] 
)
static

◆ MaxEigenvalueProjectionZ()

static double vtkDiffusionTensorMathematics::MaxEigenvalueProjectionZ ( double **  v,
double  w[3] 
)
static

◆ MaxEigenvecX()

static double vtkDiffusionTensorMathematics::MaxEigenvecX ( double **  v,
double  w[3] 
)
static

◆ MaxEigenvecY()

static double vtkDiffusionTensorMathematics::MaxEigenvecY ( double **  v,
double  w[3] 
)
static

◆ MaxEigenvecZ()

static double vtkDiffusionTensorMathematics::MaxEigenvecZ ( double **  v,
double  w[3] 
)
static

◆ MeanDiffusivity()

static double vtkDiffusionTensorMathematics::MeanDiffusivity ( double  w[3])
static

◆ MiddleEigenvalue()

static double vtkDiffusionTensorMathematics::MiddleEigenvalue ( double  w[3])
static

◆ MinEigenvalue()

static double vtkDiffusionTensorMathematics::MinEigenvalue ( double  w[3])
static

◆ Mode()

static double vtkDiffusionTensorMathematics::Mode ( double  w[3])
static

◆ ModeToRGB()

static void vtkDiffusionTensorMathematics::ModeToRGB ( double  Mode,
double  FA,
double &  R,
double &  G,
double &  B 
)
static

Public for access from threads.

◆ New()

static vtkDiffusionTensorMathematics* vtkDiffusionTensorMathematics::New ( )
static

◆ ParallelDiffusivity()

static double vtkDiffusionTensorMathematics::ParallelDiffusivity ( double  w[3])
static

◆ PerpendicularDiffusivity()

static double vtkDiffusionTensorMathematics::PerpendicularDiffusivity ( double  w[3])
static

◆ PlanarMeasure()

static double vtkDiffusionTensorMathematics::PlanarMeasure ( double  w[3])
static

◆ PrintSelf()

void vtkDiffusionTensorMathematics::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RAIMaxEigenvecX()

static double vtkDiffusionTensorMathematics::RAIMaxEigenvecX ( double **  v,
double  w[3] 
)
static

◆ RAIMaxEigenvecY()

static double vtkDiffusionTensorMathematics::RAIMaxEigenvecY ( double **  v,
double  w[3] 
)
static

◆ RAIMaxEigenvecZ()

static double vtkDiffusionTensorMathematics::RAIMaxEigenvecZ ( double **  v,
double  w[3] 
)
static

◆ RelativeAnisotropy()

static double vtkDiffusionTensorMathematics::RelativeAnisotropy ( double  w[3])
static

◆ RequestData()

int vtkDiffusionTensorMathematics::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
overrideprotected

◆ RequestInformation()

int vtkDiffusionTensorMathematics::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
overrideprotected

◆ RGBToIndex()

static void vtkDiffusionTensorMathematics::RGBToIndex ( double  R,
double  G,
double  B,
double &  index 
)
static

◆ SafeDownCast()

static vtkDiffusionTensorMathematics* vtkDiffusionTensorMathematics::SafeDownCast ( vtkObject *  o)
static

◆ SetExtractEigenvalues()

virtual void vtkDiffusionTensorMathematics::SetExtractEigenvalues ( int  )
virtual


Turn on/off extraction of eigenvalues from tensor.

◆ SetFixNegativeEigenvalues()

virtual void vtkDiffusionTensorMathematics::SetFixNegativeEigenvalues ( int  )
virtual

◆ SetMaskLabelValue()

virtual void vtkDiffusionTensorMathematics::SetMaskLabelValue ( int  )
virtual


Label value defining ROI for mask

◆ SetMaskWithScalars()

virtual void vtkDiffusionTensorMathematics::SetMaskWithScalars ( int  )
virtual

◆ SetOperation()

virtual void vtkDiffusionTensorMathematics::SetOperation ( int  )
virtual

◆ SetOperationToColorByMode()

void vtkDiffusionTensorMathematics::SetOperationToColorByMode ( )
inline

Output RGB color according to colormapping of mode, with final RGB being a linear combination of gray and this color. Amount of gray is determined by FA. Thanks to Gordon Lothar Kindlmann for this method.

Definition at line 174 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToColorByOrientation()

void vtkDiffusionTensorMathematics::SetOperationToColorByOrientation ( )
inline

Output RGB color according to XYZ of eigenvectors. Output A (alpha, or transparency) according to anisotropy (1-spherical measure).

Definition at line 166 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToD11()

void vtkDiffusionTensorMathematics::SetOperationToD11 ( )
inline


Output a matrix (tensor) component

Definition at line 155 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToD22()

void vtkDiffusionTensorMathematics::SetOperationToD22 ( )
inline

Definition at line 157 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToD33()

void vtkDiffusionTensorMathematics::SetOperationToD33 ( )
inline

Definition at line 159 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToDeterminant()

void vtkDiffusionTensorMathematics::SetOperationToDeterminant ( )
inline


Output the determinant

Definition at line 90 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToFractionalAnisotropy()

void vtkDiffusionTensorMathematics::SetOperationToFractionalAnisotropy ( )
inline

Definition at line 97 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToLinearMeasure()

void vtkDiffusionTensorMathematics::SetOperationToLinearMeasure ( )
inline

Definition at line 99 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvalue()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvalue ( )
inline


Output a selected eigenvalue

Definition at line 118 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvalueProjectionX()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvalueProjectionX ( )
inline


Output Maxeigenvalue*Maxeigenvec_projection also known as L1Z

Definition at line 127 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvalueProjectionY()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvalueProjectionY ( )
inline

Definition at line 129 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvalueProjectionZ()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvalueProjectionZ ( )
inline

Definition at line 131 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvecX()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvecX ( )
inline


Output Relative_anisotropy*Maxeigenvec_projection also known as L1z

Definition at line 145 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvecY()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvecY ( )
inline

Definition at line 147 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMaxEigenvecZ()

void vtkDiffusionTensorMathematics::SetOperationToMaxEigenvecZ ( )
inline

Definition at line 149 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMeanDiffusivity()

void vtkDiffusionTensorMathematics::SetOperationToMeanDiffusivity ( )
inline

Definition at line 113 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMiddleEigenvalue()

void vtkDiffusionTensorMathematics::SetOperationToMiddleEigenvalue ( )
inline

Definition at line 120 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMinEigenvalue()

void vtkDiffusionTensorMathematics::SetOperationToMinEigenvalue ( )
inline

Definition at line 122 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToMode()

void vtkDiffusionTensorMathematics::SetOperationToMode ( )
inline

This is the skewness of the eigenvalues (thanks to Gordon Lothar (of the Hill People) Kindlmann)

Definition at line 107 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToParallelDiffusivity()

void vtkDiffusionTensorMathematics::SetOperationToParallelDiffusivity ( )
inline

Definition at line 109 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToPerpendicularDiffusivity()

void vtkDiffusionTensorMathematics::SetOperationToPerpendicularDiffusivity ( )
inline

Definition at line 111 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToPlanarMeasure()

void vtkDiffusionTensorMathematics::SetOperationToPlanarMeasure ( )
inline

Definition at line 101 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToRAIMaxEigenvecX()

void vtkDiffusionTensorMathematics::SetOperationToRAIMaxEigenvecX ( )
inline


Output Relative_anisotropy*Maxeigenvec_projection also known as L1z

Definition at line 136 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToRAIMaxEigenvecY()

void vtkDiffusionTensorMathematics::SetOperationToRAIMaxEigenvecY ( )
inline

Definition at line 138 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToRAIMaxEigenvecZ()

void vtkDiffusionTensorMathematics::SetOperationToRAIMaxEigenvecZ ( )
inline

Definition at line 140 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToRelativeAnisotropy()

void vtkDiffusionTensorMathematics::SetOperationToRelativeAnisotropy ( )
inline


Output various anisotropy and shape measures

Definition at line 95 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToSphericalMeasure()

void vtkDiffusionTensorMathematics::SetOperationToSphericalMeasure ( )
inline

Definition at line 103 of file vtkDiffusionTensorMathematics.h.

◆ SetOperationToTrace()

void vtkDiffusionTensorMathematics::SetOperationToTrace ( )
inline


Output the trace (sum of eigenvalues = sum along diagonal)

Definition at line 85 of file vtkDiffusionTensorMathematics.h.

◆ SetScalarMask()

virtual void vtkDiffusionTensorMathematics::SetScalarMask ( vtkImageData *  )
virtual


Scalar mask

◆ SetScaleFactor()

virtual void vtkDiffusionTensorMathematics::SetScaleFactor ( double  )
virtual

Specify scale factor to scale output (float) scalars by. This is not used when the output is RGBA (char color data).

◆ SetTensorRotationMatrix()

virtual void vtkDiffusionTensorMathematics::SetTensorRotationMatrix ( vtkMatrix4x4 *  )
virtual

Description This matrix is only used for ColorByOrientation. We transform the tensor orientation by this matrix before setting the output RGB values. This is useful to put the output colors into a standard coordinate system (i.e. RAS) regardless of the data scan order. Example usage is as follows: 1) If tensors are to be displayed in a coordinate system that is not IJK (array-based), and the whole volume is being rotated, each tensor needs also to be rotated. First find the matrix that positions your volume. (This is how the entire volume is positioned, not the matrix that positions an arbitrary reformatted slice.) 2) Remove scaling and translation from this matrix; we just need to rotate each tensor. 3) Set TensorRotationMatrix to this rotation matrix.

◆ SphericalMeasure()

static double vtkDiffusionTensorMathematics::SphericalMeasure ( double  w[3])
static

◆ TeemEigenSolver()

static int vtkDiffusionTensorMathematics::TeemEigenSolver ( double **  m,
double *  w,
double **  v 
)
static

◆ ThreadedRequestData()

void vtkDiffusionTensorMathematics::ThreadedRequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  threadId 
)
overrideprotected

◆ Trace() [1/2]

static double vtkDiffusionTensorMathematics::Trace ( double  D[3][3])
static

◆ Trace() [2/2]

static double vtkDiffusionTensorMathematics::Trace ( double  w[3])
static

Member Data Documentation

◆ ExtractEigenvalues

int vtkDiffusionTensorMathematics::ExtractEigenvalues
protected

Scale factor for output scalars.

Definition at line 279 of file vtkDiffusionTensorMathematics.h.

◆ FixNegativeEigenvalues

int vtkDiffusionTensorMathematics::FixNegativeEigenvalues
protected

Definition at line 286 of file vtkDiffusionTensorMathematics.h.

◆ MaskLabelValue

int vtkDiffusionTensorMathematics::MaskLabelValue
protected

Definition at line 283 of file vtkDiffusionTensorMathematics.h.

◆ MaskWithScalars

int vtkDiffusionTensorMathematics::MaskWithScalars
protected

Boolean controls eigenfunction extraction.

Definition at line 281 of file vtkDiffusionTensorMathematics.h.

◆ Operation

int vtkDiffusionTensorMathematics::Operation
protected

Definition at line 277 of file vtkDiffusionTensorMathematics.h.

◆ ScalarMask

vtkImageData* vtkDiffusionTensorMathematics::ScalarMask
protected

Definition at line 282 of file vtkDiffusionTensorMathematics.h.

◆ ScaleFactor

double vtkDiffusionTensorMathematics::ScaleFactor
protected

math operation to perform

Definition at line 278 of file vtkDiffusionTensorMathematics.h.

◆ TensorRotationMatrix

vtkMatrix4x4* vtkDiffusionTensorMathematics::TensorRotationMatrix
protected

Definition at line 285 of file vtkDiffusionTensorMathematics.h.


The documentation for this class was generated from the following file: