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 =========================================================================*/
34 #ifndef vtkInteractorStyleRubberBandPick_h
35 #define vtkInteractorStyleRubberBandPick_h
36 
37 #include "vtkInteractionStyleModule.h" // For export macro
39 
41 
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  void StartSelect();
50 
52 
53  virtual void OnMouseMove();
54  virtual void OnLeftButtonDown();
55  virtual void OnLeftButtonUp();
56  virtual void OnChar();
58 
59 protected:
62 
63  virtual void Pick();
65 
66  int StartPosition[2];
67  int EndPosition[2];
68 
69  int Moving;
70 
72 
74 
75 private:
77  void operator=(const vtkInteractorStyleRubberBandPick&); // Not implemented
78 };
79 
80 #endif
vtkInteractorStyleRubberBandPick::vtkInteractorStyleRubberBandPick
vtkInteractorStyleRubberBandPick()
vtkInteractorStyleRubberBandPick::Moving
int Moving
Definition: vtkInteractorStyleRubberBandPick.h:69
vtkInteractorStyleRubberBandPick::StartSelect
void StartSelect()
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:49
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
VTKINTERACTIONSTYLE_EXPORT
#define VTKINTERACTIONSTYLE_EXPORT
Definition: vtkInteractionStyleModule.h:15
vtkInteractorStyleRubberBandPick::New
static vtkInteractorStyleRubberBandPick * New()
vtkInteractorStyleRubberBandPick::OnLeftButtonUp
virtual void OnLeftButtonUp()
vtkInteractionStyleModule.h
vtkInteractorStyleRubberBandPick::PixelArray
vtkUnsignedCharArray * PixelArray
Definition: vtkInteractorStyleRubberBandPick.h:71
vtkInteractorStyleRubberBandPick::RedrawRubberBand
void RedrawRubberBand()
vtkInteractorStyleRubberBandPick::Pick
virtual void Pick()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInteractorStyleRubberBandPick
Like TrackBallCamera, but this can pick props underneath a rubber band selection rectangle.
Definition: vtkInteractorStyleRubberBandPick.h:43
vtkInteractorStyleRubberBandPick::OnLeftButtonDown
virtual void OnLeftButtonDown()
vtkInteractorStyleRubberBandPick::CurrentMode
int CurrentMode
Definition: vtkInteractorStyleRubberBandPick.h:73
vtkInteractorStyleRubberBandPick::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInteractorStyleRubberBandPick::~vtkInteractorStyleRubberBandPick
~vtkInteractorStyleRubberBandPick()
vtkInteractorStyleTrackballCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleTrackballCamera.h:50
vtkInteractorStyleRubberBandPick::OnMouseMove
virtual void OnMouseMove()
vtkInteractorStyleRubberBandPick::OnChar
virtual void OnChar()
vtkInteractorStyleTrackballCamera.h