marcomusy / vedo

A python module for scientific analysis of 3D data based on VTK and Numpy
https://vedo.embl.es
MIT License
1.98k stars 257 forks source link

How to open two seperate windows in vedo ? #1122

Closed OhmPuchiss closed 1 month ago

OhmPuchiss commented 1 month ago

I want to open two vedo windows.

ZiguoAtGitHub commented 1 month ago

Creating two instances of Plotter? Maybe like this:

plt1=Plotter() plt2=Plotter() ... plt1.show(,,interactive=False) plt2.show(,,interactive=False)

OhmPuchiss commented 1 month ago
image

How to open these two windows ? I want one window to open opencv window and one for vedo. Two windows can communicate with one another.

OhmPuchiss commented 1 month ago

Or how to further run the script after the plt.show() is used.

marcomusy commented 1 month ago

Try

vedo --search multi

vedo --run multiwindows1
vedo --run multiwindows2

Or how to further run the script after the plt.show() is used.

plt.show(..., interactive=False)