VTK  9.4.20241222
vtkVRFollower.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
10#ifndef vtkVRFollower_h
11#define vtkVRFollower_h
12
13#include "vtkFollower.h"
14#include "vtkRenderingVRModule.h" // For export macro
15
16VTK_ABI_NAMESPACE_BEGIN
17class VTKRENDERINGVR_EXPORT vtkVRFollower : public vtkFollower
18{
19public:
20 static vtkVRFollower* New();
21 vtkTypeMacro(vtkVRFollower, vtkFollower);
22 void PrintSelf(ostream& os, vtkIndent indent) override;
23
24 void Render(vtkRenderer* ren) override;
25
30 void ComputeMatrix() override;
31
32protected:
33 vtkVRFollower() = default;
34 ~vtkVRFollower() override = default;
35
36 double LastViewUp[3];
37
38private:
39 vtkVRFollower(const vtkVRFollower&) = delete;
40 void operator=(const vtkVRFollower&) = delete;
41
47 void Render(vtkRenderer*, vtkMapper*) override {}
48};
49
50VTK_ABI_NAMESPACE_END
51#endif
a subclass of actor that always faces the camera
Definition vtkFollower.h:92
virtual void Render(vtkRenderer *ren)
This causes the actor to be rendered.
a simple class to control print indentation
Definition vtkIndent.h:108
abstract class specifies interface to map data to graphics primitives
Definition vtkMapper.h:137
abstract specification for renderers
VR Follower.
void Render(vtkRenderer *ren) override
This causes the actor to be rendered.
static vtkVRFollower * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ComputeMatrix() override
Generate the matrix based on ivars.
~vtkVRFollower() override=default
vtkVRFollower()=default