ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
vtkPVTrackballRoll.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 vtkPVTrackballRoll* New();
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 
38 protected:
40  ~vtkPVTrackballRoll() override;
41 
42  vtkPVTrackballRoll(const vtkPVTrackballRoll&) = delete;
43  void operator=(const vtkPVTrackballRoll&) = delete;
44 };
x
normal_z x
Definition: my_point_types.h:165
vtkPVTrackballRoll::OnMouseMove
void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Definition: vtkPVTrackballRoll.cxx:48
vtkCameraManipulator::OnButtonDown
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:58
NULL
#define NULL
Definition: UVUnwrapping.cpp:40
vtkPVTrackballRoll::vtkPVTrackballRoll
vtkPVTrackballRoll()
Definition: vtkPVTrackballRoll.cxx:28
vtkPVTrackballRoll
Definition: vtkPVTrackballRoll.h:13
vtkCameraManipulator::Center
double Center[3]
Definition: vtkCameraManipulator.h:113
qPCL.h
vtkCameraManipulator::New
static vtkCameraManipulator * New()
y
normal_z y
Definition: my_point_types.h:168
vtkStandardNewMacro
vtkStandardNewMacro(vtkPVTrackballRoll)
vtkPVTrackballRoll::OnButtonUp
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Definition: vtkPVTrackballRoll.cxx:43
vtkPVTrackballRoll::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Definition: vtkPVTrackballRoll.cxx:104
vtkPVTrackballRoll::~vtkPVTrackballRoll
~vtkPVTrackballRoll() override
Definition: vtkPVTrackballRoll.cxx:33
vtkPVTrackballRoll.h
vtkCameraManipulator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Definition: vtkCameraManipulator.cxx:96
vtkCameraManipulator::OnMouseMove
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:68
vtkPVTrackballRoll::OnButtonDown
void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Definition: vtkPVTrackballRoll.cxx:38
vtkCameraManipulator::DisplayCenter
double DisplayCenter[2]
Definition: vtkCameraManipulator.h:115
vtkCameraManipulator::ComputeDisplayCenter
void ComputeDisplayCenter(vtkRenderer *ren)
Definition: vtkCameraManipulator.cxx:83
vtkCameraManipulator
Definition: vtkCameraManipulator.h:17
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15
vtkCameraManipulator::vtkTypeMacro
vtkTypeMacro(vtkCameraManipulator, vtkObject)
vtkCameraManipulator.h
vtkCameraManipulator::OnButtonUp
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Definition: vtkCameraManipulator.cxx:63