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 221 of file foamVtkTools.H.
|
static |
Return local patch points as vtkPoints.
Definition at line 144 of file foamVtkToolsTemplates.C.
References p, and Foam::vtk::Tools::Points().
|
static |
Convert patch faces to vtk polygon cells.
Definition at line 153 of file foamVtkToolsTemplates.C.
References Foam::vtk::Tools::Faces(), and p.
|
static |
Convert patch points/faces to vtkPolyData.
Definition at line 161 of file foamVtkToolsTemplates.C.
|
static |
|
static |
Return patch face centres as vtkPoints.
Definition at line 225 of file foamVtkToolsTemplates.C.
References f(), p, and VectorSpace< Form, Cmpt, Ncmpts >::v_.
|
static |
Convert points/faces component to vtkPolyData.
Definition at line 174 of file foamVtkToolsTemplates.C.
References Foam::vtk::Tools::Faces(), and Foam::vtk::Tools::Points().