pyInclude.geometry.vtk
Read and write legacy ASCII VTK wedge meshes for gain media.
- pyInclude.geometry.vtk.topologyFromVtk(path, topologyCls)
Create a
MeshTopologyfrom legacy VTK wedge cells.
- pyInclude.geometry.vtk.gainMediumFromVtk(path, topologyCls, gainMediumCls, *, numberOfLevels=None, thickness=None)
Load topology plus beta/material arrays from a legacy VTK file.
- pyInclude.geometry.vtk.writeGainMediumVtk(path, gainMedium)
Write a
GainMediumas legacy ASCII VTK wedge cells.betaCellsis written as point data andbetaVolumeas cell data; scalar material properties are stored in aFIELDblock.