[Paraview] cone vs. cylinder glyph orientation

Randy Heiland heiland at indiana.edu
Mon Jan 25 15:12:46 EST 2010


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


More information about the ParaView mailing list