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