Try VTK's vtkTensorGlyph http://www.vtk.org/doc/nightly/html/classvtkTensorGlyph.html filter. You will have to write a plugin to let paraview use it. See http://www.paraview.org/Wiki/Plugin_HowTo#Enabling_a_filter_in_VTK
On Tue, Mar 3, 2009 at 3:41 AM, Pawel Krupinski <[email protected]> wrote: > Thanks for reply, > but I don't think it will work in my case. Maybe I wasn't specific enough > about my data and it was confusing. > I have point data witch represent centers of ellipsoidal cells. With each > point there are associated lengths of ellipsoid axes (e.g. as a vector > data), which can be different for each ellipsoid, and directions of those > axes in space (3 vectors). I want to display those ellipsoids oriented and > in appropriate scale. > So I was thinking: I need to scale spheres anisotropically to get > ellipsoids so I really need to do it by scaling with vector components of > the scales/axes_length vector. Scaling by scalars works isotropically so it > won't help. Now I need to align axes of each ellipsoid in space. I probably > need to do it by programmable filter, but I don't know how to operate on > separate glyphs (ellipsoids) and their data. Did anyone have similar problem > and solved it somehow? > Thanks. > Pawel > > >mirko heuegger wrote >>I suggest that you 'convert' one vector data into a scalar (e.g. over >>the Calculator-filter, and by using the functions: mag(<vector>), >>iHat.<vector>, jHat.<vector>, or kHat.<vector> (magnitude, X, Y, and Z >>of a vector) for calculating the desired vector-parts). >>Then change the 'Scale Mode', of the Glyph-filter, to 'scalar', and >>select the calculation-result as scalar-field. > > _______________________________________________ > 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 > > -- David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 _______________________________________________ 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
