[vtkusers] vtkPolyDataNormals- access normal

kývýlcým helhel kvlcm_helhel at yahoo.com
Tue Mar 4 12:32:59 EST 2008


   Hey, 

Once i have this vtkPolyData structure and use the vtkPolyDataNormals  
filter to compute the normals as follow: 

    vtkPolyDataNormals *MeshNormals = vtkPolyDataNormals::New(); 
    MeshNormals->SetComputePointNormals(1); 
    MeshNormals->SetInput(vtkMesh); 
    vtkPolyData * vtkMeshNormals = MeshNormals->GetOutput(); 

I would like to know how to have acces to the normal vector values  
themselves (X,Y,Z) and the index? 
Thanks for you help. 
Kiv 
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080304/0e93d2e2/attachment.htm>


More information about the vtkusers mailing list