Rise
The Vieneo Province
Loading...
Searching...
No Matches
FreeTrackInput Class Reference

#include <FreeTrackInput.h>

Public Member Functions

bool Tracking (std::uint64_t now) const
void Reset ()
template<class Reader>
bool Poll (bool lateral, bool vertical, std::uint64_t now, Reader read)
void Apply (bool lateral, bool vertical, bool invertLateral, bool invertVertical, float &targetLateral, float &targetVertical) const

Public Attributes

float yaw = 0
float pitch = 0
float roll = 0
float x = 0
float y = 0
float z = 0
float rate = 0

Private Attributes

unsigned selection = 0
bool haveCounter = false
bool havePose = false
std::uint32_t lastCounter = 0
std::uint64_t lastFrameTime = 0
std::uint64_t rateStart = 0
unsigned frames = 0

Detailed Description

Definition at line 18 of file FreeTrackInput.h.

Member Function Documentation

◆ Apply()

void FreeTrackInput::Apply ( bool lateral,
bool vertical,
bool invertLateral,
bool invertVertical,
float & targetLateral,
float & targetVertical ) const
inline

Definition at line 98 of file FreeTrackInput.h.

Here is the caller graph for this function:

◆ Poll()

template<class Reader>
bool FreeTrackInput::Poll ( bool lateral,
bool vertical,
std::uint64_t now,
Reader read )
inline

Definition at line 36 of file FreeTrackInput.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void FreeTrackInput::Reset ( )
inline

Definition at line 33 of file FreeTrackInput.h.

Here is the caller graph for this function:

◆ Tracking()

bool FreeTrackInput::Tracking ( std::uint64_t now) const
inline

Definition at line 32 of file FreeTrackInput.h.

Here is the caller graph for this function:

Member Data Documentation

◆ frames

unsigned FreeTrackInput::frames = 0
private

Definition at line 25 of file FreeTrackInput.h.

◆ haveCounter

bool FreeTrackInput::haveCounter = false
private

Definition at line 21 of file FreeTrackInput.h.

◆ havePose

bool FreeTrackInput::havePose = false
private

Definition at line 22 of file FreeTrackInput.h.

◆ lastCounter

std::uint32_t FreeTrackInput::lastCounter = 0
private

Definition at line 23 of file FreeTrackInput.h.

◆ lastFrameTime

std::uint64_t FreeTrackInput::lastFrameTime = 0
private

Definition at line 24 of file FreeTrackInput.h.

◆ pitch

float FreeTrackInput::pitch = 0

Definition at line 28 of file FreeTrackInput.h.

◆ rate

float FreeTrackInput::rate = 0

Definition at line 29 of file FreeTrackInput.h.

◆ rateStart

std::uint64_t FreeTrackInput::rateStart = 0
private

Definition at line 24 of file FreeTrackInput.h.

◆ roll

float FreeTrackInput::roll = 0

Definition at line 28 of file FreeTrackInput.h.

◆ selection

unsigned FreeTrackInput::selection = 0
private

Definition at line 20 of file FreeTrackInput.h.

◆ x

float FreeTrackInput::x = 0

Definition at line 28 of file FreeTrackInput.h.

◆ y

float FreeTrackInput::y = 0

Definition at line 28 of file FreeTrackInput.h.

◆ yaw

float FreeTrackInput::yaw = 0

Definition at line 28 of file FreeTrackInput.h.

◆ z

float FreeTrackInput::z = 0

Definition at line 28 of file FreeTrackInput.h.


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