[vtkusers] normals
Remo Ziegler
ziegler at merl.com
Thu Aug 2 16:59:31 EDT 2001
Hi,
how can I be sure, that all normals are calculated the right way if
I have vtkPolyData. I tried to do something, but some normals are not
correct. How can I improve this? Here the code I used:
vtkPolyDataNormals *normals = vtkPolyDataNormals::New();
normals->SetInput(polyData);
normals->ComputeCellNormalsOn();
normals->SplittingOff();
normals->ConsistencyOn();
normals->Update();
polyData = normals->GetOutput();
maybe somebody has a good idea?
Have a nice day!
Greets .... Remo
More information about the vtkusers
mailing list