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 =========================================================================*/
32 #ifndef vtkInteractorStyleRubberBandPick_h
33 #define vtkInteractorStyleRubberBandPick_h
34 
35 #include "vtkInteractionStyleModule.h" // For export macro
37 
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47  void StartSelect();
48 
50 
53  void OnMouseMove() override;
54  void OnLeftButtonDown() override;
55  void OnLeftButtonUp() override;
56  void OnChar() override;
58 
59 protected:
62 
63  virtual void Pick();
64  void RedrawRubberBand();
65 
66  int StartPosition[2];
67  int EndPosition[2];
68 
69  int Moving;
70 
72 
74 
75 private:
77  void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
78 };
79 
80 #endif
vtkInteractorStyleRubberBandPick::Moving
int Moving
Definition: vtkInteractorStyleRubberBandPick.h:69
vtkInteractorStyleTrackballCamera::New
static vtkInteractorStyleTrackballCamera * New()
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:35
vtkInteractorStyleTrackballCamera::OnLeftButtonUp
void OnLeftButtonUp() override
vtkInteractorStyle::OnChar
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
vtkInteractorStyleRubberBandPick::PixelArray
vtkUnsignedCharArray * PixelArray
Definition: vtkInteractorStyleRubberBandPick.h:71
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInteractorStyleRubberBandPick
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
Definition: vtkInteractorStyleRubberBandPick.h:40
vtkInteractorStyleRubberBandPick::CurrentMode
int CurrentMode
Definition: vtkInteractorStyleRubberBandPick.h:73
vtkInteractorStyleTrackballCamera::OnMouseMove
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
vtkInteractorStyleTrackballCamera::OnLeftButtonDown
void OnLeftButtonDown() override
vtkInteractorStyleTrackballCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleTrackballCamera.h:41
vtkInteractorStyleTrackballCamera::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInteractorStyleTrackballCamera.h