Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkAnnotationROIWidget2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile: vtkAnnotationROIWidget2D.h,v $
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or https://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
32 //
36 //
57 //
70 //
78 
86 
89 
90 #ifndef __vtkAnnotationROIWidget2D_h
91 #define __vtkAnnotationROIWidget2D_h
92 
93 // Annotations includes
94 #include "vtkAnnotationROIWidget.h"
95 
97 class vtkWidgetRepresentation2D;
98 class vtkHandleWidget;
99 
100 
101 class VTK_SLICER_ANNOTATIONS_MODULE_VTKWIDGETS_EXPORT vtkAnnotationROIWidget2D
102  : public vtkAnnotationROIWidget
103 {
104 public:
107  static vtkAnnotationROIWidget2D *New();
108 
112  void PrintSelf(ostream& os, vtkIndent indent) override;
113 
119  {
120  this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
121  }
122 
126  void CreateDefaultRepresentation() override;
127 
128 protected:
130  ~vtkAnnotationROIWidget2D() override;
131 
132 private:
134  void operator=(const vtkAnnotationROIWidget2D&) = delete;
135 };
136 
137 #endif
void SetRepresentation(vtkAnnotationROIRepresentation *r) override
void CreateDefaultRepresentation() override
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkAnnotationROIWidget * New()
Instantiate the object.