VTK  9.6.20260327
vtkTrackballMultiRotate.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
20#ifndef vtkTrackballMultiRotate_h
21#define vtkTrackballMultiRotate_h
22
24
25#include "vtkInteractionStyleModule.h" // needed for export macro
26
27VTK_ABI_NAMESPACE_BEGIN
31
32class VTKINTERACTIONSTYLE_EXPORT vtkTrackballMultiRotate : public vtkCameraManipulator
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
43 void StartInteraction() override{};
44 void EndInteraction() override{};
45 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
46 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
48
50
54 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
55 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
56 void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
58
59protected:
62
63private:
65 void operator=(const vtkTrackballMultiRotate&) = delete;
66
67 vtkTrackballRotate* RotateManipulator;
68 vtkTrackballRoll* RollManipulator;
69
70 vtkCameraManipulator* CurrentManipulator;
71};
72VTK_ABI_NAMESPACE_END
73#endif // vtkTrackballMultiRotate_h
Abstraction of style away from button.
a simple class to control print indentation
Definition vtkIndent.h:108
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
~vtkTrackballMultiRotate() override
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void StartInteraction() override
Unimplemented methods from vtkCameraManipulator.
void EndInteraction() override
Unimplemented methods from vtkCameraManipulator.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnKeyUp(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
static vtkTrackballMultiRotate * New()
void OnKeyDown(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
Rolls camera around a point.
Rotates camera with xy mouse movement.