src
paraview-5.12
Incubator
CAVEInteractionStyles
vtkSMVRControlSliceOrientationStyleProxy.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
4
#ifndef vtkSMVRControlSliceOrientationStyleProxy_h
5
#define vtkSMVRControlSliceOrientationStyleProxy_h
6
7
#include "
vtkNew.h
"
8
#include "vtkPVIncubatorCAVEInteractionStylesModule.h"
// for export macro
9
#include "
vtkSMVRInteractorStyleProxy.h
"
10
11
class
vtkMatrix4x4
;
12
13
class
VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT
vtkSMVRControlSliceOrientationStyleProxy
14
:
public
vtkSMVRInteractorStyleProxy
15
{
16
public
:
17
static
vtkSMVRControlSliceOrientationStyleProxy
*
New
();
18
vtkTypeMacro(
vtkSMVRControlSliceOrientationStyleProxy
,
vtkSMVRInteractorStyleProxy
);
19
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
20
21
int
GetControlledPropertySize
()
override
{
return
3; }
22
27
bool
Update
()
override
;
28
29
protected
:
30
vtkSMVRControlSliceOrientationStyleProxy
();
31
~
vtkSMVRControlSliceOrientationStyleProxy
()
override
;
32
33
void
HandleButton
(
const
vtkVREvent
& event)
override
;
34
void
HandleTracker
(
const
vtkVREvent
& event)
override
;
35
36
bool
Enabled
;
37
bool
InitialOrientationRecorded
;
38
39
double
InitialQuat[4];
40
double
InitialTrackerQuat[4];
41
double
UpdatedQuat[4];
42
double
Normal
[4];
43
44
vtkNew<vtkMatrix4x4>
InitialInvertedPose
;
45
46
private
:
47
vtkSMVRControlSliceOrientationStyleProxy
(
48
const
vtkSMVRControlSliceOrientationStyleProxy
&) =
delete
;
// Not implemented
49
void
operator=(
const
vtkSMVRControlSliceOrientationStyleProxy
&) =
delete
;
// Not implemented
50
};
51
52
#endif // vtkSMVRControlSliceOrientationStyleProxy_h
vtkSMVRInteractorStyleProxy
Definition:
vtkSMVRInteractorStyleProxy.h:22
vtkSMVRControlSliceOrientationStyleProxy
Definition:
vtkSMVRControlSliceOrientationStyleProxy.h:13
vtkSMVRControlSliceOrientationStyleProxy::InitialOrientationRecorded
bool InitialOrientationRecorded
Definition:
vtkSMVRControlSliceOrientationStyleProxy.h:37
vtkSMVRControlSliceOrientationStyleProxy::GetControlledPropertySize
int GetControlledPropertySize() override
Definition:
vtkSMVRControlSliceOrientationStyleProxy.h:21
Normal
Normal
vtkSMVRInteractorStyleProxy::Update
virtual bool Update()
Update() called to update all the remote vtkObjects and perhaps even to render.
vtkIndent
vtkMatrix4x4
vtkNew< vtkMatrix4x4 >
vtkSMVRControlSliceOrientationStyleProxy::InitialInvertedPose
vtkNew< vtkMatrix4x4 > InitialInvertedPose
Definition:
vtkSMVRControlSliceOrientationStyleProxy.h:44
vtkVREvent
Definition:
vtkVRQueue.h:44
vtkNew.h
vtkSMVRInteractorStyleProxy::HandleTracker
virtual void HandleTracker(const vtkVREvent &event)
vtkSMVRInteractorStyleProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMVRInteractorStyleProxy::HandleButton
virtual void HandleButton(const vtkVREvent &event)
vtkSMVRInteractorStyleProxy::New
static vtkSMVRInteractorStyleProxy * New()
vtkSMVRInteractorStyleProxy.h
vtkSMVRControlSliceOrientationStyleProxy::Enabled
bool Enabled
Definition:
vtkSMVRControlSliceOrientationStyleProxy.h:36
Generated by
1.8.17 on Wed Mar 27 2024