Bookkeeping for vtkUnstructuredGrid. More...


Public Member Functions | |
| vtkSmartPointer< vtkPoints > | points (const fvMesh &mesh) const |
| The vtk points for the mesh (and decomposition) More... | |
| vtkSmartPointer< vtkPoints > | points (const fvMesh &mesh, const labelUList &pointMap) const |
| The vtk points for the mesh (and decomposition) using the provided pointMap. More... | |
| vtkSmartPointer< vtkUnstructuredGrid > | internal (const fvMesh &mesh, const bool decompPoly=false) |
| Internal mesh as vtkUnstructuredGrid. More... | |
| template<class Type > | |
| vtkSmartPointer< vtkFloatArray > | convertField (const DimensionedField< Type, volMesh > &fld) const |
| Convert internal volume field (CellData) More... | |
| template<class Type > | |
| vtkSmartPointer< vtkFloatArray > | convertField (const GeometricField< Type, fvPatchField, volMesh > &fld) const |
| Convert internal volume field (CellData) More... | |
Public Member Functions inherited from Caching< vtkUnstructuredGrid > | |
| uint64_t | nPoints () const |
| Number of points associated with the geometry. More... | |
| void | clearGeom () |
| Clear geometry and dataset. More... | |
| vtkSmartPointer< dataType > | getCopy () const |
| Return a shallow copy of vtkgeom for manipulation. More... | |
| void | reuse () |
| Make a shallow copy of vtkgeom into dataset. More... | |
| void | set (vtkSmartPointer< dataType > geom) |
| Set the geometry and make a shallow copy to dataset. More... | |
| void | PrintSelf (std::ostream &os) const |
| Report basic information to output. More... | |
Public Member Functions inherited from foamVtkMeshMaps | |
| foamVtkMeshMaps ()=default | |
| Default construct: zero-sized, no reserved sizes. More... | |
| const labelList & | cellMap () const noexcept |
| Original cell ids for all cells (regular and decomposed). More... | |
| DynamicList< label > & | cellMap () noexcept |
| Write access to original cell ids. More... | |
| const labelList & | pointMap () const noexcept |
| Point labels for subsetted meshes. More... | |
| DynamicList< label > & | pointMap () noexcept |
| Write access to point labels for subsetted meshes. More... | |
| const labelList & | additionalIds () const noexcept |
| Any additional (user) labels. More... | |
| DynamicList< label > & | additionalIds () noexcept |
| Write access to additional (user) labels. More... | |
| void | clear () |
| Clear sizing. More... | |
| void | renumberCells (const labelUList &mapping) |
| Renumber cell ids (cellMap and additionalIds) to account for subset meshes. More... | |
| void | renumberPoints (const labelUList &mapping) |
| Renumber point ids (pointMap) to account for subset meshes. More... | |
Static Public Member Functions | |
| template<class Type > | |
| static vtkSmartPointer< vtkFloatArray > | convertField (const DimensionedField< Type, volMesh > &fld, const vtuAdaptor &vtuData) |
| Convert internal volume field (CellData) More... | |
| template<class Type > | |
| static vtkSmartPointer< vtkFloatArray > | convertField (const GeometricField< Type, fvPatchField, volMesh > &fld, const vtuAdaptor &vtuData) |
| Convert internal volume field (CellData) More... | |
Additional Inherited Members | |
Public Types inherited from Caching< vtkUnstructuredGrid > | |
| typedef vtkUnstructuredGrid | dataType |
Public Attributes inherited from Caching< vtkUnstructuredGrid > | |
| vtkSmartPointer< dataType > | vtkgeom |
| The geometry, without any cell/point data. More... | |
| vtkSmartPointer< dataType > | dataset |
| The shallow-copy of geometry, plus additional data. More... | |
Bookkeeping for vtkUnstructuredGrid.
A low-level backend adaptor for converting OpenFOAM volume meshes/fields to VTK internal representation. The output is a single piece vtkUnstructuredGrid dataset. Multiblock composition is done by the caller.
Definition at line 71 of file foamVtkVtuAdaptor.H.
|
inline |
The vtk points for the mesh (and decomposition)
Definition at line 25 of file foamVtkVtuAdaptorI.H.
References mesh, Foam::New(), p, pts, and UList< T >::size().

|
inline |
The vtk points for the mesh (and decomposition) using the provided pointMap.
Definition at line 59 of file foamVtkVtuAdaptorI.H.
References mesh, Foam::New(), pts, and UList< T >::size().

|
inline |
Internal mesh as vtkUnstructuredGrid.
Calling this automatically populates the sizing and vtk::Caching
Definition at line 94 of file foamVtkVtuAdaptorI.H.
References Foam::vtk::Tools::asUList(), cells, cellTypes, mesh, Foam::New(), vtuSizing::nFieldCells(), Foam::output(), points, vtuSizing::populateInternal(), UList< T >::size(), and vtuSizing::sizeOf().

|
static |
Convert internal volume field (CellData)
Definition at line 32 of file foamVtkVtuAdaptorTemplates.C.
References foamVtkMeshMaps::cellMap(), fld, Foam::vtk::Tools::foamToVtkTuple(), Foam::New(), and UList< T >::size().

|
static |
Convert internal volume field (CellData)
Definition at line 69 of file foamVtkVtuAdaptorTemplates.C.
References fld.
| vtkSmartPointer< vtkFloatArray > convertField | ( | const DimensionedField< Type, volMesh > & | fld | ) | const |
Convert internal volume field (CellData)
Definition at line 81 of file foamVtkVtuAdaptorTemplates.C.
References fld.
| vtkSmartPointer< vtkFloatArray > convertField | ( | const GeometricField< Type, fvPatchField, volMesh > & | fld | ) | const |
Convert internal volume field (CellData)
Definition at line 92 of file foamVtkVtuAdaptorTemplates.C.
References fld.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.