VTK
vtkInteractorStyleRubberBandZoom.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInteractorStyleRubberBandZoom.h
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 =========================================================================*/
27 #ifndef __vtkInteractorStyleRubberBandZoom_h
28 #define __vtkInteractorStyleRubberBandZoom_h
29 
30 #include "vtkInteractorStyle.h"
31 
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  virtual void OnMouseMove();
44  virtual void OnLeftButtonDown();
45  virtual void OnLeftButtonUp();
47 
48 protected:
51 
52  virtual void Zoom();
53 
54  int StartPosition[2];
55  int EndPosition[2];
56 
57  int Moving;
58 
60 
61 private:
63  void operator=(const vtkInteractorStyleRubberBandZoom&); // Not implemented
64 };
65 
66 #endif