VTK  9.2.20230603
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 =========================================================================*/
32 #ifndef vtkTDxInteractorStyle_h
33 #define vtkTDxInteractorStyle_h
34 
35 #include "vtkObject.h"
36 #include "vtkRenderingCoreModule.h" // For export macro
37 
38 VTK_ABI_NAMESPACE_BEGIN
40 class vtkRenderer;
42 
43 class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyle : public vtkObject
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
53  virtual void OnMotionEvent(vtkTDxMotionEventInfo* motionInfo);
54 
58  virtual void OnButtonPressedEvent(int button);
59 
63  virtual void OnButtonReleasedEvent(int button);
64 
74  virtual void ProcessEvent(vtkRenderer* renderer, unsigned long event, void* calldata);
75 
77 
81  vtkGetObjectMacro(Settings, vtkTDxInteractorStyleSettings);
82  virtual void SetSettings(vtkTDxInteractorStyleSettings* settings);
84 
85 protected:
88 
90 
92 
93 private:
95  void operator=(const vtkTDxInteractorStyle&) = delete;
96 };
97 VTK_ABI_NAMESPACE_END
98 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
abstract base class for most VTK objects
Definition: vtkObject.h:83
abstract specification for renderers
Definition: vtkRenderer.h:183
provide 3DConnexion device event-driven interface to the rendering window
vtkTDxInteractorStyleSettings * Settings
virtual void OnButtonPressedEvent(int button)
Action on button pressed event.
virtual void SetSettings(vtkTDxInteractorStyleSettings *settings)
3Dconnexion device settings.
virtual void OnButtonReleasedEvent(int button)
Action on button released event.
~vtkTDxInteractorStyle() override
virtual void ProcessEvent(vtkRenderer *renderer, unsigned long event, void *calldata)
Dispatch the events TDxMotionEvent, TDxButtonPressEvent and TDxButtonReleaseEvent to OnMotionEvent(),...
virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo)
Action on motion event.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store motion information from a 3DConnexion input device.