Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLMarkupsROIDisplayNode.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 Kyle Sunderland, PerkLab, Queen's University
16  and was supported through CANARIE's Research Software Program, Cancer
17  Care Ontario, OpenAnatomy, and Brigham and Women's Hospital through NIH grant R01MH112748.
18 
19 ==============================================================================*/
20 // .NAME vtkMRMLMarkupsROIDisplayNode - MRML node to represent display properties for markups ROI
21 // .SECTION Description
22 // Adjusts default display parameters for ROI such as fill opacity.
23 //
24 
25 #ifndef __vtkMRMLMarkupsROIDisplayNode_h
26 #define __vtkMRMLMarkupsROIDisplayNode_h
27 
28 #include "vtkSlicerMarkupsModuleMRMLExport.h"
30 
32 class VTK_SLICER_MARKUPS_MODULE_MRML_EXPORT vtkMRMLMarkupsROIDisplayNode : public vtkMRMLMarkupsDisplayNode
33 {
34 public:
37 
38  //--------------------------------------------------------------------------
39  // MRMLNode methods
40  //--------------------------------------------------------------------------
41 
42  vtkMRMLNode* CreateNodeInstance ( ) override;
43 
44  // Get node XML tag name (like Volume, Markups)
45  const char* GetNodeTagName() override {return "MarkupsROIDisplay";};
46 
50 
51  enum
52  {
54  ComponentROI_Last
55  };
56 
57  // Scale handle indexes
58  enum
59  {
66 
75 
88 
89  HandleROI_Last
90  };
91 
92 protected:
94  ~vtkMRMLMarkupsROIDisplayNode() override;
97 };
98 #endif
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Markups)
void operator=(const vtkMRMLMarkupsDisplayNode &)
#define vtkMRMLCopyContentDefaultMacro(thisClassName)
Definition: vtkMRMLNode.h:155
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
static vtkMRMLMarkupsDisplayNode * New()