[vtkusers] vtkMassProperties HELP NEEDED!

Secolas VTK secolasua at gmail.com
Fri Mar 16 12:33:33 EDT 2007


Hello!
 
Anyone knows how can I get the volume of a triangulated data model?
I tried something like this
 
...
vtkMassProperties *mass = vtkMassProperties::New();
mass->SetInput(polyData);
mass->Update();
volumeTot=mass->GetVolume();
...
 
But the value its not correct... Anyone has any ideas?
 
Best Regards
Ricardo Seco
University of Aveiro



More information about the vtkusers mailing list