VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkInteractorStyleRubberBandZoom.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInteractorStyleRubberBandZoom.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
=========================================================================*/
27
#ifndef __vtkInteractorStyleRubberBandZoom_h
28
#define __vtkInteractorStyleRubberBandZoom_h
29
30
#include "
vtkInteractorStyle.h
"
31
32
class
vtkUnsignedCharArray
;
33
34
class
VTK_RENDERING_EXPORT
vtkInteractorStyleRubberBandZoom
:
public
vtkInteractorStyle
35
{
36
public
:
37
static
vtkInteractorStyleRubberBandZoom
*
New
();
38
vtkTypeMacro(
vtkInteractorStyleRubberBandZoom
,
vtkInteractorStyle
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
43
virtual
void
OnMouseMove
();
44
virtual
void
OnLeftButtonDown
();
45
virtual
void
OnLeftButtonUp
();
47
48
protected
:
49
vtkInteractorStyleRubberBandZoom
();
50
~
vtkInteractorStyleRubberBandZoom
();
51
52
virtual
void
Zoom
();
53
54
int
StartPosition[2];
55
int
EndPosition[2];
56
57
int
Moving
;
58
59
vtkUnsignedCharArray
*
PixelArray
;
60
61
private
:
62
vtkInteractorStyleRubberBandZoom
(
const
vtkInteractorStyleRubberBandZoom
&);
// Not implemented
63
void
operator=(
const
vtkInteractorStyleRubberBandZoom
&);
// Not implemented
64
};
65
66
#endif
Generated on Thu Mar 13 2014 08:10:30 for VTK by
1.8.1.2