VTK  9.3.20240418
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
93 #ifndef vtkInteractorStyleRubberBandPick_h
94 #define vtkInteractorStyleRubberBandPick_h
95 
96 #include "vtkInteractionStyleModule.h" // For export macro
98 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
99 
100 VTK_ABI_NAMESPACE_BEGIN
102 
103 class VTKINTERACTIONSTYLE_EXPORT VTK_MARSHALAUTO vtkInteractorStyleRubberBandPick
105 {
106 public:
109  void PrintSelf(ostream& os, vtkIndent indent) override;
110 
111  void StartSelect();
112 
114 
117  void OnMouseMove() override;
118  void OnLeftButtonDown() override;
119  void OnLeftButtonUp() override;
120  void OnChar() override;
122 
123 protected:
126 
127  virtual void Pick();
129 
130  int StartPosition[2];
131  int EndPosition[2];
132 
133  int Moving;
134 
136 
138 
139 private:
141  void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
142 };
143 
144 VTK_ABI_NAMESPACE_END
145 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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
#define VTK_MARSHALAUTO