VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkInteractorStyleJoystickCamera.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkInteractorStyleJoystickCamera.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
=========================================================================*/
38
#ifndef __vtkInteractorStyleJoystickCamera_h
39
#define __vtkInteractorStyleJoystickCamera_h
40
41
#include "
vtkInteractorStyle.h
"
42
43
class
VTK_RENDERING_EXPORT
vtkInteractorStyleJoystickCamera
:
public
vtkInteractorStyle
44
{
45
public
:
46
static
vtkInteractorStyleJoystickCamera
*
New
();
47
vtkTypeMacro(
vtkInteractorStyleJoystickCamera
,
vtkInteractorStyle
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
53
virtual
void
OnMouseMove
();
54
virtual
void
OnLeftButtonDown
();
55
virtual
void
OnLeftButtonUp
();
56
virtual
void
OnMiddleButtonDown
();
57
virtual
void
OnMiddleButtonUp
();
58
virtual
void
OnRightButtonDown
();
59
virtual
void
OnRightButtonUp
();
60
virtual
void
OnMouseWheelForward
();
61
virtual
void
OnMouseWheelBackward
();
63
64
// These methods for the different interactions in different modes
65
// are overridden in subclasses to perform the correct motion. Since
66
// they are called by OnTimer, they do not have mouse coord parameters
67
// (use interactor's GetEventPosition and GetLastEventPosition)
68
virtual
void
Rotate
();
69
virtual
void
Spin
();
70
virtual
void
Pan
();
71
virtual
void
Dolly
();
72
73
protected
:
74
vtkInteractorStyleJoystickCamera
();
75
~
vtkInteractorStyleJoystickCamera
();
76
77
virtual
void
Dolly
(
double
factor);
78
79
private
:
80
vtkInteractorStyleJoystickCamera
(
const
vtkInteractorStyleJoystickCamera
&);
// Not implemented.
81
void
operator=(
const
vtkInteractorStyleJoystickCamera
&);
// Not implemented.
82
};
83
84
#endif
Generated on Fri Aug 2 2013 12:20:01 for VTK by
1.8.4