ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkCellIntegrator Class Reference

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 vtkCellIntegratorSafeDownCast (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 ()
 

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 35 of file vtkCellIntegrator.h.

Member Typedef Documentation

§ Superclass

typedef vtkObject vtkCellIntegrator::Superclass

Definition at line 38 of file vtkCellIntegrator.h.

Constructor & Destructor Documentation

§ vtkCellIntegrator()

vtkCellIntegrator::vtkCellIntegrator ( )
inlineprotected

Definition at line 49 of file vtkCellIntegrator.h.

§ ~vtkCellIntegrator()

vtkCellIntegrator::~vtkCellIntegrator ( )
inlineprotected

Definition at line 50 of file vtkCellIntegrator.h.

Member Function Documentation

§ GetClassName()

virtual const char* vtkCellIntegrator::GetClassName ( )
virtual

§ IsTypeOf()

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

§ IsA()

virtual int vtkCellIntegrator::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkCellIntegrator* vtkCellIntegrator::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkCellIntegrator::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ Integrate()

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: