VTK  9.6.20260327
vtkTrackballEnvironmentRotate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
12
13#ifndef vtkTrackballEnvironmentRotate_h
14#define vtkTrackballEnvironmentRotate_h
15
17
18#include "vtkInteractionStyleModule.h" // needed for export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKINTERACTIONSTYLE_EXPORT vtkTrackballEnvironmentRotate : public vtkCameraManipulator
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
29
32 void StartInteraction() override{};
33 void EndInteraction() override{};
34 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
35 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
36 void OnButtonDown(int vtkNotUsed(x), int vtkNotUsed(y), vtkRenderer* vtkNotUsed(ren),
37 vtkRenderWindowInteractor* vtkNotUsed(rwi)) override
38 {
39 }
40 void OnButtonUp(int vtkNotUsed(x), int vtkNotUsed(y), vtkRenderer* vtkNotUsed(ren),
41 vtkRenderWindowInteractor* vtkNotUsed(rwi)) override
42 {
43 }
44
45
47
51 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
53
54protected:
56 ~vtkTrackballEnvironmentRotate() override = default;
57
58private:
60 void operator=(const vtkTrackballEnvironmentRotate&) = delete;
61
62 void EnvironmentRotate(vtkRenderer* ren, vtkRenderWindowInteractor* rwi);
63};
64VTK_ABI_NAMESPACE_END
65#endif
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
void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnKeyDown(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void StartInteraction() override
Unimplemented methods from vtkCameraManipulator.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTrackballEnvironmentRotate * New()
void EndInteraction() override
Unimplemented methods from vtkCameraManipulator.
void OnKeyUp(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
~vtkTrackballEnvironmentRotate() override=default