MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / printUsage

Function printUsage

Samples/NiConvertXToONI/NiConvertXToONI.cpp:47–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45using namespace xn;
46
47void printUsage(const char* argv0)
48{
49 printf("usage: %s <inputFile> <outputFile> [OPTIONS]\n", argv0);
50 printf("Supported options:\n");
51 printf("\n");
52 printf(" --nodes=NODES\n");
53 printf(" A comma-separated list of nodes names to be taken from input file.\n");
54 printf(" For example: Depth1,Image2.\n");
55 printf("\n");
56 printf(" --types=TYPES\n");
57 printf(" A comma-separated list of nodes types to be taken from input file.\n");
58 printf(" For example: Depth,Image.\n");
59 printf("\n");
60 printf(" --primary-node=NAME\n");
61 printf(" Name of primary node (used for start/end setting). For example: Depth1.\n");
62 printf("\n");
63 printf(" --primary-node-type=TYPE\n");
64 printf(" Type of primary node (used for start/end setting). For example: Depth.\n");
65 printf("\n");
66 printf(" --start-frame=FRAME\n");
67 printf(" A frame to seek to before recording starts. Seeking will be performed on\n");
68 printf(" primary node. For example: 3.\n");
69 printf("\n");
70 printf(" --end-frame=FRAME\n");
71 printf(" Last frame to be recorded from primary node. For example: 752.\n");
72 printf("\n");
73}
74
75int main(int argc, char* argv[])
76{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected