CameraInfoOpt.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
27 /* cameraInfoOpt.h */
28 
29 /* File autogenerated by gengetopt version 2.18 */
30 
31 #ifndef CAMERAINFOOPT_H
32 #define CAMERAINFOOPT_H
33 
34 /* If we use autoconf. */
35 #ifdef HAVE_CONFIG_H
36 #include "config.h"
37 #endif
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif /* __cplusplus */
42 
43 #ifndef CAMERAINFOPARSER_PACKAGE
44 #define CAMERAINFOPARSER_PACKAGE "inversePerspectiveMapping"
45 #endif
46 
47 #ifndef CAMERAINFOPARSER_VERSION
48 #define CAMERAINFOPARSER_VERSION "0.1"
49 #endif
50 
52 {
53  const char *help_help; /* Print help and exit help description. */
54  const char *version_help; /* Print version and exit help description. */
55  double focalLengthX_arg; /* Focal lenght in horizontal direction in pixels. */
56  char * focalLengthX_orig; /* Focal lenght in horizontal direction in pixels original value given at command line. */
57  const char *focalLengthX_help; /* Focal lenght in horizontal direction in pixels help description. */
58  double focalLengthY_arg; /* Focal lenght in vertical direction in pixels. */
59  char * focalLengthY_orig; /* Focal lenght in vertical direction in pixels original value given at command line. */
60  const char *focalLengthY_help; /* Focal lenght in vertical direction in pixels help description. */
61  double opticalCenterX_arg; /* X-coordinate of optical center in pixels. */
62  char * opticalCenterX_orig; /* X-coordinate of optical center in pixels original value given at command line. */
63  const char *opticalCenterX_help; /* X-coordinate of optical center in pixels help description. */
64  double opticalCenterY_arg; /* Y-coordinate of optical center in pixels. */
65  char * opticalCenterY_orig; /* Y-coordinate of optical center in pixels original value given at command line. */
66  const char *opticalCenterY_help; /* Y-coordinate of optical center in pixels help description. */
67  double cameraHeight_arg; /* Height of camera above ground in mm. */
68  char * cameraHeight_orig; /* Height of camera above ground in mm original value given at command line. */
69  const char *cameraHeight_help; /* Height of camera above ground in mm help description. */
70  double pitch_arg; /* pitch of camera in degrees (+ve downwards). */
71  char * pitch_orig; /* pitch of camera in degrees (+ve downwards) original value given at command line. */
72  const char *pitch_help; /* pitch of camera in degrees (+ve downwards) help description. */
73  double yaw_arg; /* yaw of camera in degrees (+ve clockwise). */
74  char * yaw_orig; /* yaw of camera in degrees (+ve clockwise) original value given at command line. */
75  const char *yaw_help; /* yaw of camera in degrees (+ve clockwise) help description. */
76  double imageWidth_arg; /* width of image in pixels. */
77  char * imageWidth_orig; /* width of image in pixels original value given at command line. */
78  const char *imageWidth_help; /* width of image in pixels help description. */
79  double imageHeight_arg; /* height of image in
80  pixels. */
81  char * imageHeight_orig; /* height of image in pixels original value given at command line. */
82  const char *imageHeight_help; /* height of image in pixels help description. */
83 
84  int help_given ; /* Whether help was given. */
85  int version_given ; /* Whether version was given. */
86  int focalLengthX_given ; /* Whether focalLengthX was given. */
87  int focalLengthY_given ; /* Whether focalLengthY was given. */
88  int opticalCenterX_given ; /* Whether opticalCenterX was given. */
89  int opticalCenterY_given ; /* Whether opticalCenterY was given. */
90  int cameraHeight_given ; /* Whether cameraHeight was given. */
91  int pitch_given ; /* Whether pitch was given. */
92  int yaw_given ; /* Whether yaw was given. */
93  int imageWidth_given ; /* Whether imageWidth was given. */
94  int imageHeight_given ; /* Whether imageHeight was given. */
95 
96 } ;
97 
98 extern const char *CameraInfoParserInfo_purpose;
99 extern const char *CameraInfoParserInfo_usage;
100 extern const char *CameraInfoParserInfo_help[];
101 
102 int cameraInfoParser (int argc, char * const *argv,
103  struct CameraInfoParserInfo *args_info);
104 int cameraInfoParser2 (int argc, char * const *argv,
105  struct CameraInfoParserInfo *args_info,
106  int override, int initialize, int check_required);
107 int cameraInfoParser_file_save(const char *filename,
108  struct CameraInfoParserInfo *args_info);
109 
110 void cameraInfoParser_print_help(void);
112 
113 void cameraInfoParser_init (struct CameraInfoParserInfo *args_info);
114 void cameraInfoParser_free (struct CameraInfoParserInfo *args_info);
115 
116 int cameraInfoParser_configfile (char * const filename,
117  struct CameraInfoParserInfo *args_info,
118  int override, int initialize, int check_required);
119 
120 int cameraInfoParser_required (struct CameraInfoParserInfo *args_info,
121  const char *prog_name);
122 
123 
124 #ifdef __cplusplus
125 }
126 #endif /* __cplusplus */
127 #endif /* CAMERAINFOOPT_H */
const char * imageWidth_help
Definition: CameraInfoOpt.h:78
const char * CameraInfoParserInfo_purpose
const char * opticalCenterY_help
Definition: CameraInfoOpt.h:66
const char * pitch_help
Definition: CameraInfoOpt.h:72
int cameraInfoParser_required(struct CameraInfoParserInfo *args_info, const char *prog_name)
const char * opticalCenterX_help
Definition: CameraInfoOpt.h:63
void cameraInfoParser_free(struct CameraInfoParserInfo *args_info)
const char * yaw_help
Definition: CameraInfoOpt.h:75
const char * cameraHeight_help
Definition: CameraInfoOpt.h:69
int cameraInfoParser(int argc, char *const *argv, struct CameraInfoParserInfo *args_info)
const char * CameraInfoParserInfo_usage
const char * focalLengthY_help
Definition: CameraInfoOpt.h:60
const char * version_help
Definition: CameraInfoOpt.h:54
int cameraInfoParser_file_save(const char *filename, struct CameraInfoParserInfo *args_info)
void cameraInfoParser_print_version(void)
const char * imageHeight_help
Definition: CameraInfoOpt.h:82
const char * CameraInfoParserInfo_help[]
int cameraInfoParser_configfile(char *const filename, struct CameraInfoParserInfo *args_info, int override, int initialize, int check_required)
int cameraInfoParser2(int argc, char *const *argv, struct CameraInfoParserInfo *args_info, int override, int initialize, int check_required)
void cameraInfoParser_init(struct CameraInfoParserInfo *args_info)
const char * focalLengthX_help
Definition: CameraInfoOpt.h:57
void cameraInfoParser_print_help(void)
const char * help_help
Definition: CameraInfoOpt.h:53


caltech_lanes
Author(s): Ricardo Morais
autogenerated on Mon Mar 2 2015 01:31:31