Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
37 const char* GetNodeTagName() override { return "LabelMapVolumeDisplay"; }
38
42
45 void ProcessMRMLEvents(vtkObject* /*caller*/, unsigned long /*event*/, void* /*callData*/) override;
48 void SetDefaultColorMap() override;
49
51 void SetInputImageDataConnection(vtkAlgorithmOutput* imageDataConnection) override;
52
54 vtkImageData* GetInputImageData() override;
55
57 vtkAlgorithmOutput* GetOutputImageDataConnection() override;
58
59 void UpdateImageDataPipeline() override;
60
61protected:
66
67 vtkImageMapToColors* MapToColors;
68};
69
70#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)