[vtkusers] How to get curvature value for each point

Syn3DDM haythem.jaidi at hotmail.com
Tue Apr 3 09:00:30 EDT 2007


Hi
I know that the vtkCurvatures class computes the curvature of the mesh at
each point, but I don't know how to get the curvature value of a specific
point.
I want to asck you if this code is correct :

 vtkCurvatures *curv = vtkCurvatures::New();
 curv->SetInput(input);
vtkDoubleArray *curvValue = vtkDoubleArray::New();
 curvValue->SetNumberOfComponents(1);
 curvValue->DeepCopy(curv->GetOutput()->GetPointData()->GetScalars());

Is curvValue contains the values of all points curvature ??

Please help me!


    

-- 
View this message in context: http://www.nabble.com/How-to-get-curvature-value-for-each-point-tf3512415.html#a9809715
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list