Classes | Macros | Functions | Variables
cpp-config-ui.cpp File Reference
#include <librealsense/rs.hpp>
#include "example.hpp"
#include <cstdarg>
#include <thread>
#include <iostream>
#include <algorithm>
#include <iomanip>
#include <mutex>
#include "concurrency.hpp"
#include <atomic>
#include <map>
Include dependency graph for cpp-config-ui.cpp:

Go to the source code of this file.

Classes

struct  color
 
struct  gui
 
struct  int2
 
struct  option
 
struct  rect
 
struct  user_data
 

Macros

#define STRING_CASE(S, C)   std::string S = #S; if (s.compare(0, S.length(), S) == 0) { newC = C; s = find_and_replace(s, S + " ", ""); }
 

Functions

void draw_autoexposure_roi_boundary (rs::stream s, const std::vector< option > &options, rs::device *dev, gui &g, int x, int y, double w, double h)
 
void enable_stream (rs::device *dev, int stream, rs::format format, int w, int h, int fps, bool enable, std::stringstream &stream_name)
 
std::string find_and_replace (std::string source, std::string const &find, std::string const &replace)
 
double find_option_value (const std::vector< option > &options, rs::option opt)
 
bool is_any_stream_enable (rs::device *dev)
 
int main (int argc, char *argv[])
 
template<typename T >
MAX (T x, T y)
 
template<typename T >
MIN (T x, T y)
 
void on_motion_event (rs::motion_data entry)
 
void on_timestamp_event (rs::timestamp_data entry)
 
void show_message (GLFWwindow *curr_window, const std::string &title, const std::string &message)
 
void update_mm_data (texture_buffer *buffers, int w, int h, gui &g)
 
void update_related_options (rs::device &dev, rs::option opt, std::vector< option > &options)
 

Variables

rs::motion_data m_acc_data
 
rs::motion_data m_gyro_data
 
std::mutex mm_mutex
 
bool motion_tracking_enable = true
 
static std::map< rs::option, std::vector< rs::option > > options_dependencies
 

Macro Definition Documentation

#define STRING_CASE (   S,
 
)    std::string S = #S; if (s.compare(0, S.length(), S) == 0) { newC = C; s = find_and_replace(s, S + " ", ""); }

Function Documentation

void draw_autoexposure_roi_boundary ( rs::stream  s,
const std::vector< option > &  options,
rs::device dev,
gui g,
int  x,
int  y,
double  w,
double  h 
)

Definition at line 519 of file cpp-config-ui.cpp.

void enable_stream ( rs::device dev,
int  stream,
rs::format  format,
int  w,
int  h,
int  fps,
bool  enable,
std::stringstream &  stream_name 
)

Definition at line 438 of file cpp-config-ui.cpp.

std::string find_and_replace ( std::string  source,
std::string const &  find,
std::string const &  replace 
)

Definition at line 29 of file cpp-config-ui.cpp.

double find_option_value ( const std::vector< option > &  options,
rs::option  opt 
)

Definition at line 512 of file cpp-config-ui.cpp.

bool is_any_stream_enable ( rs::device dev)

Definition at line 422 of file cpp-config-ui.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 543 of file cpp-config-ui.cpp.

template<typename T >
T MAX ( x,
y 
)
inline

Definition at line 18 of file cpp-config-ui.cpp.

template<typename T >
T MIN ( x,
y 
)
inline

Definition at line 17 of file cpp-config-ui.cpp.

void on_motion_event ( rs::motion_data  entry)

Definition at line 250 of file cpp-config-ui.cpp.

void on_timestamp_event ( rs::timestamp_data  entry)

Definition at line 259 of file cpp-config-ui.cpp.

void show_message ( GLFWwindow curr_window,
const std::string title,
const std::string message 
)

Definition at line 269 of file cpp-config-ui.cpp.

void update_mm_data ( texture_buffer buffers,
int  w,
int  h,
gui g 
)

Definition at line 475 of file cpp-config-ui.cpp.

void update_related_options ( rs::device dev,
rs::option  opt,
std::vector< option > &  options 
)

Definition at line 400 of file cpp-config-ui.cpp.

Variable Documentation

rs::motion_data m_acc_data

Definition at line 248 of file cpp-config-ui.cpp.

rs::motion_data m_gyro_data

Definition at line 247 of file cpp-config-ui.cpp.

std::mutex mm_mutex

Definition at line 246 of file cpp-config-ui.cpp.

bool motion_tracking_enable = true

Definition at line 437 of file cpp-config-ui.cpp.

std::map<rs::option, std::vector<rs::option> > options_dependencies
static
Initial value:
=
{
} },
}

Definition at line 378 of file cpp-config-ui.cpp.



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