30 Nov 17:45
Re: [M2] New source names?
From: Prabhu Ramachandran <prabhu@...>
Subject: Re: [M2] New source names?
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-11-30 16:45:04 GMT
Subject: Re: [M2] New source names?
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-11-30 16:45:04 GMT
Gael Varoquaux wrote: > On Sat, Nov 15, 2008 at 04:59:55PM +0530, Prabhu Ramachandran wrote: >> A student, Suyog, has created two new sources a Polydata source and an >> image data source. These let you create any standard poly data or image >> data. For example, the ArrowSource, SphereSource, etc. are all wrapped, >> here is the full list. [...] > > Hey Prabhu, sorry for giving no feedback. I am struggling and thus I read > my mail too quick, to try and make some time for hacking. > > Honestly, I am not sure I understand what these sources are. So I am not > sure in this state I can give useful comments. Maybe you should check > these in with temporary names, and we can comment on the names. Finally got around to checkin this. Thanks to Suyog for the code. To test it update to [22586] and try this: mayavi2 -d VTKPolyData -m Surface mayavi2 -d VTKPolyData -s "source = 'earth'" -m Surface Experiment with the different sources that are wrapped. mayavi2 -d VTKImageData -m Surface You could also use -m ImageActor but that doesn't work well with the mandelbrot source.(Continue reading)
RSS Feed