Public Member Functions | Private Attributes
texture_buffer Class Reference

#include <example.hpp>

List of all members.

Public Member Functions

GLuint get_gl_handle () const
void print (int x, int y, const char *text)
void show (float rx, float ry, float rw, float rh) const
void show (rs::device &dev, rs::stream stream, int rx, int ry, int rw, int rh)
void show (rs::stream stream, rs::format format, int stream_framerate, unsigned long long frame_number, double timestamp, int rx, int ry, int rw, int rh, int width, int height)
void show (int rx, int ry, int rw, int rh, int width, int height)
void show (const void *data, int width, int height, rs::format format, const std::string &caption, int rx, int ry, int rw, int rh)
 texture_buffer ()
void upload (const void *data, int width, int height, rs::format format, int stride=0)
void upload (rs::device &dev, rs::stream stream)
void upload (rs::frame &frame)

Private Attributes

int fps
double last_timestamp
double next_time
int num_frames
std::vector< uint8_t > rgb
GLuint texture

Detailed Description

Definition at line 59 of file example.hpp.


Constructor & Destructor Documentation

Definition at line 69 of file example.hpp.


Member Function Documentation

Definition at line 71 of file example.hpp.

void texture_buffer::print ( int  x,
int  y,
const char *  text 
) [inline]

Definition at line 203 of file example.hpp.

void texture_buffer::show ( float  rx,
float  ry,
float  rw,
float  rh 
) const [inline]

Definition at line 189 of file example.hpp.

void texture_buffer::show ( rs::device dev,
rs::stream  stream,
int  rx,
int  ry,
int  rw,
int  rh 
) [inline]

Definition at line 213 of file example.hpp.

void texture_buffer::show ( rs::stream  stream,
rs::format  format,
int  stream_framerate,
unsigned long long  frame_number,
double  timestamp,
int  rx,
int  ry,
int  rw,
int  rh,
int  width,
int  height 
) [inline]

Definition at line 236 of file example.hpp.

void texture_buffer::show ( int  rx,
int  ry,
int  rw,
int  rh,
int  width,
int  height 
) [inline]

Definition at line 247 of file example.hpp.

void texture_buffer::show ( const void data,
int  width,
int  height,
rs::format  format,
const std::string caption,
int  rx,
int  ry,
int  rw,
int  rh 
) [inline]

Definition at line 260 of file example.hpp.

void texture_buffer::upload ( const void data,
int  width,
int  height,
rs::format  format,
int  stride = 0 
) [inline]

Definition at line 73 of file example.hpp.

void texture_buffer::upload ( rs::device dev,
rs::stream  stream 
) [inline]

Definition at line 150 of file example.hpp.

void texture_buffer::upload ( rs::frame frame) [inline]

Definition at line 171 of file example.hpp.


Member Data Documentation

Definition at line 65 of file example.hpp.

Definition at line 62 of file example.hpp.

double texture_buffer::next_time [private]

Definition at line 66 of file example.hpp.

Definition at line 65 of file example.hpp.

std::vector<uint8_t> texture_buffer::rgb [private]

Definition at line 63 of file example.hpp.

Definition at line 61 of file example.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41