\brief Graphic loop for the viewer * */
| 183 | * |
| 184 | */ |
| 185 | void run() |
| 186 | { |
| 187 | while (!viz.wasStopped()) |
| 188 | { |
| 189 | //main loop of the visualizer |
| 190 | viz.spinOnce(100); |
| 191 | std::this_thread::sleep_for(100ms); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | /* \brief Helper function that read a pointcloud file (returns false if pbl) |
| 196 | * Also initialize the octree |
nothing calls this directly
no test coverage detected