Slicer  4.8
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 http://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) VTK_OVERRIDE;
113 
118  virtual void SetRepresentation(vtkAnnotationROIRepresentation *r) VTK_OVERRIDE
119  {
120  this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
121  }
122 
126  virtual void CreateDefaultRepresentation() VTK_OVERRIDE;
127 
128 protected:
131 
132 private:
133  vtkAnnotationROIWidget2D(const vtkAnnotationROIWidget2D&); //Not implemented
134  void operator=(const vtkAnnotationROIWidget2D&); //Not implemented
135 };
136 
137 #endif
virtual void SetRepresentation(vtkAnnotationROIRepresentation *r) VTK_OVERRIDE
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void CreateDefaultRepresentation() VTK_OVERRIDE
static vtkAnnotationROIWidget * New()
Instantiate the object.