vtkPVTrackballRoll.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVTrackballRoll_h
13 #define vtkPVTrackballRoll_h
14 
15 #include "vtkCameraManipulator.h"
16 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
17 
18 class VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT vtkPVTrackballRoll : public vtkCameraManipulator
19 {
20 public:
21  static vtkPVTrackballRoll* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
30  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
31  void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
32  void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
34 
35 protected:
37  ~vtkPVTrackballRoll() override;
38 
39  vtkPVTrackballRoll(const vtkPVTrackballRoll&) = delete;
40  void operator=(const vtkPVTrackballRoll&) = delete;
41 };
42 
43 #endif
vtkPVTrackballRoll
Rolls camera around a point.
Definition: vtkPVTrackballRoll.h:18
vtkCameraManipulator::New
static vtkCameraManipulator * New()
vtkIndent
vtkCameraManipulator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkCameraManipulator::OnButtonUp
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
vtkRenderWindowInteractor
vtkCameraManipulator::OnMouseMove
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
vtkCameraManipulator
Abstraction of style away from button.
Definition: vtkCameraManipulator.h:24
vtkRenderer
vtkCameraManipulator::OnButtonDown
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
vtkCameraManipulator.h