VTK  9.6.20260327
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
38VTK_ABI_NAMESPACE_BEGIN
39class VTKINTERACTIONSTYLE_EXPORT vtkTrackballMoveActor : public vtkCameraManipulator
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
52
54
57 void StartInteraction() override{};
58 void EndInteraction() override{};
59 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
60 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
61 void OnButtonUp(int vtkNotUsed(x), int vtkNotUsed(y), vtkRenderer* vtkNotUsed(ren),
62 vtkRenderWindowInteractor* vtkNotUsed(rwi)) override
63 {
64 }
65
66
68
72 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
73 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* iren) override;
75
76protected:
79
80private:
82 void operator=(const vtkTrackballMoveActor&) = delete;
83};
84VTK_ABI_NAMESPACE_END
85#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.