Documentation for vtkMassProperties

vtkMassProperties - estimate volume, area, shape index of triangle mesh

Super Class: vtkProcessObject

Description:

vtkMassProperties estimates the volume, the surface area, and the normalized shape index of a model. The algorithm implemented here is based on the discrete form of the divergence theorem. The general assumption here is that the model is of closed surface. For more details see the following reference (Alyassin A.M. et al, "Evaluation of new algorithms for the interactive measurement of surface area and volume", Med Phys 21(6) 1994.). NOTE: currently only triangles are processed. Use vtkTriangleFilter to convert any strips or polygons to triangles.

 

Methods:

void vtkMassProperties ()
void vtkMassProperties ()
const char *GetClassName ()
static vtkMassProperties *New ()
void PrintSelf (unknown & ,vtkIndent )
double GetVolume ()
double GetVolumeX ()
double GetVolumeY ()
double GetVolumeZ ()
double GetKx ()
double GetKy ()
double GetKz ()
double GetSurfaceArea ()
double GetNormalizedShapeIndex ()
void Execute ()
void Update ()
void SetInput (vtkPolyData *)
vtkPolyData *GetInput ()

 

Detailed Method Descriptions:

Constructs with initial 0 values.

void vtkMassProperties ()

Compute and return the volume projected on to each axis aligned plane.

double GetVolume ()
double GetVolumeX ()
double GetVolumeY ()

Compute and return the weighting factors for the maximum unit normal component (MUNC).

double GetVolumeZ ()
double GetKx ()
double GetKy ()

Compute and return the area.

double GetKz ()

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.

double GetSurfaceArea ()