ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkPVTrackballRotate.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "qPCL.h" // needed for export macro
11 #include "vtkCameraManipulator.h"
12 
14 public:
17  void PrintSelf(ostream& os, vtkIndent indent) override;
18 
20 
24  void OnMouseMove(int x,
25  int y,
26  vtkRenderer* ren,
27  vtkRenderWindowInteractor* rwi) override;
28  void OnButtonDown(int x,
29  int y,
30  vtkRenderer* ren,
31  vtkRenderWindowInteractor* rwi) override;
32  void OnButtonUp(int x,
33  int y,
34  vtkRenderer* ren,
35  vtkRenderWindowInteractor* rwi) override;
37 
39 
45  void OnKeyUp(vtkRenderWindowInteractor* iren) override;
46  void OnKeyDown(vtkRenderWindowInteractor* iren) override;
48 
52  vtkGetMacro(KeyCode, char);
53 
54 protected:
56  ~vtkPVTrackballRotate() override;
57 
58  char KeyCode;
60  void operator=(const vtkPVTrackballRotate&) = delete;
61 };
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnKeyDown(vtkRenderWindowInteractor *iren)
virtual void OnKeyUp(vtkRenderWindowInteractor *iren)
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVTrackballRotate(const vtkPVTrackballRotate &)=delete
vtkTypeMacro(vtkPVTrackballRotate, vtkCameraManipulator)
void operator=(const vtkPVTrackballRotate &)=delete
vtkGetMacro(KeyCode, char)
static vtkPVTrackballRotate * New()
normal_z y
normal_z x
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15