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

Function printHelp

tools/depth_sense_viewer.cpp:54–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52using namespace pcl::console;
53
54void
55printHelp (int, char **argv)
56{
57 std::cout << std::endl;
58 std::cout << "****************************************************************************" << std::endl;
59 std::cout << "* *" << std::endl;
60 std::cout << "* DEPTH SENSE VIEWER - Usage Guide *" << std::endl;
61 std::cout << "* *" << std::endl;
62 std::cout << "****************************************************************************" << std::endl;
63 std::cout << std::endl;
64 std::cout << "Usage: " << argv[0] << " [Options] device_id" << std::endl;
65 std::cout << std::endl;
66 std::cout << "Options:" << std::endl;
67 std::cout << std::endl;
68 std::cout << " --help, -h : Show this help" << std::endl;
69 std::cout << " --list, -l : List connected DepthSense devices" << std::endl;
70 std::cout << " --xyz : View XYZ-only clouds" << std::endl;
71 std::cout << std::endl;
72 std::cout << "Keyboard commands:" << std::endl;
73 std::cout << std::endl;
74 std::cout << " When the focus is on the viewer window, the following keyboard commands" << std::endl;
75 std::cout << " are available:" << std::endl;
76 std::cout << " * t/T : increase or decrease depth data confidence threshold" << std::endl;
77 std::cout << " * k : enable next temporal filtering method" << std::endl;
78 std::cout << " * s : save the last grabbed cloud to disk" << std::endl;
79 std::cout << " * h : print the list of standard PCL viewer commands" << std::endl;
80 std::cout << std::endl;
81 std::cout << "Notes:" << std::endl;
82 std::cout << std::endl;
83 std::cout << " The device to grab data from is selected using device_id argument. It" << std::endl;
84 std::cout << " could be either:" << std::endl;
85 std::cout << " * serial number (e.g. YZVF0780239000261D)" << std::endl;
86 std::cout << " * device index (e.g. #2 for the second connected device)" << std::endl;
87 std::cout << std::endl;
88 std::cout << " If device_id is not given, then the first available device will be used." << std::endl;
89 std::cout << std::endl;
90}
91
92void
93printDeviceList ()

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected