Function ouster::sdk::viz::add_default_controls
Defined in File point_viz.h
Function Documentation
-
void ouster::sdk::viz::add_default_controls(viz::PointViz &viz, std::mutex *mx = nullptr)
Add default keyboard and mouse bindings to a visualizer instance.
Controls will modify the camera from the thread that calls run() or run_once(), which will require synchronization when using multiple threads.
- Parameters:
viz[in] – the visualizer instance
mx[in] – mutex to lock while modifying camera