vtkPVTrackballMultiRotate.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*=========================================================================
3 
4  Program: Visualization Toolkit
5  Module: vtkPVTrackballMultiRotate.h
6 
7  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
16 
17 /*-------------------------------------------------------------------------
18  Copyright 2009 Sandia Corporation.
19  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
20  the U.S. Government retains certain rights in this software.
21 -------------------------------------------------------------------------*/
22 
36 #ifndef vtkPVTrackballMultiRotate_h
37 #define vtkPVTrackballMultiRotate_h
38 
39 #include "vtkCameraManipulator.h"
40 #include "vtkPVVTKExtensionsInteractionStyleModule.h" // needed for export macro
41 
43 class vtkPVTrackballRoll;
45 
47  : public vtkCameraManipulator
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
59  void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
60  void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
61  void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
63 
64 protected:
66  ~vtkPVTrackballMultiRotate() override;
67 
70 
72 
73 private:
75  void operator=(const vtkPVTrackballMultiRotate&) = delete;
76 };
77 
78 #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)