[vtkusers] Create "cuberille" kind of vtkPolyData from vtkImageData

Bill Lorensen bill.lorensen at gmail.com
Mon Feb 4 10:08:49 EST 2013


Why not use the polyvox code? If you need to connect it to vtk, you
could write a filter to go from their format to vtk.

On Mon, Feb 4, 2013 at 7:55 AM, joopeter <joo.peter at gmail.com> wrote:
> Bill, the example does exactly what I need, thank you again.
>
> Also I debugged the code behind vtkGeometryFilter and I now how it works.
> (line 790, case VTK_VOXEL)
>
> Also i tried the example to load 512^3 ushort volume and it consumed too
> much memory (~900mb) and it crashed telling that further memory allocation
> is not possible.
>
> A sphere at resolution of 512^3 needs around 6*512*512=1.572.864
> quadrilateral so I think better algorithms exists out there.
>
> Bill, do you think that this can be done in VTK without writing a new filter
> for it?
>
> If so I have to write my own VTK filter based on the aboves and these:
> http://www.volumesoffun.com/polyvox/documentation/0.2.1/api/class_poly_vox_1_1_cubic_surface_extractor.html
> http://www.insight-journal.org/browse/publication/740
>
>
>
>
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Create-cuberille-kind-of-vtkPolyData-from-vtkImageData-tp5718248p5718261.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