Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-07-14 Thread Peter Debuchev
Dear Utkarsh, thank you for these explanations. If you feel like I "keep asking time consuming questions over and over again without contributing back to the community much", it is, because I'll need a long time to get to a point where I can help others. Maybe never. Depends on the help I get :( I

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-07-13 Thread Peter Debuchev
> this? Can you go back to your original use-case? What is your objective > with this? Maybe there are alternative approaches than using the > "collaboration" support, which frankly is rarely used and hence I'd > consider experimental. > > On Tue, Jul 12, 2016 at 1:34 AM,

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-07-11 Thread Peter Debuchev
Dear Utkarsh, is there any chance that this issue is looked at during the upcoming hackathon? Peter 2016-06-28 17:46 GMT+02:00 Peter Debuchev : > Dear Utkarsh, > I tried to reproduce the error as described in my previous email, but > haven't been able to until now, don't kno

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-28 Thread Peter Debuchev
araView to the same server. I guess I'll have to give up programming ParaView and work the old way, writing VTK files and loading them in ParaView. It is way too complicated. Peter 2016-06-24 7:08 GMT+02:00 Peter Debuchev : > Thank you for the patch. There is still something missing. If I m

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-23 Thread Peter Debuchev
Thank you for the patch. There is still something missing. If I modify the custom client such that it adds an object every half second or so, then first start this clients and then ParaView after a few seconds, ParaView misses one of the objects. ParaView finds those objects that are added before P

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-21 Thread Peter Debuchev
Dear Utkarsh, can you give a quick update whether the suggested bug fix is likely to be solved: > Proxies are being created before the session was "ready for use". Like > I said, collaboration isn't being used actively in production so such > issues are expected. Since I don't have active projects

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-20 Thread Peter Debuchev
Well, I see that I'll need some more debug sessions to get this solved. >Why not make M aware of the code that needs to be executed and then >just trigger those through higher level messages from S? This is like >your first option, but you're only sending coarse messages eg. "Do >Action1" etc to M

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-20 Thread Peter Debuchev
Dear Utkarsh, to have some basis for this discussion, I'd like to mention that my knowledge on the collaboration functionality is limited to what is shown in http://vimeo.com/34480656 and to the class reference http://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMCollaborationManager.

Re: [Paraview] why can't I connect a remote server on cluster ?

2016-06-19 Thread Peter Debuchev
Hi Hengxing, which commands did you run precisely on which machine? Did you check that port 1 is available on the server for the client or, in the case of the reverse connection, available on the client for the server? when I started a remote server(./pvserver), it failed with the ERRORs > bel

Re: [Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-17 Thread Peter Debuchev
Dear Utkarsh, thank you for these very clear explanations and for offering to fix the issue with loading the initial collaboration state. Although I had understood that data sources can only be created by the master, it wasn't obvious to me that the same holds for views. I think I have a better und

[Paraview] Can a collaborative client share a pipeline without creating a view itself?

2016-06-16 Thread Peter Debuchev
Hello again, I have a follow-up question concerning my attempts to create a collaborative standalone client. The attached example connects to a pvserver running on localhost (with --multi-clients option) and creates a SphereSource together with its representation. Depending on whether "USEVIEW" is

Re: [Paraview] created representation is invisible in view

2016-06-15 Thread Peter Debuchev
Thanks! Just found out that another solution is to set the view's "Representations" property to repr and the representation's "Input" property to sphere. I'll try yours as well, it looks much simpler. Peter 2016-06-15 19:46 GMT+02:00 Utkarsh Ayachit : > You're missing "adding the representation

Re: [Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-15 Thread Peter Debuchev
y" long history of > paraview, so that it has a much more modern design. These are some of the > reasons why my supervisor convinced me to favour Visit even after I was > half way through my project. > > 2016-06-10 18:58 GMT+02:00 Peter Debuchev : > >> Ok, that doesn't so

[Paraview] created representation is invisible in view

2016-06-15 Thread Peter Debuchev
Hello, short question, probably with an easy answer: Why is the vtkSMRepresentationProxy, created for a vtkSMSourceProxy of a SphereSource not rendered in the attached c++ code? I guess I am missing a step which adds the representation to the view. But how? Peter #include "vtkSMSession.h" #incl

Re: [Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-10 Thread Peter Debuchev
Ok, that doesn't sound as bad as I expected. But still, is it necessary to "poll" the socket, checking its "select" method? I am not familiar with the details of socket communication, but I expect it should be possible that the socket invokes some callback when a message arrives? Or does some of th

Re: [Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-09 Thread Peter Debuchev
That did the trick, thank you very much! I would have never found the problem. One more question out of curiosity: isn't it quite ineffient, if clients continuously invoke vtkNetworkAccessManager::ProcessEvents´()? For smooth interaction this has to happen at least 10 times per second, which cause

Re: [Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-08 Thread Peter Debuchev
ssEvents(..) "on idle" to process events > being received from the other client. > > > [1] > https://gitlab.kitware.com/paraview/paraview/blob/master/Qt/Core/pqServer.cxx#L376-401 > > On Tue, Jun 7, 2016 at 8:54 AM, Peter Debuchev > wrote: > > Hello, > > I

Re: [Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-07 Thread Peter Debuchev
eing received from the other client. > > > [1] > https://gitlab.kitware.com/paraview/paraview/blob/master/Qt/Core/pqServer.cxx#L376-401 > > On Tue, Jun 7, 2016 at 8:54 AM, Peter Debuchev > wrote: > > Hello, > > I have attached a short custom client example which I woul

[Paraview] vtkSMCollaborationManager::FollowUser(id) doesn't update view

2016-06-07 Thread Peter Debuchev
Hello, I have attached a short custom client example which I would like to always show the same perspective as a ParaView session connected to the same pvserver. However, although this example renders once the objects that are available in the ParaView session, it does not update itself when the c

Re: [Paraview] basics of paraview client server programming

2016-06-06 Thread Peter Debuchev
Excellent, thank you! 2016-06-06 19:01 GMT+02:00 Utkarsh Ayachit : > Attached. > > On Mon, Jun 6, 2016 at 12:59 PM, Peter Debuchev > wrote: > > Dear Utkarsh, > > thank you for your offer to search the old ParaView Guide v3 > client-server > > programming chapt

Re: [Paraview] basics of paraview client server programming

2016-06-06 Thread Peter Debuchev
almost by accident. Maybe it can help you. Apparently it was used in a > > conference/workshop (VIS08?) to describe briefly the proxy system, and > > refers to the "Paraview Guide, Version 3, section 18.6, and chapter 19 > for > > details (see slide 30). Unfortunately

Re: [Paraview] basics of paraview client server programming

2016-06-02 Thread Peter Debuchev
pter 19 > for > > details (see slide 30). Unfortunately the version 3 of the Guide I > couldn't > > find. > > > > Ellon > > > > > > On 06/02/2016 07:35 AM, Peter Debuchev wrote: > > > > Is any introduction available, how vtkSMServerM

Re: [Paraview] basics of paraview client server programming

2016-06-01 Thread Peter Debuchev
or similar explaining the principles behind vtkSMSessions, vtkProcies etc. Does anybody remember, which of the VTK or ITK or Paraview books included such chapters? Peter 2016-05-29 19:09 GMT+02:00 Peter Debuchev : > Dear Paraview programmers, > I am looking for some information about the

[Paraview] basics of paraview client server programming

2016-05-29 Thread Peter Debuchev
Dear Paraview programmers, I am looking for some information about the basic principles of Paraviews client-server model, the setup of client proxies and the communication design. I think that I have seen a chapter with a short introduction on these topics some years ago. It was in one of the VTK