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

Integrates lines, surfaces and volume. More...

#include <vtkGridConnectivity.h>

Inherits vtkMultiBlockDataSetAlgorithm.

Collaboration diagram for vtkGridConnectivity:
Collaboration graph
[legend]

Public Types

typedef vtkMultiBlockDataSetAlgorithm Superclass
 

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 vtkExecutive * CreateDefaultExecutive ()
 
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

vtkMultiProcessController * Controller
 
vtkGridConnectivityFaceHash * FaceHash
 
vtkEquivalenceSetEquivalenceSet
 
vtkDoubleArray * FragmentVolumes
 
std::vector< vtkSmartPointer< vtkDoubleArray > > CellAttributesIntegration
 
std::vector< vtkSmartPointer< vtkDoubleArray > > PointAttributesIntegration
 
vtkPoints * CellPoints
 
vtkIdList * CellPointIds
 
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 48 of file vtkGridConnectivity.h.

Member Typedef Documentation

§ Superclass

typedef vtkMultiBlockDataSetAlgorithm vtkGridConnectivity::Superclass

Definition at line 51 of file vtkGridConnectivity.h.

Constructor & Destructor Documentation

§ vtkGridConnectivity()

vtkGridConnectivity::vtkGridConnectivity ( )
protected

§ ~vtkGridConnectivity()

vtkGridConnectivity::~vtkGridConnectivity ( )
protected

Member Function Documentation

§ GetClassName()

virtual const char* vtkGridConnectivity::GetClassName ( )
virtual

§ IsTypeOf()

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

§ IsA()

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

§ SafeDownCast()

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

§ PrintSelf()

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

§ New()

static vtkGridConnectivity* vtkGridConnectivity::New ( )
static

§ IntegrateCellVolume()

void vtkGridConnectivity::IntegrateCellVolume ( vtkCell *  cell,
int  fragmentId,
vtkUnstructuredGrid *  input,
vtkIdType  cellIndex 
)

§ RequestData()

virtual int vtkGridConnectivity::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

§ GenerateOutput()

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

§ CreateDefaultExecutive()

virtual vtkExecutive* vtkGridConnectivity::CreateDefaultExecutive ( )
protectedvirtual

§ FillInputPortInformation()

virtual int vtkGridConnectivity::FillInputPortInformation ( int  ,
vtkInformation *   
)
protectedvirtual

§ CheckInput()

int vtkGridConnectivity::CheckInput ( vtkUnstructuredGrid *  grid)
protected

§ InitializeFaceHash()

void vtkGridConnectivity::InitializeFaceHash ( vtkUnstructuredGrid **  inputs,
int  numberOfInputs 
)
protected

§ InitializeIntegrationArrays()

void vtkGridConnectivity::InitializeIntegrationArrays ( vtkUnstructuredGrid **  inputs,
int  numberOfInputs 
)
protected

§ IntegrateTetrahedron()

double vtkGridConnectivity::IntegrateTetrahedron ( vtkCell *  tetra,
vtkUnstructuredGrid *  input,
int  fragmentId 
)
protected

§ IntegrateHex()

double vtkGridConnectivity::IntegrateHex ( vtkCell *  hex,
vtkUnstructuredGrid *  input,
int  fragmentId 
)
protected

§ IntegrateVoxel()

double vtkGridConnectivity::IntegrateVoxel ( vtkCell *  voxel,
vtkUnstructuredGrid *  input,
int  fragmentId 
)
protected

§ IntegrateGeneral3DCell()

double vtkGridConnectivity::IntegrateGeneral3DCell ( vtkCell *  cell,
vtkUnstructuredGrid *  input,
int  fragmentId 
)
protected

§ ComputeTetrahedronVolume()

double vtkGridConnectivity::ComputeTetrahedronVolume ( double *  pts0,
double *  pts1,
double *  pts2,
double *  pts3 
)
protected

§ ComputePointIntegration()

void vtkGridConnectivity::ComputePointIntegration ( vtkUnstructuredGrid *  input,
vtkIdType  pt0Id,
vtkIdType  pt1Id,
vtkIdType  pt2Id,
vtkIdType  pt3Id,
double  volume,
int  fragmentId 
)
protected

§ ResolveIntegrationArrays()

void vtkGridConnectivity::ResolveIntegrationArrays ( )
protected

§ ResolveFaceFragmentIds()

void vtkGridConnectivity::ResolveFaceFragmentIds ( )
protected

§ ResolveEquivalentFragments()

void vtkGridConnectivity::ResolveEquivalentFragments ( )
protected

§ ResolveProcessesFaces()

void vtkGridConnectivity::ResolveProcessesFaces ( )
protected

§ CollectFacesAndArraysToRootProcess()

void vtkGridConnectivity::CollectFacesAndArraysToRootProcess ( int *  fragmentIdMap,
int *  fragmentNumFaces 
)
protected

Member Data Documentation

§ Controller

vtkMultiProcessController* vtkGridConnectivity::Controller
protected

Definition at line 63 of file vtkGridConnectivity.h.

§ FaceHash

vtkGridConnectivityFaceHash* vtkGridConnectivity::FaceHash
protected

Definition at line 84 of file vtkGridConnectivity.h.

§ EquivalenceSet

vtkEquivalenceSet* vtkGridConnectivity::EquivalenceSet
protected

Definition at line 88 of file vtkGridConnectivity.h.

§ FragmentVolumes

vtkDoubleArray* vtkGridConnectivity::FragmentVolumes
protected

Definition at line 89 of file vtkGridConnectivity.h.

§ CellAttributesIntegration

std::vector<vtkSmartPointer<vtkDoubleArray> > vtkGridConnectivity::CellAttributesIntegration
protected

Definition at line 91 of file vtkGridConnectivity.h.

§ PointAttributesIntegration

std::vector<vtkSmartPointer<vtkDoubleArray> > vtkGridConnectivity::PointAttributesIntegration
protected

Definition at line 92 of file vtkGridConnectivity.h.

§ CellPoints

vtkPoints* vtkGridConnectivity::CellPoints
protected

Definition at line 95 of file vtkGridConnectivity.h.

§ CellPointIds

vtkIdList* vtkGridConnectivity::CellPointIds
protected

Definition at line 96 of file vtkGridConnectivity.h.

§ ProcessId

short vtkGridConnectivity::ProcessId
protected

Definition at line 108 of file vtkGridConnectivity.h.

§ GlobalPointIdType

int vtkGridConnectivity::GlobalPointIdType
protected

Definition at line 109 of file vtkGridConnectivity.h.


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