[vtkusers] Create 3-D surface from 2-D contours of slices

Jothybasu Selvaraj jothybasu at gmail.com
Tue Dec 20 08:06:29 EST 2011


Yuo may look at v v, the 4D slicer's src code on how to genrate meshes from
vtkDiscreteMarchingCubes.

Jothy

On Tue, Dec 20, 2011 at 12:42 PM, leandro <leobbastos at gmail.com> wrote:

> Hello, i bring this topic back to life, 'cause I got the same issue.
> The problem is that the way we get the Polydata from the widget
> representation. vtkVoxelContoursToSurfaceFilter wants the contours as
> Polys,
> but GetContourRepresentationAsPolyData() returns contours as Lines =(
>
> I also tried with the vtkImageTracerWidget (wich i actually prefer to use),
> but get exact the same problem.
>
> I get the contours correctly fusioned with vtkAppendPolyData, correctly
> positioned, also in relation to the CT volume, just cannot make them into a
> volume yet.
>
> pipeline is like:
> Get Polydata from vtkContourWidget (or vtkImageTracerWidget) ->
> vtkAppendPolyData -> vtkVoxelContoursToSurfaceFilter
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Create-3-D-surface-from-2-D-contours-of-slices-tp3234422p5088758.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111220/2183bfd2/attachment.htm>


More information about the vtkusers mailing list