Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
imu_renderer Class Reference

#include <example.hpp>

Public Member Functions

GLuint get_gl_handle ()
 
void render (const rs2::motion_frame &frame, const rect &r)
 

Private Member Functions

void draw_motion (const rs2::motion_frame &f, const rect &r)
 
void multiply_vector_by_matrix (GLfloat vec[], GLfloat mat[], GLfloat *result)
 
void print_text_in_3d (float x, float y, float z, const char *text, bool center_text, GLfloat model[], GLfloat proj[], float vec_norm)
 
float2 xyz_to_xy (float x, float y, float z, GLfloat model[], GLfloat proj[], float vec_norm)
 

Static Private Member Functions

static void draw_axes (float axis_size=1.f, float axisWidth=4.f)
 
static void draw_circle (float xx, float xy, float xz, float yx, float yy, float yz, float radius=1.1, float3 center={0.0, 0.0, 0.0}, float intensity=0.5f)
 

Private Attributes

GLuint _gl_handle = 0
 

Detailed Description

Definition at line 126 of file example.hpp.

Member Function Documentation

static void imu_renderer::draw_axes ( float  axis_size = 1.f,
float  axisWidth = 4.f 
)
inlinestaticprivate

Definition at line 266 of file example.hpp.

static void imu_renderer::draw_circle ( float  xx,
float  xy,
float  xz,
float  yx,
float  yy,
float  yz,
float  radius = 1.1,
float3  center = { 0.0, 0.0, 0.0 },
float  intensity = 0.5f 
)
inlinestaticprivate

Definition at line 323 of file example.hpp.

void imu_renderer::draw_motion ( const rs2::motion_frame f,
const rect r 
)
inlineprivate

Definition at line 139 of file example.hpp.

GLuint imu_renderer::get_gl_handle ( )
inline

Definition at line 134 of file example.hpp.

void imu_renderer::multiply_vector_by_matrix ( GLfloat  vec[],
GLfloat  mat[],
GLfloat result 
)
inlineprivate

Definition at line 230 of file example.hpp.

void imu_renderer::print_text_in_3d ( float  x,
float  y,
float  z,
const char *  text,
bool  center_text,
GLfloat  model[],
GLfloat  proj[],
float  vec_norm 
)
inlineprivate

Definition at line 258 of file example.hpp.

void imu_renderer::render ( const rs2::motion_frame frame,
const rect r 
)
inline

Definition at line 129 of file example.hpp.

float2 imu_renderer::xyz_to_xy ( float  x,
float  y,
float  z,
GLfloat  model[],
GLfloat  proj[],
float  vec_norm 
)
inlineprivate

Definition at line 244 of file example.hpp.

Member Data Documentation

GLuint imu_renderer::_gl_handle = 0
private

Definition at line 137 of file example.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32