#include <iostream>
#include <fstream>
#include <vector>
#include <set>
#include <map>
#include <string>
#include <sstream>
#include <iomanip>
#include <chrono>
#include <mutex>
#include <regex>
#include <thread>
#include <os.h>
#include <GLFW/glfw3.h>
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <imgui_internal.h>
#include "print_helpers.h"
#include "rosbag_content.h"
#include "files_container.h"
Go to the source code of this file.
Classes | |
class | gui_window |
Macros | |
#define | GLFW_INCLUDE_GLU |
Enumerations | |
enum | sort_type { hw_time, capture_time, system_time, arrival_time } |
Functions | |
void | draw_bag_content (rosbag_content &bag, int flags) |
void | draw_error_modal () |
int | draw_files_left_panel (int flags) |
void | draw_menu_bar () |
ImVec4 | from_rgba (uint8_t r, uint8_t g, uint8_t b, uint8_t a, bool consistent_color=false) |
int | main (int argc, const char **argv) |
void | sort (sort_type m_sort_type, const std::string &in, const std::string &out) |
Variables | |
static const ImVec4 | almost_white_bg = from_rgba(230, 230, 230, 255, true) |
static const ImVec4 | black = from_rgba(0, 0, 0, 255, true) |
static const ImVec4 | button_color = from_rgba(62, 77, 89, 0xff) |
static const ImVec4 | dark_grey = from_rgba(30, 30, 30, 255) |
static const ImVec4 | dark_red = from_rgba(200, 46, 54, 255, true) |
static const ImVec4 | dark_window_background = from_rgba(9, 11, 13, 255) |
static const ImVec4 | device_info_color = from_rgba(33, 40, 46, 255) |
files_container | files |
static const ImVec4 | green = from_rgba(0x20, 0xe0, 0x20, 0xff, true) |
static const ImVec4 | grey { 0.5f,0.5f,0.5f,1.f } |
static const ImVec4 | header_color = from_rgba(62, 77, 89, 255) |
static const ImVec4 | header_window_bg = from_rgba(36, 44, 54, 0xff) |
static const ImVec4 | light_blue = from_rgba(0, 174, 239, 255, true) |
static const ImVec4 | light_grey = from_rgba(0xc3, 0xd5, 0xe5, 0xff, true) |
std::map< std::string, uint64_t > | num_topics_to_show |
static const ImVec4 | redish = from_rgba(255, 46, 54, 255, true) |
static const ImVec4 | regular_blue = from_rgba(0, 115, 200, 255, true) |
static const ImVec4 | scrollbar_bg = from_rgba(14, 17, 20, 255) |
static const ImVec4 | scrollbar_grab = from_rgba(54, 66, 67, 255) |
static const ImVec4 | sensor_bg = from_rgba(36, 44, 51, 0xff) |
static const ImVec4 | sensor_header_light_blue = from_rgba(80, 99, 115, 0xff) |
static const ImVec4 | title_color = from_rgba(27, 33, 38, 255) |
static const ImVec4 | transparent = from_rgba(0, 0, 0, 0, true) |
static const ImVec4 | white = from_rgba(0xff, 0xff, 0xff, 0xff, true) |
static const ImVec4 | yellow = from_rgba(229, 195, 101, 255, true) |
#define GLFW_INCLUDE_GLU |
Definition at line 19 of file rs-rosbag-inspector.cpp.
enum sort_type |
Enumerator | |
---|---|
hw_time | |
capture_time | |
system_time | |
arrival_time |
Definition at line 341 of file rs-rosbag-inspector.cpp.
void draw_bag_content | ( | rosbag_content & | bag, |
int | flags | ||
) |
Definition at line 229 of file rs-rosbag-inspector.cpp.
void draw_error_modal | ( | ) |
Definition at line 317 of file rs-rosbag-inspector.cpp.
int draw_files_left_panel | ( | int | flags | ) |
Definition at line 162 of file rs-rosbag-inspector.cpp.
void draw_menu_bar | ( | ) |
Definition at line 142 of file rs-rosbag-inspector.cpp.
Definition at line 113 of file rs-rosbag-inspector.cpp.
int main | ( | int | argc, |
const char ** | argv | ||
) |
Definition at line 390 of file rs-rosbag-inspector.cpp.
|
inline |
Definition at line 349 of file rs-rosbag-inspector.cpp.
Definition at line 122 of file rs-rosbag-inspector.cpp.
Definition at line 123 of file rs-rosbag-inspector.cpp.
Definition at line 134 of file rs-rosbag-inspector.cpp.
Definition at line 129 of file rs-rosbag-inspector.cpp.
Definition at line 133 of file rs-rosbag-inspector.cpp.
Definition at line 121 of file rs-rosbag-inspector.cpp.
Definition at line 138 of file rs-rosbag-inspector.cpp.
files_container files |
Definition at line 36 of file rs-rosbag-inspector.cpp.
Definition at line 140 of file rs-rosbag-inspector.cpp.
|
static |
Definition at line 128 of file rs-rosbag-inspector.cpp.
Definition at line 136 of file rs-rosbag-inspector.cpp.
Definition at line 135 of file rs-rosbag-inspector.cpp.
Definition at line 118 of file rs-rosbag-inspector.cpp.
Definition at line 120 of file rs-rosbag-inspector.cpp.
std::map<std::string, uint64_t> num_topics_to_show |
Definition at line 37 of file rs-rosbag-inspector.cpp.
Definition at line 132 of file rs-rosbag-inspector.cpp.
Definition at line 119 of file rs-rosbag-inspector.cpp.
Definition at line 126 of file rs-rosbag-inspector.cpp.
Definition at line 127 of file rs-rosbag-inspector.cpp.
Definition at line 131 of file rs-rosbag-inspector.cpp.
Definition at line 130 of file rs-rosbag-inspector.cpp.
Definition at line 137 of file rs-rosbag-inspector.cpp.
Definition at line 124 of file rs-rosbag-inspector.cpp.
Definition at line 125 of file rs-rosbag-inspector.cpp.
Definition at line 139 of file rs-rosbag-inspector.cpp.