Classes | Macros | Functions
example.hpp File Reference
#include <GLFW/glfw3.h>
#include <sstream>
#include <vector>
#include "third_party/stb_easy_font.h"
Include dependency graph for example.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  texture_buffer
 

Macros

#define GLFW_INCLUDE_GLU
 

Functions

void draw_depth_histogram (const uint16_t depth_image[], int width, int height)
 
void draw_text (int x, int y, const char *text)
 
int get_text_width (const char *text)
 
void make_depth_histogram (uint8_t rgb_image[640 *480 *3], const uint16_t depth_image[], int width, int height)
 

Macro Definition Documentation

#define GLFW_INCLUDE_GLU

Definition at line 4 of file example.hpp.

Function Documentation

void draw_depth_histogram ( const uint16_t  depth_image[],
int  width,
int  height 
)
inline

Definition at line 284 of file example.hpp.

void draw_text ( int  x,
int  y,
const char *  text 
)
inline

Definition at line 46 of file example.hpp.

int get_text_width ( const char *  text)
inline

Definition at line 41 of file example.hpp.

void make_depth_histogram ( uint8_t  rgb_image[640 *480 *3],
const uint16_t  depth_image[],
int  width,
int  height 
)
inline

Definition at line 10 of file example.hpp.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18