<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Simon</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Here's a vtkArrowSource (based
on vtkConeSource ) that I knocked together a while back. I was going to put
a bit more work into it (eg. normals) and testing before submitting it but
you're welcome to try it out. You can adjust resolution, radius, length and the
relative size of tail dimensions (radius and length) wrt to head dimensions. It
might work for you in low resolution. Any feedback welcome.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Malcolm</FONT></DIV>
<DIV> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:S.D.Bulman@swansea.ac.uk" title=S.D.Bulman@swansea.ac.uk>Simon
Bulman</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:vtkusers@public.kitware.com"
title=vtkusers@public.kitware.com>vtkusers@public.kitware.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 19, 2001 11:07
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] (no subject)</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>Hi All,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I want to display vector orientation and magnitude using
arrows.</FONT></DIV>
<DIV><FONT size=2>Is there a way to do this. I looked at the vtkHedgeHog class
but this seems to draw lines</FONT></DIV>
<DIV><FONT size=2>only (no arrow tip). The vtkGlmph2D has an arrow but is of
course only for 2D where as my</FONT></DIV>
<DIV><FONT size=2>data is 3D. The vtkGlmph3D can be used with a cone (for
example) but I tried this a it looks</FONT></DIV>
<DIV><FONT size=2>messy to me (unless you use a high resolution for the cone,
but this gets slow!)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any ideas??</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2>Simon</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>================================<BR>S.D.Bulman.<BR>Senior
Research Officer.<BR>University of Wales Swansea.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><A
href="mailto:S.D.Bulman@swansea.ac.uk">S.D.Bulman@swansea.ac.uk</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>(W) +44 (0)1792 513179<BR>(H) +44 (0)1792
511144<BR>================================<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>