MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / keyboard_callback

Function keyboard_callback

tools/image_grabber_viewer.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108};
109
110void
111keyboard_callback (const pcl::visualization::KeyboardEvent& event, void*)
112{
113 /// If SPACE is pressed, trigger new cloud callback (only works if framerate is set to 0)
114 if (event.getKeyCode() == ' ' && grabber)
115 grabber->trigger ();
116}
117
118void
119mouse_callback (const pcl::visualization::MouseEvent& mouse_event, void* cookie)

Callers

nothing calls this directly

Calls 2

getKeyCodeMethod · 0.80
triggerMethod · 0.45

Tested by

no test coverage detected