#include <colorizer-gl.h>
Static Public Member Functions | |
static void | populate_floating_histogram (float *f, int *hist) |
Static Public Member Functions inherited from librealsense::colorizer | |
template<typename T > | |
static void | update_histogram (int *hist, const T *depth_data, int w, int h) |
Private Attributes | |
uint32_t | _cm_texture |
int | _enabled = 0 |
std::shared_ptr< rs2::fbo > | _fbo |
std::vector< float > | _fhist |
float * | _fhist_data |
int | _height |
int | _last_selected_cm = -1 |
std::shared_ptr< rs2::visualizer_2d > | _viz |
int | _width |
Additional Inherited Members | |
Static Public Attributes inherited from librealsense::colorizer | |
static const int | MAX_DEPTH = 0x10000 |
static const int | MAX_DISPARITY = 0x2710 |
Protected Member Functions inherited from librealsense::colorizer | |
template<typename T , typename F > | |
void | colorize_pixel (uint8_t *rgb_data, int idx, color_map *cm, T data, F coloring_func) |
colorizer (const char *name) | |
template<typename T , typename F > | |
void | make_rgb_data (const T *depth_data, uint8_t *rgb_data, int width, int height, F coloring_func) |
rs2::frame | process_frame (const rs2::frame_source &source, const rs2::frame &f) override |
bool | should_process (const rs2::frame &frame) override |
Protected Member Functions inherited from librealsense::stream_filter_processing_block | |
bool | should_process (const rs2::frame &frame) override |
Protected Member Functions inherited from librealsense::generic_processing_block | |
virtual rs2::frame | prepare_output (const rs2::frame_source &source, rs2::frame input, std::vector< rs2::frame > results) |
Protected Member Functions inherited from librealsense::gl::gpu_processing_object | |
rs2::visualizer_2d & | get_texture_visualizer () |
void | initialize () |
template<class T , class S > | |
void | perform_gl_action (T action, S fallback) |
Protected Member Functions inherited from librealsense::gl::gpu_object | |
bool | glsl_enabled () const |
gpu_object ()=default | |
void | need_cleanup () |
void | use_glsl (bool val) |
Protected Attributes inherited from librealsense::colorizer | |
float | _d2d_convert_factor = 0.f |
float | _depth_units = 0.f |
bool | _equalize |
int * | _hist_data |
std::vector< int > | _histogram |
int | _map_index = 0 |
std::vector< color_map * > | _maps |
float | _max |
float | _min |
int | _preset = 0 |
rs2::stream_profile | _source_stream_profile |
rs2::stream_profile | _target_stream_profile |
Protected Attributes inherited from librealsense::stream_filter_processing_block | |
stream_filter | _stream_filter |
Protected Attributes inherited from librealsense::processing_block | |
frame_processor_callback_ptr | _callback |
std::mutex | _mutex |
frame_source | _source |
synthetic_source | _source_wrapper |
Protected Attributes inherited from librealsense::options_container | |
std::map< rs2_option, std::shared_ptr< option > > | _options |
std::function< void(const options_interface &)> | _recording_function = [](const options_interface&) {} |
Definition at line 29 of file colorizer-gl.h.
librealsense::gl::colorizer::colorizer | ( | ) |
Definition at line 162 of file colorizer-gl.cpp.
|
override |
Definition at line 176 of file colorizer-gl.cpp.
|
overridevirtual |
Implements librealsense::gl::gpu_object.
Definition at line 136 of file colorizer-gl.cpp.
|
overridevirtual |
Implements librealsense::gl::gpu_object.
Definition at line 146 of file colorizer-gl.cpp.
|
static |
Definition at line 184 of file colorizer-gl.cpp.
|
overridevirtual |
Implements librealsense::generic_processing_block.
Definition at line 191 of file colorizer-gl.cpp.
|
private |
Definition at line 47 of file colorizer-gl.h.
|
private |
Definition at line 43 of file colorizer-gl.h.
|
private |
Definition at line 54 of file colorizer-gl.h.
|
private |
Definition at line 50 of file colorizer-gl.h.
|
private |
Definition at line 51 of file colorizer-gl.h.
|
private |
Definition at line 45 of file colorizer-gl.h.
|
private |
Definition at line 48 of file colorizer-gl.h.
|
private |
Definition at line 53 of file colorizer-gl.h.
|
private |
Definition at line 45 of file colorizer-gl.h.