image_to_texture#
- image_to_texture(image: ImageData | _vtk.vtkImageData) Texture[source]#
Convert
pyvista.ImageDatato apyvista.Texture.- Parameters:
- image
pyvista.ImageData| vtkImageData Image to convert.
- image
- Returns:
pyvista.TextureThe texture.