VTK  9.7.20261004
vtkTrackballMoveActor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
29
30#ifndef vtkTrackballMoveActor_h
31#define vtkTrackballMoveActor_h
32
34
35#include "vtkCommand.h" // for vtkCommand::UserEvent
36#include "vtkInteractionStyleModule.h" // needed for export macro
37#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
38
39VTK_ABI_NAMESPACE_BEGIN
40class VTKINTERACTIONSTYLE_EXPORT VTK_MARSHALAUTO vtkTrackballMoveActor : public vtkCameraManipulator
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
53
55
58 void StartInteraction() override {};
59 void EndInteraction() override {};
60 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
61 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
62 void OnButtonUp(int vtkNotUsed(x), int vtkNotUsed(y), vtkRenderer* vtkNotUsed(ren),
63 vtkRenderWindowInteractor* vtkNotUsed(rwi)) override
64 {
65 }
66
67
69
73 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
74 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
76
77protected:
80
81private:
83 void operator=(const vtkTrackballMoveActor&) = delete;
84};
85VTK_ABI_NAMESPACE_END
86#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 OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
static vtkTrackballMoveActor * New()
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnKeyUp(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void StartInteraction() override
Unimplemented methods from vtkCameraManipulator.
~vtkTrackballMoveActor() override
void EndInteraction() override
Unimplemented methods from vtkCameraManipulator.
void OnKeyDown(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
#define VTK_MARSHALAUTO