vtkPVTrackballMoveActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTrackballMoveActor.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 =========================================================================*/
26 #ifndef vtkPVTrackballMoveActor_h
27 #define vtkPVTrackballMoveActor_h
28 
29 #include "vtkCameraManipulator.h"
30 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
31 
33  : public vtkCameraManipulator
34 {
35 public:
36  static vtkPVTrackballMoveActor* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
45  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
46  void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
47  void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
49 
50 protected:
52  ~vtkPVTrackballMoveActor() override;
53 
55  void operator=(const vtkPVTrackballMoveActor&) = delete;
56 };
57 
58 #endif
Abstraction of style away from button.
Pans camera with x y mouse movements.
void PrintSelf(ostream &os, vtkIndent indent) override
#define VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
static vtkCameraManipulator * New()
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
virtual void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)