[vtkusers] vtkPolyDataNormals()
Sylvain Jaume
jaume at tele.ucl.ac.be
Tue Jul 10 12:40:42 EDT 2001
try SplittingOff ()
On Tue, 10 Jul 2001, Remo Ziegler wrote:
> Hi,
>
> I want to add the normals to vtkPolyData. Therefore I thought it would
> be appropriate to use the vtkPolyDataNormal() class. However when I use
> it like in the way below, the vtkPolyData has way more points in the
> dataset. I do not understand why! Is there another possibility to add
> the normals to a vtkPolyData without changing the rest of the
> vtkPolyData?
>
> thanks a lot for your help!
>
> Greets .... Remo
>
> /***************************************
> vtkPolyDataNormals *normals = vtkPolyDataNormals::New();
> normals->SetInput(polyData);
> normals->ComputeCellNormalsOn();
> normals->Update();
> polyData = normals->GetOutput();
>
> ****************************************/
>
>
> _______________________________________________
> 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