# Examples from pyvista.XMLPolyDataReader
# =======================================

import pyvista as pv
from pyvista import examples
from pathlib import Path
filename = examples.download_cow_head(load=False)
Path(filename).name
reader = pv.get_reader(filename)
mesh = reader.read()
cpos = pv.CameraPosition(
    position=(12, 3.5, -4.5), focal_point=(4.5, 1.6, 0), viewup=(0, 1, 0.3)
)
mesh.plot(
    cpos=cpos,
    clim=[0, 100],
    show_scalar_bar=False,
)

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

