Public Member Functions | Private Member Functions | Private Attributes | List of all members
helper::frame_viewer Class Reference

#include <helper.h>

Public Member Functions

 frame_viewer (const std::string &window_title)
 
void operator() (rs2::frame f)
 
void wait ()
 
 ~frame_viewer ()
 

Private Member Functions

void run ()
 

Private Attributes

rs2::frame_queue _frames
 
rs2::frame _last_frame
 
std::unique_ptr< std::thread > _thread
 
std::string _window_title
 
rs2::colorizer colorize
 
rs2::decimation_filter decimate
 
texture renderer
 

Detailed Description

Definition at line 40 of file helper.h.

Constructor & Destructor Documentation

helper::frame_viewer::frame_viewer ( const std::string window_title)
inline

Definition at line 43 of file helper.h.

helper::frame_viewer::~frame_viewer ( )
inline

Definition at line 48 of file helper.h.

Member Function Documentation

void helper::frame_viewer::operator() ( rs2::frame  f)
inline

Definition at line 53 of file helper.h.

void helper::frame_viewer::run ( )
inlineprivate

Definition at line 64 of file helper.h.

void helper::frame_viewer::wait ( )
inline

Definition at line 57 of file helper.h.

Member Data Documentation

rs2::frame_queue helper::frame_viewer::_frames
private

Definition at line 104 of file helper.h.

rs2::frame helper::frame_viewer::_last_frame
private

Definition at line 105 of file helper.h.

std::unique_ptr<std::thread> helper::frame_viewer::_thread
private

Definition at line 106 of file helper.h.

std::string helper::frame_viewer::_window_title
private

Definition at line 103 of file helper.h.

rs2::colorizer helper::frame_viewer::colorize
private

Definition at line 101 of file helper.h.

rs2::decimation_filter helper::frame_viewer::decimate
private

Definition at line 102 of file helper.h.

texture helper::frame_viewer::renderer
private

Definition at line 100 of file helper.h.


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:36