Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLLabelMapVolumeNode.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4  Queen's University, Kingston, ON, Canada. All Rights Reserved.
5 
6  See COPYRIGHT.txt
7  or http://www.slicer.org/copyright/copyright.txt for details.
8 
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14 
15  This file was originally developed by Andras Lasso, PerkLab, Queen's University
16  and was supported through the Applied Cancer Research Unit program of Cancer Care
17  Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
18 
19 ==============================================================================*/
20 
21 #ifndef __vtkMRMLLabelMapVolumeNode_h
22 #define __vtkMRMLLabelMapVolumeNode_h
23 
24 // MRML includes
26 
36 class VTK_MRML_EXPORT vtkMRMLLabelMapVolumeNode : public vtkMRMLScalarVolumeNode
37 {
38  public:
41 
42  vtkMRMLNode* CreateNodeInstance() override;
43 
46  const char* GetNodeTagName() override {return "LabelMapVolume";}
47 
50  static void CreateNoneNode(vtkMRMLScene *scene);
51 
54  void CreateDefaultDisplayNodes() override;
55 
56 protected:
58  ~vtkMRMLLabelMapVolumeNode() override;
61 
62  int GetResamplingInterpolationMode() override;
63 };
64 
65 #endif
virtual int GetResamplingInterpolationMode()
MRML node for representing a label map volume.
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
A set of MRML Nodes that supports serialization and undo/redo.
Definition: vtkMRMLScene.h:57
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
static vtkMRMLScalarVolumeNode * New()
void operator=(const vtkMRMLScalarVolumeNode &)
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
static void CreateNoneNode(vtkMRMLScene *scene)
Make a 'None' volume node with blank image data
void CreateDefaultDisplayNodes() override
Create and observe default display node