[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ice-dev] Questions about ICE-ParaView integration
|
All,
This is just an update on the ParaView integration with ICE. I got
the web server running remotely and could successfully connect to
it from my Windows dev box (same goes for my Linux laptop).
Just one caveat: when running from the remote server, I had to set
DISPLAY=:0 to use the server's video card.
There's a picture attached that shows the SWT client running in
Eclipse on Windows.
Next up, I will be looking at integrating the SWT client into the
new viz service infrastructure we have in ICE.
Jordan
Jordan Deyton
Oak Ridge National Laboratory
Telephone: (865) 574-1091
Email: deytonjh@xxxxxxxx
On 2/5/2015 1:24 PM, Jordan Deyton wrote:
Thanks, Scott! That did in fact fix
the mouse errors!
Thanks,
Jordan
Jordan Deyton
Oak Ridge National Laboratory
Telephone: (865) 574-1091
Email: deytonjh@xxxxxxxx
On 2/5/2015 1:00 PM, Scott Wittenburg wrote:
Hi Jordan,
The reason for the mouse interaction errors is that we
wrote the java example client before ParaView 4.3.1, when a
change was added on the server side to look for the "action"
key in the mouse event object. One quick fix on your end
could be to incorporate the changes I added in the three
java files attached.
The basic idea is to include whether the event was
mouse down, mouse up, or neither in the event. So I have
added a String action
to the method signature, event(...),
in the interface VtkWebClient,
as well as to the implementation of that interface, VtkWebClientHttpImpl.
In the implementation, I then also include the action parameter in the
request object. Then, in VtkMouseHandler,
I pass that extra argument whenever we call client.event(...).
You don't have to do it this way, but I think it
should work and gives the idea of what needs to be changed
in order for the mouse interaction events to work properly.
Cheers,
Scott
|
Attachment:
pvw_swt_shell.png
Description: PNG image