VTK  9.6.20260327
vtkTableTopRotate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
23
24#ifndef vtkTableTopRotate_h
25#define vtkTableTopRotate_h
26
28
29#include "vtkInteractionStyleModule.h" // needed for export macro
30
31VTK_ABI_NAMESPACE_BEGIN
32class VTKINTERACTIONSTYLE_EXPORT vtkTableTopRotate : public vtkCameraManipulator
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
43 void StartInteraction() override {}
44 void EndInteraction() override {}
45 void OnKeyDown(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
46 void OnKeyUp(vtkRenderWindowInteractor* vtkNotUsed(rwi)) override {}
48
50
54 void OnMouseMove(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
55 void OnButtonDown(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
56 void OnButtonUp(int x, int y, vtkRenderer* ren, vtkRenderWindowInteractor* rwi) override;
58
60
71 vtkSetMacro(SimultaneouslyAdjustAzimuthElevation, bool);
72 vtkGetMacro(SimultaneouslyAdjustAzimuthElevation, bool);
73 vtkBooleanMacro(SimultaneouslyAdjustAzimuthElevation, bool);
75
76protected:
79
80private:
81 vtkTableTopRotate(const vtkTableTopRotate&) = delete;
82 void operator=(const vtkTableTopRotate&) = delete;
83
84 bool SimultaneouslyAdjustAzimuthElevation = true;
85};
86VTK_ABI_NAMESPACE_END
87#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 OnButtonDown(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
~vtkTableTopRotate() override
void OnKeyUp(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.
void OnButtonUp(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi) override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
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.
static vtkTableTopRotate * New()
void OnKeyDown(vtkRenderWindowInteractor *rwi) override
Unimplemented methods from vtkCameraManipulator.