VTK  9.1.0
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 =========================================================================*/
102 #ifndef vtkInteractorStyleRubberBandPick_h
103 #define vtkInteractorStyleRubberBandPick_h
104 
105 #include "vtkInteractionStyleModule.h" // For export macro
107 
109 
110 class VTKINTERACTIONSTYLE_EXPORT vtkInteractorStyleRubberBandPick
112 {
113 public:
116  void PrintSelf(ostream& os, vtkIndent indent) override;
117 
118  void StartSelect();
119 
121 
124  void OnMouseMove() override;
125  void OnLeftButtonDown() override;
126  void OnLeftButtonUp() override;
127  void OnChar() override;
129 
130 protected:
133 
134  virtual void Pick();
136 
137  int StartPosition[2];
138  int EndPosition[2];
139 
140  int Moving;
141 
143 
145 
146 private:
148  void operator=(const vtkInteractorStyleRubberBandPick&) = delete;
149 };
150 
151 #endif
vtkInteractorStyleRubberBandPick::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick
vtkInteractorStyleRubberBandPick()
vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick
~vtkInteractorStyleRubberBandPick() override
vtkInteractorStyleRubberBandPick::Moving
int Moving
Definition: vtkInteractorStyleRubberBandPick.h:140
vtkInteractorStyleRubberBandPick::StartSelect
void StartSelect()
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:145
vtkInteractorStyleRubberBandPick::OnLeftButtonDown
void OnLeftButtonDown() override
Event bindings.
vtkInteractorStyleRubberBandPick::New
static vtkInteractorStyleRubberBandPick * New()
vtkInteractorStyleRubberBandPick::OnMouseMove
void OnMouseMove() override
Event bindings.
vtkInteractorStyleRubberBandPick::PixelArray
vtkUnsignedCharArray * PixelArray
Definition: vtkInteractorStyleRubberBandPick.h:142
vtkInteractorStyleRubberBandPick::RedrawRubberBand
void RedrawRubberBand()
vtkInteractorStyleRubberBandPick::Pick
virtual void Pick()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkInteractorStyleRubberBandPick::OnLeftButtonUp
void OnLeftButtonUp() override
Event bindings.
vtkInteractorStyleRubberBandPick
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
Definition: vtkInteractorStyleRubberBandPick.h:112
vtkInteractorStyleRubberBandPick::CurrentMode
int CurrentMode
Definition: vtkInteractorStyleRubberBandPick.h:144
vtkInteractorStyleTrackballCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleTrackballCamera.h:160
vtkInteractorStyleRubberBandPick::OnChar
void OnChar() override
Event bindings.
vtkInteractorStyleTrackballCamera.h