Alejandro M. Aragón wrote:
> I'm new to MayaVi. I've been searching the internet for a solution to  
> a problem I have but I didn't find the answer, therefore this email. I  
> have 2D cell vector data that I would like to display in the cell  
> centers. I used Paraview before MayaVi, so I used to extract cell  
> centers first and then with a glyph filter show the arrows, but it was  
> impossible to replicate this in MayaVi. Can someone point out if this  
> is possible? and if it is, what are the steps to replicate this?

You can use the built in CellToPointData filter that lets you convert 
the cell data to point data and visualize that.  There is also a 
UserDefined filter that can be used to wrap around many existing VTK 
filters that might serve your purpose.  It would help if you provided a 
simple example dataset that you want to view so we can help with more 
specific advice.

In addition, are you using Mayavi-1.x or the more recent 3.x releases? 
I would strongly recommend using the more recent releases since the 1.x 
code base is no longer being developed.

regards,
prabhu

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to