Skip to content

Class ILLIXR::HMD

ClassList > ILLIXR > HMD

  • #include <hmd.hpp>

Classes

Type Name
struct hmd_info_t
struct mesh_coord2d_t
struct mesh_coord3d_t
struct uv_coord_t

Public Static Attributes

Type Name
constexpr int NUM_COLOR_CHANNELS = 3
constexpr int NUM_EYES = 2

Public Static Functions

Type Name
void build_distortion_meshes (std::array< std::array< std::vector< mesh_coord2d_t >, NUM_COLOR_CHANNELS >, NUM_EYES > & distort_coords, hmd_info_t & hmd_info)
float evaluate_catmull_rom_spline (float value, const float * K, int num_knots)
void get_default_hmd_info (const int display_pixels_wide, const int display_pixels_high, const float display_meters_wide, const float display_meters_high, const float lens_separation, const float meters_per_tan_angle, const float aberration, hmd_info_t & hmd_info)
float max_float (float x, float y)
float min_float (float x, float y)

Public Static Attributes Documentation

variable NUM_COLOR_CHANNELS

constexpr int ILLIXR::HMD::NUM_COLOR_CHANNELS;

variable NUM_EYES

constexpr int ILLIXR::HMD::NUM_EYES;

Public Static Functions Documentation

function build_distortion_meshes

static void ILLIXR::HMD::build_distortion_meshes (
    std::array< std::array< std::vector< mesh_coord2d_t >, NUM_COLOR_CHANNELS >, NUM_EYES > & distort_coords,
    hmd_info_t & hmd_info
) 

function evaluate_catmull_rom_spline

static float ILLIXR::HMD::evaluate_catmull_rom_spline (
    float value,
    const  float * K,
    int num_knots
) 

function get_default_hmd_info

static void ILLIXR::HMD::get_default_hmd_info (
    const  int display_pixels_wide,
    const  int display_pixels_high,
    const  float display_meters_wide,
    const  float display_meters_high,
    const  float lens_separation,
    const  float meters_per_tan_angle,
    const  float aberration,
    hmd_info_t & hmd_info
) 

function max_float

static float ILLIXR::HMD::max_float (
    float x,
    float y
) 

function min_float

static float ILLIXR::HMD::min_float (
    float x,
    float y
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/hmd.hpp