Is there any reason points would be added in the following code?<br> cout << "Points before filter: " << polydata->GetNumberOfPoints() << endl;<br> vtkSmartPointer<vtkPolyDataNormals> normalGenerator = vtkSmartPointer<vtkPolyDataNormals>::New();<br>
normalGenerator->SetInput(polydata);<br> normalGenerator->SetComputePointNormals(1);<br> normalGenerator->SetComputeCellNormals(0);<br> normalGenerator->Update();<br> polydata = normalGenerator->GetOutput();<br>
cout << "Points after filter: " << polydata->GetNumberOfPoints() << endl;<br><br>The output is:<br>Points before filter: 502<br>Points after filter: 872<br><br>Thanks,<br><br>David<br>