ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGridConnectivity Class Reference

Integrates lines, surfaces and volume. More...

#include <vtkGridConnectivity.h>

Inheritance diagram for vtkGridConnectivity:
Inheritance graph
[legend]
Collaboration diagram for vtkGridConnectivity:
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)
void IntegrateCellVolume (vtkCell *cell, int fragmentId, vtkUnstructuredGrid *input, vtkIdType cellIndex)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkGridConnectivitySafeDownCast (vtkObject *o)
static vtkGridConnectivityNew ()

Protected Member Functions

 vtkGridConnectivity ()
 ~vtkGridConnectivity ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void GenerateOutput (vtkPolyData *output, vtkUnstructuredGrid *inputs[])
virtual vtkExecutiveCreateDefaultExecutive ()
virtual int FillInputPortInformation (int, vtkInformation *)
int CheckInput (vtkUnstructuredGrid *grid)
void InitializeFaceHash (vtkUnstructuredGrid **inputs, int numberOfInputs)
void InitializeIntegrationArrays (vtkUnstructuredGrid **inputs, int numberOfInputs)
double IntegrateTetrahedron (vtkCell *tetra, vtkUnstructuredGrid *input, int fragmentId)
double IntegrateHex (vtkCell *hex, vtkUnstructuredGrid *input, int fragmentId)
double IntegrateVoxel (vtkCell *voxel, vtkUnstructuredGrid *input, int fragmentId)
double IntegrateGeneral3DCell (vtkCell *cell, vtkUnstructuredGrid *input, int fragmentId)
double ComputeTetrahedronVolume (double *pts0, double *pts1, double *pts2, double *pts3)
void ComputePointIntegration (vtkUnstructuredGrid *input, vtkIdType pt0Id, vtkIdType pt1Id, vtkIdType pt2Id, vtkIdType pt3Id, double volume, int fragmentId)
void ResolveIntegrationArrays ()
void ResolveFaceFragmentIds ()
void ResolveEquivalentFragments ()
void ResolveProcessesFaces ()
void CollectFacesAndArraysToRootProcess (int *fragmentIdMap, int *fragmentNumFaces)

Protected Attributes

vtkMultiProcessControllerController
vtkGridConnectivityFaceHash * FaceHash
vtkEquivalenceSetEquivalenceSet
vtkDoubleArrayFragmentVolumes
std::vector< vtkSmartPointer
< vtkDoubleArray > > 
CellAttributesIntegration
std::vector< vtkSmartPointer
< vtkDoubleArray > > 
PointAttributesIntegration
vtkPointsCellPoints
vtkIdListCellPointIds
short ProcessId
int GlobalPointIdType

Detailed Description

Integrates lines, surfaces and volume.

Integrates all point and cell data attributes while computing length, area or volume. Works for 1D, 2D or 3D. Only one dimensionality at a time. For volume, this filter ignores all but 3D cells. It will not compute the volume contained in a closed surface. The output of this filter is a single point and vertex. The attributes for this point and cell will contain the integration results for the corresponding input attributes.

Definition at line 46 of file vtkGridConnectivity.h.


Constructor & Destructor Documentation

vtkGridConnectivity::vtkGridConnectivity ( ) [protected]
vtkGridConnectivity::~vtkGridConnectivity ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkGridConnectivity::IsA ( const char *  type) [virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static vtkGridConnectivity* vtkGridConnectivity::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkGridConnectivity::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static vtkGridConnectivity* vtkGridConnectivity::New ( ) [static]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkGridConnectivity::IntegrateCellVolume ( vtkCell cell,
int  fragmentId,
vtkUnstructuredGrid input,
vtkIdType  cellIndex 
)
virtual int vtkGridConnectivity::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

void vtkGridConnectivity::GenerateOutput ( vtkPolyData output,
vtkUnstructuredGrid inputs[] 
) [protected]
virtual vtkExecutive* vtkGridConnectivity::CreateDefaultExecutive ( ) [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

virtual int vtkGridConnectivity::FillInputPortInformation ( int  ,
vtkInformation  
) [protected, virtual]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

int vtkGridConnectivity::CheckInput ( vtkUnstructuredGrid grid) [protected]
void vtkGridConnectivity::InitializeFaceHash ( vtkUnstructuredGrid **  inputs,
int  numberOfInputs 
) [protected]
void vtkGridConnectivity::InitializeIntegrationArrays ( vtkUnstructuredGrid **  inputs,
int  numberOfInputs 
) [protected]
double vtkGridConnectivity::IntegrateTetrahedron ( vtkCell tetra,
vtkUnstructuredGrid input,
int  fragmentId 
) [protected]
double vtkGridConnectivity::IntegrateHex ( vtkCell hex,
vtkUnstructuredGrid input,
int  fragmentId 
) [protected]
double vtkGridConnectivity::IntegrateVoxel ( vtkCell voxel,
vtkUnstructuredGrid input,
int  fragmentId 
) [protected]
double vtkGridConnectivity::IntegrateGeneral3DCell ( vtkCell cell,
vtkUnstructuredGrid input,
int  fragmentId 
) [protected]
double vtkGridConnectivity::ComputeTetrahedronVolume ( double pts0,
double pts1,
double pts2,
double pts3 
) [protected]
void vtkGridConnectivity::ComputePointIntegration ( vtkUnstructuredGrid input,
vtkIdType  pt0Id,
vtkIdType  pt1Id,
vtkIdType  pt2Id,
vtkIdType  pt3Id,
double  volume,
int  fragmentId 
) [protected]
void vtkGridConnectivity::ResolveIntegrationArrays ( ) [protected]
void vtkGridConnectivity::ResolveFaceFragmentIds ( ) [protected]
void vtkGridConnectivity::ResolveEquivalentFragments ( ) [protected]
void vtkGridConnectivity::ResolveProcessesFaces ( ) [protected]
void vtkGridConnectivity::CollectFacesAndArraysToRootProcess ( int fragmentIdMap,
int fragmentNumFaces 
) [protected]

Member Data Documentation

Definition at line 64 of file vtkGridConnectivity.h.

vtkGridConnectivityFaceHash* vtkGridConnectivity::FaceHash [protected]

Definition at line 86 of file vtkGridConnectivity.h.

Definition at line 93 of file vtkGridConnectivity.h.

Definition at line 94 of file vtkGridConnectivity.h.

Definition at line 96 of file vtkGridConnectivity.h.

Definition at line 97 of file vtkGridConnectivity.h.

Definition at line 100 of file vtkGridConnectivity.h.

Definition at line 101 of file vtkGridConnectivity.h.

short vtkGridConnectivity::ProcessId [protected]

Definition at line 119 of file vtkGridConnectivity.h.

Definition at line 120 of file vtkGridConnectivity.h.


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