Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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) override;
32 
33  vtkMRMLNode* CreateNodeInstance() override;
34 
37  const char* GetNodeTagName() override {return "LabelMapVolumeDisplay";}
38 
42 
45  void ProcessMRMLEvents ( vtkObject * /*caller*/,
46  unsigned long /*event*/,
47  void * /*callData*/ ) override;
50  void SetDefaultColorMap() override;
51 
53  void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection) override;
54 
56  vtkImageData* GetInputImageData() override;
57 
59  vtkAlgorithmOutput* GetOutputImageDataConnection() override;
60 
61  void UpdateImageDataPipeline() override;
62 
63 protected:
68 
69  vtkImageMapToColors *MapToColors;
70 
71 };
72 
73 #endif
virtual void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection)
MRML node for representing a volume display attributes.
void PrintSelf(ostream &os, vtkIndent indent) override
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
virtual vtkImageData * GetInputImageData()
Gets the pipeline input. To be reimplemented in subclasses.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
void operator=(const vtkMRMLVolumeDisplayNode &)
virtual vtkAlgorithmOutput * GetOutputImageDataConnection()
#define vtkMRMLCopyContentDefaultMacro(thisClassName)
Definition: vtkMRMLNode.h:155
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
MRML node for representing a volume display attributes.