VTK  9.7.20261007
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKINTERACTIONSTYLE_EXPORT VTK_MARSHALAUTO vtkTrackballRoll : public vtkCameraManipulator
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
35 void StartInteraction() override {};
36 void EndInteraction() override {};
37 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
38 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
40
42
46 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
47 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
48 void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
50
51protected:
54
55private:
56 vtkTrackballRoll(const vtkTrackballRoll&) = delete;
57 void operator=(const vtkTrackballRoll&) = delete;
58};
59VTK_ABI_NAMESPACE_END
60#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.
#define VTK_MARSHALAUTO