vtkPVTrackballPan.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVTrackballPan_h
15 #define vtkPVTrackballPan_h
16 
17 #include "vtkCameraManipulator.h"
18 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
19 
21 {
22 public:
23  static vtkPVTrackballPan* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
32  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
33  void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
34  void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
36 
37 protected:
39  ~vtkPVTrackballPan() override;
40 
41  vtkPVTrackballPan(const vtkPVTrackballPan&) = delete;
42  void operator=(const vtkPVTrackballPan&) = delete;
43 };
44 
45 #endif
Abstraction of style away from button.
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
static vtkCameraManipulator * New()
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Pans camera with x y mouse movements.