Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkAnnotationBidimensionalRepresentation.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: vtkMRMLAnnotationDisplayableManagerHelper,v $
10  Date: $Date: Aug 4, 2010 10:44:52 AM $
11  Version: $Revision: 1.0 $
12 
13  =========================================================================auto=*/
14 
15 #ifndef __vtkAnnotationBidimensionalRepresentation_h
16 #define __vtkAnnotationBidimensionalRepresentation_h
17 
18 // Annotations includes
19 #include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h"
20 
21 // VTK includes
22 #include <vtkBiDimensionalRepresentation2D.h>
23 
25 class VTK_SLICER_ANNOTATIONS_MODULE_VTKWIDGETS_EXPORT
27  : public vtkBiDimensionalRepresentation2D
28 {
29 public:
30 
32  vtkTypeMacro(vtkAnnotationBidimensionalRepresentation, vtkBiDimensionalRepresentation2D);
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35  void SetDistance1(double distance);
36  void SetDistance2(double distance);
37 
38 protected:
39 
42 
43  void BuildRepresentation() override;
44 
45 private:
46 
48  void operator=(const vtkAnnotationBidimensionalRepresentation&) = delete;
49 
50  double m_Distance1;
51  double m_Distance2;
52 
53 };
54 
55 #endif /* __vtkAnnotationBidimensionalRepresentation_h */