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