PSMoveSteamVRBridge
Static Public Member Functions | List of all members
steamvrbridge::Utils Class Reference

Static Public Member Functions

static int find_index_of_string_in_table (const char **string_table, const int string_table_count, const char *string)
 
static std::string Path_StripFilename (const std::string &sPath, char slash)
 
static std::string Path_GetThisModulePath ()
 
static std::string Path_GetHomeDirectory ()
 
static std::string Path_GetPSMoveSteamVRBridgeInstallPath (const class ServerDriverConfig *config)
 
static std::string Path_GetPSMoveSteamVRBridgeDriverRootPath (const class ServerDriverConfig *config)
 
static std::string Path_GetPSMoveSteamVRBridgeDriverBinPath (const class ServerDriverConfig *config)
 
static std::string Path_GetPSMoveSteamVRBridgeDriverResourcesPath (const class ServerDriverConfig *config)
 
static std::string Path_GetPSMoveServiceInstallPath (const class ServerDriverConfig *config)
 
static bool Path_CreateDirectory (const std::string &path)
 
static bool Path_FileExists (const std::string &filename)
 
static bool IsProcessRunning (const std::string &processName)
 
static bool LaunchProcess (const std::string &processPath, const std::string &processName, const std::vector< std::string > &args)
 
static bool GetHMDDeviceIndex (vr::TrackedDeviceIndex_t *out_hmd_device_index)
 
static bool GetTrackedDevicePose (const vr::TrackedDeviceIndex_t device_index, PSMPosef *out_device_pose)
 
static PSMQuatf ExtractHMDYawQuaternion (const PSMQuatf &q)
 
static PSMQuatf ExtractPSMoveYawQuaternion (const PSMQuatf &q)
 
static void GetMetersPosInRotSpace (const PSMQuatf *rotation, PSMVector3f *out_position, const PSMPSMove &view)
 
static PSMPosef Utils::GetHMDPoseInMeters ()
 
static PSMPosef Utils::RealignHMDTrackingSpace (PSMQuatf controllerOrientationInHmdSpaceQuat, PSMVector3f controllerLocalOffsetFromHmdPosition, PSMControllerID controllerId, PSMPosef hmd_pose_meters, bool useControllerOrientation)
 
static PSMQuatf openvrMatrixExtractPSMQuatf (const vr::HmdMatrix34_t &openVRTransform)
 
static PSMQuatf psmMatrix3fToPSMQuatf (const PSMMatrix3f &psmMat)
 
static float psmVector3fDistance (const PSMVector3f &a, const PSMVector3f &b)
 
static PSMVector3f psmVector3fLerp (const PSMVector3f &a, const PSMVector3f &b, float u)
 
static PSMVector3f openvrMatrixExtractPSMVector3f (const vr::HmdMatrix34_t &openVRTransform)
 
static PSMPosef openvrMatrixExtractPSMPosef (const vr::HmdMatrix34_t &openVRTransform)
 
static std::string PSMVector3fToString (const PSMVector3f &position)
 
static std::string PSMQuatfToString (const PSMQuatf &rotation)
 
static std::string PSMPosefToString (const PSMPosef &pose)
 
static void GenerateTrackerSerialNumber (char *p, int psize, int tracker)
 
static void GenerateControllerSteamVRIdentifier (char *p, int psize, int controller)
 

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