Hi, I forward this e-mail from the VTK mailing list, as ParaView users may be interested and not necessary VTK subscribers...
I add a note: the concerned vtkStripper is called Triangle Strips in the ParaView Filters list. But it can be used to strip lines as well as triangles! Jerome 2010/5/5 pablo p del castillo <[email protected]> > Thanks Bill and Jeff, with vtkStripper is working nice. > > Pablo > > --- El *mié, 5/5/10, Bill Lorensen <[email protected]>* escribió: > > > De: Bill Lorensen <[email protected]> > Asunto: Re: [vtkusers] vtkSplineFilter > Para: "Jeff Lee" <[email protected]> > CC: "pablo p del castillo" <[email protected]>, [email protected] > Fecha: miércoles, 5 de mayo, 2010 18:16 > > > I just added an example that is closer to what you want... > http://www.vtk.org/Wiki/VTK/Examples/PolyData/FitSplineToCutterOutput > > Bill > > On Wed, May 5, 2010 at 11:09 AM, Jeff Lee > <[email protected]<http://mc/[email protected]> > > wrote: > >> I have come across some cases where the stripper doesn't produce >> continuous polylines from input line segments which are continuous - it >> happens when the line is not closed, and a start segment is chosen from the >> middle of the polyline, produces a continuous polyline to the end (i.e. no >> more neigbors), then produces other parts of the polyline as it encounters >> them in the loop - so what should be a single continuous polyline typically >> ends up being multiple polylines. I have a fix for this but haven't had >> time to check it in yet. SplineFilter will subdivide the polylines >> independently. >> Regards, >> -Jeff >> >> >> On Wed, May 5, 2010 at 10:56 AM, Bill Lorensen >> <[email protected]<http://mc/[email protected]> >> > wrote: >> >>> Look at this example: >>> http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData >>> >>> it shows how to connect the segments produced by the cutter into >>> polylines. >>> >>> On Tue, May 4, 2010 at 4:08 PM, pablo p del castillo < >>> [email protected]<https://mail.google.com/a/cdnorthamerica.com/?view=cm&tf=0&[email protected]> >>> > wrote: >>> >>>> Hello, >>>> >>>> I am trying to improve the visualization of sections of surface mesh, so >>>> i create a cutter and the apply vtksplinefilter like this; >>>> >>>> vtkSplineFilter sf >>>> #sf SetInput planeCut >>>> sf SetInputConnection [planeCut GetOutputPort] >>>> sf SetNumberOfSubdivisions 6 >>>> sf Update >>>> # sf SetLength 0.01 >>>> vtkTubeFilter rf >>>> rf SetInput [sf GetOutput] >>>> rf SetRadius 0.1 >>>> rf SetNumberOfSides 6 >>>> >>>> But only i get the initial section with tubes. >>>> Any idea? >>>> >>>> Pablo >>>> >>>> >>>> _______________________________________________ >>>> 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 VTK FAQ at: >>>> http://www.vtk.org/Wiki/VTK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://www.vtk.org/mailman/listinfo/vtkusers >>>> >>>> >>> >>> _______________________________________________ >>> 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 VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >>> >> > > > _______________________________________________ > 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 VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > >
_______________________________________________ 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
