[vtkusers] How to Recover vtkPolyData from vtkThreshold
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Jun 17 08:42:59 EDT 2004
John,
I am not sure I understand your pipeline, but since you are using a
vtkDataSetSurfaceFilter, why couldn't you just put the vtkThreshold just
before the vtkDataSetSurfaceFilter ?
HTH
Mathieu
John Platt wrote:
> 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
>
>
> _______________________________________________
> 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