Convert OpenFOAM patch to vtkPolyData. More...
Static Public Member Functions | |
template<class PatchType > | |
static vtkSmartPointer< vtkPoints > | points (const PatchType &p) |
Return local patch points as vtkPoints. More... | |
template<class PatchType > | |
static vtkSmartPointer< vtkCellArray > | faces (const PatchType &p) |
Convert patch faces to vtk polygon cells. More... | |
template<class PatchType > | |
static vtkSmartPointer< vtkPolyData > | mesh (const PatchType &p) |
Convert patch points/faces to vtkPolyData. More... | |
template<class PatchType > | |
static vtkSmartPointer< vtkFloatArray > | faceNormals (const PatchType &p) |
Convert patch face normals to vtkFloatArray. More... | |
template<class PatchType > | |
static vtkSmartPointer< vtkPoints > | faceCentres (const PatchType &p) |
Return patch face centres as vtkPoints. More... | |
template<class Face > | |
static vtkSmartPointer< vtkPolyData > | mesh (const UList< point > &pts, const UList< Face > &fcs) |
Convert points/faces component to vtkPolyData. More... | |
Convert OpenFOAM patch to vtkPolyData.
Definition at line 252 of file foamVtkTools.H.
|
static |
Return local patch points as vtkPoints.
Definition at line 137 of file foamVtkToolsTemplates.C.
References p, and Foam::vtk::Tools::Points().
|
static |
Convert patch faces to vtk polygon cells.
Definition at line 146 of file foamVtkToolsTemplates.C.
References Foam::vtk::Tools::Faces(), and p.
|
static |
Convert patch points/faces to vtkPolyData.
Definition at line 154 of file foamVtkToolsTemplates.C.
References Foam::New(), p, and points.
|
static |
Convert patch face normals to vtkFloatArray.
Definition at line 184 of file foamVtkToolsTemplates.C.
References f(), faceId(), n, Foam::New(), and p.
|
static |
Return patch face centres as vtkPoints.
Definition at line 218 of file foamVtkToolsTemplates.C.
References f(), Foam::New(), and p.
|
static |
Convert points/faces component to vtkPolyData.
Definition at line 168 of file foamVtkToolsTemplates.C.
References Foam::vtk::Tools::Faces(), Foam::New(), Foam::vtk::Tools::Points(), and pts.