Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 561 Bytes
Renderer meshes into insets.
(can be dragged)
from vtkplotter import *
vp = Plotter(axes=1, bg="white")
e = load(datadir+"embryo.tif", threshold=True) # automatic isosurfacing
msg = Text(__doc__), msg, viewup='z', interactive=0)
e1 = e.clone().cutWithPlane(normal=[1,0,0]).c("red")
e2 = e.clone().cutWithPlane(normal=[0,1,0]).c("pink")
e3 = e.clone().cutWithPlane(normal=[0,0,1]).c("blue")
vp.showInset(e1, pos=(0.9,0.2))
vp.showInset(e2, pos=(0.9,0.5))
vp.showInset(e2, e3, pos=(0.9,0.8))
You can’t perform that action at this time.