pyvista.Renderer

class Renderer(parent, border=True, border_color=(1, 1, 1), border_width=2.0)

Renderer class.

Methods

Renderer.add_actor(uinput[, reset_camera, ...])

Add an actor to render window.

Renderer.add_axes([interactive, line_width, ...])

Add an interactive axes widget in the bottom left corner.

Renderer.add_axes_at_origin([x_color, ...])

Add axes actor at origin.

Renderer.add_border([color, width])

Add borders around the frame.

Renderer.add_bounding_box([color, ...])

Add an unlabeled and unticked box at the boundaries of plot.

Renderer.add_floor([face, i_resolution, ...])

Show a floor mesh.

Renderer.add_light(light)

Add a light to the renderer.

Renderer.add_orientation_widget(actor[, ...])

Use the given actor in an orientation marker widget.

Renderer.clear()

Remove all actors and properties.

Renderer.close()

Close out widgets and sensitive elements.

Renderer.deep_clean([render])

Clean the renderer of the memory.

Renderer.disable()

Disable this renderer's camera from being interactive.

Renderer.disable_anti_aliasing()

Disable anti-aliasing.

Renderer.disable_depth_peeling()

Disable depth peeling.

Renderer.disable_eye_dome_lighting()

Disable eye dome lighting (EDL).

Renderer.disable_hidden_line_removal()

Disable hidden line removal.

Renderer.disable_parallel_projection()

Reset the camera to use perspective projection.

Renderer.disable_shadows()

Disable shadows.

Renderer.enable()

Enable this renderer's camera to be interactive.

Renderer.enable_anti_aliasing()

Enable anti-aliasing using FXAA.

Renderer.enable_depth_peeling([...])

Enable depth peeling to improve rendering of translucent geometry.

Renderer.enable_eye_dome_lighting()

Enable eye dome lighting (EDL).

Renderer.enable_hidden_line_removal()

Enable hidden line removal.

Renderer.enable_parallel_projection()

Enable parallel projection.

Renderer.enable_shadows()

Enable shadows.

Renderer.get_default_cam_pos([negative])

Return the default focal points and viewup.

Renderer.get_pick_position()

Get the pick position/area as x0, y0, x1, y1.

Renderer.hide_axes()

Hide the axes orientation widget.

Renderer.isometric_view()

Reset the camera to a default isometric view.

Renderer.remove_actor(actor[, reset_camera, ...])

Remove an actor from the Renderer.

Renderer.remove_all_lights()

Remove all lights from the renderer.

Renderer.remove_bounding_box([render])

Remove bounding box.

Renderer.remove_bounds_axes()

Remove bounds axes.

Renderer.remove_floors([clear_kwargs, render])

Remove all floor actors.

Renderer.reset_camera([render, bounds])

Reset the camera of the active render window.

Renderer.reset_camera_clipping_range()

Reset the camera clipping range based on the bounds of the visible actors.

Renderer.set_background(color[, top])

Set the background color of this renderer.

Renderer.set_environment_texture(texture)

Set the environment texture used for image based lighting.

Renderer.set_focus(point)

Set focus to a point.

Renderer.set_position(point[, reset])

Set camera position to a point.

Renderer.set_scale([xscale, yscale, zscale, ...])

Scale all the datasets in the scene.

Renderer.set_viewup(vector)

Set camera viewup vector.

Renderer.show_axes()

Show the axes orientation widget.

Renderer.show_bounds([mesh, bounds, ...])

Add bounds axes.

Renderer.show_grid(**kwargs)

Show gridlines and axes labels.

Renderer.update_bounds_axes()

Update the bounds axes of the render window.

Renderer.view_isometric([negative])

Reset the camera to a default isometric view.

Renderer.view_vector(vector[, viewup])

Point the camera in the direction of the given vector.

Renderer.view_xy([negative])

View the XY plane.

Renderer.view_xz([negative])

View the XZ plane.

Renderer.view_yx([negative])

View the YX plane.

Renderer.view_yz([negative])

View the YZ plane.

Renderer.view_zx([negative])

View the ZX plane.

Renderer.view_zy([negative])

View the ZY plane.

Attributes

Renderer.actors

Return a dictionary of actors assigned to this renderer.

Renderer.axes_enabled

Return True when axes are enabled.

Renderer.background_color

Return the background color of this renderer.

Renderer.border_color

Return the border color.

Renderer.border_width

Return the border width.

Renderer.bounds

Return the bounds of all actors present in the rendering window.

Renderer.camera

Return the active camera for the rendering scene.

Renderer.camera_position

Return camera position of active render window.

Renderer.center

Return the center of the bounding box around all data present in the scene.

Renderer.has_border

Return if the renderer has a border.

Renderer.height

Height of the renderer.

Renderer.layer

Return or set the current layer of this renderer.

Renderer.length

Return the length of the diagonal of the bounding box of the scene.

Renderer.lights

Return a list of all lights in the renderer.

Renderer.parallel_projection

Return parallel projection state of active render window.

Renderer.parallel_scale

Return parallel scale of active render window.

Renderer.viewport

Viewport of the renderer.

Renderer.width

Width of the renderer.