Volume¶
Methods for converting volumetric data objects
Volume Grid Geometry to VTK¶
-
omfvista.volume.
volume_grid_geom_to_vtk
(volgridgeom)[source]¶ Convert the 3D gridded volume to a
vista.StructuredGrid
(or avista.RectilinearGrid
when apprropriate) object contatining the 2D surface.Parameters: volgridgeom ( omf.volume.VolumeGridGeometry
) – the grid geometry to convert
Volume to VTK¶
-
omfvista.volume.
volume_to_vtk
(volelement)[source]¶ Convert the volume element to a VTK data object.
Parameters: volelement ( omf.volume.VolumeElement
) – The volume element to convert