VTK  9.5.2
vtkParallelCoordinatesInteractorStyle.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
28
29#ifndef vtkParallelCoordinatesInteractorStyle_h
30#define vtkParallelCoordinatesInteractorStyle_h
31
32#include "vtkInteractionStyleModule.h" // For export macro
34#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
35
36VTK_ABI_NAMESPACE_BEGIN
37class vtkViewport;
38
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47 enum
48 {
53 };
54
56
59 vtkGetVector2Macro(CursorStartPosition, int);
60 vtkGetVector2Macro(CursorCurrentPosition, int);
61 vtkGetVector2Macro(CursorLastPosition, int);
63
65
68 void GetCursorStartPosition(vtkViewport* viewport, double pos[2]);
69 void GetCursorCurrentPosition(vtkViewport* viewport, double pos[2]);
70 void GetCursorLastPosition(vtkViewport* viewport, double pos[2]);
72
74
78 void OnMouseMove() override;
79 void OnLeftButtonDown() override;
80 void OnLeftButtonUp() override;
81 void OnMiddleButtonDown() override;
82 void OnMiddleButtonUp() override;
83 void OnRightButtonDown() override;
84 void OnRightButtonUp() override;
85 void OnLeave() override;
87
89 virtual void StartInspect(int x, int y);
90 virtual void Inspect(int x, int y);
91 virtual void EndInspect();
93
95 void StartZoom() override;
96 void Zoom() override;
97 void EndZoom() override;
99
101 void StartPan() override;
102 void Pan() override;
103 void EndPan() override;
105
109 void OnChar() override;
110
111protected:
114
118
119private:
121 void operator=(const vtkParallelCoordinatesInteractorStyle&) = delete;
122};
123
124VTK_ABI_NAMESPACE_END
125#endif
a simple class to control print indentation
Definition vtkIndent.h:29
void GetCursorStartPosition(vtkViewport *viewport, double pos[2])
Get the cursor positions in a given coordinate system.
void EndPan() override
Interaction mode entry points used internally.
void OnMiddleButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
virtual void Inspect(int x, int y)
void GetCursorCurrentPosition(vtkViewport *viewport, double pos[2])
Get the cursor positions in a given coordinate system.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OnLeave() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnLeftButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void StartPan() override
Interaction mode entry points used internally.
void OnMiddleButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnChar() override
Override the "fly-to" (f keypress) for images.
void StartZoom() override
Interaction mode entry points used internally.
void GetCursorLastPosition(vtkViewport *viewport, double pos[2])
Get the cursor positions in a given coordinate system.
void OnLeftButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
virtual void StartInspect(int x, int y)
void OnRightButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void EndZoom() override
Interaction mode entry points used internally.
static vtkParallelCoordinatesInteractorStyle * New()
void OnRightButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
abstract specification for Viewports
Definition vtkViewport.h:47
#define VTK_MARSHALAUTO