[vtkusers] Solid Voxelization with VTK
Berti Krüger
berti_krueger at hotmail.com
Mon Oct 1 21:49:02 EDT 2018
Hi David,
thanks again.
I am sorry, i don't want to get on your nerves. I know that all of you have a lot of work to do yourselves and i am thankful for every effort everybody takes on this mailing list in helping others and especially for your support in my problem.
You are right in that since vtk is an open source project everybody can look at the code if the documentation alone is not clear enough to them.
But as a vtk beginner, what i found out though is, that the amount of comments in the vtk filter classes vary a lot. While some classes are self explanatory, greatly commented and have some example code in the github repository others can require more research.
Then some of the classes are self-contained where reading the source code of the class alone is enough, others depend on a lot of other vtk classes and you have to read through nearly all of them or at least the corresponding class documentation to get to know what is going on which can take a long time.
So your explanation that it computes an unsigned distance to the actual polygon is completely to the point and is all what i wanted to know and saved me a lot of time.
Cheers,
Berti
________________________________
Von: David Gobbi <david.gobbi at gmail.com>
Gesendet: Dienstag, 2. Oktober 2018 00:58
An: Berti Krüger
Cc: VTK Users
Betreff: Re: [vtkusers] Solid Voxelization with VTK
On Mon, Oct 1, 2018 at 5:15 PM Berti Krüger <berti_krueger at hotmail.com<mailto:berti_krueger at hotmail.com>> wrote:
I already stumbled upon the vtkImplicitModeller, but to be honest, from the class documentation alone i didn't completely "get" what it is really doing, e.g. what is the "output" of it.
The full c++ source code is right there. Just sayin'.
Does it compute a distance field where the cell values of the grid contain the distances from the cell to the isosurface?
It computes unsigned distance. No, it doesn't compute distance from an isosurface: it computes the distance to the actual polygon, which is a vectorized (not yet rasterized) object. All that remains to be done is binarization via thresholding.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181002/037033e7/attachment.html>
More information about the vtkusers
mailing list