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
vtkInteractorStyleRubberBandZoom::~vtkInteractorStyleRubberBandZoom
~vtkInteractorStyleRubberBandZoom()
vtkInteractorStyleRubberBandZoom::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInteractorStyle.h
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:49
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
VTKINTERACTIONSTYLE_EXPORT
#define VTKINTERACTIONSTYLE_EXPORT
Definition: vtkInteractionStyleModule.h:15
vtkInteractorStyleRubberBandZoom::PixelArray
vtkUnsignedCharArray * PixelArray
Definition: vtkInteractorStyleRubberBandZoom.h:60
vtkInteractorStyleRubberBandZoom::OnMouseMove
virtual void OnMouseMove()
vtkInteractionStyleModule.h
vtkInteractorStyleRubberBandZoom::Moving
int Moving
Definition: vtkInteractorStyleRubberBandZoom.h:58
vtkInteractorStyleRubberBandZoom::OnLeftButtonUp
virtual void OnLeftButtonUp()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInteractorStyleRubberBandZoom
zoom in by amount indicated by rubber band box
Definition: vtkInteractorStyleRubberBandZoom.h:36
vtkInteractorStyleRubberBandZoom::vtkInteractorStyleRubberBandZoom
vtkInteractorStyleRubberBandZoom()
vtkInteractorStyleRubberBandZoom::Zoom
virtual void Zoom()
vtkInteractorStyle
provide event-driven interface to the rendering window (defines trackball mode)
Definition: vtkInteractorStyle.h:136
vtkInteractorStyleRubberBandZoom::New
static vtkInteractorStyleRubberBandZoom * New()
vtkInteractorStyleRubberBandZoom::OnLeftButtonDown
virtual void OnLeftButtonDown()