<br>
Hi Vladimir,<br><br>since I guess that this is essentially the same problem Achim Poll required a solution for a day before, I'll give you the same answer:<br>
<br>
With high probability, this answer is still valid:<br>
<a href="http://public.kitware.com/pipermail/vtkusers/2002-April/060535.html" target="_blank" class="a-external">http://public.kitware.com/pipermail/vtkusers/2002-April/060535.html</a><br>
<br>
I use vtkPolyDataToImageStencil for myself with good results to
"voxelize" polydata meshes. Even more decent results could be obtained
by using an external library, like object voxelization by filterung for
example( <a href="http://www.viskom.oeaw.ac.at/~milos/" target="_blank" class="a-external">http://www.viskom.oeaw.ac.at/~milos/</a> ), with the only drawback
that you need to convert your data by yourself into the appropiate
formats.<br>
<br><br>
Regards<br>
Hendrik<br><br>-------------------------------------------------------------------<br>Brilliance is typically the act of an individual, but incredible<br>stupidity can usually be traced to an organization. - Jon Bentley<br><br>Hendrik Belitz, Computer Scientist<br>email: hbelitz@computer.org or hbelitz@ieee.org<br><br><br><br>Vladimir Lazunin <lazunin.v.aa@m.titech.ac.jp> hat am 24. August 2007 um 08:20 geschrieben:<br><br><blockquote type="cite" style="margin-left: 0px; padding-left: 10px; color:#666666; border-left: solid 1px #666666;">
Is there a way to fill a closed surface with voxels, thus converting it <br>into a volume?<br>Or, alternatively, is there a simple way to determine whether a point <br>(x, y, z) lies inside or outside of a<br>surface? Is so, I could manually construct a volume easily, by setting <br>0-s for outer and 1-s for inner points.<br>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" class="a-external">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" class="a-external">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>