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 
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
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)
Rolls camera around a point.
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)