[vtkusers] vtkPolyData as source of vtkProbeFilter does not work

Boettcher, Dr. Peter Boettcher at kleintierklinik.uni-leipzig.de
Sat Sep 12 13:48:56 EDT 2009


Thank you both!
 
The reason why I would like to probe a polysurface with an imagedata is becauseI would like to compute the distance between two polysurfaces along a given vector. vtkElevationFilter of both surfaces along this vector will color the surfaces with their height along this vector. Probing each surfaces with an imagedata along the vector results in a regular data set of my irregular polysurface along with the height values from the elevation filter. Now, after collapsing both image data along the vector I would have two grids in which the ith point corresponds to the ith point in the other grid. Substracting both scalar values (the height values) at the ith point should give the distance of both surfaces along the vector at that specific location. Or am I wrong?
 
In the mean time I found a similar approach in the vtk wiki pages (http://www.vtk.org/Wiki/Demystifying_the_vtkProbeFilter). Collpasing is done before probing. A detail which should allow probing a (flat) polysurface with a (flat) imagedata (= grid)
 
Thank you very much!!!
 
Peter.
 
 
 
------------------------------------
Peter Böttcher, Dr med vet, DipECVS
European Veterinary Specialist in Surgery
Fachtierarzt für Kleintierchirurgie
Klinik für Kleintiere 
Universität Leipzig 
An den Tierkliniken 23 
D-04103 Leipzig (Germany)
Tel: +49-341-9738700 
Fax: +49-341-9738799
email: boettcher at kleintierklinik.uni-leipzig.de


________________________________

Von: Bill Lorensen [mailto:bill.lorensen at gmail.com]
Gesendet: Sa 12.09.2009 18:50
An: John Biddiscombe
Cc: Boettcher, Dr. Peter; vtkusers at vtk.org
Betreff: Re: [vtkusers] vtkPolyData as source of vtkProbeFilter does not work



Peter,

You can probe a volume with polydata, but you cannot probe a polydata
with a volume as John pointed out.

Peter, you have the source and input reversed. For instance if you
wanted a curvilinear reformatting of a volume, you could create a
ruled surface and probe the volume.
In this 1998 talk:
http://marchingcubes.org/images/4/49/SciToolsLorensen1998.pdf on page
70, I probed a ct volume with a sphere.

But maybe that is not what you want.



More information about the vtkusers mailing list