Hi Luca,
I'm trying to cut an open triangulated surface (polydata) using the wrapped
version of vtkvmtkPolyDataScissors. I've managed to correctly create the
'CutLine' polydata (with the corresponding points, cells and idArray in the
correct polydata locations where I want to perform the cutting). Then I
use vtkvmtkPolyDataScissors in this way:
scissor=vmtk.vtkvmtk.vtkvmtkPolyDataScissors()
scissor.SetCutLine(CutLine)
scissor.SetCutLinePointIdsArrayName('idArray')
scissor.SetInput(Surface)
scissor.Update()
where 'Surface' is the polydata I want to cut. I use the method GetOutput()
from 'scissor' to obtain the result of cutting (is this right?); when
rendering this output I'm getting the same input polydata ('Surface'), i.e.
no cutting has been performed. Am I missing something? Is this the correct
use of vtkvmtkPolyDataScissors?
Thanks for your suggestions,
Miguel
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users