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";}
73 virtual void UpdateReferenceID(
const char *oldID,
const char *newID) VTK_OVERRIDE;
79 void * ) 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();
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
static vtkMRMLGlyphableVolumeSliceDisplayNode * New()
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors.
void operator=(const vtkMRMLGlyphableVolumeSliceDisplayNode &)
virtual vtkAlgorithmOutput * GetOutputMeshConnection() VTK_OVERRIDE
MRML node to represent display properties for tractography.
virtual void SetSliceImagePort(vtkAlgorithmOutput *imagePort)
MRML node for display of a diffusion tensor.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkDiffusionTensorGlyph * DiffusionTensorGlyphFilter
virtual void SetColorMode(int)
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
virtual void UpdateReferences() VTK_OVERRIDE
A set of MRML Nodes that supports serialization and undo/redo.
virtual void SetSlicePositionMatrix(vtkMatrix4x4 *matrix)
Set slice to RAS transformation.
virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE
Update the stored reference to another node in the scene.
MRML node to represent display properties for tractography.
void SetColorModeToUseCellScalars()
void SetColorModeToScalar()
Color according to the tensors using various scalar invariants.
char * DiffusionTensorDisplayPropertiesNodeID
virtual void SetSliceGlyphRotationMatrix(vtkMatrix4x4 *matrix)
Set slice to IJK transformation.
Abstract Superclass for all specific types of MRML nodes.
virtual void UpdateAssignedAttribute() VTK_OVERRIDE
Update the pipeline based on this node attributes.
vtkMRMLDiffusionTensorDisplayPropertiesNode * DiffusionTensorDisplayPropertiesNode
ALL MRML nodes.
void SetColorModeToSolid()
Display Information: ColorMode for ALL nodes.
void SetColorModeToFunctionOfScalar()