VTK  9.2.6
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=========================================================================*/
45#ifndef vtkInteractorStyleRubberBandPick_h
46#define vtkInteractorStyleRubberBandPick_h
47
48#include "vtkInteractionStyleModule.h" // For export macro
50
52
53class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
55{
56public:
59 void PrintSelf(ostream& os, vtkIndent indent) override;
60
62
64
67 void OnMouseMove() override;
68 void OnLeftButtonDown() override;
69 void OnLeftButtonUp() override;
70 void OnChar() override;
72
73protected:
76
77 virtual void Pick();
79
80 int StartPosition[2];
81 int EndPosition[2];
82
83 int Moving;
84
86
88
89private:
91 void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
92};
93
94#endif
a simple class to control print indentation
Definition vtkIndent.h:49
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