VTK  9.6.20260201
vtkZSpaceRenderWindowInteractor.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
15
16#ifndef vtkZSpaceRenderWindowInteractor_h
17#define vtkZSpaceRenderWindowInteractor_h
18
19#include "vtkEventData.h" // For vtkEventDataDevice
21#include "vtkRenderingZSpaceModule.h" // For export macro
22#include "vtkZSpaceSDKManager.h" // For ButtonIds, ButtonState
23
24VTK_ABI_NAMESPACE_BEGIN
25
26class VTKRENDERINGZSPACE_EXPORT vtkZSpaceRenderWindowInteractor : public vtkRenderWindowInteractor3D
27{
28public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
43
48 virtual void ExitCallback();
49
54 void ProcessEvents() override;
55
56 /*
57 * Return the pointer index as a device
58 */
60
61protected:
64
69 void StartEventLoop() override;
70
71private:
73 void operator=(const vtkZSpaceRenderWindowInteractor&) = delete;
74
79 void ProcessNextButtonState(
81
85 void DispatchStylusEvents(vtkZSpaceSDKManager::ButtonIds buttonId,
87
94 void CallDefaultStylusEvents(vtkZSpaceSDKManager::ButtonIds buttonId,
96
100 void CallCustomStylusEvent(
102};
103
104VTK_ABI_NAMESPACE_END
105
106#endif
a simple class to control print indentation
Definition vtkIndent.h:108
CustomEvents
Custom events for zSpace environment.
static vtkZSpaceRenderWindowInteractor * New()
Construct object so that light follows camera motion.
void ProcessEvents() override
Update WorldEventPosition and WorldEventOrientation, then call event functions depending on the zSpac...
vtkEventDataDevice GetPointerDevice()
~vtkZSpaceRenderWindowInteractor() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ExitCallback()
These methods correspond to the Exit, User and Pick callbacks.
void StartEventLoop() override
This will start up the event loop and never return.
vtkEventDataDevice
platform-independent event data structures