[vtkusers] normals

Sebastian Hirschberg sebastian.hirschberg at bluewin.ch
Fri Aug 3 17:14:40 EDT 2001


I have had the same problem and it worked in my case. I did it exactly the 
way you have tried, with the exception that I didn't define 
ComputeCellNormalsOn

Sebastian

> 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
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
> subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list