Why this sounds like a great opportunity for the new python macro feature :-) You could two scripts, StepForward.py and StepBackward.py, and add them to the macros toolbar. Now you'll have two buttons for stepping forward and backward. I don't have time right now to figure out the complete script but it would be something like...
e = GetActiveSource() # maybe make sure e.GetVTKClassName() == "vtkExtractGeometry" e.IntersectWith = "Plane" planeOrigin = e.IntersectWith.Origin imageInput = e.Input[0] e.IntersectWith.Origin = computeNewOrigin(planeOrigin, imageInput) Then all you need to do is write the computeNewOrigin method that takes the image, gets the origin, extens, and spacing, and then computes a new plane origin to step the plane one discreet step forward or backward. Pat On Thu, Jul 30, 2009 at 2:54 PM, David Doria<[email protected]> wrote: > > > On Thu, Jul 30, 2009 at 2:35 PM, pat marion <[email protected]> wrote: >> >> You could try the Extract Cells By Region filter, set it to plane, >> then check "extract only intersected" and "extract intersected." >> >> http://patmarion.com/pv/extract_region.png >> >> Pat > > Pat, > > Yes, that is exactly what I'm looking for. The only difference is that that > cutting plane moves in infinitesimally small steps that eventually line up > with the next step of the actual image cell grid, where the "slice" > representation moves in discrete steps, one column of the image grid at a > time. Would it be hard to combine these two functions to produce this > functionality? > > Thanks, > > David > > _______________________________________________ > 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 > > _______________________________________________ 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
