Re: [Paraview] custom view plugin - minimal example needed

2018-01-29 Thread Kolja Petersen
TYPE MyView > XML_GROUP views > XML_NAME MyView >) > > That’s it. I used SpreadSheet view implementation for inspiration. > > > 27 янв. 2018 г., в 15:17, Kolja Petersen > написал(а): > > Thank you Mathieu, your answer helped me decide whether to con

Re: [Paraview] custom view plugin - minimal example needed

2018-01-27 Thread Kolja Petersen
tly. > > Best, > <https://www.kitware.com/what-we-offer/#consulting> > > > Mathieu Westphal > > [1] https://www.kitware.com/what-we-offer/#consulting > > On Fri, Jan 26, 2018 at 7:31 AM, Kolja Petersen > wrote: > >> Dear Mathieu, >> I may be missi

Re: [Paraview] custom view plugin - minimal example needed

2018-01-25 Thread Kolja Petersen
w.html) > > This choice is also visible in the associated xml files where you precise > which kind of proxy you want to create. > > In the attached example, I demonstrated how to add a clone of the Render > View, called Render View 2. > > Hope it helps, > > Best, >

Re: [Paraview] custom view plugin - minimal example needed

2018-01-23 Thread Kolja Petersen
hoice is also visible in the associated xml files where you precise > which kind of proxy you want to create. > > In the attached example, I demonstrated how to add a clone of the Render > View, called Render View 2. > > Hope it helps, > > Best, > > > Mathieu Westph

Re: [Paraview] custom view plugin - minimal example needed

2018-01-22 Thread Kolja Petersen
ware.com> wrote: > Hi Kolja > > I have a simple view plugin project ongoing that I should be able to scale > down for your needs. > I will try to find the time to do it before the end fo the week. > > Best, > > Mathieu Westphal > > On Tue, Jan 16, 2018 at 8:38 PM,

Re: [Paraview] custom view plugin - minimal example needed

2018-01-16 Thread Kolja Petersen
m_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virenfrei. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Mon, Jan 1

[Paraview] custom view plugin - minimal example needed

2018-01-14 Thread Kolja Petersen
Dear plugin developers, I need to implement a custom view to present datasets in a detailed editable format. This link says that the plugin tutorial is obsolete for the view part: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_custom_view_.2A_obsolete_.2A The Examples/Plugins/GUIVie

Re: [Paraview] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-28 Thread Kolja Petersen
27;s not a mechanism that arbitrary > filters can use to communicate events from server to client. If you're > interested in how Catalyst live sessions manages this, start by > looking at vtkSMLiveInsituLinkProxy and vtkLiveInsituLink classes. > Following the code path for NEXT_T

[Paraview] Misleading facts about Catalyst

2017-11-27 Thread Kolja Petersen
Heya, I'd need some more reliable input on the Catalyst design. Last week I asked how the server side can notify the client of recent changes. Utkarsh wrote this wouldn't be supported by Paraview. After I clarified that exactly this is happening during a Catalyst Live simulation, the discussion wa

Re: [Paraview] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-23 Thread Kolja Petersen
high importance. Thanks Kolja On Wed, Nov 22, 2017 at 7:54 PM, Kolja Petersen wrote: > Oh, well, but how is Catalyst forwarding new time step information from > server to client? > Time step updates can occur at any time. Which event mechanism notifies > the client? > Thanks > K

Re: [Paraview] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-22 Thread Kolja Petersen
not a use-case supported in ParaView. We don't forward events from > server to client. > > On Wed, Nov 22, 2017 at 12:53 PM, Kolja Petersen > wrote: > >> Hello, >> I would like to invoke a callback on a proxy in a pvpython session from a >> server-side method. >

[Paraview] server-side InvokeEvent(...) doesn't call client-side observer

2017-11-22 Thread Kolja Petersen
Hello, I would like to invoke a callback on a proxy in a pvpython session from a server-side method. In my server-side class "vtkCustom" I have a method void vtkCustom::SetData(int i){ ... this->InvokeEvent(1999,NULL); ... } On the client side, I create a proxy to a vtkCustom object, regis

Re: [Paraview] TimerEvents not fired while dragging mouse in vtkRenderWindow

2017-11-14 Thread Kolja Petersen
at 5:02 AM, Joachim Pouderoux < joachim.pouder...@kitware.com> wrote: > Kolja, > > As it is a VTK Python related question, please address this issue to the > VTK mailing list instead. > > Best, > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing T

[Paraview] TimerEvents not fired while dragging mouse in vtkRenderWindow

2017-11-12 Thread Kolja Petersen
Heya, I paste some code below, which displays an empty vtkRenderWindow with an interactor. The interactor fires a TimerEvent every 100ms as printed by the Observer. The problem: when I press a mouse button in the vtkRenderWindow, the TimerEvents stop to be reported, although I need to process data

Re: [Paraview] steps to add class with ClientServer and Python wrapping

2017-11-09 Thread Kolja Petersen
> `PARAVIEW_EXTERNAL_MODULE_ROOTS` CMake cache variable in your ParaView > build to include the directory containing your new module's dir. You will > need to manually enable the module in CMakeLists.txt as well as ParaView > wont' enable it by default. > > Utkarsh &g

[Paraview] steps to add class with ClientServer and Python wrapping

2017-11-09 Thread Kolja Petersen
Heya, I'd like to add some custom classes to paraview that should also be accessible through proxies on the client side. And a Python interface is also needed. I found that the classes that should be wrapped need to be listed in a few different CMakeLists.txt files in the paraview sources, and aga

Re: [Paraview] Does Catalyst add MPI processes or use TCP communication?

2017-10-30 Thread Kolja Petersen
ddress this > in the future using ADIOS but I don't have a timetable on when that will be > done. > > On Sat, Oct 28, 2017 at 12:57 PM, Kolja Petersen > wrote: > >> >> >> On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer >> wrote: >> >>> FYI

Re: [Paraview] Does Catalyst add MPI processes or use TCP communication?

2017-10-28 Thread Kolja Petersen
gt;> >> Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that >> the simulation code is linked with. You can use another MPI communicator as >> well. An example of that is in the >> Examples/Catalyst/MPISubCommunicatorExample >> source directory. >>

[Paraview] Does Catalyst add MPI processes or use TCP communication?

2017-10-28 Thread Kolja Petersen
Hello, I am trying to understand a Catalyst implementation detail. Because parallel Catalyst may transfer huge data to a parallel pvserver, I thought the Catalyst processes would have themselves added to the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only function that I know of

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-27 Thread Kolja Petersen
rky I mean that things > get a bit confusing when you're looking at the classes for both the client, > server and in situ side. Kitware does offer support services if this is > important to get working for you. > > Best, > Andy > > On Fri, Oct 27, 2017 at 12:51 PM, Kolja P

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-27 Thread Kolja Petersen
More questions below... On Thu, Oct 26, 2017 at 5:54 PM, Andy Bauer wrote: > I inlined some answers below... > > On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen > wrote: > >> Thank you, Andy, >> unfortunately your answer has shown me how little I understand abou

Re: [Paraview] LiveInsituLink proxy in pvpython client

2017-10-25 Thread Kolja Petersen
sualization() method in coprocessing.py. > > Cheers, > Andy > > On Tue, Oct 24, 2017 at 12:49 PM, Kolja Petersen > wrote: > >> Hello, >> Are there any examples how to receive extracts from Catalyst simulations >> in a batch pvpython script? >> >>

[Paraview] LiveInsituLink proxy in pvpython client

2017-10-24 Thread Kolja Petersen
Hello, Are there any examples how to receive extracts from Catalyst simulations in a batch pvpython script? My first attempt looks as attached. I connect to a pvserver running on localhost. Then I create a LiveInsituLink proxy, set the insitu port to 2 and initialize the proxy. Finally, I repe

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-24 Thread Kolja Petersen
Thank you, Utkarsh, with view.RemoteRenderThreshold = 0, rendering is now done in the right place. Kolja On Mon, Oct 23, 2017 at 7:47 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Koija, > > > But I have still no clue how to make the pvserver render the scene > remotely and only tr

Re: [Paraview] Remote rendering with pvpython + grab remote image data

2017-10-20 Thread Kolja Petersen
help? Kolja On Thu, Oct 19, 2017 at 12:03 PM, Kolja Petersen wrote: > Hi there, > is it possible to let pvpython render images remotely on a pvserver > instead of locally inside the client? > > If I start a pvserver on a headless machine and run the following script > in a

[Paraview] Remote rendering with pvpython + grab remote image data

2017-10-19 Thread Kolja Petersen
Hi there, is it possible to let pvpython render images remotely on a pvserver instead of locally inside the client? If I start a pvserver on a headless machine and run the following script in a pvpython client, a window pops up on the client and shows the cone: from paraview import simple simple.