VTK  9.4.20241112
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
16#ifndef vtkZSpaceRenderWindowInteractor_h
17#define vtkZSpaceRenderWindowInteractor_h
18
19#include "vtkEventData.h" // For vtkEventDataDevice
21#include "vtkRenderingZSpaceModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24
25class VTKRENDERINGZSPACE_EXPORT vtkZSpaceRenderWindowInteractor : public vtkRenderWindowInteractor3D
26{
27public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
39 virtual void ExitCallback();
40
45 void ProcessEvents() override;
46
47 /*
48 * Return the pointer index as a device
49 */
51
53
61
63
70
72
80
81protected:
84
89 void StartEventLoop() override;
90
91private:
93 void operator=(const vtkZSpaceRenderWindowInteractor&) = delete;
94};
95
96VTK_ABI_NAMESPACE_END
97
98#endif
a simple class to control print indentation
Definition vtkIndent.h:108
adds support for 3D events to vtkRenderWindowInteractor.
Handle zSpace specific interactions.
void OnMiddleButtonUp(vtkEventDataDevice3D *)
MiddleButton event function (invoke Button3DEvent) Allows to position a prop with the stylus.
static vtkZSpaceRenderWindowInteractor * New()
Construct object so that light follows camera motion.
void OnMiddleButtonDown(vtkEventDataDevice3D *)
MiddleButton event function (invoke Button3DEvent) Allows to position a prop with the stylus.
void OnRightButtonUp(vtkEventDataDevice3D *)
LeftButton event function (invoke Button3DEvent) Perform an hardware picking with the stylus and show...
void OnLeftButtonDown(vtkEventDataDevice3D *)
LeftButton event function (invoke Button3DEvent) Initiate a clip : choose a clipping plane origin and...
void ProcessEvents() override
Update WorldEventPosition and WorldEventOrientation, then call event functions depending on the zSpac...
void OnLeftButtonUp(vtkEventDataDevice3D *)
LeftButton event function (invoke Button3DEvent) Initiate a clip : choose a clipping plane origin and...
vtkEventDataDevice GetPointerDevice()
~vtkZSpaceRenderWindowInteractor() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnRightButtonDown(vtkEventDataDevice3D *)
LeftButton event function (invoke Button3DEvent) Perform an hardware picking with the stylus and show...
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