@brief Method which prints the usage and exits the program. @param filename The filename of the executable @ingroup UserSelectionMain
| 29 | /// @param filename The filename of the executable |
| 30 | /// @ingroup UserSelectionMain |
| 31 | void UsageAndExit(char* filename) |
| 32 | { |
| 33 | printf("\nUsage: %s [-recordingFilename Filename] [-s selectorType] [-ShowLowConfidence]\n\n\n" , filename); |
| 34 | printf("-RecordingFilename Filename Use the recording in Filename for input.\n\n"); |
| 35 | printf("-ShowLowConfidence Draws limbs with low confidence as dotted/dashed lines (hidden by default)\n\n"); |
| 36 | printf("-s selectorType Chooses the selector type to use (i.e. how to select which users to track).\n"); |
| 37 | printf(" -ClosestSelector N: The N closest users are tracked.\n"); |
| 38 | printf(" -SingleWave: Whichever user waved last is tracked.\n"); |
| 39 | printf(" -MultipleWave N: Upto N skeleton are tracked. Wave used to select/unselect user for tracking.\n\n"); |
| 40 | printf(" Note:\n"); |
| 41 | printf(" - If the '-s' option is omitted, ClosestSelector with a value of 1 is used by default.\n"); |
| 42 | printf(" - The '-s' option will be ignored if calibration pose is required. In this case, anyone striking that pose will be tracked.\n\n"); |
| 43 | |
| 44 | exit(EXIT_FAILURE); |
| 45 | } |
| 46 | |
| 47 | |
| 48 |