[vtkusers] Calculating an obvious point's normal
tony hakki
tony2007vtk at yahoo.com
Sun Jan 7 09:13:34 EST 2007
Dear vtk users;
I have a surface coordinate (like P(x,y,z)) of a 3D object. I would like to calculate just this point's normal. By means of the following code I think I get all point's normals? Then how can I get the P(x,y,z) 's normal? I mean that ,I just want to get point's normal which is specified by me. best regards
vtkPolyDataNormals *dataset = vtkPolyDataNormals::New();
dataset->SetInput(reader1->GetOutput());
dataset->SetFeatureAngle(60.0);
dataset->FlipNormalsOff();
dataset->Update();
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070107/52583234/attachment.htm>
More information about the vtkusers
mailing list