VTK  9.4.20251203
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
30
31VTK_ABI_NAMESPACE_BEGIN
33
34class VTKINTERACTIONSTYLE_EXPORT VTK_MARSHALAUTO vtkInteractorStyleRubberBandPick
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
45
48 void OnMouseMove() override;
49 void OnLeftButtonDown() override;
50 void OnLeftButtonUp() override;
51 void OnChar() override;
53
54protected:
57
58 virtual void Pick();
60
61 int StartPosition[2];
62 int EndPosition[2];
63
64 int Moving;
65
67
69
70private:
72 void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
73};
74
75VTK_ABI_NAMESPACE_END
76#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
#define VTK_MARSHALAUTO