cgv
Loading...
Searching...
No Matches
Virtual Reality

The library cgv/libs/vr is the basis for implementing vr apps. More...

Files

file  vr_camera.h
 defines camera class for camera provided by vr_kit
 
file  vr_state.h
 defines types to store the state vr::vr_kit_state of a vr kit, which is split into sub states for the hmd (vr::vr_trackable_state) and the two controllers (vr::vr_conroller_state).
 
file  vr_emulator.h
 provides vr_emulator and vr_emulated_kit classes.
 
file  vr_test.h
 example plugin for vr usage
 

Namespaces

namespace  vr
 the vr namespace for virtual reality support
 
namespace  cgv
 the cgv namespace
 
enum  VRkitVisType { VVT_NONE , VVT_SPHERE = 1 , VVT_MESH = 2 , VVT_BOTH }
 
CGV_API cgv::reflect::enum_reflection_traits< VRkitVisTypeget_reflection_traits (const VRkitVisType &gm)
 support reflection of enum names
 

Detailed Description

The library cgv/libs/vr is the basis for implementing vr apps.

The library is completely independent of the cgv framework and does not include any frameword headers nor does it link to any other framework libraries. It builds on the concept of a driver implemented in the vr::vr_driver class, which provides instances of vr kits. There can be several drivers in use at the same time. A simple registry is used to manage drivers and vr kits. The class vr::vr_kit provides access to the head mounted display and the controllers with a simple state polling api.

Enumeration Type Documentation

◆ VRkitVisType

different visualization types for vr kit components

Definition at line 18 of file vr_view_interactor.h.

Function Documentation

◆ get_reflection_traits()

CGV_API cgv::reflect::enum_reflection_traits< VRkitVisType > get_reflection_traits ( const VRkitVisType gm)
extern

support reflection of enum names

Definition at line 18 of file vr_view_interactor.cxx.