#include "VRRenderThread.h"
|
| enum VRRenderThread:: { ... } | Command |
| |
◆ anonymous enum
List of command names
| Enumerator |
|---|
| END_RENDER | |
| ROTATE_X | |
| ROTATE_Y | |
| ROTATE_Z | |
◆ VRRenderThread()
| VRRenderThread::VRRenderThread |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~VRRenderThread()
| VRRenderThread::~VRRenderThread |
( |
| ) |
|
◆ addActorOffline()
| void VRRenderThread::addActorOffline |
( |
vtkActor * |
actor | ) |
|
This allows actors to be added to the VR renderer BEFORE the VR interactor has been started
◆ issueCommand()
| void VRRenderThread::issueCommand |
( |
int |
cmd, |
|
|
double |
value |
|
) |
| |
This allows commands to be issued to the VR thread in a thread safe way. Function will set variables within the class to indicate the type of action / animation / etc to perform. The rendering thread will then impelement this.
◆ run()
| void VRRenderThread::run |
( |
| ) |
|
|
overrideprotected |
This is a re-implementation of a QThread function
◆ actors
| vtkSmartPointer<vtkActorCollection> VRRenderThread::actors |
|
private |
List of actors that will need to be added to the VR scene
◆ camera
| vtkSmartPointer<vtkOpenVRCamera> VRRenderThread::camera |
|
private |
| enum { ... } VRRenderThread::Command |
◆ condition
| QWaitCondition VRRenderThread::condition |
|
private |
◆ endRender
| bool VRRenderThread::endRender |
|
private |
This will be set to false by the constructor, if it is set to true by the GUI then the rendering will end
◆ interactor
| vtkSmartPointer<vtkOpenVRRenderWindowInteractor> VRRenderThread::interactor |
|
private |
◆ mutex
| QMutex VRRenderThread::mutex |
|
private |
◆ renderer
| vtkSmartPointer<vtkOpenVRRenderer> VRRenderThread::renderer |
|
private |
◆ rotateX
| double VRRenderThread::rotateX |
|
private |
◆ rotateY
| double VRRenderThread::rotateY |
|
private |
◆ rotateZ
| double VRRenderThread::rotateZ |
|
private |
◆ t_last
| std::chrono::time_point<std::chrono::steady_clock> VRRenderThread::t_last |
|
private |
A timer to help implement animations and visual effects
◆ window
| vtkSmartPointer<vtkOpenVRRenderWindow> VRRenderThread::window |
|
private |
The documentation for this class was generated from the following files: