settings

Global settings.

# Axes titles
xtitle = 'x'
ytitle = 'y'
ztitle = 'z'

# Scale magnification of the screenshot (must be an integer)
screeshotScale = 1
screenshotTransparentBackground = False

# Recompute vertex and cell normals
computeNormals = None

# Default style is TrackBallCamera
interactorStyle = None

# Allow to interact with scene during interactor.Start() execution
allowInteraction = True

# Show a gray frame margin in multirendering windows
showRendererFrame = True
rendererFrameColor = None

# Use tex, matplotlib latex compiler
usetex = False

# Qt embedding
usingQt = False

# OpenVR rendering
useOpenVR = False

# On some vtk versions/platforms points are redered as ugly squares
renderPointsAsSpheres = True

# Wrap lines in tubes
renderLinesAsTubes = False

# Remove hidden lines when in wireframe mode
hiddenLineRemoval = False

# For (Un)Structured and RectilinearGrid: show internal edges not only outline
visibleGridEdges = False

# Turn on/off the automatic repositioning of lights as the camera moves.
lightFollowsCamera = False

# Turn on/off nvidia FXAA anti-aliasing, if supported.
useFXAA = False

# Turn on/off rendering of translucent material with depth peeling technique.
useDepthPeeling = False

# Set parallel projection On or Off (place camera to infinity, no perspective effects)
useParallelProjection = False

# Path to Voro++ library, http://math.lbl.gov/voro++
voro_path = '/usr/local/bin'

Usage example:

from vtkplotter import *

settings.useParallelProjection = True

Cube().color('green').show()

embedWindow

vtkplotter.settings.embedWindow(backend='k3d', verbose=True)[source]

Use this function to control whether the rendering window is inside the jupyter notebook or as an independent external window