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 "vtkInteractionStyleModule.h" // For export macro
31 #include "vtkInteractorStyle.h"
32 
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  virtual void OnMouseMove();
45  virtual void OnLeftButtonDown();
46  virtual void OnLeftButtonUp();
48 
49 protected:
52 
53  virtual void Zoom();
54 
55  int StartPosition[2];
56  int EndPosition[2];
57 
58  int Moving;
59 
61 
62 private:
64  void operator=(const vtkInteractorStyleRubberBandZoom&); // Not implemented
65 };
66 
67 #endif
virtual void OnLeftButtonDown()
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
#define VTKINTERACTIONSTYLE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
zoom in by amount indicated by rubber band box
virtual void OnMouseMove()