|
ParaView
|
Calculates length/area/volume of a cell. More...
#include <vtkCellIntegrator.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkCellIntegrator * | SafeDownCast (vtkObject *o) |
| static double | Integrate (vtkDataSet *input, vtkIdType cellId) |
Protected Member Functions | |
| vtkCellIntegrator () | |
| ~vtkCellIntegrator () | |
Calculates length/area/volume of a cell.
vtkCellIntegrator is a helper class that calculates the length/area/volume of a 1D/2D/3D cell. The calculation is exact for lines, polylines, triangles, triangle strips, pixels, voxels, convex polygons, quads and tetrahedra. All other 3D cells are triangulated during volume calculation. In such cases, the result may not be exact.
Definition at line 33 of file vtkCellIntegrator.h.
| vtkCellIntegrator::vtkCellIntegrator | ( | ) | [inline, protected] |
Definition at line 45 of file vtkCellIntegrator.h.
| vtkCellIntegrator::~vtkCellIntegrator | ( | ) | [inline, protected] |
Definition at line 46 of file vtkCellIntegrator.h.
| virtual const char* vtkCellIntegrator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static vtkCellIntegrator* vtkCellIntegrator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| void vtkCellIntegrator::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkObject.
| static double vtkCellIntegrator::Integrate | ( | vtkDataSet * | input, |
| vtkIdType | cellId | ||
| ) | [static] |
Returns length/area/volume of a 1D/2D/3D cell given by cell id. If the length/area/volume cannot be calculated (because of unsupposed cell type), 0 is returned
1.7.5.1