[vtkusers] Create "cuberille" kind of vtkPolyData from vtkImageData
Bill Lorensen
bill.lorensen at gmail.com
Sun Feb 3 15:35:09 EST 2013
Check out this wiki example:
http://itk.org/Wiki/VTK/Examples/Cxx/Medical/GenerateCubesFromLabels
I believe it does exactly what you want.
Bill
On Sun, Feb 3, 2013 at 3:02 PM, joopeter <joo.peter at gmail.com> wrote:
> I am wondering what is the most straightforward way to create that kind of
> mesh in VTK.
>
> You can check what is it here:
> http://www2.imm.dtu.dk/~janba/gallery/polygonization.html
> <http://vtk.1045678.n5.nabble.com/file/n5718248/cuberille-candypig.png>
>
> Obviously internal faces need to be avoided in the final mesh, that's why
> vtkImageDataGeometryFilter is not OK I guess.
>
> I think the most complex part of this to *correctly set up the mesh
> topology* (which vertexes are connected to which other) and to *correctly
> set up cell ordering*.
>
> I understand that the final mesh is aliased compared to what Marching Cubes
> produces but for me this 'cuberille' behaviour is a must for my project.
>
> Any opinion and pseudocode are welcome!
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Create-cuberille-kind-of-vtkPolyData-from-vtkImageData-tp5718248.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
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list