Loading...
Searching...
No Matches
Patch Struct Reference

Convert OpenFOAM patch to vtkPolyData. More...

#include <foamVtkTools.H>

Static Public Member Functions

template<class PatchType>
static vtkSmartPointer< vtkPoints > points (const PatchType &p)
 Return local patch points as vtkPoints.
template<class PatchType>
static vtkSmartPointer< vtkCellArray > faces (const PatchType &p)
 Convert patch faces to vtk polygon cells.
template<class PatchType>
static vtkSmartPointer< vtkPolyData > mesh (const PatchType &p)
 Convert patch points/faces to vtkPolyData.
template<class PatchType>
static vtkSmartPointer< vtkFloatArray > faceNormals (const PatchType &p)
 Convert patch face normals to vtkFloatArray.
template<class PatchType>
static vtkSmartPointer< vtkPoints > faceCentres (const PatchType &p)
 Return patch face centres as vtkPoints.
template<class Face>
static vtkSmartPointer< vtkPolyData > mesh (const UList< point > &pts, const UList< Face > &fcs)
 Convert points/faces component to vtkPolyData.

Detailed Description

Convert OpenFOAM patch to vtkPolyData.

Definition at line 264 of file foamVtkTools.H.

Member Function Documentation

◆ points()

template<class PatchType>
vtkSmartPointer< vtkPoints > points ( const PatchType & p)
static

Return local patch points as vtkPoints.

References p.

◆ faces()

template<class PatchType>
vtkSmartPointer< vtkCellArray > faces ( const PatchType & p)
static

Convert patch faces to vtk polygon cells.

References p.

◆ mesh() [1/2]

template<class PatchType>
vtkSmartPointer< vtkPolyData > mesh ( const PatchType & p)
static

Convert patch points/faces to vtkPolyData.

References p.

◆ faceNormals()

template<class PatchType>
vtkSmartPointer< vtkFloatArray > faceNormals ( const PatchType & p)
static

Convert patch face normals to vtkFloatArray.

References p.

◆ faceCentres()

template<class PatchType>
vtkSmartPointer< vtkPoints > faceCentres ( const PatchType & p)
static

Return patch face centres as vtkPoints.

References p.

◆ mesh() [2/2]

template<class Face>
vtkSmartPointer< vtkPolyData > mesh ( const UList< point > & pts,
const UList< Face > & fcs )
static

Convert points/faces component to vtkPolyData.

References pts.


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