[vtkusers] Question about vtkPolyDataNormals

David Doria daviddoria at gmail.com
Sat Mar 10 10:14:37 EST 2012


On Sat, Mar 10, 2012 at 7:30 AM, Darshan Pai <darshanpai at gmail.com> wrote:
> What is the best method to retrieve the normals at each point from
> vtkPolyDataNormals.
> I was using GetComponent() , but vtk5.9 complains that the method is
> deprecated.
>
> Regards
> Darshan

Don't you just get the output of the filter and then retrieve the
normals as usual?

vtkDataArray* normalsGeneric =
polydataNormalsFilter->GetOutput()->GetPointData()->GetNormals();

David



More information about the vtkusers mailing list