VTK
vtkTDxInteractorStyle.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTDxInteractorStyle.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 =========================================================================*/
35 #ifndef vtkTDxInteractorStyle_h
36 #define vtkTDxInteractorStyle_h
37 
38 #include "vtkRenderingCoreModule.h" // For export macro
39 #include "vtkObject.h"
40 
42 class vtkRenderer;
44 
45 class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyle : public vtkObject
46 {
47 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
55  virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo);
56 
60  virtual void OnButtonPressedEvent(int button);
61 
65  virtual void OnButtonReleasedEvent(int button);
66 
76  virtual void ProcessEvent(vtkRenderer *renderer,
77  unsigned long event,
78  void *calldata);
79 
81 
85  vtkGetObjectMacro(Settings,vtkTDxInteractorStyleSettings);
86  virtual void SetSettings(vtkTDxInteractorStyleSettings *settings);
88 
89 protected:
91  ~vtkTDxInteractorStyle() override;
92 
94 
96 
97 private:
99  void operator=(const vtkTDxInteractorStyle&) = delete;
100 };
101 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:39
Store motion information from a 3DConnexion input device.
provide 3DConnexion device event-driven interface to the rendering window
vtkTDxInteractorStyleSettings * Settings