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
33 #ifndef vtkInteractorStyleRubberBandPick_h
34 #define vtkInteractorStyleRubberBandPick_h
35 
36 #include "vtkInteractionStyleModule.h" // For export macro
38 
39 VTK_ABI_NAMESPACE_BEGIN
41 
42 class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
50  void StartSelect();
51 
53 
56  void OnMouseMove() override;
57  void OnLeftButtonDown() override;
58  void OnLeftButtonUp() override;
59  void OnChar() override;
61 
62 protected:
65 
66  virtual void Pick();
68 
69  int StartPosition[2];
70  int EndPosition[2];
71 
72  int Moving;
73 
75 
77 
78 private:
80  void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
81 };
82 
83 VTK_ABI_NAMESPACE_END
84 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
static vtkInteractorStyleRubberBandPick * New()
void OnMouseMove() override
Event bindings.
interactive manipulation of the camera
dynamic, self-adjusting array of unsigned char