Re: [Paraview] Changing values of property panel

2016-01-28 Thread Yumin Yuan
rrayName" ).Set( arrayName > ); > vtkSMPropertyHelper( uRepProxy, "Visibility" ).Set( 1 ); > vtkSMPropertyHelper( uRepProxy, "Representation" ).Set( "Surface" > ); > > repProxy->UpdateVTKObjects(); > uRepP

Re: [Paraview] Changing values of property panel

2016-01-27 Thread Yumin Yuan
Hi Andrzej, The representation has its own SM proxy, vtkSMProxy* repProxy = repr->getProxy(); vtkSMPropertyHelper(repProxy, "Representation").Set("Surface With Edges"); vtkSMPropertyHelper(repProxy, "LineWidth").Set(2); HTH, Yumin On Wed, Jan 27, 2016 at 7:36 AM, Andrzej Peczak

Re: [Paraview] Replacement for colorByArray

2014-09-05 Thread Yumin Yuan
Hi Michael, Checkout out vtkSMPVRepresentationProxy::SetScalarColoring(...). I think that's what you are looking for. Yumin On Fri, Sep 5, 2014 at 9:24 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I have an application that I’m trying to conform back to git-master in preparation

Re: [Paraview] Replacement for colorByArray

2014-09-05 Thread Yumin Yuan
Hi Michael, Please see inline comments below, On Fri, Sep 5, 2014 at 11:03 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Yumin, Thanks for the pointer as now the array is set. My next problem is that the transfer function range is (0, 1) and not the range of my array. I tried using

Re: [Paraview] Existential Pleasures of Ruler Sources

2013-06-19 Thread Yumin Yuan
Are you sure only one instance is created? By default all instances are created at the same locations. If you move one of the points, can you see the other rulers? Yumin On Wed, Jun 19, 2013 at 11:52 AM, dconk...@neo.rr.com wrote: All, Running 4.0.1, although I think it was the same in

Re: [Paraview] Existential Pleasures of Ruler Sources

2013-06-19 Thread Yumin Yuan
Okay, I see what you mean. Look like the behavior is changed from 3.98.0, which actually shows all the instances at the same time. You can file a bug report on this. Yumin On Wed, Jun 19, 2013 at 1:51 PM, Yumin Yuan yumin.y...@kitware.com wrote: Are you sure only one instance is created

Re: [Paraview] Build Error with 4.0 Sources on VS 2012 Express

2013-06-18 Thread Yumin Yuan
Hi Michael, I saw you also using CTK (ctkDoubleRangeSlider)? how does that gets pulled in when you are building Paraview? The only thing I can think of is QtTesting. Are you using QtTesting built from CTK? Yumin On Tue, Jun 18, 2013 at 11:16 AM, Kyle Lutz kyle.l...@kitware.com wrote: On Tue,

Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

2013-01-09 Thread Yumin Yuan
version 4.8.1 in /usr/lib64 Pei-Ying From: Yumin Yuan yumin.y...@kitware.com To: Pei-Ying Hsieh phsieh2...@yahoo.com Cc: Utkarsh Ayachit utkarsh.ayac...@kitware.com; paraview paraview@paraview.org Sent: Tuesday, January 8, 2013 5:04 PM Subject: Re

Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

2013-01-09 Thread Yumin Yuan
for Paraview-3.98 (for linux 64)? Maybe I am missing some library or have conflicts? I have several workstations with OpenSUSE 12.2 64. All having the same issue. Best Regards, Pei-Ying From: Yumin Yuan yumin.y...@kitware.com To: Pei-Ying Hsieh phsieh2

Re: [Paraview] ParaView from git, make fail on OpenSUSE 12.2

2013-01-08 Thread Yumin Yuan
A trial-and-error suggestion to debug the problem: The segfault seems to be due to an uninitialized vtkProcessMoudule, and to narrow down a bit more (if that is the issue), can you try to set PARAVIEW_USE_MPI cmake variable to OFF, then run 'paraview -dr' to see if that makes a difference? Yumin

Re: [Paraview] Error with Qt while installing Paraview

2013-01-07 Thread Yumin Yuan
Also, the QT_QMAKE_EXECUTABLE variable Utkarsh was talking about is a CMake varialble. Try to set that variable at cmake configure step. HTH, Yumin On Mon, Jan 7, 2013 at 9:52 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Qt 5 isn't supported yet. Stick with 4.8.*. Although I am sure

Re: [Paraview] load obj file and display via Paraview python shell

2012-12-05 Thread Yumin Yuan
Hi Li, There is a wiki page on Python_Scripting in Paraview http://paraview.org/Wiki/ParaView#Python_Scripting You may find the Trace UI tool in paraview very useful to get yourself started. http://paraview.org/Wiki/Python_GUI_Tools#Trace HTH, Yumin On Tue, Dec 4, 2012 at 5:52 PM, Pat Marion

Re: [Paraview] Select Cells On etc.: Remove current selection from whole selection - possible?

2012-12-05 Thread Yumin Yuan
Hi Carl-Heinz, This feature is not supported in Paraview currently. You can add a feature request on ParaView User Voice (http://paraview.uservoice.com). The main issue here is that paraview supports many types of selections, and it will take some efforts to make this work across all selection

Re: [Paraview] trigger a custom panel function/slot after apply button

2012-12-05 Thread Yumin Yuan
Hi Felipe, If you customized panel is derived from pqProxyPanel, you can either override the accept() method, or do a connection like this: QObject::connect(this-propertyManager(), SIGNAL(accepted()), this, SLOT(finish())); HTH, Yumin On Tue, Dec 4, 2012 at 5:18 AM, Felipe Bordeu

Re: [Paraview] texture mapping in paraview

2012-07-09 Thread Yumin Yuan
Hi Guodong, You should use the Users Guide from Paraview's wiki http://paraview.org/Wiki/ParaView/Users_Guide/Table_Of_Contents The part on Texture is here http://paraview.org/Wiki/ParaView/Displaying_Data HTH Yumin On Sun, Jul 8, 2012 at 10:34 PM, guodong yuan myua...@gmail.com wrote: In

Re: [Paraview] Trouble with information_only GUI property in paraview filter

2012-06-08 Thread Yumin Yuan
I debugged paraview and found that the GetNumFeatures method was being called. It just seems that the property isn't being displayed. Could this really be a bug in paraview? Thanks, Alex On 06/08/2012 01:22 PM, Yumin Yuan wrote: Hi Alex, You can add the following to your xml to see

Re: [Paraview] Trouble with information_only GUI property in paraview filter

2012-06-08 Thread Yumin Yuan
this property to display? Thanks again, Alex On 06/08/2012 02:28 PM, Yumin Yuan wrote: Hi Alex, If you can debug into pqNamedWidgets::createWidgets(), and see where and why this property is being skipped, it will help to narrow down the problem, especially around this piece of logic (starting

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] VTK Writer

2012-05-10 Thread Yumin Yuan
Is this your own csv writer? if yes, did you have hints for the writer in your xml config file /WriterProxy .. Hints WriterFactory extensions=csv file_description=my csv writer/ /Hints /WriterProxy This is something I found out that I have to do for my

Re: [Paraview] Color Table File Format

2012-05-08 Thread Yumin Yuan
Great work, Burlen, and you are right that the xml file format has not been updated to support the latest changes in color editor. Would you mind creating an entry for this in Mantis? Thanks, Yumin On Tue, May 8, 2012 at 11:43 AM, Burlen Loring blor...@lbl.gov wrote: great! I have just spent

Re: [Paraview] Plugin selecting points and fitting sphere to them

2012-04-05 Thread Yumin Yuan
Hi Peter, If I understand you correctly, what you can do is to derive the filter from vtkPolyDataAlgorithm, and set up two inputs for the filter, one for the model, one for the selection. You can look at vtkExtractSelectedPolyDataIds to see how to set it up. Then, on Paraview side, you need to

Re: [Paraview] Paraview 3.14 vs 3.12-RC2

2012-04-04 Thread Yumin Yuan
Some fixes for “Edit color map” went in the coming 3.14.1 release, so you can try it out to see if random crash is still there. Yumin On Wed, Apr 4, 2012 at 2:33 PM, Robert Maynard robert.mayn...@kitware.com wrote: Hi, I was able to replicate the select points bug only on some of the

Re: [Paraview] Crash on vtr file load

2012-02-10 Thread Yumin Yuan
I believe I reproduced the crash on my 64 bit XP machine with 8G RAM. Looking into it right now. Yumin On Fri, Feb 10, 2012 at 10:46 AM, David E DeMarle dave.dema...@kitware.com wrote: Yes I know that Utkarsh. I still would like Dr Zenker to reconfirm so that we can reproduce, isolate and

Re: [Paraview] Crash on vtr file load

2012-02-10 Thread Yumin Yuan
at 10:49 AM, Yumin Yuan yumin.y...@kitware.com wrote: I believe I reproduced the crash on my 64 bit XP machine with 8G RAM. Looking into it right now. Yumin On Fri, Feb 10, 2012 at 10:46 AM, David E DeMarle dave.dema...@kitware.com wrote: Yes I know that Utkarsh. I still would like Dr

Re: [Paraview] ParaView-3.12.0-Win64-x86.exe for Win32?

2011-11-14 Thread Yumin Yuan
The win32*- in mkspecs deosn't mean you have 32bit build necessarily. You can try to find out whether your Qt build is 32 or 64 bit by adding this in your projects.pro win32-msvc*:contains(QMAKE_TARGET.arch, x86_64):{ message( Building for 64 bit) } or just start my-Qt-build/bin/designer.exe,

Re: [Paraview] LOD Algorithm

2011-08-01 Thread Yumin Yuan
Instead of modifying the underlying LOD algorithm, what about turning off the LOD, and create a new type of representation for your data with the small vtkUnstructuredGrid? and of course, you have to change the representation to this new type during mouse interaction. Yumin On Mon, Aug 1, 2011

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Yumin Yuan
/mailman/listinfo/paraview -- Yumin Yuan RD Engineer Kitware Inc. www.kitware.com Phone : (518) 881-4936 email : yumin.y...@kitware.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [Paraview] Reader has Filters Disabled`

2011-05-10 Thread Yumin Yuan
/mailman/listinfo/paraview -- Yumin Yuan RD Engineer Kitware Inc. www.kitware.com Phone : (518) 881-4936 email : yumin.y...@kitware.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [Paraview] Auto-load plugin failed

2009-10-30 Thread Yumin Yuan
Great, thanks. Yumin On Fri, Oct 30, 2009 at 11:45 AM, Jérôme jerome.ve...@gmail.com wrote: Hi Yumin, I submitted a bug reporting this issue. I hope I did it well.    http://public.kitware.com/Bug/view.php?id=9803 Best regards, Jerome 2009/10/27 Yumin Yuan yumin.y...@kitware.com Hi

Re: [Paraview] Auto-load plugin failed

2009-10-27 Thread Yumin Yuan
... No problem. Yumin Yumin Yuan RD Engineer Kitware Inc. www.kitware.com Phone : (518) 881-4936 email : yumin.y...@kitware.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [Paraview] Auto-load plugin failed

2009-10-26 Thread Yumin Yuan
-- Yumin Yuan RD Engineer Kitware Inc. www.kitware.com Phone : (518) 881-4936 email : yumin.y...@kitware.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [Paraview] Auto-load plugin failed

2009-10-26 Thread Yumin Yuan
/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview -- Yumin Yuan RD Engineer Kitware Inc. www.kitware.com

Re: [Paraview] UseDirectoryName hint

2009-06-01 Thread Yumin Yuan
/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview -- Yumin Yuan RD Engineer Kitware Inc. www.kitware.com