15 #ifndef __vtkMRMLVectorVolumeDisplayNode_h 16 #define __vtkMRMLVectorVolumeDisplayNode_h 20 class vtkAlgorithmOutput;
22 class vtkImageShiftScale;
23 class vtkImageExtractComponents;
24 class vtkImageRGBToHSI;
40 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
50 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
58 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "VectorVolumeDisplay";}
66 scalarModeMagnitude = 0
68 vtkGetMacro(ScalarMode,
int);
69 vtkSetMacro(ScalarMode,
int);
72 this->SetScalarMode(this->scalarModeMagnitude);
80 vtkGetMacro(GlyphMode,
int);
81 vtkSetMacro(GlyphMode,
int);
84 this->SetGlyphMode(this->glyphModeLines);
87 this->SetGlyphMode(this->glyphModeTubes);
98 void * ) VTK_OVERRIDE;
103 virtual
void UpdateImageDataPipeline() VTK_OVERRIDE;
111 return std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode*>();
116 vtkGetObjectMacro (ShiftScale, vtkImageShiftScale);
117 vtkGetObjectMacro (RGBToHSI, vtkImageRGBToHSI);
118 vtkGetObjectMacro (ExtractIntensity, vtkImageExtractComponents);
119 vtkGetObjectMacro (AppendComponents, vtkImageAppendComponents);
120 vtkGetObjectMacro (Threshold, vtkImageThreshold);
135 vtkImageShiftScale *ShiftScale;
136 vtkImageRGBToHSI *RGBToHSI;
137 vtkImageExtractComponents *ExtractIntensity;
virtual vtkAlgorithmOutput * GetInputImageDataConnection() VTK_OVERRIDE
Gets the pipeline input.
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
MRML node for representing a volume (image stack).
virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) VTK_OVERRIDE
virtual vtkAlgorithmOutput * GetScalarImageDataConnection()
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
void SetGlyphModeToLines()
void SetGlyphModeToTubes()
MRML node to represent display properties for tractography.
void operator=(const vtkMRMLGlyphableVolumeDisplayNode &)
MRML node for representing a volume (image stack).
void SetScalarModeToMagnitude()
virtual void SetDefaultColorMap() VTK_OVERRIDE
set gray colormap
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing a volume display attributes.
static vtkMRMLGlyphableVolumeDisplayNode * New()