[vtkusers] How to get the cg of a surface

An Jiye an_jiye at hotmail.com
Sun Jun 5 03:02:38 EDT 2005

Hi, everyone.

I have used Marching Cubes alogrithm to extract an iso-surface.
It is the surface of some object.
Now I want to get the cg of this surface, how can I?

Or I can calculate the center of gravity myself,
but I need the coordinate of each pixel on the surface to do so.
How to get them?

Any suggestion will be appreciated.
Thank you in advance.

An Jiye

More information about the vtkusers mailing list