Re: [Paraview] Write xml for ParaView Plugin

2012-06-07 Thread Tuan Ha Tran
Hi Seb, Thank you for your reply. I'm sorry that I don't quite understand your instructions. I'm really new to ParaView. With my little knowledge in ParaView, I'll try to understand as follow : - First, I have to write my .xml file with a tab that have function declaration? So how

[Paraview] Function PrintfSelf - Utilisation in ParaView

2012-06-07 Thread Tuan Ha Tran
Hi everybody, PrintSelf is a function that every vtk Class can have to write out something. I wonder how can we use that class in ParaView, then Python Shell? Do we have to write the .xml Server Manager file to use PrintSelf. And if yes, can anyone tell me how? Thank you very

Re: [Paraview] Function PrintfSelf - Utilisation in ParaView

2012-06-07 Thread Utkarsh Ayachit
If you're not running in client-server mode, you can simply do the following in the Python shell to call the PrintSelf method: print proxy.GetClientSideObject() On Thu, Jun 7, 2012 at 4:26 AM, Tuan Ha Tran tuan-ha.t...@insa-lyon.fr wrote: Hi everybody,     PrintSelf is a function that every

Re: [Paraview] Paraview v 3.14, GradientOfUnstructuredDataSet1, vorticity

2012-06-07 Thread Ricardo Reis
On Wed, 6 Jun 2012, Andy Bauer wrote: Hi, This filter is a bit confusing to use (along with being poorly named since it works with image data, rectilinear grids, etc.). When you choose the Vorticity it returns the vorticity instead of the gradient field. When you select Q criterion it returns

[Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
As far as I can see, if I generate LIC with, say, shear then you have to use shear as the variable on the surface below the LIC itself. Would it be possible, for example, to create the LIC using shear but display pressure on the surface? Regards, Joseph David Borġ http://www.jdborg.com

Re: [Paraview] Function PrintfSelf - Utilisation in ParaView

2012-06-07 Thread Tuan Ha Tran
Hi Utkarsh, Thank you for your reply . I tried to add a small code into Prinself function to know it's good. So I add : os extent Here is my attribute : this-myAttribute \n; Recompiled, load the plugin into Paraview. I tried print reader2.GetClientSideObject() (reader 2 is a output type

[Paraview] suggested vtk and paraview courses

2012-06-07 Thread David E DeMarle
Hi folks, I am planning to create new material (ebook articles, webinars/videos, on-site courses) covering VTK and ParaView topics this summer. Some of this will be free, some will be available for purchase only. In general I am thinking of advanced and domain specific content. What topics would

Re: [Paraview] Function PrintfSelf - Utilisation in ParaView

2012-06-07 Thread Utkarsh Ayachit
try this: print reader2.GetClientSideObject().GetClassName() Is that the class you were expecting? On Thu, Jun 7, 2012 at 6:56 AM, Tuan Ha Tran tuan-ha.t...@insa-lyon.fr wrote: Hi Utkarsh, Thank you for your reply . I tried to add a small code into Prinself function to know it's good. So

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Utkarsh Ayachit
Are you saying LIC with one variable and coloring with another? (Not sure what you mean by display pressure on the surface). You can indeed color using another variable. Utkarsh On Thu, Jun 7, 2012 at 6:51 AM, Joe Borġ m...@jdborg.com wrote: As far as I can see, if I generate LIC with, say,

[Paraview] ParaView Plugin .xml how to

2012-06-07 Thread Tuan Ha Tran
Hi everybody, I have another question, I hope that you can help me. So, my class vtkOtsuSphereSource has an attribute name OpThreshold of type double. I want to Set it value using ParaView. I followed an tutorial from which I can get my job done by adding some tab in my .xml

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
That is what I mean (so the surface of the object I've put LIC on to paint as a scalar that's different to the vector I've made LIC with). How is this done? Regards, Joseph David Borġ http://www.jdborg.com On 7 June 2012 12:53, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Are you

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread David E DeMarle
Just change the Color by entry from Solid Color to one of the fields. If this is not working for you, what paraview version and what platform are you on? David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 7, 2012 at 10:46

Re: [Paraview] ParaView Plugin .xml how to

2012-06-07 Thread Tuan Ha Tran
I tried to call my function double calculateOptimalThreshold(vtkImageData *voi) which have a return attribute as an OpThreshold that I want to extract the value as well. I use the following tab for my .xml ServerManager.

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
Hi David, I'm on 3.14.1 (64-bit) on both Linux and Mac. Surface LIC is selected in the same menu as Surface, Points etc. The option you are mentioning (2 places left) is where you need to select the variable to make the LIC with so if you change that, the LIC changes tool: [image: Inline images

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread David E DeMarle
Go to the bottom of the Display tab. Change the Vectors field to something other than what is set in the Color By field. David E DeMarle Kitware, Inc. RD Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 7, 2012 at 11:12 AM, Joe Borġ m...@jdborg.com wrote:

Re: [Paraview] ParaView Plugin .xml how to

2012-06-07 Thread David E DeMarle
Your c++ class has: double calculateOptimalThreshold(vtkImageData *voi) But your xml property specification says paraview should call this: void calculateOptimalThreshold(double *argument) To pass in an image data you will need to use a ProxyProperty, not a double vector property. David E

[Paraview] How to read individual files with a numerical extension that are not a timeseries?

2012-06-07 Thread RVA Developer
Hi everyone, We have data files generated by UTChem that are numerically ordered that we wish to read with our own custom Paraview application RVA- mymodel.HIST01 mymodel.HIST02 However these HIST files will correspond to different objects (vtkTable data) NOT timeseries data. When we rename one

[Paraview] How to read individual files with a numerical extension that are not a timeseries?

2012-06-07 Thread RVA Developer
Hi everyone, We have data files generated by UTChem that are numerically ordered that we wish to read with our own custom Paraview application RVA- mymodel.HIST01 mymodel.HIST02 However these HIST files will correspond to different objects (vtkTable data) NOT timeseries data. When we rename one

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
Ah thank, I now see they are on different tabs (I thought they were linked). Is it possible to change the opacity level of the LIC? Regards, Joseph David Borġ http://www.jdborg.com On 7 June 2012 16:16, David E DeMarle dave.dema...@kitware.com wrote: Go to the bottom of the Display tab.

Re: [Paraview] ParaView Plugin .xml how to

2012-06-07 Thread Tuan Ha Tran
That really helpful your reply. But, I always have errors with === DoubleVectorProperty name=OpThreshold command=SetOpThreshold number_of_elements =1 default_values=0 /DoubleVectorProperty And normaly, I can entre a value in a box

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Utkarsh Ayachit
On the display tab, I believe there's a setting that allows you to change the intensity of the LIC. On Thu, Jun 7, 2012 at 11:42 AM, Joe Borġ m...@jdborg.com wrote: Ah thank, I now see they are on different tabs (I thought they were linked). Is it possible to change the opacity level of the

Re: [Paraview] ParaView Plugin .xml how to

2012-06-07 Thread Yumin Yuan
On Thu, Jun 7, 2012 at 11:44 AM, Tuan Ha Tran tuan-ha.t...@insa-lyon.fr wrote: That really helpful your reply. But, I always have errors with ===    DoubleVectorProperty name=OpThreshold  command=SetOpThreshold number_of_elements =1

Re: [Paraview] Parallel Streamtracer

2012-06-07 Thread Burlen Loring
Hi Stephan, I've experienced the scaling behavior that you report when I was working on a project that required generating millions of streamlines for a topological mapping algorithm interactively in ParaView. To get the required scaling I wrote a stream tracer that uses a load on demand

[Paraview] Internationalization of Paraview

2012-06-07 Thread Karl Merkley
Has anybody looked at language support in Paraview? Specifically, has anybody done a Russian or Japanese version of Paraview? Is it doable and how much work is it? Thanks, Karl ___ Powered by www.kitware.com Visit other Kitware

Re: [Paraview] Surface LIC with different variable on surface

2012-06-07 Thread Joe Borġ
There is, thanks! Regards, Joseph David Borġ http://www.jdborg.com On 7 June 2012 16:46, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: On the display tab, I believe there's a setting that allows you to change the intensity of the LIC. On Thu, Jun 7, 2012 at 11:42 AM, Joe Borġ

[Paraview] Some feedback please: Referencing invalid variable array names in Python Calculator/Find Data/Calculator

2012-06-07 Thread RVA Developer
On 6/7/12 7:24 AM, Utkarsh Ayachit wrote: Lawrence, Very good point. I'd definitely vote posting this on the mailing list, as I'd like to get feed back from the users/developers before we decide what would be the best approach for dealing with names. A patch is always appreciated :). For other

Re: [Paraview] Write xml for ParaView Plugin

2012-06-07 Thread Sebastien Jourdain
Hi Tuan, a ParaView proxy is a wrapper class that allow ParaView to abstract the real location of the vtkObject that are managed by those proxies. Even though you are using ParaView as a single process, its design is to also work on cluster or super computer. Saying that, a proxy is either a

Re: [Paraview] Write xml for ParaView Plugin

2012-06-07 Thread Tuan Ha Tran
Seb, It really what I'm looking for. I really appreciate your reply. Thank you very much indeed. I think that could help me a lot with my workings. I'll give you feedbacks asap. Thank you again. - Original Message - From: Sebastien Jourdain

Re: [Paraview] animation series with xdmf format

2012-06-07 Thread Mohammad Mirzadeh
Got it! Could use Time tags along with a grid collection. http://visitusers.org/forum/YaBB.pl?num=1265131595 Still wondering if its possible to use the previous format; anyone? On Thu, Jun 7, 2012 at 5:10 PM, Mohammad Mirzadeh mirza...@gmail.comwrote: Hi, I'm using file.%d.xmf for my xdmf

Re: [Paraview] animation series with xdmf format

2012-06-07 Thread Mohammad Mirzadeh
A quick question: When I have multiple Time tags along with multiple Grid tags, as mentioned in this link http://visitusers.org/forum/YaBB.pl?num=1265131595, does paraview open all the time steps at once or only when needed? On Thu, Jun 7, 2012 at 5:43 PM, Mohammad Mirzadeh

[Paraview] Question about Integrate Variables Filter

2012-06-07 Thread Magician
Hi all, I'm now comparing integration results of each postprocessors. I made a simple Quadratic VTK model as below: # vtk DataFile Version 2.0 QuadCell ASCII DATASET UNSTRUCTURED_GRID POINTS 4 FLOAT 0 0 0 1 0 0 0 1 0 1 1 0 CELLS 1 5 4 0 1 3 2 CELL_TYPES 1 9 POINT_DATA 4 SCALARS

Re: [Paraview] help about the animation of image and mesh sequences

2012-06-07 Thread Zhijun Zhang
I have not find a solution for this. I do not know whether this is a too simple question however I have not find this problem the paraview guide. Any idea is appreciated. Thank your very much. regards, Alex 2012/6/5 Zhijun Zhang zjzh...@gmail.com Dear all: I have an animation