15 #ifndef __vtkMRMLDiffusionTensorVolumeSliceDisplayNode_h 16 #define __vtkMRMLDiffusionTensorVolumeSliceDisplayNode_h 37 void PrintSelf ( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
47 virtual
void ReadXMLAttributes ( const
char** atts ) VTK_OVERRIDE;
51 virtual
void WriteXML ( ostream& of,
int indent ) VTK_OVERRIDE;
56 virtual
void Copy (
vtkMRMLNode *node ) VTK_OVERRIDE;
60 virtual const
char* GetNodeTagName () VTK_OVERRIDE {
return "DiffusionTensorVolumeSliceDisplayNode";}
69 virtual
void UpdateScene(
vtkMRMLScene *scene) VTK_OVERRIDE;
73 virtual
void UpdateReferenceID(const
char *oldID, const
char *newID) VTK_OVERRIDE;
77 virtual
void ProcessMRMLEvents ( vtkObject * ,
79 void * ) VTK_OVERRIDE;
83 virtual vtkAlgorithmOutput* GetOutputMeshConnection() VTK_OVERRIDE;
87 virtual
void UpdateAssignedAttribute() VTK_OVERRIDE;
91 virtual
void SetSliceImagePort(vtkAlgorithmOutput *imagePort) VTK_OVERRIDE;
95 virtual
void SetSlicePositionMatrix(vtkMatrix4x4 *matrix) VTK_OVERRIDE;
99 virtual
void SetSliceGlyphRotationMatrix(vtkMatrix4x4 *matrix) VTK_OVERRIDE;
116 colorModeFunctionOfScalar = 2,
117 colorModeUseCellScalars = 3
174 void SetAndObserveDiffusionTensorDisplayPropertiesNodeID (
const char *ID );
178 vtkGetStringMacro(DiffusionTensorDisplayPropertiesNodeID);
182 static int GetNumberOfScalarInvariants();
186 static int GetNthScalarInvariant(
int i);
200 void SetDiffusionTensorDisplayPropertiesNodeID(
const char*
id);
202 static std::vector<int> GetSupportedColorModes();
static vtkMRMLGlyphableVolumeSliceDisplayNode * New()
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors.
void operator=(const vtkMRMLGlyphableVolumeSliceDisplayNode &)
MRML node to represent display properties for tractography.
MRML node for display of a diffusion tensor.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkDiffusionTensorGlyph * DiffusionTensorGlyphFilter
virtual void SetColorMode(int)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
virtual void UpdateReferences() VTK_OVERRIDE
A set of MRML Nodes that supports serialization and undo/redo.
MRML node to represent display properties for tractography.
void SetColorModeToUseCellScalars()
void SetColorModeToScalar()
Color according to the tensors using various scalar invariants.
char * DiffusionTensorDisplayPropertiesNodeID
Abstract Superclass for all specific types of MRML nodes.
vtkMRMLDiffusionTensorDisplayPropertiesNode * DiffusionTensorDisplayPropertiesNode
ALL MRML nodes.
void SetColorModeToSolid()
Display Information: ColorMode for ALL nodes.
void SetColorModeToFunctionOfScalar()