VTK  9.7.1
vtkWebXRInteractorStyle.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
8 #ifndef vtkWebXRInteractorStyle_h
9 #define vtkWebXRInteractorStyle_h
10 
11 #include "vtkRenderingWebXRModule.h" // For export macro
12 #include "vtkVRInteractorStyle.h"
13 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
14 
15 VTK_ABI_NAMESPACE_BEGIN
16 class VTKRENDERINGWEBXR_EXPORT VTK_MARSHALAUTO vtkWebXRInteractorStyle : public vtkVRInteractorStyle
17 {
18 public:
19  static vtkWebXRInteractorStyle* New();
21 
25  void SetupActions(vtkRenderWindowInteractor* iren) override;
26 
31  vtkVRControlsHelper* MakeControlsHelper() override { return nullptr; };
32 
36  void LoadNextCameraPose() override {}
37 
38 protected:
39  vtkWebXRInteractorStyle() = default;
40  ~vtkWebXRInteractorStyle() override = default;
41 
42 private:
44  void operator=(const vtkWebXRInteractorStyle&) = delete;
45 };
46 
47 VTK_ABI_NAMESPACE_END
48 #endif
void LoadNextCameraPose() override
no-op to satisfy the base class API
platform-independent render window interaction including picking and frame rate control.
extended from vtkInteractorStyle3D to override command methods
virtual void SetupActions(vtkRenderWindowInteractor *iren)=0
Setup default actions defined with an action path and a corresponding command.
vtkVRControlsHelper * MakeControlsHelper() override
Creates a new ControlsHelper suitable for use with this class.
static vtkInteractorStyle3D * New()
Extended from vtkInteractorStyle3D to override command methods.
#define VTK_MARSHALAUTO
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller...