VTK
dox
Rendering
OpenVR
vtkOpenVRFollower.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
5
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6
All rights reserved.
7
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
21
#ifndef vtkOpenVRFollower_h
22
#define vtkOpenVRFollower_h
23
24
#include "vtkRenderingOpenVRModule.h"
// For export macro
25
#include "
vtkFollower.h
"
26
27
class
VTKRENDERINGOPENVR_EXPORT
vtkOpenVRFollower
:
public
vtkFollower
28
{
29
public
:
30
static
vtkOpenVRFollower
*
New
();
31
vtkTypeMacro(
vtkOpenVRFollower
,
vtkFollower
);
32
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
33
34
virtual
void
Render
(
vtkRenderer
*ren)
override
;
35
40
void
ComputeMatrix
()
override
;
41
42
protected
:
43
vtkOpenVRFollower
();
44
~
vtkOpenVRFollower
();
45
46
double
LastViewUp[3];
47
48
private
:
49
vtkOpenVRFollower
(
const
vtkOpenVRFollower
&) =
delete
;
50
void
operator=(
const
vtkOpenVRFollower
&) =
delete
;
51
};
52
53
#endif
vtkFollower
a subclass of actor that always faces the camera
Definition:
vtkFollower.h:46
vtkFollower::Render
virtual void Render(vtkRenderer *ren)
vtkFollower.h
vtkOpenVRFollower
OpenVR Follower.
Definition:
vtkOpenVRFollower.h:27
vtkFollower::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkFollower::ComputeMatrix
void ComputeMatrix() override
Generate the matrix based on ivars.
vtkFollower::New
static vtkFollower * New()
Creates a follower with no camera set.
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
Generated by
1.8.16