Re: [Paraview] cone vs. cylinder glyph orientation

2010-01-26 Thread Ricardo Reis

On Mon, 25 Jan 2010, Moreland, Kenneth wrote:


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.


There's a request for it, you can go there and vote...

http://paraview.uservoice.com/forums/11350-general/suggestions/309509-orient-cylinder-glyp-direction-using-vector?ref=title


 Ricardo Reis

 'Non Serviam'

 PhD candidate @ Lasef
 Computational Fluid Dynamics, High Performance Computing, Turbulence
 http://www.lasef.ist.utl.pt

 Cultural Instigator @ Rádio Zero
 http://www.radiozero.pt

 Keep them Flying! Ajude a/help Aero Fénix!

 http://www.aeronauta.com/aero.fenix

 http://www.flickr.com/photos/rreis/

sent with alpine 2.00 ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] cone vs. cylinder glyph orientation

2010-01-25 Thread Moreland, Kenneth
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.

http://markmail.org/search/list:paraview?q=cylinder+glyph#query:list%3Aparaview%20cylinder%20glyph+page:1+mid:snie5z5ufqnmx27c+state:results

-Ken


On 1/25/10 1:12 PM, Randy Heiland heil...@indiana.edu wrote:

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.

This trivial onept.vtk:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 1 float
0 0 0
POINT_DATA 1
SCALARS scalars float
LOOKUP_TABLE default
0

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:
VECTORS vectors float
0 0 1

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() )

thanks, Randy
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview