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)
override;
50 void WriteXML(ostream& of,
int indent)
override;
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);
108 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);
vtkImageRGBToHSI * RGBToHSI
void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) override
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
MRML node for representing a volume (image stack).
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
virtual vtkAlgorithmOutput * GetScalarImageDataConnection()
void PrintSelf(ostream &os, vtkIndent indent) override
vtkImageExtractComponents * ExtractIntensity
std::vector< vtkMRMLGlyphableVolumeSliceDisplayNode * > GetSliceGlyphDisplayNodes(vtkMRMLVolumeNode *vtkNotUsed(node)) override
vtkAlgorithmOutput * GetInputImageDataConnection() override
Gets the pipeline input.
vtkImageShiftScale * ShiftScale
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SetDefaultColorMap() override
set gray colormap
void SetGlyphModeToLines()
vtkMRMLCopyContentMacro(vtkMRMLVolumeDisplayNode)
void SetGlyphModeToTubes()
void operator=(const vtkMRMLGlyphableVolumeDisplayNode &)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
MRML node for representing a volume (image stack).
void SetScalarModeToMagnitude()
Abstract Superclass for all specific types of MRML nodes.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
MRML node for representing a volume display attributes.
static vtkMRMLGlyphableVolumeDisplayNode * New()