#include <rendering.h>
|
void | draw_grid (float step) |
|
void | draw_motion_data (float x, float y, float z) |
|
void | draw_pose_data (const rs2_pose &pose, int id) |
|
void | draw_texture (const rect &s, const rect &t) const |
|
GLuint | get_gl_handle () const |
|
rs2::frame | get_last_frame (bool with_texture=false) const |
|
void | multiply_vector_by_matrix (GLfloat vec[], GLfloat mat[], GLfloat *result) |
|
texture_buffer & | operator= (const texture_buffer &other) |
|
void | print_text_in_3d (float x, float y, float z, const char *text, bool center_text, GLfloat model[], GLfloat proj[], float vec_norm) |
|
void | show (const rect &r, float alpha, const rect &normalized_zoom=rect{0, 0, 1, 1}) const |
|
void | show_preview (const rect &r, const rect &normalized_zoom=rect{0, 0, 1, 1}) |
|
| texture_buffer (const texture_buffer &other) |
|
| texture_buffer () |
|
bool | try_pick (int x, int y, float *result) |
|
void | upload (rs2::frame frame, rs2_format prefered_format=RS2_FORMAT_ANY) |
|
void | upload_image (int w, int h, void *data, int format=GL_RGBA) |
|
float2 | xyz_to_xy (float x, float y, float z, GLfloat model[], GLfloat proj[], float vec_norm) |
|
|
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) |
|
Definition at line 861 of file rendering.h.
rs2::texture_buffer::texture_buffer |
( |
| ) |
|
|
inline |
static void rs2::texture_buffer::draw_axes |
( |
float |
axis_size = 1.f , |
|
|
float |
axisWidth = 4.f |
|
) |
| |
|
inlinestatic |
static void rs2::texture_buffer::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 |
|
) |
| |
|
inlinestatic |
void rs2::texture_buffer::draw_grid |
( |
float |
step | ) |
|
|
inline |
void rs2::texture_buffer::draw_motion_data |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
void rs2::texture_buffer::draw_pose_data |
( |
const rs2_pose & |
pose, |
|
|
int |
id |
|
) |
| |
|
inline |
void rs2::texture_buffer::draw_texture |
( |
const rect & |
s, |
|
|
const rect & |
t |
|
) |
| const |
|
inline |
GLuint rs2::texture_buffer::get_gl_handle |
( |
| ) |
const |
|
inline |
rs2::frame rs2::texture_buffer::get_last_frame |
( |
bool |
with_texture = false | ) |
const |
|
inline |
void rs2::texture_buffer::print_text_in_3d |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
const char * |
text, |
|
|
bool |
center_text, |
|
|
GLfloat |
model[], |
|
|
GLfloat |
proj[], |
|
|
float |
vec_norm |
|
) |
| |
|
inline |
void rs2::texture_buffer::show |
( |
const rect & |
r, |
|
|
float |
alpha, |
|
|
const rect & |
normalized_zoom = rect{0, 0, 1, 1} |
|
) |
| const |
|
inline |
void rs2::texture_buffer::show_preview |
( |
const rect & |
r, |
|
|
const rect & |
normalized_zoom = rect{0, 0, 1, 1} |
|
) |
| |
|
inline |
bool rs2::texture_buffer::try_pick |
( |
int |
x, |
|
|
int |
y, |
|
|
float * |
result |
|
) |
| |
|
inline |
void rs2::texture_buffer::upload_image |
( |
int |
w, |
|
|
int |
h, |
|
|
void * |
data, |
|
|
int |
format = GL_RGBA |
|
) |
| |
|
inline |
float2 rs2::texture_buffer::xyz_to_xy |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
GLfloat |
model[], |
|
|
GLfloat |
proj[], |
|
|
float |
vec_norm |
|
) |
| |
|
inline |
std::shared_ptr<colorizer> rs2::texture_buffer::colorize |
rect rs2::texture_buffer::curr_preview_rect {} |
GLuint rs2::texture_buffer::texture |
|
private |
int rs2::texture_buffer::texture_id = 0 |
std::shared_ptr<yuy_decoder> rs2::texture_buffer::yuy2rgb |
bool rs2::texture_buffer::zoom_preview = false |
The documentation for this class was generated from the following file: