Skip to content

Class HMD

ClassList > HMD

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)
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)
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)
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 max_float (float x, float y)
float min_float (float x, float y)
float min_float (float x, float y)

Public Static Attributes Documentation

variable NUM_COLOR_CHANNELS

static constexpr int HMD::NUM_COLOR_CHANNELS;

variable NUM_EYES

static constexpr int HMD::NUM_EYES;

Public Static Functions Documentation

function build_distortion_meshes [1/2]

static void 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 build_distortion_meshes [2/2]

static void 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 [1/2]

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

function evaluate_catmull_rom_spline [2/2]

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

function get_default_hmd_info [1/2]

static void 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 get_default_hmd_info [2/2]

static void 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 [1/2]

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

function max_float [2/2]

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

function min_float [1/2]

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

function min_float [2/2]

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


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