|
OPENVR Scol plugin
|
#include <sOpenvr.h>
Public Member Functions | |
| sOpenvr (const char *inpuPath) | |
| ~sOpenvr () | |
| bool | Connect () |
| void | Disconnect () |
| void | ResetHmd () |
| bool | IsConnected () |
| bool | IsVisible () |
| bool | GetHmdOrientation (Quaternion &quat) |
| bool | GetHmdPosition (Vector3 &vec) |
| std::string | GetHmdName () |
| bool | GetProjectionMatrix (vr::EVREye eye, float nearclip, float farclip, Matrix4 &mat) |
| bool | GetStereoTextureSize (unsigned int &w, unsigned int &h) |
| float | GetStereoConfigAspect () |
| float | GetStereoConfigFovY () |
| float | GetStereoIPD () |
| bool | Update () |
| void | UpdateTextures (void *leftTexture, void *rightTexture, vr::ETextureType type) |
| sOpenvrController * | GetController (unsigned int id) |
| bool | HaveCamera () |
| bool | IsCameraEnable () |
| void | GetCameraSize (uint32_t &w, uint32_t &h) |
| bool | StartCamera () |
| void | StopCamera () |
| bool | GetCameraFrame (PtrObjBitmap scolBitmap) |
Static Public Member Functions | |
| static Matrix4 | getMatrix4FromSteamVRMatrix34 (const vr::HmdMatrix34_t &mat) |
Protected Attributes | |
| bool | mConnected |
| sOpenvr::sOpenvr | ( | const char * | inpuPath | ) |
Ctor.
Definition at line 53 of file sOpenvr.cpp.
| sOpenvr::~sOpenvr | ( | ) |
Dtor
Definition at line 93 of file sOpenvr.cpp.
| bool sOpenvr::HaveCamera | ( | ) |
Camera
Definition at line 544 of file sOpenvr.cpp.
1.8.13