VTK  9.6.20260326
vtkTrackballRoll.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
14
15#ifndef vtkTrackballRoll_h
16#define vtkTrackballRoll_h
17
19
20#include "vtkInteractionStyleModule.h" // needed for export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKINTERACTIONSTYLE_EXPORT vtkTrackballRoll : public vtkCameraManipulator
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
34 void StartInteraction() override{};
35 void EndInteraction() override{};
36 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
37 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
39
41
45 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
46 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
47 void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
49
50protected:
53
54private:
55 vtkTrackballRoll(const vtkTrackballRoll&) = delete;
56 void operator=(const vtkTrackballRoll&) = delete;
57};
58VTK_ABI_NAMESPACE_END
59#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 StartInteraction() override
Unimplemented methods from vtkCameraManipulator.
void OnKeyUp(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.
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 OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
~vtkTrackballRoll() override
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 vtkTrackballRoll * New()
void OnKeyDown(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.