15 #ifndef __vtkMRMLGlyphableVolumeSliceDisplayNode_h 16 #define __vtkMRMLGlyphableVolumeSliceDisplayNode_h 22 #include "vtkPolyData.h" 25 class vtkTransformPolyDataFilter;
40 void PrintSelf ( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
50 virtual
void ReadXMLAttributes ( const
char** atts ) VTK_OVERRIDE;
54 virtual
void WriteXML ( ostream& of,
int indent ) VTK_OVERRIDE;
59 virtual
void Copy (
vtkMRMLNode *node ) VTK_OVERRIDE;
63 virtual const
char* GetNodeTagName () VTK_OVERRIDE {
return "GlyphableVolumeSliceDisplayNode";}
70 virtual
void UpdateReferenceID(const
char *oldID, const
char *newID) VTK_OVERRIDE
82 void * ) VTK_OVERRIDE;
95 virtual vtkPolyData* GetOutputMesh() VTK_OVERRIDE;
100 virtual vtkPolyData* GetSliceOutputPolyData();
104 virtual
void UpdateAssignedAttribute() VTK_OVERRIDE;
110 virtual
void SetSliceImagePort(vtkAlgorithmOutput *imagePort);
111 vtkGetObjectMacro(SliceImagePort, vtkAlgorithmOutput);
115 virtual vtkAlgorithmOutput* GetSliceOutputPort();
119 virtual
void SetSlicePositionMatrix(vtkMatrix4x4 *matrix);
123 virtual
void SetSliceGlyphRotationMatrix(vtkMatrix4x4 *matrix);
140 colorModeFunctionOfScalar = 2,
141 colorModeUseCellScalars = 3
150 vtkGetMacro ( ColorMode,
int );
151 vtkSetMacro ( ColorMode,
int );
156 this->SetColorMode ( this->colorModeSolid );
162 this->SetColorMode ( this->colorModeScalar );
169 this->SetColorMode ( this->colorModeFunctionOfScalar );
180 this->SetColorMode ( this->colorModeUseCellScalars );
200 virtual void SetInputToPolyDataPipeline(vtkAlgorithmOutput* glyphPolyData);
void SetColorModeToScalar()
Color according to the tensors using various scalar invariants.
static vtkMRMLModelDisplayNode * New()
void SetColorModeToSolid()
Color by solid color (for example the whole fiber bundle red. blue, etc.)
MRML node to represent a display property of 3D surface model.
virtual vtkAlgorithmOutput * GetOutputMeshConnection()
virtual void UpdateReferences() VTK_OVERRIDE
virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE
Update the stored reference to another node in the scene.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTransform * SliceToXYTransform
void SetColorModeToFunctionOfScalar()
A set of MRML Nodes that supports serialization and undo/redo.
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE
MRML node to represent display properties for tractography.
vtkTransformPolyDataFilter * SliceToXYTransformer
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
vtkMatrix4x4 * SliceToXYMatrix
void operator=(const vtkMRMLModelDisplayNode &)
vtkAlgorithmOutput * SliceImagePort
Abstract Superclass for all specific types of MRML nodes.
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
void SetColorModeToUseCellScalars()