178 double y0 = 1.10*coordsLo[1];
179 double z0 = -0.10*coordsHi[2];
180 double sz = 0.20*coordsHi[2];
182 TPolyLine3D& xaxis = view->AddPolyLine3D(2,
color, style, width);
183 TPolyLine3D& yaxis = view->AddPolyLine3D(2,
color, style, width);
184 TPolyLine3D& zaxis = view->AddPolyLine3D(2,
color, style, width);
185 xaxis.SetPoint(0, x0, y0, z0);
186 xaxis.SetPoint(1, sz+x0, y0, z0);
188 yaxis.SetPoint(0, x0, y0, z0);
189 yaxis.SetPoint(1, x0, y0+sz, z0);
191 zaxis.SetPoint(0, x0, y0, z0);
192 zaxis.SetPoint(1, x0, y0, z0+sz);
194 TPolyLine3D& xpoint = view->AddPolyLine3D(3,
color, style, width);
195 TPolyLine3D& ypoint = view->AddPolyLine3D(3,
color, style, width);
196 TPolyLine3D& zpoint = view->AddPolyLine3D(3,
color, style, width);
198 xpoint.SetPoint(0, 0.95*sz+x0, y0, z0-0.05*sz);
199 xpoint.SetPoint(1, 1.00*sz+x0, y0, z0);
200 xpoint.SetPoint(2, 0.95*sz+x0, y0, z0+0.05*sz);
202 ypoint.SetPoint(0, x0, 0.95*sz+y0, z0-0.05*sz);
203 ypoint.SetPoint(1, x0, 1.00*sz+y0, z0);
204 ypoint.SetPoint(2, x0, 0.95*sz+y0, z0+0.05*sz);
206 zpoint.SetPoint(0, x0-0.05*sz, y0, 0.95*sz+z0);
207 zpoint.SetPoint(1, x0+0.00*sz, y0, 1.00*sz+z0);
208 zpoint.SetPoint(2, x0+0.05*sz, y0, 0.95*sz+z0);
210 TPolyLine3D& zleg = view->AddPolyLine3D(4,
color, style, width);
211 zleg.SetPoint(0, x0-0.05*sz, y0+0.05*sz, z0+1.05*sz);
212 zleg.SetPoint(1, x0+0.05*sz, y0+0.05*sz, z0+1.05*sz);
213 zleg.SetPoint(2, x0-0.05*sz, y0-0.05*sz, z0+1.05*sz);
214 zleg.SetPoint(3, x0+0.05*sz, y0-0.05*sz, z0+1.05*sz);
216 TPolyLine3D& yleg = view->AddPolyLine3D(5,
color, style, width);
217 yleg.SetPoint(0, x0-0.05*sz, y0+1.15*sz, z0);
218 yleg.SetPoint(1, x0+0.00*sz, y0+1.10*sz, z0);
219 yleg.SetPoint(2, x0+0.00*sz, y0+1.05*sz, z0);
220 yleg.SetPoint(3, x0+0.00*sz, y0+1.10*sz, z0);
221 yleg.SetPoint(4, x0+0.05*sz, y0+1.15*sz, z0);
223 TPolyLine3D& xleg = view->AddPolyLine3D(7,
color, style, width);
224 xleg.SetPoint(0, x0+1.05*sz, y0+0.05*sz, z0-0.05*sz);
225 xleg.SetPoint(1, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
226 xleg.SetPoint(2, x0+1.05*sz, y0+0.05*sz, z0+0.05*sz);
227 xleg.SetPoint(3, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
228 xleg.SetPoint(4, x0+1.05*sz, y0-0.05*sz, z0-0.05*sz);
229 xleg.SetPoint(5, x0+1.05*sz, y0+0.00*sz, z0-0.00*sz);
230 xleg.SetPoint(6, x0+1.05*sz, y0-0.05*sz, z0+0.05*sz);
std::size_t color(std::string const &procname)