#include <model-views.h>
|
bool | can_enable_zero_order () |
|
template<typename T , typename V > |
bool | check_profile (stream_profile p, T cond, std::map< V, std::map< int, stream_profile >> &profiles_map, std::vector< stream_profile > &results, V key, int num_streams, stream_profile &def_p) |
|
bool | draw_option (rs2_option opt, bool update_read_only_options, std::string &error_message, notifications_model &model) |
|
void | draw_options (const std::vector< rs2_option > &drawing_order, bool update_read_only_options, std::string &error_message, notifications_model &model) |
|
bool | draw_stream_selection (std::string &error_message) |
|
template<typename T > |
bool | get_default_selection_index (const std::vector< T > &values, const T &def, int *index) |
|
std::vector< stream_profile > | get_selected_profiles () |
|
void | get_sorted_profiles (std::vector< stream_profile > &profiles) |
|
std::vector< stream_profile > | get_supported_profiles () |
|
bool | is_paused () const |
|
bool | is_selected_combination_supported () |
|
bool | is_synchronized_frame (viewer_model &viewer, const frame &f) |
|
bool | is_there_common_fps () |
|
uint64_t | num_supported_non_default_options () const |
|
void | pause () |
|
void | play (const std::vector< stream_profile > &profiles, viewer_model &viewer, std::shared_ptr< rs2::asynchronous_syncer >) |
|
void | restore_ui_selection () |
|
void | resume () |
|
void | stop (std::shared_ptr< notifications_model > not_model) |
|
void | store_ui_selection () |
|
| subdevice_model (device &dev, std::shared_ptr< sensor > s, std::shared_ptr< atomic_objects_in_frame > objects, std::string &error_message, viewer_model &viewer, bool new_device_connected=true) |
|
bool | supports_on_chip_calib () |
|
void | update (std::string &error_message, notifications_model &model) |
|
void | update_ui (std::vector< stream_profile > profiles_vec) |
|
void | verify_zero_order_conditions () |
|
| ~subdevice_model () |
|
|
std::atomic< bool > | _is_being_recorded { false } |
|
bool | _options_invalidated = false |
|
std::atomic< bool > | _pause |
|
std::mutex | _queue_lock |
|
region_of_interest | algo_roi |
|
bool | allow_change_fps_while_streaming = false |
|
bool | allow_change_resolution_while_streaming = false |
|
bool | auto_exposure_enabled = false |
|
std::vector< std::shared_ptr< processing_block_model > > | const_effects |
|
std::shared_ptr< rs2::colorizer > | depth_colorizer |
|
std::shared_ptr< rs2::depth_huffman_decoder > | depth_decoder |
|
float | depth_units = 1.f |
|
std::shared_ptr< atomic_objects_in_frame > | detected_objects |
|
device | dev |
|
bool | draw_fps_selector = true |
|
bool | draw_streams_selector = true |
|
std::map< int, std::vector< rs2_format > > | format_values |
|
std::map< int, std::vector< std::string > > | formats |
|
std::map< int, std::vector< int > > | fps_values_per_stream |
|
std::map< int, std::vector< std::string > > | fpses_per_stream |
|
subdevice_ui_selection | last_valid_ui |
|
int | next_option = 0 |
|
rect | normalized_zoom {0, 0, 1, 1} |
|
std::function< void()> | on_frame = []{} |
|
std::map< int, option_model > | options_metadata |
|
std::vector< std::shared_ptr< processing_block_model > > | post_processing |
|
bool | post_processing_enabled = true |
|
std::map< int, bool > | prev_stream_enabled |
|
std::vector< stream_profile > | profiles |
|
frame_queues | queues |
|
std::vector< std::pair< int, int > > | res_values |
|
std::vector< std::string > | resolutions |
|
bool | roi_checked = false |
|
float | roi_percentage |
|
rect | roi_rect |
|
std::shared_ptr< sensor > | s |
|
std::vector< int > | shared_fps_values |
|
std::vector< std::string > | shared_fpses |
|
bool | show_algo_roi = false |
|
bool | show_single_fps_list = false |
|
float | stereo_baseline = -1.f |
|
std::map< int, std::string > | stream_display_names |
|
std::map< int, bool > | stream_enabled |
|
bool | streaming = false |
|
std::vector< rs2_option > | supported_options |
|
tm2_model | tm2 |
|
subdevice_ui_selection | ui |
|
viewer_model & | viewer |
|
std::shared_ptr< rs2::yuy_decoder > | yuy2rgb |
|
std::shared_ptr< processing_block_model > | zero_order_artifact_fix |
|
Definition at line 545 of file model-views.h.
rs2::subdevice_model::~subdevice_model |
( |
| ) |
|
bool rs2::subdevice_model::can_enable_zero_order |
( |
| ) |
|
template<typename T , typename V >
bool rs2::subdevice_model::draw_stream_selection |
( |
std::string & |
error_message | ) |
|
template<typename T >
bool rs2::subdevice_model::get_default_selection_index |
( |
const std::vector< T > & |
values, |
|
|
const T & |
def, |
|
|
int * |
index |
|
) |
| |
|
inline |
std::vector< stream_profile > rs2::subdevice_model::get_selected_profiles |
( |
| ) |
|
void rs2::subdevice_model::get_sorted_profiles |
( |
std::vector< stream_profile > & |
profiles | ) |
|
std::vector< stream_profile > rs2::subdevice_model::get_supported_profiles |
( |
| ) |
|
bool rs2::subdevice_model::is_paused |
( |
| ) |
const |
bool rs2::subdevice_model::is_selected_combination_supported |
( |
| ) |
|
bool rs2::subdevice_model::is_synchronized_frame |
( |
viewer_model & |
viewer, |
|
|
const frame & |
f |
|
) |
| |
bool rs2::subdevice_model::is_there_common_fps |
( |
| ) |
|
uint64_t rs2::subdevice_model::num_supported_non_default_options |
( |
| ) |
const |
void rs2::subdevice_model::pause |
( |
| ) |
|
void rs2::subdevice_model::restore_ui_selection |
( |
| ) |
|
|
inline |
void rs2::subdevice_model::resume |
( |
| ) |
|
void rs2::subdevice_model::store_ui_selection |
( |
| ) |
|
|
inline |
bool rs2::subdevice_model::supports_on_chip_calib |
( |
| ) |
|
void rs2::subdevice_model::verify_zero_order_conditions |
( |
| ) |
|
std::atomic<bool> rs2::subdevice_model::_is_being_recorded { false } |
bool rs2::subdevice_model::_options_invalidated = false |
std::atomic<bool> rs2::subdevice_model::_pause |
std::mutex rs2::subdevice_model::_queue_lock |
bool rs2::subdevice_model::allow_change_fps_while_streaming = false |
bool rs2::subdevice_model::allow_change_resolution_while_streaming = false |
bool rs2::subdevice_model::auto_exposure_enabled = false |
float rs2::subdevice_model::depth_units = 1.f |
device rs2::subdevice_model::dev |
bool rs2::subdevice_model::draw_fps_selector = true |
bool rs2::subdevice_model::draw_streams_selector = true |
std::map<int, std::vector<rs2_format> > rs2::subdevice_model::format_values |
std::map<int, std::vector<std::string> > rs2::subdevice_model::formats |
std::map<int, std::vector<int> > rs2::subdevice_model::fps_values_per_stream |
std::map<int, std::vector<std::string> > rs2::subdevice_model::fpses_per_stream |
int rs2::subdevice_model::next_option = 0 |
rect rs2::subdevice_model::normalized_zoom {0, 0, 1, 1} |
std::function<void()> rs2::subdevice_model::on_frame = []{} |
std::map<int, option_model> rs2::subdevice_model::options_metadata |
bool rs2::subdevice_model::post_processing_enabled = true |
std::map<int, bool> rs2::subdevice_model::prev_stream_enabled |
std::vector<std::pair<int, int> > rs2::subdevice_model::res_values |
std::vector<std::string> rs2::subdevice_model::resolutions |
bool rs2::subdevice_model::roi_checked = false |
float rs2::subdevice_model::roi_percentage |
rect rs2::subdevice_model::roi_rect |
std::shared_ptr<sensor> rs2::subdevice_model::s |
std::vector<int> rs2::subdevice_model::shared_fps_values |
std::vector<std::string> rs2::subdevice_model::shared_fpses |
const float rs2::subdevice_model::SHORT_RANGE_MAX_DISTANCE = 4.0f |
|
private |
const float rs2::subdevice_model::SHORT_RANGE_MIN_DISTANCE = 0.05f |
|
private |
bool rs2::subdevice_model::show_algo_roi = false |
bool rs2::subdevice_model::show_single_fps_list = false |
float rs2::subdevice_model::stereo_baseline = -1.f |
std::map<int, std::string> rs2::subdevice_model::stream_display_names |
std::map<int, bool> rs2::subdevice_model::stream_enabled |
bool rs2::subdevice_model::streaming = false |
std::vector<rs2_option> rs2::subdevice_model::supported_options |
The documentation for this class was generated from the following files: