Hi Charles,<br /><br />
you may have forgotten to call Update on the FillHolesFilter. This is part of a common pipeline for filling holes:
<pre><span style=' color: Green;'>//...</span>
vtkSmartPointer<vtkFillHolesFilter> fillHolesFilter =
vtkSmartPointer<vtkFillHolesFilter>::New();
<span style=' color: Blue;'>#if</span> VTK_MAJOR_VERSION <= <span style=' color: Maroon;'>5</span>
fillHolesFilter->SetInputConnection(input->GetProducerPort());
<span style=' color: Blue;'>#else</span>
fillHolesFilter->SetInputData(input);
<span style=' color: Blue;'>#endif</span>
fillHolesFilter->Update();
vtkSmartPointer<vtkPolyDataMapper> filledMapper =
vtkSmartPointer<vtkPolyDataMapper>::New();
filledMapper->SetInputConnection(fillHolesFilter->GetOutputPort());
vtkSmartPointer<vtkActor> filledActor =
vtkSmartPointer<vtkActor>::New();
filledActor->SetMapper(filledMapper);
<span style=' color: Green;'>//...</span>
</pre>
<br />
You also might want to have a look at a full example:<br />
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/FillHoles" target="_top" rel="nofollow" link="external">Wiki/VTK/Examples/Cxx/Meshes/FillHoles</a><br /><br />
best regards<br />
Jochen
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/The-vtkFillHolesFilter-doen-t-work-tp5714226p5714228.html">Re: The vtkFillHolesFilter doen't work.</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>