VTK  9.1.0
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=========================================================================*/
42#ifndef vtkInteractorStyleRubberBandPick_h
43#define vtkInteractorStyleRubberBandPick_h
44
45#include "vtkInteractionStyleModule.h" // For export macro
47
49
50class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
52{
53public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
59
61
64 void OnMouseMove() override;
65 void OnLeftButtonDown() override;
66 void OnLeftButtonUp() override;
67 void OnChar() override;
69
70protected:
73
74 virtual void Pick();
76
77 int StartPosition[2];
78 int EndPosition[2];
79
80 int Moving;
81
83
85
86private:
88 void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
89};
90
91#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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
Event bindings.
void OnLeftButtonUp() override
Event bindings.
void OnLeftButtonDown() override
Event bindings.
void OnMouseMove() override
Event bindings.
static vtkInteractorStyleRubberBandPick * New()
interactive manipulation of the camera
dynamic, self-adjusting array of unsigned char