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;
108 virtual std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode*>
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);
virtual vtkAlgorithmOutput * GetInputImageDataConnection() VTK_OVERRIDE
Gets the pipeline input.
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
vtkImageRGBToHSI * RGBToHSI
MRML node for representing a volume (image stack).
virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) VTK_OVERRIDE
virtual vtkAlgorithmOutput * GetScalarImageDataConnection()
vtkImageExtractComponents * ExtractIntensity
vtkImageShiftScale * ShiftScale
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes.
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
void SetGlyphModeToLines()
void SetGlyphModeToTubes()
void operator=(const vtkMRMLGlyphableVolumeDisplayNode &)
MRML node for representing a volume (image stack).
virtual std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode * > GetSliceGlyphDisplayNodes(vtkMRMLVolumeNode *vtkNotUsed(node)) VTK_OVERRIDE
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()