VTK
vtkInteractorStyleRubberBandPick.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInteractorStyleRubberBandPick.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 =========================================================================*/
34 #ifndef __vtkInteractorStyleRubberBandPick_h
35 #define __vtkInteractorStyleRubberBandPick_h
36 
38 
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
48  void StartSelect();
49 
51 
52  virtual void OnMouseMove();
53  virtual void OnLeftButtonDown();
54  virtual void OnLeftButtonUp();
55  virtual void OnChar();
57 
58 protected:
61 
62  virtual void Pick();
63  void RedrawRubberBand();
64 
65  int StartPosition[2];
66  int EndPosition[2];
67 
68  int Moving;
69 
71 
73 
74 private:
76  void operator=(const vtkInteractorStyleRubberBandPick&); // Not implemented
77 };
78 
79 #endif