Slicer 5.9
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
20class vtkImageAlgorithm;
21class vtkImageMapToColors;
22
27{
28 public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
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
63protected:
68
69 vtkImageMapToColors *MapToColors;
70
71};
72
73#endif
vtkMRMLLabelMapVolumeDisplayNode(const vtkMRMLLabelMapVolumeDisplayNode &)
void SetInputImageDataConnection(vtkAlgorithmOutput *imageDataConnection) override
Set the pipeline input.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
vtkAlgorithmOutput * GetOutputImageDataConnection() override
Gets the pipeline output.
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void operator=(const vtkMRMLLabelMapVolumeDisplayNode &)
void PrintSelf(ostream &os, vtkIndent indent) override
vtkImageData * GetInputImageData() override
Get the pipeline input.
void UpdateImageDataPipeline() override
Update the pipeline based on this node attributes.
static vtkMRMLLabelMapVolumeDisplayNode * New()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void SetDefaultColorMap() override
set default labels colormap
vtkMRMLCopyContentDefaultMacro(vtkMRMLLabelMapVolumeDisplayNode)