vtkMassProperties Class Reference
#include <vtkMassProperties.h>
Inheritance diagram for vtkMassProperties:
[legend]Collaboration diagram for vtkMassProperties:
[legend]List of all members.
Detailed Description
estimate volume, area, shape index of triangle mesh
vtkMassProperties estimates the volume, the surface area, and the normalized shape index of a triangle mesh. 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.).
- Warning:
- Currently only triangles are processed. Use vtkTriangleFilter to convert any strips or polygons to triangles.
- See also:
- vtkTriangleFilter
- Events:
- vtkCommand::StartEvent vtkCommand::EndEvent
- Tests:
- vtkMassProperties (Tests)
Definition at line 48 of file vtkMassProperties.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkMassProperties::vtkMassProperties |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Constructs with initial values of zero.
Reimplemented from vtkObject. |
virtual const char* vtkMassProperties::GetClassName |
( |
|
) |
[virtual] |
|
int vtkMassProperties::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProcessObject. |
virtual int vtkMassProperties::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProcessObject. |
void vtkMassProperties::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkProcessObject. |
double vtkMassProperties::GetVolume |
( |
|
) |
[inline] |
|
double vtkMassProperties::GetVolumeX |
( |
|
) |
[inline] |
|
|
Compute and return the volume projected on to each axis aligned plane.
Definition at line 63 of file vtkMassProperties.h. |
double vtkMassProperties::GetVolumeY |
( |
|
) |
[inline] |
|
|
Compute and return the volume projected on to each axis aligned plane.
Definition at line 64 of file vtkMassProperties.h. |
double vtkMassProperties::GetVolumeZ |
( |
|
) |
[inline] |
|
|
Compute and return the volume projected on to each axis aligned plane.
Definition at line 65 of file vtkMassProperties.h. |
double vtkMassProperties::GetKx |
( |
|
) |
[inline] |
|
|
Compute and return the weighting factors for the maximum unit normal component (MUNC).
Definition at line 71 of file vtkMassProperties.h. |
double vtkMassProperties::GetKy |
( |
|
) |
[inline] |
|
|
Compute and return the weighting factors for the maximum unit normal component (MUNC).
Definition at line 72 of file vtkMassProperties.h. |
double vtkMassProperties::GetKz |
( |
|
) |
[inline] |
|
|
Compute and return the weighting factors for the maximum unit normal component (MUNC).
Definition at line 73 of file vtkMassProperties.h. |
double vtkMassProperties::GetSurfaceArea |
( |
|
) |
[inline] |
|
double vtkMassProperties::GetNormalizedShapeIndex |
( |
|
) |
[inline] |
|
|
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.
Definition at line 83 of file vtkMassProperties.h. |
void vtkMassProperties::Update |
( |
|
) |
|
|
void vtkMassProperties::SetInput |
( |
vtkPolyData * |
input |
) |
|
|
void vtkMassProperties::Execute |
( |
|
) |
[protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: