204 double y0 = 1.10*coordsLo[1];
205 double z0 = -0.10*coordsHi[2];
206 double sz = 0.20*coordsHi[2];
208 TPolyLine3D& xaxis = view->AddPolyLine3D(2, color,
style, width);
209 TPolyLine3D& yaxis = view->AddPolyLine3D(2, color,
style, width);
210 TPolyLine3D& zaxis = view->AddPolyLine3D(2, color,
style, width);
211 xaxis.SetPoint(0, x0, y0, z0);
212 xaxis.SetPoint(1, sz+x0, y0, z0);
214 yaxis.SetPoint(0, x0, y0, z0);
215 yaxis.SetPoint(1, x0, y0+sz, z0);
217 zaxis.SetPoint(0, x0, y0, z0);
218 zaxis.SetPoint(1, x0, y0, z0+sz);
220 TPolyLine3D& xpoint = view->AddPolyLine3D(3, color,
style, width);
221 TPolyLine3D& ypoint = view->AddPolyLine3D(3, color,
style, width);
222 TPolyLine3D& zpoint = view->AddPolyLine3D(3, color,
style, width);
224 xpoint.SetPoint(0, 0.95*sz+x0, y0, z0-0.05*sz);
225 xpoint.SetPoint(1, 1.00*sz+x0, y0, z0);
226 xpoint.SetPoint(2, 0.95*sz+x0, y0, z0+0.05*sz);
228 ypoint.SetPoint(0, x0, 0.95*sz+y0, z0-0.05*sz);
229 ypoint.SetPoint(1, x0, 1.00*sz+y0, z0);
230 ypoint.SetPoint(2, x0, 0.95*sz+y0, z0+0.05*sz);
232 zpoint.SetPoint(0, x0-0.05*sz, y0, 0.95*sz+z0);
233 zpoint.SetPoint(1, x0+0.00*sz, y0, 1.00*sz+z0);
234 zpoint.SetPoint(2, x0+0.05*sz, y0, 0.95*sz+z0);
236 TPolyLine3D& zleg = view->AddPolyLine3D(4, color,
style, width);
237 zleg.SetPoint(0, x0-0.05*sz, y0+0.05*sz, z0+1.05*sz);
238 zleg.SetPoint(1, x0+0.05*sz, y0+0.05*sz, z0+1.05*sz);
239 zleg.SetPoint(2, x0-0.05*sz, y0-0.05*sz, z0+1.05*sz);
240 zleg.SetPoint(3, x0+0.05*sz, y0-0.05*sz, z0+1.05*sz);
242 TPolyLine3D& yleg = view->AddPolyLine3D(5, color,
style, width);
243 yleg.SetPoint(0, x0-0.05*sz, y0+1.15*sz, z0);
244 yleg.SetPoint(1, x0+0.00*sz, y0+1.10*sz, z0);
245 yleg.SetPoint(2, x0+0.00*sz, y0+1.05*sz, z0);
246 yleg.SetPoint(3, x0+0.00*sz, y0+1.10*sz, z0);
247 yleg.SetPoint(4, x0+0.05*sz, y0+1.15*sz, z0);
249 TPolyLine3D& xleg = view->AddPolyLine3D(7, color,
style, width);
250 xleg.SetPoint(0, x0+1.05*sz, y0+0.05*sz, z0-0.05*sz);
251 xleg.SetPoint(1, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
252 xleg.SetPoint(2, x0+1.05*sz, y0+0.05*sz, z0+0.05*sz);
253 xleg.SetPoint(3, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
254 xleg.SetPoint(4, x0+1.05*sz, y0-0.05*sz, z0-0.05*sz);
255 xleg.SetPoint(5, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
256 xleg.SetPoint(6, x0+1.05*sz, y0-0.05*sz, z0+0.05*sz);