Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLVolumeDisplayNode.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8  Program: 3D Slicer
9  Module: $RCSfile: vtkMRMLVolumeDisplayNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLVolumeDisplayNode_h
16 #define __vtkMRMLVolumeDisplayNode_h
17 
18 // MRML includes
19 #include "vtkMRMLDisplayNode.h"
20 class vtkMRMLScene;
21 class vtkMRMLVolumeNode;
22 
23 // VTK includes
24 class vtkAlgorithmOutput;
25 class vtkImageData;
26 class vtkImageStencilData;
27 
31 class VTK_MRML_EXPORT vtkMRMLVolumeDisplayNode : public vtkMRMLDisplayNode
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36 
39  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
40 
43  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
44 
47  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
48 
51  virtual const char* GetNodeTagName() VTK_OVERRIDE = 0;
52 
56  virtual void UpdateReferences() VTK_OVERRIDE;
57 
60  virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE;
61 
67  virtual void SetBackgroundImageStencilDataConnection(vtkAlgorithmOutput * imageDataConnection);
68  virtual vtkAlgorithmOutput* GetBackgroundImageStencilDataConnection();
69  virtual vtkImageStencilData* GetBackgroundImageStencilData();
70 
77  virtual vtkAlgorithmOutput* GetImageDataConnection();
78 
83 
88  virtual void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection);
89  virtual vtkAlgorithmOutput* GetInputImageDataConnection();
90 
92  virtual vtkImageData* GetInputImageData();
93 
95  virtual vtkImageData* GetOutputImageData();
96  virtual vtkAlgorithmOutput* GetOutputImageDataConnection();
97 
100  virtual void UpdateImageDataPipeline();
101 
104  virtual void ProcessMRMLEvents ( vtkObject * /*caller*/,
105  unsigned long /*event*/,
106  void * /*callData*/ ) VTK_OVERRIDE;
109  virtual void SetDefaultColorMap();
110 
113  vtkMRMLVolumeNode* GetVolumeNode();
114 
115 protected:
117  ~vtkMRMLVolumeDisplayNode();
118  vtkMRMLVolumeDisplayNode(const vtkMRMLVolumeDisplayNode&);
119  void operator=(const vtkMRMLVolumeDisplayNode&);
120 
121  virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection);
122 };
123 
124 #endif
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
MRML node for representing a volume display attributes.
A set of MRML Nodes that supports serialization and undo/redo.
Definition: vtkMRMLScene.h:54
MRML node for representing a volume (image stack).
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Abstract class that contains graphical display properties for displayable nodes.
virtual const char * GetNodeTagName()=0
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE