vtkPVTrackballEnvironmentRotate.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVTrackballEnvironmentRotate_h
11 #define vtkPVTrackballEnvironmentRotate_h
12 
13 #include "vtkCameraManipulator.h"
14 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
15 
17  : public vtkCameraManipulator
18 {
19 public:
22 
24 
28  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
30 
31 protected:
33  ~vtkPVTrackballEnvironmentRotate() override = default;
34 
36  void operator=(const vtkPVTrackballEnvironmentRotate&) = delete;
37 
38  void EnvironmentRotate(vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
39 };
40 
41 #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.