VTK  9.3.20240425
vtkTDxInteractorStyle.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
20#ifndef vtkTDxInteractorStyle_h
21#define vtkTDxInteractorStyle_h
22
23#include "vtkObject.h"
24#include "vtkRenderingCoreModule.h" // For export macro
25
26VTK_ABI_NAMESPACE_BEGIN
28class vtkRenderer;
30
31class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyle : public vtkObject
32{
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
41 virtual void OnMotionEvent(vtkTDxMotionEventInfo* motionInfo);
42
46 virtual void OnButtonPressedEvent(int button);
47
51 virtual void OnButtonReleasedEvent(int button);
52
62 virtual void ProcessEvent(vtkRenderer* renderer, unsigned long event, void* calldata);
63
65
69 vtkGetObjectMacro(Settings, vtkTDxInteractorStyleSettings);
72
73protected:
76
78
80
81private:
83 void operator=(const vtkTDxInteractorStyle&) = delete;
84};
85VTK_ABI_NAMESPACE_END
86#endif
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162
abstract specification for renderers
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.