#include <model-views.h>
Public Member Functions | |
void | draw_trajectory (bool is_trajectory_button_pressed) |
void | record_trajectory (bool on) |
void | reset_trajectory () |
tm2_model () | |
void | update_model_trajectory (const pose_frame &pose, bool track) |
Private Member Functions | |
void | add_to_trajectory (tracked_point &p) |
Private Attributes | |
bool | _trajectory_tracking |
std::vector< float2 > | boundary |
colored_cube | camera_box { { { f1,colors[0] },{ f2,colors[1] },{ f3,colors[2] },{ f4,colors[3] },{ f5,colors[4] },{ f6,colors[5] } } } |
std::array< color, 6 > | colors |
face | f1 { { v1,v2,v3,v4 } } |
face | f2 { { v2,v8,v6,v3 } } |
face | f3 { { v4,v3,v6,v5 } } |
face | f4 { { v1,v4,v5,v7 } } |
face | f5 { { v7,v8,v6,v5 } } |
face | f6 { { v1,v2,v8,v7 } } |
const float | len_x = 0.1f |
const float | len_y = 0.03f |
const float | len_z = 0.01f |
std::vector< tracked_point > | trajectory |
float3 | v1 { -len_x / 2, -len_y / 2, len_z / 2 } |
float3 | v2 { len_x / 2, -len_y / 2, len_z / 2 } |
float3 | v3 { len_x / 2, len_y / 2, len_z / 2 } |
float3 | v4 { -len_x / 2, len_y / 2, len_z / 2 } |
float3 | v5 { -len_x / 2, len_y / 2, -len_z / 2 } |
float3 | v6 { len_x / 2, len_y / 2, -len_z / 2 } |
float3 | v7 { -len_x / 2, -len_y / 2, -len_z / 2 } |
float3 | v8 { len_x / 2, -len_y / 2, -len_z / 2 } |
Definition at line 488 of file model-views.h.
|
inline |
Definition at line 491 of file model-views.h.
|
private |
Definition at line 7082 of file model-views.cpp.
void rs2::tm2_model::draw_trajectory | ( | bool | is_trajectory_button_pressed | ) |
Definition at line 7047 of file model-views.cpp.
|
inline |
Definition at line 496 of file model-views.h.
|
inline |
Definition at line 497 of file model-views.h.
void rs2::tm2_model::update_model_trajectory | ( | const pose_frame & | pose, |
bool | track | ||
) |
Definition at line 7021 of file model-views.cpp.
|
private |
Definition at line 541 of file model-views.h.
|
private |
Definition at line 540 of file model-views.h.
|
private |
Definition at line 537 of file model-views.h.
|
private |
Definition at line 528 of file model-views.h.
|
private |
Definition at line 502 of file model-views.h.
|
private |
Definition at line 503 of file model-views.h.
|
private |
Definition at line 504 of file model-views.h.
|
private |
Definition at line 539 of file model-views.h.
Definition at line 513 of file model-views.h.
Definition at line 514 of file model-views.h.
Definition at line 515 of file model-views.h.
Definition at line 516 of file model-views.h.
Definition at line 517 of file model-views.h.
Definition at line 518 of file model-views.h.
Definition at line 519 of file model-views.h.
Definition at line 520 of file model-views.h.