[vtkusers] extracted surface mesh

David Doria daviddoria at gmail.com
Tue Aug 30 10:10:43 EDT 2011


On Tue, Aug 30, 2011 at 10:03 AM, czbebe <oka at bpe.es.osaka-u.ac.jp> wrote:
> Dear David,
>
> confilter causes an error.
> : error: 'class vtkPolyDataCon
> nectivityFilter' has no member named 'GetProducerPort'
>
> Basic question is mesh can be constructed from polydata ?
> My intension is to make a reduced number of mesh for the extracted
> surface.
>
> Best regards,
>
> Oka

Note that it should be GetOutputPort:

decimate->SetInputConnection(confilter->GetOutputPort());

GetProducerPort() is only if you have an object (vtkPolyData) and want
to pass it to the input of another filter. GetOutputPort() is if you
want to pass the output of a filter (vtkPolyDataConnectivityFilter) to
the input of another filter.

David



More information about the vtkusers mailing list