ParaView
|
Calculates length/area/volume of a cell. More...
#include <vtkCellIntegrator.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
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) |
Returns length/area/volume of a 1D/2D/3D cell given by cell id. More... | |
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 35 of file vtkCellIntegrator.h.
typedef vtkObject vtkCellIntegrator::Superclass |
Definition at line 38 of file vtkCellIntegrator.h.
|
inlineprotected |
Definition at line 49 of file vtkCellIntegrator.h.
|
inlineprotected |
Definition at line 50 of file vtkCellIntegrator.h.
|
virtual |
|
static |
|
virtual |
|
static |
void vtkCellIntegrator::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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