VTK
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 =========================================================================*/
35 #ifndef vtkInteractorStyleRubberBandPick_h
36 #define vtkInteractorStyleRubberBandPick_h
37 
38 #include "vtkInteractionStyleModule.h" // For export macro
40 
42 
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
50  void StartSelect();
51 
53 
56  virtual void OnMouseMove();
57  virtual void OnLeftButtonDown();
58  virtual void OnLeftButtonUp();
59  virtual void OnChar();
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&) VTK_DELETE_FUNCTION;
81 };
82 
83 #endif
vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick
vtkInteractorStyleRubberBandPick()
vtkInteractorStyleRubberBandPick::Moving
int Moving
Definition: vtkInteractorStyleRubberBandPick.h:72
vtkInteractorStyleRubberBandPick::StartSelect
void StartSelect()
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:42
vtkInteractorStyleRubberBandPick::New
static vtkInteractorStyleRubberBandPick * New()
vtkInteractorStyleRubberBandPick::OnLeftButtonUp
virtual void OnLeftButtonUp()
vtkInteractorStyleRubberBandPick::PixelArray
vtkUnsignedCharArray * PixelArray
Definition: vtkInteractorStyleRubberBandPick.h:74
vtkInteractorStyleRubberBandPick::RedrawRubberBand
void RedrawRubberBand()
vtkInteractorStyleRubberBandPick::Pick
virtual void Pick()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkInteractorStyleRubberBandPick
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
Definition: vtkInteractorStyleRubberBandPick.h:44
vtkInteractorStyleRubberBandPick::OnLeftButtonDown
virtual void OnLeftButtonDown()
vtkInteractorStyleRubberBandPick::CurrentMode
int CurrentMode
Definition: vtkInteractorStyleRubberBandPick.h:76
vtkInteractorStyleRubberBandPick::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick
~vtkInteractorStyleRubberBandPick()
vtkInteractorStyleTrackballCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleTrackballCamera.h:48
vtkInteractorStyleRubberBandPick::OnMouseMove
virtual void OnMouseMove()
Event bindings.
vtkInteractorStyleRubberBandPick::OnChar
virtual void OnChar()
OnChar is triggered when an ASCII key is pressed.
vtkInteractorStyleTrackballCamera.h