VTKExtensions
InteractionStyle
vtkPVTrackballEnvironmentRotate.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
10
#ifndef vtkPVTrackballEnvironmentRotate_h
11
#define vtkPVTrackballEnvironmentRotate_h
12
13
#include "
vtkCameraManipulator.h
"
14
#include "
vtkPVVTKExtensionsInteractionStyleModule.h
"
// needed for export macro
15
16
class
VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
vtkPVTrackballEnvironmentRotate
17
:
public
vtkCameraManipulator
18
{
19
public
:
20
static
vtkPVTrackballEnvironmentRotate
*
New
();
21
vtkTypeMacro(
vtkPVTrackballEnvironmentRotate
,
vtkCameraManipulator
);
22
24
28
void
OnMouseMove
(
int
x,
int
y,
vtkRenderer
* ren,
vtkRenderWindowInteractor
* rwi)
override
;
30
31
protected
:
32
vtkPVTrackballEnvironmentRotate
() =
default
;
33
~
vtkPVTrackballEnvironmentRotate
()
override
=
default
;
34
35
vtkPVTrackballEnvironmentRotate
(
const
vtkPVTrackballEnvironmentRotate
&) =
delete
;
36
void
operator=(
const
vtkPVTrackballEnvironmentRotate
&) =
delete
;
37
38
void
EnvironmentRotate(
vtkRenderer
* ren,
vtkRenderWindowInteractor
* rwi);
39
};
40
41
#endif
vtkCameraManipulator.h
vtkPVVTKExtensionsInteractionStyleModule.h
vtkRenderer
vtkCameraManipulator
Abstraction of style away from button.
Definition:
vtkCameraManipulator.h:24
VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
#define VTKPVVTKEXTENSIONSINTERACTIONSTYLE_EXPORT
Definition:
vtkPVVTKExtensionsInteractionStyleModule.h:15
vtkRenderWindowInteractor
vtkCameraManipulator::New
static vtkCameraManipulator * New()
vtkCameraManipulator::OnMouseMove
virtual void OnMouseMove(int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren)
vtkPVTrackballEnvironmentRotate
Rotates the environment with xy mouse movement.
Definition:
vtkPVTrackballEnvironmentRotate.h:16
Generated by
1.8.13 on Tue Oct 1 2024