#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
#include "CameraInfoOpt.h"
Go to the source code of this file.
Classes | |
struct | line_list |
Defines | |
#define | ADDITIONAL_ERROR " in configuration file " |
#define | CONFIG_FILE_LINE_BUFFER_SIZE (CONFIG_FILE_LINE_SIZE+3) |
#define | CONFIG_FILE_LINE_SIZE 2048 |
Functions | |
int | cameraInfoParser (int argc, char *const *argv, struct CameraInfoParserInfo *args_info) |
int | cameraInfoParser2 (int argc, char *const *argv, struct CameraInfoParserInfo *args_info, int override, int initialize, int check_required) |
int | cameraInfoParser_configfile (char *const filename, struct CameraInfoParserInfo *args_info, int override, int initialize, int check_required) |
int | cameraInfoParser_file_save (const char *filename, struct CameraInfoParserInfo *args_info) |
void | cameraInfoParser_free (struct CameraInfoParserInfo *args_info) |
void | cameraInfoParser_init (struct CameraInfoParserInfo *args_info) |
static int | cameraInfoParser_internal (int argc, char *const *argv, struct CameraInfoParserInfo *args_info, int override, int initialize, int check_required, const char *additional_error) |
void | cameraInfoParser_print_help (void) |
void | cameraInfoParser_print_version (void) |
static void | cameraInfoParser_release (struct CameraInfoParserInfo *args_info) |
int | cameraInfoParser_required (struct CameraInfoParserInfo *args_info, const char *prog_name) |
static int | cameraInfoParser_required2 (struct CameraInfoParserInfo *args_info, const char *prog_name, const char *additional_error) |
static void | clear_args (struct CameraInfoParserInfo *args_info) |
static void | clear_given (struct CameraInfoParserInfo *args_info) |
static void | free_cmd_list (void) |
static char * | gengetopt_strdup (const char *s) |
static void | init_args_info (struct CameraInfoParserInfo *args_info) |
Variables | |
const char * | CameraInfoParserInfo_help [] |
const char * | CameraInfoParserInfo_purpose = "" |
const char * | CameraInfoParserInfo_usage = "Usage: inversePerspectiveMapping [OPTIONS]..." |
static struct line_list * | cmd_line_list = 0 |
static struct line_list * | cmd_line_list_tmp = 0 |
char | my_argv [CONFIG_FILE_LINE_BUFFER_SIZE+1] |
#define ADDITIONAL_ERROR " in configuration file " |
Definition at line 735 of file CameraInfoOpt.cpp.
#define CONFIG_FILE_LINE_BUFFER_SIZE (CONFIG_FILE_LINE_SIZE+3) |
Definition at line 737 of file CameraInfoOpt.cpp.
#define CONFIG_FILE_LINE_SIZE 2048 |
Definition at line 733 of file CameraInfoOpt.cpp.
int cameraInfoParser | ( | int | argc, | |
char *const * | argv, | |||
struct CameraInfoParserInfo * | args_info | |||
) |
Definition at line 350 of file CameraInfoOpt.cpp.
int cameraInfoParser2 | ( | int | argc, | |
char *const * | argv, | |||
struct CameraInfoParserInfo * | args_info, | |||
int | override, | |||
int | initialize, | |||
int | check_required | |||
) |
Definition at line 356 of file CameraInfoOpt.cpp.
int cameraInfoParser_configfile | ( | char *const | filename, | |
struct CameraInfoParserInfo * | args_info, | |||
int | override, | |||
int | initialize, | |||
int | check_required | |||
) |
Definition at line 743 of file CameraInfoOpt.cpp.
int cameraInfoParser_file_save | ( | const char * | filename, | |
struct CameraInfoParserInfo * | args_info | |||
) |
Definition at line 237 of file CameraInfoOpt.cpp.
void cameraInfoParser_free | ( | struct CameraInfoParserInfo * | args_info | ) |
Definition at line 327 of file CameraInfoOpt.cpp.
void cameraInfoParser_init | ( | struct CameraInfoParserInfo * | args_info | ) |
Definition at line 176 of file CameraInfoOpt.cpp.
int cameraInfoParser_internal | ( | int | argc, | |
char *const * | argv, | |||
struct CameraInfoParserInfo * | args_info, | |||
int | override, | |||
int | initialize, | |||
int | check_required, | |||
const char * | additional_error | |||
) | [static] |
Definition at line 455 of file CameraInfoOpt.cpp.
void cameraInfoParser_print_help | ( | void | ) |
Definition at line 162 of file CameraInfoOpt.cpp.
void cameraInfoParser_print_version | ( | void | ) |
Definition at line 156 of file CameraInfoOpt.cpp.
static void cameraInfoParser_release | ( | struct CameraInfoParserInfo * | args_info | ) | [static] |
Definition at line 184 of file CameraInfoOpt.cpp.
int cameraInfoParser_required | ( | struct CameraInfoParserInfo * | args_info, | |
const char * | prog_name | |||
) |
Definition at line 372 of file CameraInfoOpt.cpp.
int cameraInfoParser_required2 | ( | struct CameraInfoParserInfo * | args_info, | |
const char * | prog_name, | |||
const char * | additional_error | |||
) | [static] |
Definition at line 389 of file CameraInfoOpt.cpp.
static void clear_args | ( | struct CameraInfoParserInfo * | args_info | ) | [static] |
Definition at line 124 of file CameraInfoOpt.cpp.
static void clear_given | ( | struct CameraInfoParserInfo * | args_info | ) | [static] |
Definition at line 108 of file CameraInfoOpt.cpp.
static void free_cmd_list | ( | void | ) | [static] |
Definition at line 89 of file CameraInfoOpt.cpp.
char * gengetopt_strdup | ( | const char * | s | ) | [static] |
Definition at line 336 of file CameraInfoOpt.cpp.
static void init_args_info | ( | struct CameraInfoParserInfo * | args_info | ) | [static] |
Definition at line 139 of file CameraInfoOpt.cpp.
const char* CameraInfoParserInfo_help[] |
{ " -h, --help Print help and exit", " -V, --version Print version and exit", " --focalLengthX=DOUBLE Focal lenght in horizontal direction in pixels", " --focalLengthY=DOUBLE Focal lenght in vertical direction in pixels", " --opticalCenterX=DOUBLE X-coordinate of optical center in pixels", " --opticalCenterY=DOUBLE Y-coordinate of optical center in pixels", " --cameraHeight=DOUBLE Height of camera above ground in mm", " --pitch=DOUBLE pitch of camera in degrees (+ve downwards)", " --yaw=DOUBLE yaw of camera in degrees (+ve clockwise)", " --imageWidth=DOUBLE width of image in pixels", " --imageHeight=DOUBLE height of image in pixels", 0 }
Definition at line 54 of file CameraInfoOpt.cpp.
const char* CameraInfoParserInfo_purpose = "" |
Definition at line 50 of file CameraInfoOpt.cpp.
const char* CameraInfoParserInfo_usage = "Usage: inversePerspectiveMapping [OPTIONS]..." |
Definition at line 52 of file CameraInfoOpt.cpp.
struct line_list* cmd_line_list = 0 [static] |
Definition at line 85 of file CameraInfoOpt.cpp.
struct line_list* cmd_line_list_tmp = 0 [static] |
Definition at line 86 of file CameraInfoOpt.cpp.
char my_argv[CONFIG_FILE_LINE_BUFFER_SIZE+1] |
Definition at line 740 of file CameraInfoOpt.cpp.