<HTML>
<HEAD>
<TITLE>Re: [Paraview] cone vs. cylinder glyph orientation</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>This has come up before. I don’t know if anyone has resolved to take actions to fix the problem, but this email thread has a workaround.<BR>
<BR>
<a href="http://markmail.org/search/list:paraview?q=cylinder+glyph#query:list%3Aparaview%20cylinder%20glyph+page:1+mid:snie5z5ufqnmx27c+state:results">http://markmail.org/search/list:paraview?q=cylinder+glyph#query:list%3Aparaview%20cylinder%20glyph+page:1+mid:snie5z5ufqnmx27c+state:results</a><BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/25/10 1:12 PM, "Randy Heiland" <<a href="heiland@indiana.edu">heiland@indiana.edu</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I'm confused as to why a cone glyph gets oriented according to a vector field but a cylinder glyph doesn't - or so it seems.<BR>
<BR>
This trivial onept.vtk:<BR>
<BR>
# vtk DataFile Version 3.0<BR>
vtk output<BR>
ASCII<BR>
DATASET POLYDATA<BR>
POINTS 1 float<BR>
0 0 0<BR>
POINT_DATA 1<BR>
SCALARS scalars float<BR>
LOOKUP_TABLE default<BR>
0<BR>
<BR>
will orient a cone glyph pointing along the x-axis and a cylinder glyph along the y-axis. Appending a (0,0,1) vector to this datafile:<BR>
VECTORS vectors float<BR>
0 0 1<BR>
<BR>
will now orient the cone pointing outward along the z-axis, but the cylinder glyph still is oriented along the x-axis. What am I missing? (Fwiw, I can't seem to figure it out in a VTK script either, using glyph.SetVectorModeToUseVector() )<BR>
<BR>
thanks, Randy<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>