src
paraview-5.12
Incubator
CAVEInteractionStyles
vtkSMVRStylusStyleProxy.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
13
#ifndef vtkSMVRStylusStyleProxy_h
14
#define vtkSMVRStylusStyleProxy_h
15
16
#include "vtkPVIncubatorCAVEInteractionStylesModule.h"
// for export macro
17
#include "
vtkSMVRTrackStyleProxy.h
"
18
19
struct
vtkVREvent
;
20
21
class
VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT
vtkSMVRStylusStyleProxy
22
:
public
vtkSMVRTrackStyleProxy
23
{
24
public
:
25
static
vtkSMVRStylusStyleProxy
*
New
();
26
vtkTypeMacro(
vtkSMVRStylusStyleProxy
,
vtkSMVRTrackStyleProxy
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
29
protected
:
30
vtkSMVRStylusStyleProxy
();
31
~
vtkSMVRStylusStyleProxy
()
override
=
default
;
32
33
void
HandleButton
(
const
vtkVREvent
& event)
override
;
34
void
HandleTracker
(
const
vtkVREvent
& event)
override
;
35
36
bool
EnableTranslate
;
37
bool
EnableRotate
;
38
39
private
:
40
vtkSMVRStylusStyleProxy
(
const
vtkSMVRStylusStyleProxy
&) =
delete
;
41
void
operator=(
const
vtkSMVRStylusStyleProxy
&) =
delete
;
42
43
double
LastRecordedPosition[3];
44
bool
PositionRecorded;
45
};
46
47
#endif // vtkSMVRStylusStyleProxy_h
vtkSMVRTrackStyleProxy
Definition:
vtkSMVRTrackStyleProxy.h:18
vtkSMVRStylusStyleProxy
an interaction style to control translation and rotation with a stylus
Definition:
vtkSMVRStylusStyleProxy.h:21
vtkSMVRStylusStyleProxy::EnableRotate
bool EnableRotate
Definition:
vtkSMVRStylusStyleProxy.h:37
vtkSMVRTrackStyleProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMVRTrackStyleProxy::HandleTracker
void HandleTracker(const vtkVREvent &event) override
vtkSMVRTrackStyleProxy.h
vtkIndent
vtkVREvent
Definition:
vtkVRQueue.h:44
vtkSMVRStylusStyleProxy::EnableTranslate
bool EnableTranslate
Definition:
vtkSMVRStylusStyleProxy.h:36
vtkSMVRTrackStyleProxy::New
static vtkSMVRTrackStyleProxy * New()
vtkSMVRInteractorStyleProxy::HandleButton
virtual void HandleButton(const vtkVREvent &event)
Generated by
1.8.17 on Wed Mar 27 2024