OPENVR Scol plugin
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
sOpenvr Class Reference

#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)
 
sOpenvrControllerGetController (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
 

Detailed Description

sOpenvr class

Definition at line 130 of file sOpenvr.h.

Constructor & Destructor Documentation

◆ sOpenvr()

sOpenvr::sOpenvr ( const char *  inpuPath)

Ctor.

Definition at line 53 of file sOpenvr.cpp.

◆ ~sOpenvr()

sOpenvr::~sOpenvr ( )

Dtor

Definition at line 93 of file sOpenvr.cpp.

Member Function Documentation

◆ HaveCamera()

bool sOpenvr::HaveCamera ( )

Camera

Definition at line 544 of file sOpenvr.cpp.


The documentation for this class was generated from the following files: