15#ifndef __vtkMRMLVolumeDisplayNode_h
16#define __vtkMRMLVolumeDisplayNode_h
24class vtkAlgorithmOutput;
26class vtkImageStencilData;
35 void PrintSelf(ostream& os, vtkIndent indent)
override;
43 void WriteXML(ostream& of,
int indent)
override;
friend class vtkMRMLScene
A set of MRML Nodes that supports serialization and undo/redo.
virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
virtual vtkAlgorithmOutput * GetInputImageDataConnection()
virtual vtkImageData * GetInputImageData()
Gets the pipeline input. To be reimplemented in subclasses.
~vtkMRMLVolumeDisplayNode() override
void PrintSelf(ostream &os, vtkIndent indent) override
virtual vtkImageStencilData * GetBackgroundImageStencilData()
virtual vtkAlgorithmOutput * GetBackgroundImageStencilDataConnection()
vtkMRMLVolumeDisplayNode(const vtkMRMLVolumeDisplayNode &)
void operator=(const vtkMRMLVolumeDisplayNode &)
virtual void SetBackgroundImageStencilDataConnection(vtkAlgorithmOutput *imageDataConnection)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
vtkMRMLCopyContentMacro(vtkMRMLVolumeDisplayNode)
virtual vtkAlgorithmOutput * GetOutputImageDataConnection()
void UpdateReferences() override
virtual vtkAlgorithmOutput * GetImageDataConnection()
virtual void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection)
virtual vtkImageData * GetOutputImageData()
Gets the pipeline output. To be reimplemented in subclasses.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
vtkMRMLVolumeDisplayNode()
vtkMRMLVolumeNode * GetVolumeNode()
const char * GetNodeTagName() override=0
Get node XML tag name (like Volume, Model)
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes.
virtual void SetDefaultColorMap()
set gray colormap or override in subclass
void UpdateScene(vtkMRMLScene *scene) override
Finds the storage node and read the data.
MRML node for representing a volume (image stack).