ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkCellIntegrator Class Reference

Calculates length/area/volume of a cell. More...

#include <vtkCellIntegrator.h>

Inheritance diagram for vtkCellIntegrator:
Inheritance graph
[legend]
Collaboration diagram for vtkCellIntegrator:
Collaboration graph
[legend]

List of all members.

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 vtkCellIntegratorSafeDownCast (vtkObject *o)
static double Integrate (vtkDataSet *input, vtkIdType cellId)

Protected Member Functions

 vtkCellIntegrator ()
 ~vtkCellIntegrator ()

Detailed Description

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.


Constructor & Destructor Documentation

vtkCellIntegrator::vtkCellIntegrator ( ) [inline, protected]

Definition at line 45 of file vtkCellIntegrator.h.

vtkCellIntegrator::~vtkCellIntegrator ( ) [inline, protected]

Definition at line 46 of file vtkCellIntegrator.h.


Member Function Documentation

virtual const char* vtkCellIntegrator::GetClassName ( ) [virtual]

Reimplemented from vtkObject.

static int vtkCellIntegrator::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkObject.

virtual int vtkCellIntegrator::IsA ( const char *  type) [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


The documentation for this class was generated from the following file: