#include <depth-quality-model.h>
Public Types | |
enum | range { GREEN_RANGE, YELLOW_RANGE, RED_RANGE, MAX_RANGE } |
Public Member Functions | |
void | add_value (float val) |
void | enable (bool enable) |
bool | enabled () const |
std::string | get_name () |
range | get_range (float val) const |
metric_plot (const std::string &name, float min, float max, const std::string &units, const std::string &description, const bool with_plane_fit) | |
void | render (ux_window &win) |
bool | requires_plane_fit () const |
std::shared_ptr< metric_plot > | set (range r, float from, float to) |
void | visible (bool is_visible) |
~metric_plot () | |
Private Member Functions | |
bool | has_trend (bool positive) |
Private Attributes | |
std::string | _description |
bool | _enabled |
size_t | _first_idx |
std::string | _id |
size_t | _idx |
std::string | _label |
std::mutex | _m |
float | _max |
float | _min |
utilities::time::stopwatch | _model_timer |
std::string | _name |
temporal_event | _persistent_visibility |
const bool | _requires_plane_fit |
std::array< double, SIZE > | _timestamps |
temporal_event | _trending_down |
temporal_event | _trending_up |
std::string | _units |
std::array< float, SIZE > | _vals |
float2 | ranges [MAX_RANGE] |
Static Private Attributes | |
static const size_t | SIZE = 200 |
Friends | |
class | metrics_model |
Definition at line 124 of file depth-quality-model.h.
Enumerator | |
---|---|
GREEN_RANGE | |
YELLOW_RANGE | |
RED_RANGE | |
MAX_RANGE |
Definition at line 127 of file depth-quality-model.h.
|
inline |
Definition at line 152 of file depth-quality-model.h.
|
inline |
Definition at line 166 of file depth-quality-model.h.
|
inline |
Definition at line 168 of file depth-quality-model.h.
|
inline |
Definition at line 186 of file depth-quality-model.h.
|
inline |
Definition at line 196 of file depth-quality-model.h.
|
inline |
Definition at line 198 of file depth-quality-model.h.
|
inline |
Definition at line 142 of file depth-quality-model.h.
|
private |
Definition at line 996 of file depth-quality-model.cpp.
Definition at line 1143 of file depth-quality-model.cpp.
|
inline |
Definition at line 197 of file depth-quality-model.h.
|
inline |
Definition at line 135 of file depth-quality-model.h.
|
inline |
Definition at line 180 of file depth-quality-model.h.
|
friend |
Definition at line 220 of file depth-quality-model.h.
|
private |
Definition at line 209 of file depth-quality-model.h.
|
private |
Definition at line 210 of file depth-quality-model.h.
|
private |
Definition at line 205 of file depth-quality-model.h.
|
private |
Definition at line 209 of file depth-quality-model.h.
|
private |
Definition at line 205 of file depth-quality-model.h.
|
private |
Definition at line 209 of file depth-quality-model.h.
|
private |
Definition at line 203 of file depth-quality-model.h.
|
private |
Definition at line 208 of file depth-quality-model.h.
|
private |
Definition at line 208 of file depth-quality-model.h.
|
private |
Definition at line 213 of file depth-quality-model.h.
|
private |
Definition at line 209 of file depth-quality-model.h.
|
private |
Definition at line 216 of file depth-quality-model.h.
|
private |
Definition at line 211 of file depth-quality-model.h.
|
private |
Definition at line 207 of file depth-quality-model.h.
|
private |
Definition at line 215 of file depth-quality-model.h.
|
private |
Definition at line 214 of file depth-quality-model.h.
|
private |
Definition at line 209 of file depth-quality-model.h.
|
private |
Definition at line 206 of file depth-quality-model.h.
Definition at line 218 of file depth-quality-model.h.
|
staticprivate |
Definition at line 204 of file depth-quality-model.h.