#include "OVRHeadset.h"
#include "InputCallback.h"
#include "TextureBuffer.h"
#include "TextureStatic.h"
#include "TextureBattery.h"
#include "GLDebug.h"
#include "OVRHeadsetLogComponent.h"
#include "img-yarp-robot-64.h"
#include "img-crosshairs.h"
#include <yarp/os/BufferedPort.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/Network.h>
#include <yarp/os/Stamp.h>
#include <yarp/os/Time.h>
#include <yarp/sig/Image.h>
#include <yarp/os/Property.h>
#include <yarp/os/SystemClock.h>
#include <yarp/math/Math.h>
#include <cmath>
#include <mutex>
#include <unordered_map>
#include <OVR_CAPI_Util.h>
#include <OVR_Math.h>
#include <GLFW/glfw3.h>
#include <GLFW/glfw3native.h>
#include <OVR_System.h>
#include <OVR_CAPI_GL.h>
Go to the source code of this file.
|
yarp::sig::Vector | ovrVec3ToYarp (const ovrVector3f &v) |
|
yarp::sig::Vector | ovrRot2YarpRPY (const OVR::Quatf &rot) |
|
yarp::sig::Matrix | ovr2matrix (const ovrVector3f &pos, const OVR::Quatf &orientation) |
|
ovrVector3f | vecSubtract (const ovrVector3f &a, const ovrVector3f &b) |
|
static void | debugTangent (std::string message, float tangent1, float tangent2) |
|
static void | debugFov (const ovrFovPort fov[2]) |
|
static int | compareLuid (const ovrGraphicsLuid &lhs, const ovrGraphicsLuid &rhs) |
|
static ovrGraphicsLuid | GetDefaultAdapterLuid () |
|
void | writeVec3OnPort (yarp::os::BufferedPort< yarp::os::Bottle > *const &port, const OVR::Vector3f &vec3, yarp::os::Stamp &stamp) |
|
OVR::Vector3f | radToDeg (const OVR::Vector3f &v) |
|
void | setHeadLockedLayer (ovrLayerQuad &layer, TextureStatic *tex, const float x, const float y, const float z, const float rx, const float ry, const float rz, float rw, const float sizeX, const float sizeY) |
|
void | setHeadLockedLayer (ovrLayerQuad &layer, TextureBuffer *tex, const float x, const float y, const float z, const float rx, const float ry, const float rz, float rw, const float sizeX, const float sizeY) |
|
◆ _USE_MATH_DEFINES
#define _USE_MATH_DEFINES |
◆ FlexImagePort
◆ valueIsType
typedef bool(yarp::os::Value::* valueIsType) (void) const |
◆ compareLuid()
static int compareLuid |
( |
const ovrGraphicsLuid & |
lhs, |
|
|
const ovrGraphicsLuid & |
rhs |
|
) |
| |
|
static |
◆ debugFov()
static void debugFov |
( |
const ovrFovPort |
fov[2] | ) |
|
|
static |
◆ debugTangent()
static void debugTangent |
( |
std::string |
message, |
|
|
float |
tangent1, |
|
|
float |
tangent2 |
|
) |
| |
|
inlinestatic |
◆ GetDefaultAdapterLuid()
static ovrGraphicsLuid GetDefaultAdapterLuid |
( |
| ) |
|
|
static |
◆ ovr2matrix()
yarp::sig::Matrix ovr2matrix |
( |
const ovrVector3f & |
pos, |
|
|
const OVR::Quatf & |
orientation |
|
) |
| |
|
inline |
◆ ovrRot2YarpRPY()
◆ ovrVec3ToYarp()
◆ radToDeg()
OVR::Vector3f radToDeg |
( |
const OVR::Vector3f & |
v | ) |
|
|
inline |
◆ setHeadLockedLayer() [1/2]
void setHeadLockedLayer |
( |
ovrLayerQuad & |
layer, |
|
|
TextureBuffer * |
tex, |
|
|
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z, |
|
|
const float |
rx, |
|
|
const float |
ry, |
|
|
const float |
rz, |
|
|
float |
rw, |
|
|
const float |
sizeX, |
|
|
const float |
sizeY |
|
) |
| |
|
inline |
◆ setHeadLockedLayer() [2/2]
void setHeadLockedLayer |
( |
ovrLayerQuad & |
layer, |
|
|
TextureStatic * |
tex, |
|
|
const float |
x, |
|
|
const float |
y, |
|
|
const float |
z, |
|
|
const float |
rx, |
|
|
const float |
ry, |
|
|
const float |
rz, |
|
|
float |
rw, |
|
|
const float |
sizeX, |
|
|
const float |
sizeY |
|
) |
| |
|
inline |
◆ vecSubtract()
ovrVector3f vecSubtract |
( |
const ovrVector3f & |
a, |
|
|
const ovrVector3f & |
b |
|
) |
| |
|
inline |
◆ writeVec3OnPort()
◆ AXIS_COUNT
constexpr unsigned int AXIS_COUNT = 8 |
|
constexpr |
◆ BUTTON_COUNT
constexpr unsigned int BUTTON_COUNT = 13 |
|
constexpr |
◆ STICK_COUNT
constexpr unsigned int STICK_COUNT = 2 |
|
constexpr |