Sebastien,
When the user establishes a connection to ParaView, we run
~/pvpython ~/http_pvw_server.py --host localhost --port (portNumber)
Then we connect to that server and use it for our embedded visualizations.
When they click the Open in Web Visualizer button, we check to see if the web visualizer is already running. If not, we run
~/pvpython ~/pv_web_visualizer.py --content ~/www --data-dir (path to a folder in the current Eclipse workspace named ItemDB. All files for visualization will be placed in this folder.) --port (portNumber2)
Then we open an internal web browser opened to localhost:(portNumber2)/apps/Visualizer
Thanks in advance for the help.
Robert
From: Sebastien Jourdain <sebastien.jourdain@xxxxxxxxxxx>
Sent: Friday, April 22, 2016 3:32 PM
To: Smith, Robert W.
Cc: ice-dev@xxxxxxxxxxx
Subject: Re: ParaView Web Visualizer shared sessions
Hi Robert,
I guess before answering, I should ask you first how do you start the python script in both of your use case (inside Ice / PVW Visualizer)?
And how do you setup the --data-dir argument?
Then from that, I can explain what actually make sense for you. Otherwise I way assume something different and get you more confused.
Seb
|