Go to the source code of this file.
Classes | |
struct | Caching< DataType > |
Bookkeeping for internal caching. More... | |
struct | Patch |
Convert OpenFOAM patch to vtkPolyData. More... | |
Namespaces | |
Foam::vtk::Tools | |
A collection of static methods to assist converting OpenFOAM data structures into VTK internal data structures. | |
Foam | |
Namespace for OpenFOAM. | |
Foam::vtk | |
Namespace for handling VTK input/output. | |
Functions | |
UList< uint8_t > | asUList (vtkUnsignedCharArray *array, const label size) |
Wrap vtkUnsignedCharArray as a UList. More... | |
UList< vtkIdType > | asUList (vtkIdTypeArray *array, const label size) |
Wrap vtkIdTypeArray as a UList. More... | |
vtkSmartPointer< vtkPoints > | Points (const UList< point > &pts) |
Return a list of points as vtkPoints. More... | |
vtkSmartPointer< vtkPoints > | Points (const UList< point > &pts, const labelUList &addr) |
Return an indirect list of points as vtkPoints. More... | |
template<class Face > | |
vtkSmartPointer< vtkCellArray > | Faces (const UList< Face > &faces) |
Convert a list of faces (or triFaces) to vtk polygon cells. More... | |
vtkSmartPointer< vtkPolyData > | Vertices (const UList< point > &pts) |
Return vtkPolyData of vertices for each point. More... | |
vtkSmartPointer< vtkPolyData > | Vertices (const UList< point > &pts, const labelUList &addr) |
Return vtkPolyData of vertices for each point. More... | |
scalarMinMax | rangeOf (vtkDataArray *data) |
Min/Max of scalar, or mag() of non-scalars. Includes nullptr check. More... | |
template<class Type > | |
void | remapTuple (float data[]) |
Remapping for some OpenFOAM data types (eg, symmTensor) More... | |
template<> | |
void | remapTuple< symmTensor > (float data[]) |
Template specialization for symmTensor ordering. More... | |
template<class Type > | |
void | remapTuple (double data[]) |
Remapping for some OpenFOAM data types (eg, symmTensor) More... | |
template<> | |
void | remapTuple< symmTensor > (double data[]) |
Template specialization for symmTensor ordering. More... | |
template<class Type > | |
void | foamToVtkTuple (float output[], const Type &val) |
Copy/transcribe OpenFOAM data types to VTK format. More... | |
template<class Type > | |
void | foamToVtkTuple (double output[], const Type &val) |
Copy/transcribe OpenFOAM data types to VTK format. More... | |
template<class Type > | |
label | transcribeFloatData (vtkFloatArray *array, const UList< Type > &input, vtkIdType start=0) |
Copy list to pre-allocated vtk array. More... | |
template<class Type > | |
vtkSmartPointer< vtkFloatArray > | zeroField (const word &name, const label size) |
Create named field initialized to zero. More... | |
template<class Type > | |
vtkSmartPointer< vtkFloatArray > | convertFieldToVTK (const word &name, const UList< Type > &fld) |
Convert field data to a vtkFloatArray. More... | |
vtkSmartPointer< vtkCellArray > | identityVertices (const label size) |
An identity list of VTK_VERTEX. More... | |
template<> | |
void | Foam::vtk::Tools::remapTuple< Foam::symmTensor > (float data[]) |
Template specialization for symmTensor ordering. More... | |
template<> | |
void | Foam::vtk::Tools::remapTuple< Foam::symmTensor > (double data[]) |
Template specialization for symmTensor ordering. More... | |
Original source file foamVtkTools.H
Definition in file foamVtkTools.H.
void Foam::vtk::Tools::remapTuple< Foam::symmTensor > | ( | float | data[] | ) |
Template specialization for symmTensor ordering.
Definition at line 410 of file foamVtkTools.H.
void Foam::vtk::Tools::remapTuple< Foam::symmTensor > | ( | double | data[] | ) |
Template specialization for symmTensor ordering.
Definition at line 421 of file foamVtkTools.H.