15#ifndef __vtkMRMLDiffusionTensorVolumeSliceDisplayNode_h
16#define __vtkMRMLDiffusionTensorVolumeSliceDisplayNode_h
37 void PrintSelf ( ostream& os, vtkIndent indent )
override;
51 void WriteXML ( ostream& of,
int indent )
override;
60 const char*
GetNodeTagName ()
override {
return "DiffusionTensorVolumeSliceDisplayNode";}
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors.
MRML node for display of a diffusion tensor.
void SetDiffusionTensorDisplayPropertiesNodeID(const char *id)
char * DiffusionTensorDisplayPropertiesNodeID
@ colorModeUseCellScalars
@ colorModeFunctionOfScalar
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML (MRML) file.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
vtkMRMLDiffusionTensorVolumeSliceDisplayNode()
void UpdateReferences() override
vtkAlgorithmOutput * GetOutputMeshConnection() override
void PrintSelf(ostream &os, vtkIndent indent) override
void SetColorModeToUseCellScalars()
void SetSliceImagePort(vtkAlgorithmOutput *imagePort) override
Set ImageData for a volume slice.
static int GetNumberOfScalarInvariants()
Get the number of selected scalar invariants to color a Slice.
vtkMRMLDiffusionTensorVolumeSliceDisplayNode(const vtkMRMLDiffusionTensorVolumeSliceDisplayNode &)
vtkMRMLDiffusionTensorDisplayPropertiesNode * DiffusionTensorDisplayPropertiesNode
ALL MRML nodes.
~vtkMRMLDiffusionTensorVolumeSliceDisplayNode() override
void UpdateScene(vtkMRMLScene *scene) override
Finds the storage node and read the data.
void SetAndObserveDiffusionTensorDisplayPropertiesNodeID(const char *ID)
Set diffusion tensor display MRML object for fiber glyph.
void UpdateAssignedAttribute() override
Update the pipeline based on this node attributes.
void UpdateReferenceID(const char *oldID, const char *newID) override
Update the stored reference to another node in the scene.
void SetColorModeToSolid()
Display Information: ColorMode for ALL nodes.
void SetColorModeToScalar()
Color according to the tensors using various scalar invariants.
void SetSlicePositionMatrix(vtkMatrix4x4 *matrix) override
Set slice to RAS transformation.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, UnstructuredGrid)
static vtkMRMLDiffusionTensorVolumeSliceDisplayNode * New()
void SetColorModeToFunctionOfScalar()
vtkDiffusionTensorGlyph * DiffusionTensorGlyphFilter
static int GetNthScalarInvariant(int i)
Get the nth scalar invariant to color a Slice.
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
vtkMRMLDiffusionTensorDisplayPropertiesNode * GetDiffusionTensorDisplayPropertiesNode()
Display Information: ColorMode for glyphs.
static std::vector< int > GetSupportedColorModes()
void SetSliceGlyphRotationMatrix(vtkMatrix4x4 *matrix) override
Set slice to IJK transformation.
void operator=(const vtkMRMLGlyphableVolumeSliceDisplayNode &)
vtkMRMLGlyphableVolumeSliceDisplayNode()
Display Information: ColorMode for glyphs.
virtual void SetColorMode(int)
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.