[vtkusers] How to Recover vtkPolyData from vtkThreshold

John Platt jcplatt at lineone.net
Thu Jun 17 07:16:03 EDT 2004


Hi Shyam,

Thanks for your suggestion. The polydata has already been through
vtkDataSetSurfaceFilter, and since speed is an issue, I wanted to avoid
doubling up. I have opted for a new filter vtkThresholdPolyData instead.

Thanks again for your interest.

John.

-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of R K Shyam Prakash
Sent: 17 June 2004 10:11
To: 'John Platt'; vtkusers at vtk.org
Subject: RE: [vtkusers] How to Recover vtkPolyData from vtkThreshold

John,

> >>I would like to render selective cells from vtkPolyData. I tried
>>  vtkPolyData > vtkThreshold > vtkPolyDataMapper
> >>but this does not compile because the output of vtkThreshold is of
> > type vtkUnstructuredGrid.
> >>Is there anyway of recovering the output of vtkThreshold as
> > vtkPolyData or an alternative filter?

Use the following pipe line.
vtkPolyData > vtkThreahold > vtkGeometryFilter > vtkPolyDataMapper

--Shyam

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list