Surface¶
Methods to convert surface objects to VTK data objects
Surface Geometry to VTK¶
-
omfvista.surface.surface_geom_to_vtk(surfgeom)[source]¶ Convert the triangulated surface to a
vista.UnstructuredGridobjectParameters: surfgeom ( omf.surface.SurfaceGeometry) – the surface geomotry to convert
Surface Grid Geometry to VTK¶
-
omfvista.surface.surface_grid_geom_to_vtk(surfgridgeom)[source]¶ Convert the 2D grid to a
vista.StructuredGridobject.Parameters: surfgridgeom ( omf.surface.SurfaceGridGeometry) – the surface grid geometry to convert
Surface to VTK¶
-
omfvista.surface.surface_to_vtk(surfel)[source]¶ Convert the surface to a its appropriate VTK data object type.
Parameters: surfel ( omf.surface.SurfaceElement) – the surface element to convert