VTK  9.0.2
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 =========================================================================*/
33 #ifndef vtkInteractorStyleRubberBandPick_h
34 #define vtkInteractorStyleRubberBandPick_h
35 
36 #include "vtkInteractionStyleModule.h" // For export macro
38 
40 
41 class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
49  void StartSelect();
50 
52 
55  void OnMouseMove() override;
56  void OnLeftButtonDown() override;
57  void OnLeftButtonUp() override;
58  void OnChar() override;
60 
61 protected:
64 
65  virtual void Pick();
67 
68  int StartPosition[2];
69  int EndPosition[2];
70 
71  int Moving;
72 
74 
76 
77 private:
79  void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
80 };
81 
82 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnChar() override
Sets up the keypress-i event.
static vtkInteractorStyleRubberBandPick * New()
void OnMouseMove() override
Event bindings.
interactive manipulation of the camera
dynamic, self-adjusting array of unsigned char