Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkMRMLLabelMapVolumeDisplayNode.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: vtkMRMLLabelMapVolumeDisplayNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLLabelMapVolumeDisplayNode_h
16 #define __vtkMRMLLabelMapVolumeDisplayNode_h
17 
19 
20 class vtkImageAlgorithm;
21 class vtkImageMapToColors;
22 
27 {
28  public:
31  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
32 
33  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
34 
37  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "LabelMapVolumeDisplay";}
38 
41  virtual void ProcessMRMLEvents ( vtkObject * /*caller*/,
42  unsigned long /*event*/,
43  void * /*callData*/ ) VTK_OVERRIDE;
46  virtual void SetDefaultColorMap() VTK_OVERRIDE;
47 
49  virtual void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection) VTK_OVERRIDE;
50 
52  virtual vtkImageData* GetInputImageData() VTK_OVERRIDE;
53 
55  virtual vtkAlgorithmOutput* GetOutputImageDataConnection() VTK_OVERRIDE;
56 
57  virtual void UpdateImageDataPipeline() VTK_OVERRIDE;
58 
59 protected:
64 
65  vtkImageMapToColors *MapToColors;
66 
67 };
68 
69 #endif
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
virtual void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection)
MRML node for representing a volume display attributes.
virtual void SetDefaultColorMap()
set gray colormap or override in subclass
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual vtkImageData * GetInputImageData()
Gets the pipeline input. To be reimplemented in subclasses.
void operator=(const vtkMRMLVolumeDisplayNode &)
virtual vtkAlgorithmOutput * GetOutputImageDataConnection()
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
MRML node for representing a volume display attributes.