[vtkusers] clipping polydata using a binary image/scalars

Marcel Weiss mweiss at cbs.mpg.de
Mon Jan 5 12:46:49 EST 2009


Hi vtkusers,

I´m looking for a possibility to cut/clip vtkPolyData (streamline) using a 3D (binary) image (any vtkImage type). 

vtkClipPolyData seems to be what I´m looking for. (vtkClipDataSet seem to use only image in- and output, but no poly data)

the class reference mentiones a way to use "the input scalar data" and a scalar threshold value for clipping. 

does this refer to the scalar values (point/cell scalars) of the vtkPolyData input? 

or is it possible to use a vtkStructuredGrid (or any image type) as additional input in the same space to clip the poly data? 

thanks a lot
Marcel



More information about the vtkusers mailing list