Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] ParaView Web Visualizer shared sessions

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 

On Fri, Apr 22, 2016 at 1:09 PM, Smith, Robert W. <smithrw@xxxxxxxx> wrote:

Hello ​Sebastien,


Thank you for mentioning the ability to have a shared session between the http web server and the web visualizer in ParaView. I'd like to get a record of how to do this for the dev list, so could you please instructions on how to run them both from the same session?


Thank you,

Robert Smith



Back to the top