Skip to content

renderer_window_interactor

RendererWindowInteractor

Bases: vtkRenderWindowInteractor

Class for rendering a window representing a 3D scene.

height property writable

width property writable

__init__(width, height)

make_screenshot(screenshot_name='screenshot.png', transparent=False)

Render the 3D scene and make a screenshot to save as png file.

Parameters:

Name Type Description Default
screenshot_name str

Name of the screenshot file.

'screenshot.png'
transparent bool

Set the background of the screenshot to transparent. Default is False.

False

start()

Start the scene.