[vtkusers] extracted surface mesh

David Doria daviddoria at gmail.com
Tue Aug 30 09:38:20 EDT 2011


On Tue, Aug 30, 2011 at 9:34 AM, czbebe <oka at bpe.es.osaka-u.ac.jp> wrote:
> Dear David,
>
> Thanks, I know examples.
> These examples seems to need polydata,
> In following example, there is no polydata,
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Modelling/ExtractLargestIsosurface
> How can I assign "input" in decimation example ?
> decimate->SetInputConnection(input->GetProducerPort());
>
> Best regards,
>
> Oka

What do you mean there is no polydata?

confilter->GetOutputPort() is the input to vtkPolyDataMapper, so it
can also be the input to the decimate filter:

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

David



More information about the vtkusers mailing list