[Paraview] problem getting pvserver to load plugin; possible connected error message

2009-09-17 Thread Christine Corbett Moran
I have created a plugin which functions on my client machine (when the GUI is run on the client) as well as on my server machine (when the GUI is run on the server machine), but not if I run the GUI on the client and connect to the server machine running pvserver (I am currently for the exercise ru

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Berk Geveci
In all likelihood, the allocation is failing because the process is unable to allocate the memory you ask it to. I am not surprised that this happens in ParaView not in VTK because ParaView tends to allocate a fair number of small objects probably segmenting the memory somewhat. Did you try a 64 b

Re: [Paraview] issue with Contour on ImageData & UnstructuredGrid...

2009-09-17 Thread Berk Geveci
I think you are out of luck here. The clip filter uses a different algorithm than cut/contour because it needs to break cells into tets to create a bounded volume (instead of producing triangles). This algorithm creates the artifacts that you are seeing. This is on our list of things to fix but it

Re: [Paraview] problem getting pvserver to load plugin; possible connected error message

2009-09-17 Thread Utkarsh Ayachit
After you get the error message when you try to load the plugin on the remote side, has the server disconnected/crashed or something on those lines? Utkarsh On Thu, Sep 17, 2009 at 4:20 AM, Christine Corbett Moran wrote: > I have created a plugin which functions on my client machine (when the GU

Re: [Paraview] problem getting pvserver to load plugin; possible connected error message

2009-09-17 Thread Christine Corbett Moran
No, no crash, and I can still use the connection as normal. Only I am unable to load the plugin. Christine On Thu, Sep 17, 2009 at 2:53 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > After you get the error message when you try to load the plugin on the > remote side, has the server

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Fred Fred
Hmmm, doubtful since in my test this->grid_xsize == this->grid_ysize == 10 !! > Date: Thu, 17 Sep 2009 08:11:43 -0400 > Subject: Re: [Paraview] PV and the STL: memory allocation issue > From: berk.gev...@kitware.com > To: stan1...@hotmail.fr > CC: paraview@paraview.org > > In all likelihood, the

Re: [Paraview] issue with Contour on ImageData & UnstructuredGrid...

2009-09-17 Thread fred
Berk Geveci a écrit : > I think you are out of luck here. The clip filter uses a different > algorithm than cut/contour because it needs to break cells into tets > to create a bounded volume (instead of producing triangles). This > algorithm creates the artifacts that you are seeing. This is on our

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Paul Edwards
Are you running this through a debugger? And, is that the line that it is failing on? Finally, can you post the PV code that is failing? Regards, Paul 2009/9/17 Fred Fred > Hmmm, doubtful since in my test this->grid_xsize == this->grid_ysize == 10 > !! > > > Date: Thu, 17 Sep 2009 08:11:43

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Fred Fred
Yes this is exactly the line of code that fails, I put printf();getchar(); items before and after (sorry I do not use a debugger). Ok I may send the code but I doubt it could help because, this line is clear and I checked the argument (=100), so what? Date: Thu, 17 Sep 2009 16:34:29 +0100 Subje

[Paraview] Reader plugin have same extension

2009-09-17 Thread Bam Ting
I have problem with ParaView! Two reader read file - same extension! how can ParaView choose mine instead of this other? He crash because his expect the other file not mine :) ___ Powered by www.kitware.com Visit other Kitware open-source projects at ht

Re: [Paraview] Reader plugin have same extension

2009-09-17 Thread David E DeMarle
Precedence is based on order in the XML, last XML entry parsed gets priority so that plugins override the provided readers easily. In addition, readers can have a bool CanReadFile(); method, which gets called before the decision is finalized. David E DeMarle Kitware, Inc. R&D Engineer 28 Corporat

[Paraview] Developing Filter for Paraview

2009-09-17 Thread Arsham Mesbah
I am currently trying to start working on developing a filter for Paraview, since I am really new to VTK and Paraview I thought maybe I'd write and ask you. The following are what I currently need to do: Geeting familiar with how scene graph is implemented with in Paraview and how Paraview handle

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Timothy M. Shead
On Wed, Sep 16, 2009 at 11:16 AM, Fred Fred mailto:stan1...@hotmail.fr>> wrote: I use the STL through vtkstd: vtkstd::vector > > grid; This may-or-may not address your specific problem, but I wanted to mention that this is a really inefficient way to store a three-dimensional array. VT

Re: [Paraview] PV and the STL: memory allocation issue

2009-09-17 Thread Paul Edwards
I think there is another problem with your code and it just fails in that place - you are probably overwriting memory somewhere. By having a vector > > > and then just allocating the first to size of x*y, you will result in a vector or length x*y each containing empty vector >'s. Are you sure thi

Re: [Paraview] Reader plugin have same extension

2009-09-17 Thread Bam Ting
You right! I change the order of the plugin load and it work. But I don like it! Then who want to use this has to make sure plugin load in some order? and what if he want to use the other one on the other file? I say that when PV encounter two reader that claim same extension then best let user de

Re: [Paraview] Reader plugin have same extension

2009-09-17 Thread David E DeMarle
Sure you have a choice. File a feature request. If you can't wait, change the code. If you do, please submit a patch so everyone can benefit from your effort. I say that when PV encounter two reader that claim same extension then best > let user decide which he want to be use. that will be my choi

[Paraview] Scene Graph.

2009-09-17 Thread Arsham Mesbah
Does anyone knows anything about the implementation of scene graph and how it is implemented in ParaView? I need to understand how it is implemented, name of the classes and modules and their locations. I was not able to find anything on the web unfortunately. -- Sincerely Yours, Arsham Mesbah Un

Re: [Paraview] Reader plugin have same extension

2009-09-17 Thread Moreland, Kenneth
Also don't forget about the CanReadFile option. Implementing CanReadFile is by far the best option of them all because it will allow ParaView to always pick the right file without pestering the user with a chooser dialog box, which can be quite annoying. -Ken On 9/17/09 2:12 PM, "David E DeM

Re: [Paraview] Scene Graph.

2009-09-17 Thread Moreland, Kenneth
There is no real scene graph, per se. For each view, ParaView has a representation object, implemented as a subclass of vtkSMRepresentationProxy, for each pipeline object that manages how that data is drawn in the view. One of the parameters is always whether the object is visible (drawn or no

Re: [Paraview] Reader plugin have same extension

2009-09-17 Thread Nehme Bilal
CanReadFile can sometime be accepted by more than one reader. A csv file for example. So CanReadFile is not always enough. Personally I create my own extension to avoid conflict and ask the users to change the extension of their file before opening it in Paraview. Probably letting the user choose