ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkTrackballPan.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:
15  static vtkTrackballPan* New();
17  void PrintSelf(ostream& os, vtkIndent indent) override;
18 
20 
24  void OnMouseMove(int x,
25  int y,
26  vtkRenderer* ren,
27  vtkRenderWindowInteractor* iren) override;
28  void OnButtonDown(int x,
29  int y,
30  vtkRenderer* ren,
31  vtkRenderWindowInteractor* iren) override;
32  void OnButtonUp(int x,
33  int y,
34  vtkRenderer* ren,
35  vtkRenderWindowInteractor* iren) override;
37 
38 protected:
40  ~vtkTrackballPan() override;
41 
42  vtkTrackballPan(const vtkTrackballPan&) = delete;
43  void operator=(const vtkTrackballPan&) = delete;
44 };
x
normal_z x
Definition: my_point_types.h:165
vtkCameraManipulator::OnButtonDown
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:58
NULL
#define NULL
Definition: UVUnwrapping.cpp:40
vtkTrackballPan::OnButtonDown
void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) override
Definition: vtkTrackballPan.cxx:37
qPCL.h
size
int size
Definition: FileIOFactory.cpp:130
vtkCameraManipulator::New
static vtkCameraManipulator * New()
vtkTrackballPan::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Definition: vtkTrackballPan.cxx:140
y
normal_z y
Definition: my_point_types.h:168
vtkTrackballPan::OnButtonUp
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) override
Definition: vtkTrackballPan.cxx:42
vtkCameraManipulator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Definition: vtkCameraManipulator.cxx:96
cloudViewer::ml::contrib::Cross
CLOUDVIEWER_HOST_DEVICE float Cross(const Point &a, const Point &b)
Definition: IoUImpl.h:39
vtkTrackballPan::OnMouseMove
void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) override
Definition: vtkTrackballPan.cxx:47
vtkTrackballPan.h
vtkCameraManipulator::OnMouseMove
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:68
vtkCameraManipulator
Definition: vtkCameraManipulator.h:17
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15
vtkCameraManipulator::vtkTypeMacro
vtkTypeMacro(vtkCameraManipulator, vtkObject)
vtkTrackballPan::~vtkTrackballPan
~vtkTrackballPan() override
Definition: vtkTrackballPan.cxx:32
vtkCameraManipulator.h
vtkTrackballPan::vtkTrackballPan
vtkTrackballPan()
Definition: vtkTrackballPan.cxx:27
vtkCameraManipulator::OnButtonUp
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:63
vtkStandardNewMacro
vtkStandardNewMacro(vtkTrackballPan)
vtkTrackballPan
Definition: vtkTrackballPan.h:13