sfepy.postprocess.utils_vtk module¶
Postprocessing utils based on VTK library
- sfepy.postprocess.utils_vtk.get_vtk_by_group(vtkdata, group_lower, group_upper=None)[source]¶
Get submesh by material group id.
- Parameters:
- vtkdataVTK object
Mesh, scalar, vector and tensor data.
- group_lowerint
The lower material id.
- group_lowerint
The Upper material id.
- Returns:
- slectionVTK object
Mesh, scalar, vector and tensor data.
- sfepy.postprocess.utils_vtk.get_vtk_edges(vtkdata)[source]¶
Get mesh edges.
- Parameters:
- vtkdataVTK object
Mesh, scalar, vector and tensor data.
- Returns:
- edgesVTK object
Mesh, scalar, vector and tensor data.
- sfepy.postprocess.utils_vtk.get_vtk_from_file(filename)[source]¶
Read VTK file.
- Parameters:
- filenamestr
Name of the VTK file.
- Returns:
- vtkdataVTK object
Mesh, scalar, vector and tensor data.
- sfepy.postprocess.utils_vtk.get_vtk_surface(vtkdata)[source]¶
Get mesh surface.
- Parameters:
- vtkdataVTK object
Mesh, scalar, vector and tensor data.
- Returns:
- surfaceVTK object
Mesh, scalar, vector and tensor data.