Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkAnnotationRulerWidget.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: vtkAnnotationRulerWidget,v $
10  Date: $Date: Aug 4, 2010 10:44:52 AM $
11  Version: $Revision: 1.0 $
12 
13  =========================================================================auto=*/
14 
15 #ifndef __vtkAnnotationRulerWidget_h
16 #define __vtkAnnotationRulerWidget_h
17 
18 // Annotations includes
19 #include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h"
20 
21 // VTK includes
22 #include <vtkDistanceWidget.h>
23 
25 class VTK_SLICER_ANNOTATIONS_MODULE_VTKWIDGETS_EXPORT vtkAnnotationRulerWidget
26  : public vtkDistanceWidget
27 {
28 public:
29 
30  static vtkAnnotationRulerWidget *New();
31  vtkTypeMacro(vtkAnnotationRulerWidget, vtkDistanceWidget);
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
34  void CreateDefaultRepresentation() override;
35 
37  bool GetIs2DWidget();
38 
40  void SetIs2DWidget(int value);
41 
42 protected:
43 
45  ~vtkAnnotationRulerWidget() override;
46 
47  bool Is2DWidget;
48 
49 private:
50 
52  void operator=(const vtkAnnotationRulerWidget&) = delete;
53 
54 };
55 
56 #endif /* __vtkAnnotationRulerWidget_h */