/home/laradmin/lar/perception/road/caltech_lanes/src/CameraInfoOpt.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
#include "CameraInfoOpt.h"
Include dependency graph for CameraInfoOpt.cpp:
This graph shows which files directly or indirectly include this file:

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_listcmd_line_list = 0
static struct line_listcmd_line_list_tmp = 0
char my_argv [CONFIG_FILE_LINE_BUFFER_SIZE+1]

Define Documentation

#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.


Function Documentation

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.


Variable Documentation

Initial value:
 {
  "  -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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


caltech_lanes
Author(s): Morais
autogenerated on Wed Jul 23 04:33:34 2014