VTK
vtkOpenVRInteractorStyle.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkOpenVRInteractorStyle.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 =========================================================================*/
20 #ifndef vtkOpenVRInteractorStyle_h
21 #define vtkOpenVRInteractorStyle_h
22 
23 #include "vtkRenderingOpenVRModule.h" // For export macro
24 
25 #include "vtkInteractorStyle3D.h"
26 
27 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRInteractorStyle : public vtkInteractorStyle3D
28 {
29 public:
30  static vtkOpenVRInteractorStyle *New();
32  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
33 
35 
38  void OnMiddleButtonDown() VTK_OVERRIDE;
39  void OnMiddleButtonUp() VTK_OVERRIDE;
41 
42 protected:
44  ~vtkOpenVRInteractorStyle() VTK_OVERRIDE;
45 
46 private:
47  vtkOpenVRInteractorStyle(const vtkOpenVRInteractorStyle&) VTK_DELETE_FUNCTION; // Not implemented.
48  void operator=(const vtkOpenVRInteractorStyle&) VTK_DELETE_FUNCTION; // Not implemented.
49 };
50 
51 #endif
extends interaction to support 3D input
extended from vtkInteractorStyle3D to override command methods
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkInteractorStyle3D * New()
void OnMiddleButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.