Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Ovr Class Reference

#include "Ovr.h"

Collaboration diagram for Ovr:
Collaboration graph

Public Member Functions

 Ovr ()
 
 ~Ovr ()
 
bool init ()
 
bool startSensor ()
 
void getXYZW (double *x, double *y, double *z, double *w)
 

Data Fields

bool mock
 
bool ovrInitiated
 
ovrHmd hmd
 
ovrHmdDesc hmdDesc
 

Friends

std::ostream & operator<< (std::ostream &, const Ovr &)
 

Detailed Description

Try to put everything related to OVR in this class This way, other parts of StartX project will only need to call this class

Definition at line 15 of file Ovr.h.

Constructor & Destructor Documentation

Ovr::Ovr ( )

Some useful initialization process

Definition at line 13 of file Ovr.cpp.

Ovr::~Ovr ( )

Destroys any previous OVR objects create by initOVR

Definition at line 22 of file Ovr.cpp.

Member Function Documentation

void Ovr::getXYZW ( double *  x,
double *  y,
double *  z,
double *  w 
)

Get current state from OVR

Definition at line 106 of file Ovr.cpp.

bool Ovr::init ( )

Creates a OVR device

Definition at line 39 of file Ovr.cpp.

bool Ovr::startSensor ( )

Start the HMD so the next step begins the tracking

Definition at line 91 of file Ovr.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Ovr sxovr 
)
friend

Print all the information about this class

Definition at line 162 of file Ovr.cpp.

Field Documentation

ovrHmd Ovr::hmd

This is the object holder for the OVR

Definition at line 32 of file Ovr.h.

ovrHmdDesc Ovr::hmdDesc

Holds the description of the OVR

Definition at line 37 of file Ovr.h.

bool Ovr::mock

Defines wheather Ovr will mock values

Definition at line 22 of file Ovr.h.

bool Ovr::ovrInitiated

Flag to inform the class when to create and destroy OVR devices

Definition at line 27 of file Ovr.h.


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