[vtkusers] question on vtkPolydataNormals
David E DeMarle
dave.demarle at kitware.com
Thu Sep 17 17:40:51 EDT 2009
vtkDataSet::GetPoint(i) returns the corrdinates of the i'th point. That
normal at that point is the i'th entry in the normals attribute array.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
On Thu, Sep 17, 2009 at 5:25 PM, <niccolo.camarlinghi at pi.infn.it> wrote:
>
> Dear all,
>
> I'm a not a good vtk user so please forgive me if i'm asking a stupid
> question.
> I'm trying to use the normals computed by vtkPolydataNormals.
>
> My aim is to obtain a correspondence between the coordinates of a point
> and its normal , i.e. point x,y,z normal nx,ny,nz and so on..
> I was able to access to all the normals using
> GetPointData()->GetNormals() but i cannot figure out how to access to
> the corresponding point coordinates.
>
> Best Regards
>
> Niccolo' Camarlinghi
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090917/1c5855c6/attachment.htm>
More information about the vtkusers
mailing list