[vtkusers] 3d shape complexity

Bryn Lloyd lloyd at itis.ethz.ch
Fri Oct 21 01:58:18 EDT 2011


Hi John

 

It would be useful to know how your shape is represented.

Is it a surface? Is it closed?

 

Assuming it is a surface (and orientable / closed):

 

1.       You could maybe use the curvature filter (vtkCurvatures).

 

2.       Also, using vtkMassProperties you can compute mass, volume, area
and a socalled surface index.

According to the docs:

"Compute and return the normalized shape index. This characterizes the
deviation of the shape of an object from a sphere. A sphere's NSI is one.
This number is always >= 1.0."

 

Good luck

Bryn

 

 

 

 

 

 

 

From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of John Smith
Sent: Friday, October 21, 2011 3:17 AM
To: vtk
Subject: [vtkusers] 3d shape complexity

 

 

Dear all,

 

Is there a class/function in VTK to measure 3d shape complexity? Your
feedback and suggestions are really appreciated.

 

Thanks,

 

John

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


More information about the vtkusers mailing list