VTK  9.3.0
vtkInteractorStyleRubberBandPick.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
24#ifndef vtkInteractorStyleRubberBandPick_h
25#define vtkInteractorStyleRubberBandPick_h
26
27#include "vtkInteractionStyleModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
32
33class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
44
47 void OnMouseMove() override;
48 void OnLeftButtonDown() override;
49 void OnLeftButtonUp() override;
50 void OnChar() override;
52
53protected:
56
57 virtual void Pick();
59
60 int StartPosition[2];
61 int EndPosition[2];
62
63 int Moving;
64
66
68
69private:
71 void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif
a simple class to control print indentation
Definition vtkIndent.h:29
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