VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Interaction
Style
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 "vtkInteractionStyleModule.h"
// For export macro
31
#include "vtkInteractorStyle.h"
32
33
class
vtkUnsignedCharArray;
34
35
class
VTKINTERACTIONSTYLE_EXPORT
vtkInteractorStyleRubberBandZoom
:
public
vtkInteractorStyle
36
{
37
public
:
38
static
vtkInteractorStyleRubberBandZoom
*New();
39
vtkTypeMacro(
vtkInteractorStyleRubberBandZoom
, vtkInteractorStyle);
40
void
PrintSelf(ostream& os, vtkIndent indent);
41
43
44
virtual
void
OnMouseMove();
45
virtual
void
OnLeftButtonDown();
46
virtual
void
OnLeftButtonUp();
48
49
protected
:
50
vtkInteractorStyleRubberBandZoom
();
51
~
vtkInteractorStyleRubberBandZoom
();
52
53
virtual
void
Zoom();
54
55
int
StartPosition[2];
56
int
EndPosition[2];
57
58
int
Moving
;
59
60
vtkUnsignedCharArray *
PixelArray
;
61
62
private
:
63
vtkInteractorStyleRubberBandZoom
(
const
vtkInteractorStyleRubberBandZoom
&);
// Not implemented
64
void
operator=(
const
vtkInteractorStyleRubberBandZoom
&);
// Not implemented
65
};
66
67
#endif
vtkInteractorStyleRubberBandZoom::Moving
int Moving
Definition:
vtkInteractorStyleRubberBandZoom.h:58
vtkInteractorStyleRubberBandZoom::PixelArray
vtkUnsignedCharArray * PixelArray
Definition:
vtkInteractorStyleRubberBandZoom.h:60
vtkInteractorStyleRubberBandZoom
zoom in by amount indicated by rubber band box
Definition:
vtkInteractorStyleRubberBandZoom.h:35
Generated on Sat Apr 12 2014 01:07:56 for VTK by
1.8.6