I've been working on a new class called vtkRegularGridSource and a widget to control it derived from BoxWidgetRepresentation plus pqRegularGridSourceWidget, it allows a 2D/3D grid to be defined via the gui (same as one would for line source for example) - it doesn't have to be axis aligned and can be rotated, scaled etc using the box widget. Once it's ready, it should be relatively easy to inject it into the gui along with other widgets so that the streamline filter (for example) can have it in the widget selection box for inputs.

It is mostly working in my own paraview tree, but will be commited to cvs after 3.6 is out of the door I expect.

JB
Instead of using random points or a line for seeds when doing streamlines, is 
it possible to do this from a grid? I know I can do it many times with lines, 
and save these as custom filters, but each time I save then load custom filters 
I have to re-enter all  the data about line widths, colors, etc.

Thanks in advance,

Martin


_______________________________________________
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


--
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82


_______________________________________________
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

Reply via email to