[vtkusers] curvature

<bourouis.sami@voila.fr bourouis.sami at voila.fr
Thu Jun 17 14:47:15 EDT 2004


 I have an polydata surface 
 How can I compute the curvature for each point (triangle vertex) from
 the polydata ?
 Curvature means min and max curvature and /or gaussian curvature.
 
 the problem is:
 I started by using this,
 this is a pseudo code :
vtkCleanPolyData *cleaner=vtkCleanPolyData::New();
vtkCurvatures *curve1=vtkCurvatures::New();
     curve1->SetInput(cleaner->GetOutput());
     curve1->SetCurvatureTypeToGaussian();
vtkCurvatures *curve2=vtkCurvatures::New();
     curve2->SetInput(cleaner->GetOutput());
     curve2->SetCurvatureTypeToMean();


How can I save each point in the polydata and its values of curvatures ( curve1 and curve2 ) in any file ( eg. *.txt)



Thanks,





> I have an polydata surface 
> How can I compute the curvature for each point (triangle vertex) from
> the polydata ?
> Curvature means min and max curvature and /or gaussian curvature.
> 
> the problem is:
> I started by using this,
> this is a pseudo code :
vtkCleanPolyData *cleaner=vtkCleanPolyData::New();
vtkCurvatures *curve1=vtkCurvatures::New();
>     curve1->SetInput(cleaner->GetOutput());
>     curve1->SetCurvatureTypeToGaussian();
vtkCurvatures *curve2=vtkCurvatures::New();
>     curve2->SetInput(cleaner->GetOutput());
>     curve2->SetCurvatureTypeToMean();


How can I save each point in the polydata and its values of curvatures ( curve1 and curve2 ) in any file ( eg. *.txt)



Thanks,
> 

> ------------------------------------------
> 
> Faites un voeu et puis Voila ! www.voila.fr 
> 
> 
------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040617/29f0019b/attachment.htm>


More information about the vtkusers mailing list