vtkPVTrackballMultiRotate.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
5 
19 #ifndef vtkPVTrackballMultiRotate_h
20 #define vtkPVTrackballMultiRotate_h
21 
22 #include "vtkCameraManipulator.h"
23 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
24 
26 class vtkPVTrackballRoll;
28 
30  : public vtkCameraManipulator
31 {
32 public:
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  ~vtkPVTrackballMultiRotate() override;
50 
53 
55 
56 private:
58  void operator=(const vtkPVTrackballMultiRotate&) = delete;
59 };
60 
61 #endif // vtkPVTrackballMultiRotate_h
vtkPVTrackballRotate * RotateManipulator
Abstraction of style away from button.
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
static vtkCameraManipulator * New()
This camera manipulator combines the vtkPVTrackballRotate and vtkPVTrackballRoll manipulators in one...
vtkPVTrackballRoll * RollManipulator
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
Rolls camera around a point.
vtkCameraManipulator * CurrentManipulator
Rotates camera with xy mouse movement.
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)