elphick.geomet.utils.block_model_converter.volume_to_vtk
- elphick.geomet.utils.block_model_converter.volume_to_vtk(volelement, origin=(0.0, 0.0, 0.0), columns=None)[source]
Convert the volume element to a VTK data object.
- Parameters:
volelement (
omf.volume.VolumeElement
) – The volume element to convertorigin – tuple(float), optional
columns (
Optional
[list
[str
]]) – list[str], optional - Columns to load from the data arrays