VARJO TRACKING PLUGIN SDK DOCUMENTATION
Varjo_plugin.h File Reference

Go to the source code of this file.

Functions

varjo_PluginStatus varjo_TrackerStart (varjo_PluginContext context)
 
varjo_PluginStatus varjo_TrackerStop (varjo_PluginContext context)
 
varjo_PluginStatus varjo_GetHMDPose (varjo_PluginContext context, varjo_Nanoseconds timeStamp, varjo_DevicePose *pose)
 Queries tracker for the HMD pose. More...
 

Function Documentation

◆ varjo_TrackerStart()

varjo_PluginStatus varjo_TrackerStart ( varjo_PluginContext  context)

Starts the tracker processing

Parameters
context- plugin session context acquired from varjo_PluginInit
Returns
varjo_PluginStatus_OK if tracker started successfully, other value of type varjo_PluginStatus otherwise

◆ varjo_TrackerStop()

varjo_PluginStatus varjo_TrackerStop ( varjo_PluginContext  context)

Stops the tracker processing

Parameters
context- plugin session context acquired from varjo_PluginInit
Returns
varjo_PluginStatus_OK if tracker stopped successfully, other value of type varjo_PluginStatus otherwise

◆ varjo_GetHMDPose()

varjo_PluginStatus varjo_GetHMDPose ( varjo_PluginContext  context,
varjo_Nanoseconds  timeStamp,
varjo_DevicePose pose 
)

Queries tracker for the HMD pose.

HMD's tracking point is defined to be in the middle - between the centers of eye-piece lenses, and the on plane of the lens surface closest to the user eyes.

An important consideration for tracking systems requiring marker objects to be placed on the HMD is to minimize interference with critical HMD components (cameras, sensors, ventilation, etc.) shown in following images:

Parameters
context- plugin session context acquired from varjo_PluginInit
timeStamp- timestamp in nanoseconds for which tracking prediction is requested
pose- Pointer to a structure receiving tracking pose
Returns
varjo_PluginStatus_OK if HMD pose was queried successfully, other value of type varjo_PluginStatus otherwise