43 #include <visp3/core/vpConfig.h>
45 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 void fscanf_Remove(Byte *bp)
88 lexerr(
"start",
"remove: keyword "
89 "\"none|above|back|below|front|left|right\" expected");
100 void fscanf_View_parameters(View_parameters *vp)
104 skip_keyword(T_TYPE,
"view: keyword \"type\" expected");
110 vp->type = PERSPECTIVE;
113 lexerr(
"start",
"view_type: keyword \"parallel|perspective\" expected");
119 skip_keyword(T_COP,
"view: keyword \"cop\" expected");
120 pusherr(
"view_cop: ");
121 fscanf_Point3f(&vp->cop);
126 skip_keyword(T_VRP,
"view: keyword \"vrp\" expected");
127 pusherr(
"view_vrp: ");
128 fscanf_Point3f(&vp->vrp);
133 skip_keyword(T_VPN,
"view: keyword \"vpn\" expected");
134 pusherr(
"view_vpn: ");
135 fscanf_Vector(&vp->vpn);
140 skip_keyword(T_VUP,
"view: keyword \"vup\" expected");
141 pusherr(
"view_vup: ");
142 fscanf_Vector(&vp->vup);
147 skip_keyword(T_WINDOW,
"view: keyword \"window\" expected");
148 pusherr(
"view_window_umin: ");
149 fscanf_float(&vp->vwd.umin);
150 popuperr(
"view_window_umax: ");
151 fscanf_float(&vp->vwd.umax);
152 popuperr(
"view_window_vmin: ");
153 fscanf_float(&vp->vwd.vmin);
154 popuperr(
"view_window_vmax: ");
155 fscanf_float(&vp->vwd.vmax);
160 skip_keyword(T_DEPTH,
"view: keyword \"depth\" expected");
161 pusherr(
"view_depth_front: ");
162 fscanf_float(&vp->depth.front);
163 popuperr(
"view_depth_back: ");
164 fscanf_float(&vp->depth.back);