pyvista.Plotter.add_actor#
- Plotter.add_actor(
- actor,
- reset_camera=False,
- name=None,
- culling=False,
- pickable=True,
- render=True,
- remove_existing_actor=True,
Add an actor to render window.
Creates an actor if input is a mapper.
- Parameters:
- actorvtkActor | vtkMapper |
Actor - reset_camerabool, default:
False Resets the camera when
True.- name
str,optional Name to assign to the actor. Defaults to the memory address.
- culling
str, default:False Does not render faces that are culled. Options are
'front'or'back'. This can be helpful for dense surface meshes, especially when edges are visible, but can cause flat meshes to be partially displayed.- pickablebool, default:
True Whether to allow this actor to be pickable within the render window.
- renderbool, default:
True If the render window is being shown, trigger a render after adding the actor.
- remove_existing_actorbool, default:
True Removes any existing actor if the named actor
nameis already present.
- actorvtkActor | vtkMapper |
- Returns: