vtkPVTrackballRoll.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTrackballRoll.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkPVTrackballRoll_h
25 #define vtkPVTrackballRoll_h
26 
27 #include "vtkCameraManipulator.h"
28 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
29 
31 {
32 public:
33  static vtkPVTrackballRoll* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
42  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
43  void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
44  void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
46 
47 protected:
49  ~vtkPVTrackballRoll() override;
50 
51  vtkPVTrackballRoll(const vtkPVTrackballRoll&) = delete;
52  void operator=(const vtkPVTrackballRoll&) = delete;
53 };
54 
55 #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)