vtkPVTrackballEnvironmentRotate.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTrackballEnvironmentRotate.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 =========================================================================*/
22 #ifndef vtkPVTrackballEnvironmentRotate_h
23 #define vtkPVTrackballEnvironmentRotate_h
24 
25 #include "vtkCameraManipulator.h"
26 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
27 
29  : public vtkCameraManipulator
30 {
31 public:
34 
36 
40  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
42 
43 protected:
45  ~vtkPVTrackballEnvironmentRotate() override = default;
46 
48  void operator=(const vtkPVTrackballEnvironmentRotate&) = delete;
49 
50  void EnvironmentRotate(vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
51 };
52 
53 #endif
Abstraction of style away from button.
#define VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
static vtkCameraManipulator * New()
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Rotates the environment with xy mouse movement.