VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkInteractorStyleTrackballCamera.h
"
38
39
class
vtkUnsignedCharArray
;
40
41
class
VTK_RENDERING_EXPORT
vtkInteractorStyleRubberBandPick
:
public
vtkInteractorStyleTrackballCamera
42
{
43
public
:
44
static
vtkInteractorStyleRubberBandPick
*
New
();
45
vtkTypeMacro(
vtkInteractorStyleRubberBandPick
,
vtkInteractorStyleTrackballCamera
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
48
void
StartSelect();
49
51
52
virtual
void
OnMouseMove
();
53
virtual
void
OnLeftButtonDown
();
54
virtual
void
OnLeftButtonUp
();
55
virtual
void
OnChar
();
57
58
protected
:
59
vtkInteractorStyleRubberBandPick
();
60
~
vtkInteractorStyleRubberBandPick
();
61
62
virtual
void
Pick();
63
void
RedrawRubberBand();
64
65
int
StartPosition[2];
66
int
EndPosition[2];
67
68
int
Moving
;
69
70
vtkUnsignedCharArray
*
PixelArray
;
71
72
int
CurrentMode
;
73
74
private
:
75
vtkInteractorStyleRubberBandPick
(
const
vtkInteractorStyleRubberBandPick
&);
// Not implemented
76
void
operator=(
const
vtkInteractorStyleRubberBandPick
&);
// Not implemented
77
};
78
79
#endif
Generated on Wed Nov 21 2012 21:34:04 for VTK by
1.8.2