Re: [Paraview] what defines the font type and size of CubeAxis?
Ricardo, Looks like currently there's no way to change the cube-axes font and other properties. Feel free to add a feature request for that. Seems like a reasonable request. Utkarsh On Fri, Jan 7, 2011 at 2:09 PM, Ricardo Reis rr...@aero.ist.utl.pt wrote: I mean, of the axis shown by Display Annotation Show Cube Axis ? best, Ricardo Reis 'Non Serviam' PhD candidate @ Lasef Computational Fluid Dynamics, High Performance Computing, Turbulence http://www.lasef.ist.utl.pt Cultural Instigator @ Rádio Zero http://www.radiozero.pt http://www.flickr.com/photos/rreis/ contacts: gtalk: kyriu...@gmail.com skype: kyriusan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] slice + stream tracer only on 1/2 of the slice
You could clip the data instead of slice and then stream-trace the clipped part. Utkarsh On Mon, Jan 10, 2011 at 9:54 AM, Stephen Wornom stephen.wor...@inria.fr wrote: I make a z-slice of 3D data. I would like to use stream tracer only on the top 1/2. How do I do this? Thanks if advance, Stephen -- stephen.wor...@inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Turn off the clipping plan
By turning off clip plane, you mean hiding the widget? There is clean way of hiding the widget from Python. A work around is setting the active source to be something other than the clip filter using SetActiveSource(...) Utkarsh On Mon, Jan 10, 2011 at 6:40 PM, wast...@gmail.com wrote: Any help will be appreciated! On Mon, Jan 10, 2011 at 1:54 PM, wast...@gmail.com wrote: Dear all, Is there a python command which can be used to turn off the clipping plan when applying a clip filter? Thanks, Ken ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Turn off the clipping plan
I meant there is NO clean way ... :). On Mon, Jan 10, 2011 at 10:20 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: By turning off clip plane, you mean hiding the widget? There is clean way of hiding the widget from Python. A work around is setting the active source to be something other than the clip filter using SetActiveSource(...) Utkarsh On Mon, Jan 10, 2011 at 6:40 PM, wast...@gmail.com wrote: Any help will be appreciated! On Mon, Jan 10, 2011 at 1:54 PM, wast...@gmail.com wrote: Dear all, Is there a python command which can be used to turn off the clipping plan when applying a clip filter? Thanks, Ken ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Crash when using a selection tool while visualizing with SurfaceLIC
What version are you using? I just tried with git-master (3.9) and selection seems to work fine on disk_out_ref dataset with SurfaceLIC. Utkarsh 2011/1/11 Aurélien Marsan aur.mar...@gmail.com: Good Morning, All is in the title. Does anyone already noticed that ? Regard, Aurélien ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Level of Detail (LOD) significantly slower in PV3.9.0 compared to PV3.8.1
however from the coarse view back to the detailed one pv 3.9.0 is about factor of 2-4 slower compared to pv 3.8.1. ParaView 3.9 has a feature which can be turned off by the user using the Setting dialog which results in ParaView delaying the switch back from Interactive render by a few seconds. You should be seeing a countdown in the status bar as that starts happening. Within this time, user can start interaction again thus avoid having to wait for fullres render when doing continuous adjustments to the camera. If you don't want it, turn if off by using Edit | Settings dialog and then on the Render View page, set Lock Interactive Render slider to 0. Utkarsh ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] cell-id selection
Try apply a filter such a Extract Surface and then select on the surface. Extract Surface will extract surface triangles from your tets, then you can select those. One cannot select faces of a cell without selecting the whole cell in ParaView, so you have to apply a filter to change your dataset accordingly. Utkarsh On Wed, Jan 12, 2011 at 11:34 PM, oka o...@bpe.es.osaka-u.ac.jp wrote: Dear paraview users, I am trying select cell-ids of surface of 3D. When picking surface triangle element, tetrahedral element was selected. I want to select only triangle elements. Could you show me how to pick triangle elements not tetrahedral elements ? Best regards, Oka -- oka o...@bpe.es.osaka-u.ac.jp ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Crash when using a selection tool while visualizing with SurfaceLIC
Not really. So are you saying that surface selection does not work at all on your machine? Even without loading the SurfaceLIC plugin at all? Utkarsh 2011/1/11 Aurélien Marsan aur.mar...@gmail.com: I just tried with the 3.8.1 (64bits), and it crashes again. The Select Cells On and Select Points On don't work too, even if I display the mesh or the surface instead of the surfaceLIC. Maybe an error of myself while compiling ? Is there a required option in the compilation ? Le 11 janvier 2011 15:13, Aurélien Marsan aur.mar...@gmail.com a écrit : I am using the 3.8.1-RC1. I will download the 3.8.1 on your website and compile it, and check if it works. I will let you know. Le 11 janvier 2011 14:59, Utkarsh Ayachit utkarsh.ayac...@kitware.com a écrit : What version are you using? I just tried with git-master (3.9) and selection seems to work fine on disk_out_ref dataset with SurfaceLIC. Utkarsh 2011/1/11 Aurélien Marsan aur.mar...@gmail.com: Good Morning, All is in the title. Does anyone already noticed that ? Regard, Aurélien ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Updating the GUI when the filename has changed
Unfortunately, this is not possible with auto-generated GUIs. You have have a custom panel in which you explicitly update property informations when the filename is changed. Utkarsh On Thu, Jan 13, 2011 at 1:13 PM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I'm exposing the file name for several sources and I would like the GUI to update when the file name changes. Is this possible with the XML generated GUIs? An example in the ParaView source is the tecplot reader - if the file name is exposed it does not update the array list when changed. Thanks, Paul ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Hint to color the output by a given array
It's not possible currently, but not a bad idea at all. Feel free to add it to the bug tracker. Shouldn't be too hard to implement. Utkarsh On Fri, Jan 14, 2011 at 6:19 AM, Stephane PLOIX stephane.pl...@edf.frwrote: Hi, Is there a Hint tag that I can use to tell ParaView to color the output of a given filter by a given array? By default, ParaView uses for the output the same colot as was used for the input, which is fine in most cases. However, I would sometimes like to specify a given color for the output different than for the input, is it possible? Typical use case : in the filter, set an array as the ActiveVector (using output-GetPointData()-SetActiveVectors(my_array_name)), and I would like the output to be colored by this vector by default. Best, Stephane *Stephane PLOIX** Pilote Opérationnel - Visualisation scientifique* EDF - RD SINETICS 1, Av du Général de Gaulle 92140 Clamart *stephane.pl...@edf.fr* Tél. : +33 (0) 1 47 65 51 10 Un geste simple pour l'environnement, n'imprimez ce message que si vous en avez l'utilité. Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message. Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus. This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message. E-mail communication cannot be guaranteed to be timely secure, error or virus-free. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] ParaView v3.9.0: problems with exporter plug-in
Don't use vtkMapper::GetInput(), that downcasts to vtkPolyData. Using GetInputDataObject(..) API. That should return you the dataobject. It may be a vtkCOmpositeDataSet (since ParaView no longer merges blocks in composite dataset before rendering). You'll have to handle each block in your exporter. Utkarsh On Tue, Jan 18, 2011 at 7:08 AM, Nenad Vujicic nena...@gmail.com wrote: Hello everyone, Because of Xdmf problems inside of v3.8.1, I tried to use my exporter plug-in with current v3.9.0 sources. I downloaded sources from Git repository and compiled them with Visual Studio 2008 SP1, Python 2.7 and OpenMPI 1.4.3. Unfortunately, in exported scene I got only center of rotation axes and orientation axes. After closer inspection, I made very short snipped that shows the problem. In class derived from vtkExporter, in function WriteData() I override, I call following sequence: - for every renderer in RenderWindow - for every actor in renderer // only 3d actors - mapper = actor.GetMapper() - if(mapper != NULL) - mappers_input = mapper.GetInput() - print mappers_input // PROBLEM: NULL for whatever I add to pipeline, instead of 2 axes meshes At the moment, I read 3 renderers, the first renderer has 5 actors (2 for center of rotation axes mesh and 3 LOD actors), the second 0 and the third has 9 actors (all for orientation axes mesh). The problem is in 3 LOD actors for which I get vtkCompositePolyDataMapper2 objects as mappers, but which return NULL on GetInput() always! In v3.8.x I used same mechanism to get vtkPolyData and other data sets from which I would later extract scene's properties. Am I doing something wrong or exporter's part still requires some work before v3.9.0 is released? Btw, similar occurs when I try to export scene to VRML - only center of rotation axes mesh is exported. Thanks, Nenad. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] xdmf mailing list
Here's the link to the xdmf mailing list: http://www.kitware.com/cgi-bin/mailman/listinfo/xdmf Dave, can you fix the wiki please? You seem to have access to it, I don't. Utkarsh On Mon, Jan 17, 2011 at 9:18 PM, Dan Lussier dtluss...@gmail.com wrote: I have tried to sign up for the XDMF mailing list x...@lists.kitware.com as per http://www.xdmf.org, but the list doesn't seem to be working. Does the XDMF mailing list exist? Thanks! ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] python script how to change Data Range
The arguments to GetLookupTableForArray() are only the default values, when a new lookuptable is created. If one exists, then they don't make any changes. Change the RGBPoints explicitly as follows: 1_p_PVLookupTable.RGBPoints = [] Utkarsh 2011/1/18 小縣信也 so020...@gmail.com: Hi paraviewers! I tried to change Data Range of color bar by paraview python script. But It didn't work. Does someone know the reasson? Is there another way to change Data Range in script? Kind Regards, Shinya -code which I rtied-- ScalarBarWidgetRepresentation2 = CreateScalarBar( Title='p', Position2=[0.13, 0.5], Enabled=1, LabelFontSize=12, LabelColor=[0.47, 0.47, 0.47], TitleFontSize=12, TitleColor=[0.47, 0.47, 0.47], Position=[0.87, 0.25] ) 1_p_PVLookupTable = GetLookupTableForArray( p, 1, RGBPoints=[0.0, 0.0, 0.0, 1.0, 0.5, 1.0, 0.0, 0.0], ScalarRangeInitialized=1.0 ) ScalarBarWidgetRepresentation2.LookupTable = a1_p_PVLookupTable ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Something wrong with Ubuntu 10.10 - compared with Ubuntu 10.04
Do you have multiple versions of paraview installed by any chance? On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy newsbo...@gmail.com wrote: Hi David: - thanks for LD_LIBRARY_PATH-suggestion - I also found this suggestion on google and tried it earlier, however it still didn't / doesn't work (slightly different message): --- $ LD_LIBRARY_PATH=/usr/lib/paraview python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * paraview version 3.8.0, Date: 2010-03-26 Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated --- Any other clever ideas, please? On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview to LD_LIBRARY_PATH does it work? On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. newsbo...@gmail.com wrote: Dear all Please bear over with me, but I've tried to google for the following error messages and have seen that other people have the same problem as me (but the threads have been unanswered). I hope somebody can help me avoid this error: --- $ python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/pymodules/python2.6/paraview/simple.py, line 39, in module import servermanager File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 43, in module import paraview, re, os, new, sys, vtk File /usr/lib/pymodules/python2.6/paraview/vtk/__init__.py, line 4, in module from libvtkCommonPython import * ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object file: No such file or directory --- But it's not true - I've have the file it's looking for: martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8 ??? I know somebody who's running Ubuntu 10.04 and doesn't have this problem so I think the problem is related to something that has changed between these two versions... Please advice - any suggestions are most welcome... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Something wrong with Ubuntu 10.10 - compared with Ubuntu 10.04
If you simply run pvpython executable and import paraview, does that work? Utkarsh On Wed, Jan 19, 2011 at 8:34 AM, Mr. M newsbo...@gmail.com wrote: Sorry, no - I'm sure that there's only one version of paraview installed - the machine has a fresh Ubuntu 10.10 installation... Utkarsh Ayachit wrote: Do you have multiple versions of paraview installed by any chance? On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy newsbo...@gmail.com wrote: Hi David: - thanks for LD_LIBRARY_PATH-suggestion - I also found this suggestion on google and tried it earlier, however it still didn't / doesn't work (slightly different message): --- $ LD_LIBRARY_PATH=/usr/lib/paraview python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * paraview version 3.8.0, Date: 2010-03-26 Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated --- Any other clever ideas, please? On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview to LD_LIBRARY_PATH does it work? On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. newsbo...@gmail.com wrote: Dear all Please bear over with me, but I've tried to google for the following error messages and have seen that other people have the same problem as me (but the threads have been unanswered). I hope somebody can help me avoid this error: --- $ python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/pymodules/python2.6/paraview/simple.py, line 39, in module import servermanager File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 43, in module import paraview, re, os, new, sys, vtk File /usr/lib/pymodules/python2.6/paraview/vtk/__init__.py, line 4, in module from libvtkCommonPython import * ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object file: No such file or directory --- But it's not true - I've have the file it's looking for: martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8 ??? I know somebody who's running Ubuntu 10.04 and doesn't have this problem so I think the problem is related to something that has changed between these two versions... Please advice - any suggestions are most welcome... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Something wrong with Ubuntu 10.10 - compared with Ubuntu 10.04
I doubt it's ubuntu related. This is stop ParaView 3.8.0 or did you build it yourself? On Wed, Jan 19, 2011 at 8:48 AM, Mr. M newsbo...@gmail.com wrote: Thanks for your suggestion. pvpython outputs exactly the same errors message as with LD_LIBRARY_PATH=/usr/lib/paraview python The error appears only the first time I try to load/import the module. Despite the error message, the module seems to be loaded. However, if I run: servermanager.vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated() I received: Traceback (most recent call last): File stdin, line 1, in module AttributeError: GetProxyDefinitionsUpdated Any ideas? Isn't this a bug (or is it ubuntu-related)? Utkarsh Ayachit wrote: If you simply run pvpython executable and import paraview, does that work? Utkarsh On Wed, Jan 19, 2011 at 8:34 AM, Mr. M newsbo...@gmail.com wrote: Sorry, no - I'm sure that there's only one version of paraview installed - the machine has a fresh Ubuntu 10.10 installation... Utkarsh Ayachit wrote: Do you have multiple versions of paraview installed by any chance? On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy newsbo...@gmail.com wrote: Hi David: - thanks for LD_LIBRARY_PATH-suggestion - I also found this suggestion on google and tried it earlier, however it still didn't / doesn't work (slightly different message): --- $ LD_LIBRARY_PATH=/usr/lib/paraview python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * paraview version 3.8.0, Date: 2010-03-26 Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated --- Any other clever ideas, please? On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview to LD_LIBRARY_PATH does it work? On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. newsbo...@gmail.com wrote: Dear all Please bear over with me, but I've tried to google for the following error messages and have seen that other people have the same problem as me (but the threads have been unanswered). I hope somebody can help me avoid this error: --- $ python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/pymodules/python2.6/paraview/simple.py, line 39, in module import servermanager File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 43, in module import paraview, re, os, new, sys, vtk File /usr/lib/pymodules/python2.6/paraview/vtk/__init__.py, line 4, in module from libvtkCommonPython import * ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object file: No such file or directory --- But it's not true - I've have the file it's looking for: martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8 ??? I know somebody who's running Ubuntu 10.04 and doesn't have this problem so I think the problem is related to something that has changed between these two versions... Please advice - any suggestions are most welcome... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Something wrong with Ubuntu 10.10 - compared with Ubuntu 10.04
Okay that explains it. I am not sure how the ubuntu mainter built the 3.8.0 binary. I just tried the binaries available on ParaView website for 3.8.0 and there are no issues. I am guessing he somehow has brought in a more recent servermanager.py than 3.8.0. Solution would be to either use kitware binaries (http://paraview.org/files/v3.8/), or locate and edit servermanager.py manually to remove the offending line or wait for the next release. Utkarsh On Wed, Jan 19, 2011 at 9:06 AM, Mr. M newsbo...@gmail.com wrote: Yes - the installed paraview is 100% a standard-package binary version installed through the graphical package manager that ships with ubuntu 10.10 - I didn't build it myself, so there's no compile-options that could cause this problem... To David: So this is a package installed ParaView then? Yes it is... (sorry I answered before but my email program came up with error message about the mailserver and after trying a couple of times, the mailprogram crashed and refused to send you the answer, so here's the answer - and I hope the mail-program will not complain this time... Utkarsh Ayachit wrote: I doubt it's ubuntu related. This is stop ParaView 3.8.0 or did you build it yourself? On Wed, Jan 19, 2011 at 8:48 AM, Mr. M newsbo...@gmail.com wrote: Thanks for your suggestion. pvpython outputs exactly the same errors message as with LD_LIBRARY_PATH=/usr/lib/paraview python The error appears only the first time I try to load/import the module. Despite the error message, the module seems to be loaded. However, if I run: servermanager.vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated() I received: Traceback (most recent call last): File stdin, line 1, in module AttributeError: GetProxyDefinitionsUpdated Any ideas? Isn't this a bug (or is it ubuntu-related)? Utkarsh Ayachit wrote: If you simply run pvpython executable and import paraview, does that work? Utkarsh On Wed, Jan 19, 2011 at 8:34 AM, Mr. M newsbo...@gmail.com wrote: Sorry, no - I'm sure that there's only one version of paraview installed - the machine has a fresh Ubuntu 10.10 installation... Utkarsh Ayachit wrote: Do you have multiple versions of paraview installed by any chance? On Tue, Jan 18, 2011 at 5:47 PM, newsboost guy newsbo...@gmail.com wrote: Hi David: - thanks for LD_LIBRARY_PATH-suggestion - I also found this suggestion on google and tried it earlier, however it still didn't / doesn't work (slightly different message): --- $ LD_LIBRARY_PATH=/usr/lib/paraview python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * paraview version 3.8.0, Date: 2010-03-26 Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated Traceback (most recent call last): File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 2922, in _proxyDefinitionsUpdated if vtkSMObject.GetProxyManager().GetProxyDefinitionsUpdated(): AttributeError: GetProxyDefinitionsUpdated --- Any other clever ideas, please? On 2011-01-18 20:49, David Partyka wrote: If you add /usr/lib/paraview to LD_LIBRARY_PATH does it work? On Tue, Jan 18, 2011 at 2:44 PM, Mr. M. newsbo...@gmail.com wrote: Dear all Please bear over with me, but I've tried to google for the following error messages and have seen that other people have the same problem as me (but the threads have been unanswered). I hope somebody can help me avoid this error: --- $ python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type help, copyright, credits or license for more information. from sys import path path.append('/usr/lib/paraview') from paraview.simple import * Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/pymodules/python2.6/paraview/simple.py, line 39, in module import servermanager File /usr/lib/pymodules/python2.6/paraview/servermanager.py, line 43, in module import paraview, re, os, new, sys, vtk File /usr/lib/pymodules/python2.6/paraview/vtk/__init__.py, line 4, in module from libvtkCommonPython import * ImportError: libvtkCommonPythonD.so.pv3.8: cannot open shared object file: No such file or directory --- But it's not true - I've have the file it's looking for: martin@MEK-404-MFJO-01:~$ locate libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so /usr/lib/paraview/libvtkCommonPythonD.so.pv3.8 ??? I know somebody who's running Ubuntu 10.04 and doesn't have this problem so I think the problem is related to something that has changed
Re: [Paraview] Write a reader plugin
vtkStructuredGridReader is a vtkDataReader subclass. So, unless you are writing a reader that reads a file similar to the legacy VTK files, I'd simply subclass vtkStructuredGridAlgorithm making sure that you set the NumberOfInputPorts to 0 in the constructor of your subclass. The information widget will only show any fields after you've hit apply. Does it still now show anything? Is so, try putting a break point in your RequestData() function, is that being called? Are you producing valid data there? You might always want to verify that you are reporting correct WHOLE_EXTENT() etc. in the RequestInformation function. Utkarsh. On Sat, Jan 15, 2011 at 5:43 PM, Xunlei Wu xun...@renci.org wrote: Hi David and all, I am writing a reader plugin for ParaView. A test program without the VTK wrapping approves that I can get all the header (metadata) and grid data correctly. However, when I following the examples posted in http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.html and vtkStructuredGridReader.h/.cxx I got confused. Shall I subclass vtkStructuredGridAlgorithm or vtkStructuredGridReader? What are the differences? With minor differences in the code, i.e. defining char* FileName, I have both scenarios built fine. Let's say, we are subclassing vtkStructuredGridAlgorithm for now on. After I populate values as the following int vtkGRIB2Reader::RequestInformation(vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector *outputVector) { ... vtkInformation* outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), ext, 6); outInfo-Set(vtkDataObject::SPACING(), this-Spacing, 3); outInfo-Set(vtkDataObject::ORIGIN(), this-Origin, 3); return 1; } In ParaView Object Inspector / Information widget, I did not see any update in all the fields except Statistics / Type: Structured (Curvilinear) Grid. Would you please help me? Did I populate outInof in the wrong place? Thanks a lot. Best, xunlei ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Parallel rendering of Text sources
Not sure about 3.8.1, but it's definitely fixed in the development version and will be for the upcoming release 3.10.0. The release candidate binaries should be available for download in the next few days. Utkarsh On Mon, Jan 24, 2011 at 9:43 AM, Eelco van Vliet eelc...@gmail.com wrote: Dear paraviewers, I am trying render in parallel a scene + text. Unfortunately: the TextSourceRepresentation of the text does not work in parallel (is works in serial) If I do sm=servermanager sm.Connect() RenderView1 = sm.CreateRenderView() t=sm.sources.Text(Text=HELLO) timerep=sm.CreateRepresentation(t,RenderView1,proxyName=TextSourceRepresentation) RenderView1.StillRender() in shows a label in serial, but if a run the script on more the 2 cores, I get the mesaage +++ Process id: 1 ERROR: In /scratch/ParaView-3.8.1/VTK/Filtering/vtkDemandDrivenPipel 49 ine.cxx, line 827 50 vtkCompositeDataPipeline (0xdce1a0): Input for connection index 0 on input port index 50 0 for algorithm vtkTransmitPolyDataPiece(0xdcca20) is of type vtkTable, but a vtkPol 50 yData is required. An alternative way I found leads to the same problem if I do timerep=sm.rendering.TextSourceRepresentation(Input=t) RenderView1.Representations.append(timerep) I have found that more people had problems with TextSourceRepresentation in parallel : http://www.paraview.org/pipermail/paraview/2008-April/007550.html Apparently there was a bug found in 2008. Does anybody if in the new version 3.81 this bug is still present ? What would I need to do to fix the bug. Any comments and hints appreciated ! Many thanks Eelco ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] ParaView Trace
Hussein, That's a known issue:http://paraview.org/Bug/view.php?id=11744 It should be resolved by 3.10.1. In the meantime, to see how to save animation from Python, refer to : http://paraview.org/Wiki/ParaView/Python_Scripting#Animating Utkarsh On Tue, Jan 25, 2011 at 12:31 PM, Hussein Ezzat hussein_ezzat2...@yahoo.com wrote: Hi, I am trying to generate Paraview images in batch mode from command line, I used the trace in the Python shell but it didn't record the saving options for the animation at the end in the script. I am wondering if someone knows how to to convert the process into script and how to run the script in the command-line! Thanks, -Hussein ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Windows : Can't see control panel of Surface LIC
What version of ParaView are you using? Did you load the plugin before loading your dataset? It is essential that the plugin was loaded before the data was shown in any view. If that's not the case, you can close the view and create a new one after you load the plugin. Utkarsh 2011/1/28 Aurélien Marsan aur.mar...@gmail.com: Dear Paraview users, Using Paraview on windows, with the usefull plugin surfaceLIC, I can not see the options of Line Integral Convolution in the display pannel, such as Use LIC when using LOD or choosing the vector to use... Has soemone already face this ? A.Marsan PhD Student, Turbomeca. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Client-server mode / data streaming problem
Pierre, Do you have a sample dataset that I reproduce this issue with? Thanks Utkarsh On Mon, Jan 31, 2011 at 8:56 AM, Pierre-Olivier Dallaire pierre-olivier.dalla...@videotron.ca wrote: Good morning, I tested different scenarios using OpenFOAM cases and found out that this problem happens when a patch is selected / I don't have the same issue when I'm working with all the cells. Regards, PO Begin forwarded message: From: Pierre-Olivier Dallaire pierre-olivier.dalla...@videotron.ca Date: January 28, 2011 12:56:28 PM EST To: ParaView paraview@paraview.org Subject: Re: [Paraview] Latest Git - Mac OS X, error I see that changes were made to the code, thank you, I can compile now ! I have noted in the last few versions that the client/server mode has brought back a bad habit very similar to that : http://www.paraview.org/pipermail/paraview/2010-January/015174.html where the server re-stream the data as soon as the client does an action (pan, zoom, rotate). I'm attaching the output from the time log below. Regards, PO Local Process Interactive Render, 0.075363 seconds OpenGL Dev Render, 0.000533 seconds OpenGL Dev Render, 1.5e-05 seconds Interactive Render, 0.010636 seconds OpenGL Dev Render, 0.000527 seconds OpenGL Dev Render, 1.5e-05 seconds Interactive Render, 0.02397 seconds OpenGL Dev Render, 0.000597 seconds OpenGL Dev Render, 1.3e-05 seconds Interactive Render, 0.01575 seconds OpenGL Dev Render, 0.000416 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.013086 seconds OpenGL Dev Render, 0.000416 seconds OpenGL Dev Render, 1e-05 seconds Interactive Render, 0.001197 seconds OpenGL Dev Render, 0.000419 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003291 seconds OpenGL Dev Render, 0.000426 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.00317 seconds OpenGL Dev Render, 0.000403 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.004295 seconds OpenGL Dev Render, 0.000401 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003245 seconds OpenGL Dev Render, 0.000405 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002977 seconds OpenGL Dev Render, 0.000429 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002985 seconds OpenGL Dev Render, 0.000425 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003037 seconds OpenGL Dev Render, 0.000422 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002937 seconds OpenGL Dev Render, 0.000428 seconds OpenGL Dev Render, 1.2e-05 seconds Interactive Render, 0.003271 seconds OpenGL Dev Render, 0.000429 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003315 seconds OpenGL Dev Render, 0.00042 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003297 seconds OpenGL Dev Render, 0.000419 seconds OpenGL Dev Render, 1e-05 seconds Interactive Render, 0.003044 seconds OpenGL Dev Render, 0.000423 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003032 seconds OpenGL Dev Render, 0.000429 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003181 seconds OpenGL Dev Render, 0.000403 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002899 seconds OpenGL Dev Render, 0.000435 seconds OpenGL Dev Render, 1.2e-05 seconds Interactive Render, 0.003086 seconds OpenGL Dev Render, 0.000412 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003049 seconds OpenGL Dev Render, 0.000421 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003163 seconds OpenGL Dev Render, 0.000418 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003121 seconds OpenGL Dev Render, 0.00041 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002943 seconds OpenGL Dev Render, 0.000412 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003178 seconds OpenGL Dev Render, 0.00042 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002917 seconds OpenGL Dev Render, 0.000444 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003071 seconds OpenGL Dev Render, 0.00042 seconds OpenGL Dev Render, 1.4e-05 seconds Interactive Render, 0.002949 seconds OpenGL Dev Render, 0.000426 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.00301 seconds OpenGL Dev Render, 0.000404 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.003099 seconds OpenGL Dev Render, 0.000413 seconds OpenGL Dev Render, 1.1e-05 seconds Interactive Render, 0.002936
Re: [Paraview] Delayed load pqLoadDataReaction
YOu might want to listen to representationAdded(..) signal fired by the source. I am guessing you're trying to access the representation even before its created. Utkarsh On Tue, Feb 1, 2011 at 7:52 AM, Christoffer Green christoffer.gr...@gmail.com wrote: Hello I am developing an application based on the clone2 source in paraview 3.8.1. I am using the following code to automatically show and accept loaded data: this-ui-proxyTabWidget-setShowOnAccept(true); new pqAutoApplyReaction(this-ui-actionAutoApply); And I am using pqLoadDataReaction::loadData(stringList) to add the data. I am wondering how one can know when the data/objects have actually been loaded? This so you can make changes to that data. After loading new data I want to do the following (change the ColorMap on the new objects): pqDataRepresentation *currentDisplay = qobject_castpqPipelineRepresentation*(pqActiveObjects::instance().activeRepresentation()); vtkSMProxy *lookupTable = currentDisplay-getLookupTable()-getProxy(); But that code crashes (since the objects have not yet loaded?). Any ideas? Thanks. BR/ Christoffer ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Client-server mode / data streaming problem
To close the loop on this issue on the list, we tracked this down and I've committed a fix to git-master. I should be included in the 3.10 release (not sure it will make it into the 3.10.rc1 however). commit e18fd43477e54c9778e3c717a6192287a0d0d53d Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Tue Feb 1 11:47:24 2011 -0500 Fixed extra data-delivery when outline was used for LOD. When every LOD was enabled, and setting was set so that outline is used, it would invalidate the full res pipeline as well. Fixed that. As a side effect, when outline needs to be delived to the client and LOD threshold is higher than the outline threshold, we force LOD mode. This avoids an arificial linking between the LOD threshold and the outline threshold while at the same time avoid re-delivery of full-res data. Utkarsh ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] GUI_SOURCES vs SOURCES in ADD_PARAVIEW_PLUGIN macro
Here's an extract from the ParaViewPlugins.cmake. Hope that helps. # SERVER_MANAGER_SOURCES will be wrapped # SERVER_MANAGER_XML will be embedded and give to the client when loaded # SERVER_SOURCES is for other source files # PYTHON_MODULES allows you to embed python sources as modules # GUI_INTERFACES is to specify which GUI plugin interfaces were implemented # GUI_RESOURCES is to specify qrc files # GUI_RESOURCE_FILES is to specify xml files to create a qrc file from # GUI_SOURCES is to other GUI sources # SOURCES is deprecated, please use SERVER_SOURCES or GUI_SOURCES Utkarsh 2011/2/3 Aurélien Marsan aur.mar...@gmail.com: Good afternoon, In the Add_PARAVIEW_PLUGIN macro, there oftena re the keywords SERVER_MANAGER_XML, SERVER_MANAGER_SOURCES and GUI_INTERFACES Sometimes, there also are GUI_SOURCES or SOURCES. What is the differences between the two last keywords ? (gui_sources and sources) Regards, Aurélien ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Windows : Can't see control panel of Surface LIC
Is there any reason why you're using mingw? We don't have anyone here who uses mingw for ParaView unfortunately, so I cannot say it's supported. Utkarsh 2011/2/3 Aurélien Marsan aur.mar...@gmail.com: No, it works fine with the binary. I can see the control panel, and all work normally. I load the plugin using the libsurfaceLIC.dll. That is the classical way, isn't it ? A colleage, that have also build Paraview on Windows, using Mingw, reproduce this issue. After reading the scripts, the only thing I have found to try was to change GUI_SOURCES into SOURCES in the CMakeFile. Unfortunately it doesn't solve anything... Could it be something related to the names of the files, that is called libNAME... instead of NAME... I already met this kind of problems, due to the compilation with mingw. (for the vtk python library for instance) Le 3 février 2011 17:07, Utkarsh Ayachit utkarsh.ayac...@kitware.com a écrit : I am confused, are you loading the vtkSurfaceLICRender.xml file manually? Can you reproduce the problem with the binaries. I tried the 3.8.1 binaries and they work as expected. Utkarsh 2011/2/3 Aurélien Marsan aur.mar...@gmail.com: Well, I had a quick look to the source files... In fact, Paraview completely ignores the vtkSurfaceLICRendering.xml file. Is it an option in cmake that I missed ? Aurélien Le 2 février 2011 16:13, Aurélien Marsan aur.mar...@gmail.com a écrit I forgot something : I build Paraview, not using the binaries. Le 2 février 2011 15:29, Aurélien Marsan aur.mar...@gmail.com a écrit : Sorry for answering only now. I think I'm using the 3.8.1, for windows 32 bits. Maybe should I try with the 3.10.0-RC1 ? For other questions : surfaceLIC is autolaoded at the launching of Paraview. And it can work if I use the Calculator in order to calculate a vector. In fact, I just don't see the toolbar, and then I can't choose the Active Vector Fieds in order surfaceLIC to work. ... Maybe something wrong in the .xml file ? Le 28 janvier 2011 17:36, Utkarsh Ayachit utkarsh.ayac...@kitware.com a écrit : What version of ParaView are you using? Did you load the plugin before loading your dataset? It is essential that the plugin was loaded before the data was shown in any view. If that's not the case, you can close the view and create a new one after you load the plugin. Utkarsh 2011/1/28 Aurélien Marsan aur.mar...@gmail.com: Dear Paraview users, Using Paraview on windows, with the usefull plugin surfaceLIC, I can not see the options of Line Integral Convolution in the display pannel, such as Use LIC when using LOD or choosing the vector to use... Has soemone already face this ? A.Marsan PhD Student, Turbomeca. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Windows : Can't see control panel of Surface LIC
I'm afraid that's what I'd suggest. Unless there's a strong push from the community to support mingw, I don't think we'd be taking the plunge. Utkarsh 2011/2/3 Aurélien Marsan aur.mar...@gmail.com: Not really, except in order to work with commands that I know better than visual studio. And there were a couple of thing that needed to be corrected in order to build with success (thanks to my colleage that found them), but that worked pretty good until now. Then I have to use the microsoft tool, don't I ? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Windows : Can't see control panel of Surface LIC
No free compiler in order to build paraview on a 64bits system then ? You can still use the 32-bit VS-Express compilers to build 32-bit binaries on 64-bit machines. Unless you are loading really large datasets, 32-bit ParaView should work just as well for you. Utkarsh ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Displaying a value on top of an animation
You can change your filter (or add a new one) that outputs a vtkTable with a single row and column of a string containing the text you want to show (look at vtkTimeToTextConvertor) and then in the XML for the filter add the following hint (same as the TimeToTextConvertor in Servers/ServerManagers/Resources/filters.xml). Now when you apply this filter, ParaView will display the result as a text in the 3D window. Hints OutputPort name=Output-0 index=0 type=text / /Hints Utkarsh On Mon, Feb 7, 2011 at 8:49 AM, Matthew Cragun mcra...@totalsim.us wrote: I have an animation of a filling tank. I have an integration filter to get the volume at a particular time-step. Is there a way to display this number on the animation so that it updates? I'm thinking of something similar to the annotate time filter but that I can use a custom field with, such as volume or avg fluid velocity. Thanks in advance. -- Matt Cragun Engineer TotalSim LLC 7003 Post Road, Suite 415 Dublin, Ohio 43016 O: (614) 255-7426 M: (801) 404-6021 E: mcra...@totalsim.us ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Write a reader plugin
Xunlei, Are you expecting to see the extents setup correctly before hitting the Apply button the first time? That indeed won't be the case. You'll have to hit apply and let the actual data-reading happen before the information will be shown on the information tab. Utkarsh On Sat, Feb 5, 2011 at 5:46 PM, Xunlei Wu xun...@renci.org wrote: Hi David and All, I still have trouble seeing any updates in ParaView (ParaView Git built from source with VS2008 and Qt 4.6.3 on Windows 7 64bit) after loading a GRIB2 file. For simiplicity, I have created a skeleton version of my GRIB2 reader. I have only implemented RequestInformation() with some fabricated WHOLE_EXTENT() data. I have successfully built such reader as a plugin .dll (Windows) and loaded it into ParaView through Tool - Manage Plugins. After you load a grib2 file also attached, RequestInformation() is called and WHOLE_EXTENT() has been updated. However, I do not see such change in Object Inspector - Information panel. I am not sure what I did wrong. And is there anything special I need to do when build ParaView from source? FYI, BUILD_SHARED_LIB is on. Would you please help me? Thank you very much. Best, x -Original Message- From: Xunlei Wu Sent: Friday, January 21, 2011 12:10 PM To: David Doria Cc: paraview@paraview.org Subject: RE: Write a reader plugin Hi All, Do you have any suggestions? Thanks a lot. Best, xunlei -Original Message- From: Xunlei Wu Sent: Saturday, January 15, 2011 5:44 PM To: 'David Doria' Cc: 'paraview@paraview.org' Subject: Write a reader plugin Hi David and all, I am writing a reader plugin for ParaView. A test program without the VTK wrapping approves that I can get all the header (metadata) and grid data correctly. However, when I following the examples posted in http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.html and vtkStructuredGridReader.h/.cxx I got confused. Shall I subclass vtkStructuredGridAlgorithm or vtkStructuredGridReader? What are the differences? With minor differences in the code, i.e. defining char* FileName, I have both scenarios built fine. Let's say, we are subclassing vtkStructuredGridAlgorithm for now on. After I populate values as the following int vtkGRIB2Reader::RequestInformation(vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector *outputVector) { ... vtkInformation* outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), ext, 6); outInfo-Set(vtkDataObject::SPACING(), this-Spacing, 3); outInfo-Set(vtkDataObject::ORIGIN(), this-Origin, 3); return 1; } In ParaView Object Inspector / Information widget, I did not see any update in all the fields except Statistics / Type: Structured (Curvilinear) Grid. Would you please help me? Did I populate outInof in the wrong place? Thanks a lot. Best, xunlei ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Write a reader plugin
Adriano, I don't believe the two are related. The Information Tab is not directly related to the information produced by the filter in RequestInformation. The Information tab can be thought of as information from the dataset generated by the filter. Now the data is generated only after RequestData(), hence until RequestData() most information on the information-tab is empty. Utkarsh On Mon, Feb 7, 2011 at 10:34 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote: Utkarsh, I believe some time ago I asked something similar regarding the having the reader making a call to RequestInformation before actually hitting the Apply button. Paul (Edwards) mentioned modifying the vtkGet/SetMacro to do this automatically. I tried it briefly and I got something to compile, but it didn't work and crashed out with segmentation fault. Is it possible, in both cases, to achieve this by modifying some of the lower-level vtk code? Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Utkarsh Ayachit Sent: 07 February 2011 14:50 To: Xunlei Wu Cc: paraview@paraview.org Subject: Re: [Paraview] Write a reader plugin Xunlei, Are you expecting to see the extents setup correctly before hitting the Apply button the first time? That indeed won't be the case. You'll have to hit apply and let the actual data-reading happen before the information will be shown on the information tab. Utkarsh On Sat, Feb 5, 2011 at 5:46 PM, Xunlei Wu xun...@renci.org wrote: Hi David and All, I still have trouble seeing any updates in ParaView (ParaView Git built from source with VS2008 and Qt 4.6.3 on Windows 7 64bit) after loading a GRIB2 file. For simiplicity, I have created a skeleton version of my GRIB2 reader. I have only implemented RequestInformation() with some fabricated WHOLE_EXTENT() data. I have successfully built such reader as a plugin .dll (Windows) and loaded it into ParaView through Tool - Manage Plugins. After you load a grib2 file also attached, RequestInformation() is called and WHOLE_EXTENT() has been updated. However, I do not see such change in Object Inspector - Information panel. I am not sure what I did wrong. And is there anything special I need to do when build ParaView from source? FYI, BUILD_SHARED_LIB is on. Would you please help me? Thank you very much. Best, x -Original Message- From: Xunlei Wu Sent: Friday, January 21, 2011 12:10 PM To: David Doria Cc: paraview@paraview.org Subject: RE: Write a reader plugin Hi All, Do you have any suggestions? Thanks a lot. Best, xunlei -Original Message- From: Xunlei Wu Sent: Saturday, January 15, 2011 5:44 PM To: 'David Doria' Cc: 'paraview@paraview.org' Subject: Write a reader plugin Hi David and all, I am writing a reader plugin for ParaView. A test program without the VTK wrapping approves that I can get all the header (metadata) and grid data correctly. However, when I following the examples posted in http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.htm l and vtkStructuredGridReader.h/.cxx I got confused. Shall I subclass vtkStructuredGridAlgorithm or vtkStructuredGridReader? What are the differences? With minor differences in the code, i.e. defining char* FileName, I have both scenarios built fine. Let's say, we are subclassing vtkStructuredGridAlgorithm for now on. After I populate values as the following int vtkGRIB2Reader::RequestInformation(vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector *outputVector) { ... vtkInformation* outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), ext, 6); outInfo-Set(vtkDataObject::SPACING(), this-Spacing, 3); outInfo-Set(vtkDataObject::ORIGIN(), this-Origin, 3); return 1; } In ParaView Object Inspector / Information widget, I did not see any update in all the fields except Statistics / Type: Structured (Curvilinear) Grid. Would you please help me? Did I populate outInof in the wrong place? Thanks a lot. Best, xunlei ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other
Re: [Paraview] Write a reader plugin
You are correct, but to be handled by filters downstream in typical VTK pipeline. In ParaView, we currently have the limitation that once you hit the first apply, the default representation will ask for full dataset from the input. There are several new approaches that are currently being developed (cc-ing Dave) such as streaming to address this issue. Utkarsh On Mon, Feb 7, 2011 at 1:31 PM, Dr. X xun...@renci.org wrote: Hi Utkarsh, Then what is the purpose of RequestInformation()? I thought it is designed for handling large data set where the metadata can be extracted before loading the entire data set. Best, x On 2/7/2011 1:29 PM, Utkarsh Ayachit wrote: Adriano, I don't believe the two are related. The Information Tab is not directly related to the information produced by the filter in RequestInformation. The Information tab can be thought of as information from the dataset generated by the filter. Now the data is generated only after RequestData(), hence until RequestData() most information on the information-tab is empty. Utkarsh On Mon, Feb 7, 2011 at 10:34 AM, Adriano Gagliardiagaglia...@ara.co.uk wrote: Utkarsh, I believe some time ago I asked something similar regarding the having the reader making a call to RequestInformation before actually hitting the Apply button. Paul (Edwards) mentioned modifying the vtkGet/SetMacro to do this automatically. I tried it briefly and I got something to compile, but it didn't work and crashed out with segmentation fault. Is it possible, in both cases, to achieve this by modifying some of the lower-level vtk code? Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Utkarsh Ayachit Sent: 07 February 2011 14:50 To: Xunlei Wu Cc: paraview@paraview.org Subject: Re: [Paraview] Write a reader plugin Xunlei, Are you expecting to see the extents setup correctly before hitting the Apply button the first time? That indeed won't be the case. You'll have to hit apply and let the actual data-reading happen before the information will be shown on the information tab. Utkarsh On Sat, Feb 5, 2011 at 5:46 PM, Xunlei Wuxun...@renci.org wrote: Hi David and All, I still have trouble seeing any updates in ParaView (ParaView Git built from source with VS2008 and Qt 4.6.3 on Windows 7 64bit) after loading a GRIB2 file. For simiplicity, I have created a skeleton version of my GRIB2 reader. I have only implemented RequestInformation() with some fabricated WHOLE_EXTENT() data. I have successfully built such reader as a plugin .dll (Windows) and loaded it into ParaView through Tool - Manage Plugins. After you load a grib2 file also attached, RequestInformation() is called and WHOLE_EXTENT() has been updated. However, I do not see such change in Object Inspector - Information panel. I am not sure what I did wrong. And is there anything special I need to do when build ParaView from source? FYI, BUILD_SHARED_LIB is on. Would you please help me? Thank you very much. Best, x -Original Message- From: Xunlei Wu Sent: Friday, January 21, 2011 12:10 PM To: David Doria Cc: paraview@paraview.org Subject: RE: Write a reader plugin Hi All, Do you have any suggestions? Thanks a lot. Best, xunlei -Original Message- From: Xunlei Wu Sent: Saturday, January 15, 2011 5:44 PM To: 'David Doria' Cc: 'paraview@paraview.org' Subject: Write a reader plugin Hi David and all, I am writing a reader plugin for ParaView. A test program without the VTK wrapping approves that I can get all the header (metadata) and grid data correctly. However, when I following the examples posted in http://www.vtk.org/Wiki/ParaView/Examples/Plugins/Reader http://www.kitware.com/products/html/WritingAParaViewReaderPlug-in.htm l and vtkStructuredGridReader.h/.cxx I got confused. Shall I subclass vtkStructuredGridAlgorithm or vtkStructuredGridReader? What are the differences? With minor differences in the code, i.e. defining char* FileName, I have both scenarios built fine. Let's say, we are subclassing vtkStructuredGridAlgorithm for now on. After I populate values as the following int vtkGRIB2Reader::RequestInformation(vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector *outputVector) { ... vtkInformation* outInfo = outputVector-GetInformationObject(0); outInfo-Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), ext, 6); outInfo-Set(vtkDataObject::SPACING(), this-Spacing, 3); outInfo-Set(vtkDataObject::ORIGIN(), this-Origin, 3); return 1; } In ParaView
Re: [Paraview] LIC surface Color by variable lost on Screenshot with offscreen rendering
Is this on Windows? Utkarsh On Wed, Feb 9, 2011 at 4:23 AM, Richard GRENON richard.gre...@onera.fr wrote: Hello. I found a screenshot problem with LIC in PV 3.10.0-RC, but this problem already existed in PV 3.8. I have a multiblock surface with a friction vector and a pressure variable. I color the surface by the pressure variable and I use the LIC representation with the friction vector. When I take a screenshot while the option Use offscreen rendering for screenshots is checked (this is the default option), the LIC representation is OK but the color by the pressure variable is lost, and each block has a different solid color. If I uncheck the offscreen rendering, I get the expected screenshot with the LIC representation colored by the pressure variable. Following are two screenshots with and without offscreen rendering for a simple example: the dataset contains two structured blocks in a Tecplot file for a rectangular wing. The dataset has a pressure variable dCp from a vortex lattice CFD method, and I used the Calculator filter to construct a pseudo friction vector (iHat + 0.25*jHat) to be used by the LIC plugin. Regards. -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] pvpython message
Out of curiosity, why would you want to disable the message? It's only shown when pvpython is run as an interactive session, never when a script argument is specified or with pvbatch. Utkarsh 2011/2/11 Adriano Gagliardi agaglia...@ara.co.uk: Thanks, Aurelian. I don't like random hacks, but if that is the only option for the moment, so be it. Thanks again. === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk From: Aurélien Marsan [mailto:aur.mar...@gmail.com] Sent: 11 February 2011 13:29 To: agaglia...@ara.co.uk Cc: paraview@paraview.org Subject: Re: [Paraview] pvpython message Hello, In PARAVIEW_DIR\lib\paraview-3.8\site-packages\paraview\servermanager.py comment the lines 2947 and 2949. if hasattr(sys, ps1): # session is interactive. print vtkSMProxyManager.GetParaViewSourceVersion(); Aurélien. 2011/2/11 Adriano Gagliardi agaglia...@ara.co.uk Hello, Is there a way to suppress the message you get each time you open pvpython i.e.: paraview version 3.7.0, Date: 2009-10-03 Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Remote Rendering problems
Interesting. Unfortunately, I cannot reproduce this. Would you mind helping me debug this? You'll need a debug build of ParaView built from source however. I'd recommend building using the latest git-master. Thanks Utkarsh On Fri, Feb 11, 2011 at 12:39 PM, Moore, Branden J (GE Global Research) moo...@research.ge.com wrote: I'm not using either. Just using pvserver to give remote-accessibility. -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, February 11, 2011 12:06 PM To: Moore, Branden J (GE Global Research) Cc: paraview@paraview.org Subject: Re: [Paraview] Remote Rendering problems Interesting. I've seen these kinds of issues when using RemoteDesktop or VNC. Are you using either by any chance? Utkarsh On Fri, Feb 11, 2011 at 10:40 AM, Moore, Branden J (GE Global Research) moo...@research.ge.com wrote: Hello, I'm seeing that an issue with remote rendering, both with ParaView 3.8.1 as well as the new 3.10.0-rc1. The issue is a minor annoyance with 3.8.1, but with 3.10.0-rc1, remote rendering is completely unusable for me. Please see the attached screenshots. pv-local.png shows a dataset as it should look. I see this view whenever I'm running locally, without connecting to a pvserver instance. I also see this view when my data size is less than the Remote Render Threshold setting amount. If I use a pvserver (running either on my local host, or a remote server), as soon as the remote renderer is engaged, the view is no longer crisp and the colors become saturated (in the case of 3.8.1), or becomes just a green screen (3.10.0-rc1). This happens with both Win32 and Linux builds, both downloaded binaries and self-compiled (on Linux, at least). Has anybody else seen this? What can I do to help track down what is causing this issue? Thanks, Branden -- Branden J. Moore Computer Scientist GE Global Research Computing and Decision Sciences T +1 518 387 6798 F +1 518 387 6845 D *833 6798 moo...@research.ge.com www.geglobalresearch.com One Research Circle Niskayuna, NY 12309 General Electric Company ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] LIC surface Color by variable lost on Screenshot with offscreen rendering
Richard, The problem is indeed due to offscreen rendering. I've added a bug (http://paraview.org/Bug/view.php?id=11847). Until this is resolved, the work-around would be to uncheck Use offscreen rendering for screenshots in Edit | settings dialog (Render View page). Utkarsh On Thu, Feb 10, 2011 at 8:01 AM, Richard GRENON richard.gre...@onera.fr wrote: Utkarsh, I have performed the same screenshot tests on Windows Vista 32 bits with PV 3.10.0-RC1. No problem. The picture is always as expected, with the LIC representation being colored by the pressure variable in bot cases, offscreen rendering checked or unchecked. So the LIC color by variable seems to be lost only with Linux. If this may help you, I noticed something on the 3D view on Vista when I take a screenshot while offscreen rendering is checked: the LIC color by variable is lost for a short time, each block getting a different solid color, then the LIC color by variable comes back on the dataset, and the saved picture is colored by variable as expected. So the problem in Linux could be some kind of time delay, the picture being saved while the 3D view is changing to solid color? Richard Utkarsh Ayachit a écrit : Is this on Windows? Utkarsh -- Richard GRENON ONERA Departement d'Aerodynamique Appliquee - DAAP/ACI 8 rue des Vertugadins 92190 MEUDON - FRANCE phone : +33 1 46 73 42 17 fax : +33 1 46 73 41 46 mailto:richard.gre...@onera.fr http://www.onera.fr ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Plotting line data on the surface of a sphere
Have you tried using Plot On Intersection Curves filter? Utkarsh On Thu, Feb 10, 2011 at 1:32 PM, Dan Bower d...@gps.caltech.edu wrote: Hi all, I am plotting a spherical data volume using structuredgrid. I also want to plot line data on the surface of the sphere. Presently the line data (list of points) is in an x y multisegment GMT format (i.e. lat lon) (1) A crude hack is to mesh the line data and then contour. This won't look great and is highly dependent on the resolution of the mesh. (2) Use the python filter. Problem is, consecutive points don't necessary join to each other (i.e. this is the reason for the multi-segment -m option in GMT). Any advice much appreciated. Thanks, Dan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] moving cameras
What operating system is this? I just tried it on mac and I don't seem to have any issue adding the second orbit for the second view irrespective of whether I add the orbit immediately after creating the view or and some other point in future. Is there something else I should be doing to reproduce this issue? Utkarsh On Sun, Feb 13, 2011 at 10:34 PM, raymond.co...@csiro.au wrote: Hi, I just downloaded 3.10.0-RC1 and it still has an annoying moving camera issue. PROBLEM: I am unable to create independent moving cameras for each viewport of a scene INSTRUCTIONS FOR REPLICATING THE PROBLEM: 1. Create a cone 2. Split the view so there are now two 3d viewports 3. In the animation view add a Camera-Orbit 4. Hit play, one of the viewports should rotate. 5. Select the other viewport and try to add a Camera-Orbit. It will NOT let you do this. SUGGESTED FIX: 1. Make the add camera - Orbit/Follow Path/Interpolate Camera Locations operate on the CURRENTLY selected viewport. MY CURRENT ANNOYING WORKAROUND: - adding camera - Interpolate Camera Locations immediately after each new viewport is created. Do other people experience this bug? Thanks, Ray ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Viewing points of an Unstructured Grid
You can apply the glyph filter. Or use the Point Sprite plugin to show sprites at the point locations. Utkarsh On Mon, Feb 7, 2011 at 4:22 PM, Panagiotis Foteinos pafot...@gmail.com wrote: Hello yall. I have an unstructured grid with the cells being VTK_LINES. Is there a way to display only the points of the grid? While there is such an option when the cells are VTK_TRIANGLES or VTK_TETRA, the same does not work when the cells are VTK_LINES. Best Regards, Panagiotis ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Plugin Autoload
It's a bug alright. XML-plugins are being treated as second class citizens by the plugin management code right now. Hopefully we can get this fixed for 4.0. Utkarsh 2011/2/4 Aurélien Marsan aur.mar...@gmail.com: Hi, Just a little mail in order to remember this : http://public.kitware.com/Bug/view.php?id=10835 This is still not asigned... couldn't you reproduce it ? Regards, Aurélien ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Show Widget in CompoundSourceProxy
Christoffer, You need to redefine the Hints for the PropertyGroup on the CompoundSourceProxy as well. Also the properties that the widget is controlling, such as Point1WorldPosition, Point2WorldPosition, Resolution must be exposed from the CompoundSourceProxy. Utkarsh On Mon, Feb 14, 2011 at 9:44 AM, Christoffer Green christoffer.gr...@gmail.com wrote: Hello! I am trying to write an xml definition for a CompoundSourceProxy in ParaView 3.8.1 that produces a plane that is used by a probe filter to show the ParaView input (volume data in my case) on the plane. The position and orientation of the plane should be controlled by a widget. The problem: I have been able to create a plane as a SourceProxy that is controlled by a widget and I have been able to create a CompoundSourceProxy that shows the volume data on a plane but the CompoundSourceProxy does not show the Widget that is defined with the PropertyGroup hints in the SourceProxy plane. If I create an instance of the plane without the CompoundSourceProxy then the widget is displayed as it should. Does hint widget information disappear when sources are used in a CompoundSourceProxy? How does one use widgets to control properties in subproxies in a CompoundSourceProxy? The xml definition I have written follows here (sorry about the length): --- The structure of this file is like so: ParaViewInput(Volume)--Calculator--(source)--Probe Filter--(input)--PlaneSource--Widget ServerManagerConfiguration ProxyGroup name=sources !-- Plane Source -- SourceProxy name=PlaneSourceWithWidget class=vtkPlaneSource label=PlaneWithWidget Documentation long_help=Create a parallelogram given an origin and two points. The resolution indicates the number of division along each axis of the plane. short_help=Create a parallelogram from an origin and two points The Plane source can be used to add a polygonal parallelogram to the 3D scene. Unlike the sphere, cone, and cylinder sources, the parallelogram is exactly represented at the lowest resolution, but higher resolutions may be desired if this plane is to be used as an input to a filter. The output of the Plane source is polygonal data. /Documentation DoubleVectorProperty name=Origin command=SetOrigin number_of_elements=3 animateable=1 default_values=-0.5 -0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate of the origin (one corner) of the plane. /Documentation /DoubleVectorProperty DoubleVectorProperty name=Point1 command=SetPoint1 number_of_elements=3 animateable=1 default_values=0.5 -0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate a second corner of the parallelogram. The line connecting this point and that specified by the Origin property define one edge of the parallelogram (its X axis). /Documentation /DoubleVectorProperty DoubleVectorProperty name=Point2 command=SetPoint2 number_of_elements=3 animateable=1 default_values=-0.5 0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate a third corner of the parallelogram. The line connecting this point and that specified by the Origin property define a second edge of the parallelogram (its Y axis). /Documentation /DoubleVectorProperty IntVectorProperty name=XResolution command=SetXResolution number_of_elements=1 default_values=100 IntRangeDomain name=range min=1 / Documentation This property specifies the number of divisions along the X axis of the parallelogram. /Documentation /IntVectorProperty IntVectorProperty name=YResolution command=SetYResolution number_of_elements=1 default_values=100 IntRangeDomain name=range min=1 / Documentation This property specifies the number of divisions along the Y axis of the parallelogram. /Documentation /IntVectorProperty Hints PropertyGroup type=LineSource Property function=Point1WorldPosition name=Point1 / Property function=Point2WorldPosition name=Point2 / Property function=Resolution name=XResolution / /PropertyGroup /Hints /SourceProxy /ProxyGroup ProxyGroup name=filters !-- Probe Filter -- SourceProxy name=Probe Filter class=vtkCompositeDataProbeFilter InputProperty name=Input command=AddInputConnection clean_command=RemoveAllInputs multiple_input=1 ProxyGroupDomain name=groups
Re: [Paraview] moving cameras
I was able to reproduce it. The problem was hiding itself when only 2 views were created. I've committed a fix to git-master. I'll try to get it into 3.10. Thanks for reporting. Utkarsh On Mon, Feb 14, 2011 at 1:50 AM, Jérôme jerome.ve...@gmail.com wrote: Hi, I just tried the steps to reproduce the bug: I got the same behaviour as Raymond. My ParaView is 3.10.0-RC1 compiled from the git repo eponymous tag. OS is Linux Fedora13-x86_64 Jerome 2011/2/14 raymond.co...@csiro.au: I experience the behaviour in both windows xp 32 bit and windows 7 64 bit. To be clear, lets say you make something like 2x2 viewports and then start adding cameras, you will only be able to add one. -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Monday, 14 February 2011 3:55 PM To: Cohen, Ray (CMIS, Clayton) Cc: paraview@paraview.org Subject: Re: [Paraview] moving cameras What operating system is this? I just tried it on mac and I don't seem to have any issue adding the second orbit for the second view irrespective of whether I add the orbit immediately after creating the view or and some other point in future. Is there something else I should be doing to reproduce this issue? Utkarsh On Sun, Feb 13, 2011 at 10:34 PM, raymond.co...@csiro.au wrote: Hi, I just downloaded 3.10.0-RC1 and it still has an annoying moving camera issue. PROBLEM: I am unable to create independent moving cameras for each viewport of a scene INSTRUCTIONS FOR REPLICATING THE PROBLEM: 1. Create a cone 2. Split the view so there are now two 3d viewports 3. In the animation view add a Camera-Orbit 4. Hit play, one of the viewports should rotate. 5. Select the other viewport and try to add a Camera-Orbit. It will NOT let you do this. SUGGESTED FIX: 1. Make the add camera - Orbit/Follow Path/Interpolate Camera Locations operate on the CURRENTLY selected viewport. MY CURRENT ANNOYING WORKAROUND: - adding camera - Interpolate Camera Locations immediately after each new viewport is created. Do other people experience this bug? Thanks, Ray ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] failed to launch paraview.exe
Are you sure there isn't some dll conflict issue? Do you have other installations of ParaView? Utkarsh On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu xun...@renci.org wrote: Hi All, I am trying to run paraview.exe after built it (Debug version) on a Windows7 64bit + MSVC2010 machine. However the application failed to run the following call stack: vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x) Line 928 + 0xd bytes C++ vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x, bool isFile=true) Line 950 + 0xa bytes C++ vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXML(const char * filename=0x) Line 97 + 0x10 bytes C++ pqCore.dll!pqApplicationCore::loadDistributedPlugins(const char * filename=0x) Line 726 + 0x5d bytes C++ The related lines of code might be: pqApplicationCore.cxx:line 725 vtkSMApplication::GetApplication()-GetPluginManager()-LoadPluginConfigurationXML( config_file.toStdString().c_str()); } Where config_file is “C:/ParaViewGit/bin/Debug/../.plugins”. Such file is attached. After the process runs into vtkSMPluginManager void vtkSMPluginManager::LoadPluginConfigurationXML(const char* filename) { bool debug_plugin = vtksys::SystemTools::GetEnv(PV_PLUGIN_DEBUG) != NULL; vtkPVPluginLoaderDebugMacro(Loading plugin configuration xml: filename); if (!vtksys::SystemTools::FileExists(filename, true)) { Where filename becomes “0x Bad Ptr”. Any idea? Thanks a lot. Best, x ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] failed to launch paraview.exe
Honestly, I am not the best guy to comment about windows, I use linux for most of my development. Dave, any insights? What is the value of config_file variable in pqApplicationCore.cxx:725? Utkarsh On Mon, Feb 14, 2011 at 1:15 PM, Xunlei Wu xun...@renci.org wrote: Hi Utkarsh, This is the only copy of ParaView I am building from git source. I have no ther VTK installation. BTW, do you see many issues with MSVC2010? I am frustrated with ParaView building process and not sure whether it is compiler/IDE related. Thanks a lot. Best, x -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Monday, February 14, 2011 1:13 PM To: Xunlei Wu Cc: paraview@paraview.org Subject: Re: [Paraview] failed to launch paraview.exe Are you sure there isn't some dll conflict issue? Do you have other installations of ParaView? Utkarsh On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu xun...@renci.org wrote: Hi All, I am trying to run paraview.exe after built it (Debug version) on a Windows7 64bit + MSVC2010 machine. However the application failed to run the following call stack: vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x) Line 928 + 0xd bytes C++ vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x, bool isFile=true) Line 950 + 0xa bytes C++ vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXML( const char * filename=0x) Line 97 + 0x10 bytes C++ pqCore.dll!pqApplicationCore::loadDistributedPlugins(const char * filename=0x) Line 726 + 0x5d bytes C++ The related lines of code might be: pqApplicationCore.cxx:line 725 vtkSMApplication::GetApplication()-GetPluginManager()-LoadPluginConf igurationXML( config_file.toStdString().c_str()); } Where config_file is C:/ParaViewGit/bin/Debug/../.plugins. Such file is attached. After the process runs into vtkSMPluginManager void vtkSMPluginManager::LoadPluginConfigurationXML(const char* filename) { bool debug_plugin = vtksys::SystemTools::GetEnv(PV_PLUGIN_DEBUG) != NULL; vtkPVPluginLoaderDebugMacro(Loading plugin configuration xml: filename); if (!vtksys::SystemTools::FileExists(filename, true)) { Where filename becomes 0x Bad Ptr. Any idea? Thanks a lot. Best, x ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] calling apply from inside a filter (reader)
The only way is to write a custom panel for your filter that calls apply() on the panel and requests a render everytime the slider moves. Utkarsh On Mon, Feb 14, 2011 at 10:55 AM, Felipe Bordeu felipe.bor...@ec-nantes.fr wrote: Hello everybody, I have a reader and I will like to update my data in real time, when I move a slider (like QSlider::setTracking(1) ). If a use Auto Accept (in Settings) there is a small lag between the release of the slider and the update. And also I don't what the auto accept for all the filters. so how can I call the apply function from inside the filter? any ideas?? Thanks -- Felipe Bordeu Weldt Ingénieur de Recherche - Tél. : 33 (0)2 40 37 16 57 Fax. : 33 (0)2 40 74 74 06 felipe.bor...@ec-nantes.fr Institut GeM - UMR CNRS 6183 École Centrale Nantes 1 Rue de La Noë, 44321 Nantes, FRANCE - ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Show Widget in CompoundSourceProxy
/ Property name=Point2 proxy_name=Plane2 exposed_name=Point 2/ Property name=XResolution proxy_name=Plane2 exposed_name=X Resolution/ Property name=YResolution proxy_name=Plane2 exposed_name=Y Resolution/ /ExposedProperties !-- Uncommenting this crashes ParaView when applying the CompoundSourceProxy filter Hints PropertyGroup type=LineSource Property function=Point1WorldPosition name=Point1 / Property function=Point2WorldPosition name=Point2 / Property function=Resolution name=XResolution / /PropertyGroup /Hints-- OutputPort name=ProbeOut proxy=ProbeFilter2 port_index=0/ /CompoundSourceProxy /ProxyGroup /ServerManagerConfiguration - Thanks BR/ Christoffer On Mon, Feb 14, 2011 at 6:52 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Christoffer, You need to redefine the Hints for the PropertyGroup on the CompoundSourceProxy as well. Also the properties that the widget is controlling, such as Point1WorldPosition, Point2WorldPosition, Resolution must be exposed from the CompoundSourceProxy. Utkarsh On Mon, Feb 14, 2011 at 9:44 AM, Christoffer Green christoffer.gr...@gmail.com wrote: Hello! I am trying to write an xml definition for a CompoundSourceProxy in ParaView 3.8.1 that produces a plane that is used by a probe filter to show the ParaView input (volume data in my case) on the plane. The position and orientation of the plane should be controlled by a widget. The problem: I have been able to create a plane as a SourceProxy that is controlled by a widget and I have been able to create a CompoundSourceProxy that shows the volume data on a plane but the CompoundSourceProxy does not show the Widget that is defined with the PropertyGroup hints in the SourceProxy plane. If I create an instance of the plane without the CompoundSourceProxy then the widget is displayed as it should. Does hint widget information disappear when sources are used in a CompoundSourceProxy? How does one use widgets to control properties in subproxies in a CompoundSourceProxy? The xml definition I have written follows here (sorry about the length): --- The structure of this file is like so: ParaViewInput(Volume)--Calculator--(source)--Probe Filter--(input)--PlaneSource--Widget ServerManagerConfiguration ProxyGroup name=sources !-- Plane Source -- SourceProxy name=PlaneSourceWithWidget class=vtkPlaneSource label=PlaneWithWidget Documentation long_help=Create a parallelogram given an origin and two points. The resolution indicates the number of division along each axis of the plane. short_help=Create a parallelogram from an origin and two points The Plane source can be used to add a polygonal parallelogram to the 3D scene. Unlike the sphere, cone, and cylinder sources, the parallelogram is exactly represented at the lowest resolution, but higher resolutions may be desired if this plane is to be used as an input to a filter. The output of the Plane source is polygonal data. /Documentation DoubleVectorProperty name=Origin command=SetOrigin number_of_elements=3 animateable=1 default_values=-0.5 -0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate of the origin (one corner) of the plane. /Documentation /DoubleVectorProperty DoubleVectorProperty name=Point1 command=SetPoint1 number_of_elements=3 animateable=1 default_values=0.5 -0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate a second corner of the parallelogram. The line connecting this point and that specified by the Origin property define one edge of the parallelogram (its X axis). /Documentation /DoubleVectorProperty DoubleVectorProperty name=Point2 command=SetPoint2 number_of_elements=3 animateable=1 default_values=-0.5 0.5 0.0 DoubleRangeDomain name=range/ Documentation This property specifies the 3D coordinate a third corner of the parallelogram. The line connecting this point and that specified by the Origin property define a second edge of the parallelogram (its Y axis). /Documentation /DoubleVectorProperty IntVectorProperty name=XResolution command=SetXResolution number_of_elements=1 default_values=100 IntRangeDomain name=range min=1 / Documentation This property specifies the number of divisions along the X axis of the parallelogram. /Documentation
Re: [Paraview] failed to launch paraview.exe
Xulei, Just to be sure you are using Qt that was built with the same compilter right? Utkarsh On Fri, Feb 18, 2011 at 9:48 AM, Xunlei Wu xun...@renci.org wrote: Hi David and Utkarsh, With your new patch on Python _DEBUG from git source, I was able to build on MSVC2010 without any PYTHON related hitches. I still have issues with VTK_WRAP_PYTHON_SIP as I reported earlier though. When I launched the newly built paraview.exe I got the exact same error in pqApplicationCore.cxx, line 725: vtkSMApplication::GetApplication()-GetPluginManager()-LoadPluginConfigurationXML( config_file.toStdString().c_str()); QString config_file has value C:/ParaViewGit_VS2010/bin/Debug/../.plugins. However, config_file.toStdString() has corrupted content. BTW, shall I care about DirectX_LIBRARY? It appears ParaView’s vtkRendering only uses DirectX9. Does including DirectX help ParaView performance on Windows machine? Best, x From: David Partyka [mailto:david.part...@kitware.com] Sent: Monday, February 14, 2011 1:36 PM To: Xunlei Wu Cc: Utkarsh Ayachit; paraview@paraview.org Subject: Re: [Paraview] failed to launch paraview.exe Just to confirm. The VS10 x64 build on our nightly dashboard launches without issue. On Mon, Feb 14, 2011 at 1:27 PM, Xunlei Wu xun...@renci.org wrote: Thanks, David. Please give me a day or two. I just flooded the VS10 build directory with my previous successful VS08 build in order to get some work done. I will build through VS10 tomorrow night. Best, x From: David Partyka [mailto:david.part...@kitware.com] Sent: Monday, February 14, 2011 1:23 PM To: Utkarsh Ayachit Cc: Xunlei Wu; paraview@paraview.org Subject: Re: [Paraview] failed to launch paraview.exe We do test nightly with VS10 and one of our developers actively uses it as well so it should work. Have you tried running paraview with -dr command? In the mean time I will try and run the vs10 build on the dashboard machine. On Mon, Feb 14, 2011 at 1:20 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Honestly, I am not the best guy to comment about windows, I use linux for most of my development. Dave, any insights? What is the value of config_file variable in pqApplicationCore.cxx:725? Utkarsh On Mon, Feb 14, 2011 at 1:15 PM, Xunlei Wu xun...@renci.org wrote: Hi Utkarsh, This is the only copy of ParaView I am building from git source. I have no ther VTK installation. BTW, do you see many issues with MSVC2010? I am frustrated with ParaView building process and not sure whether it is compiler/IDE related. Thanks a lot. Best, x -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Monday, February 14, 2011 1:13 PM To: Xunlei Wu Cc: paraview@paraview.org Subject: Re: [Paraview] failed to launch paraview.exe Are you sure there isn't some dll conflict issue? Do you have other installations of ParaView? Utkarsh On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu xun...@renci.org wrote: Hi All, I am trying to run paraview.exe after built it (Debug version) on a Windows7 64bit + MSVC2010 machine. However the application failed to run the following call stack: vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x) Line 928 + 0xd bytes C++ vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0x, bool isFile=true) Line 950 + 0xa bytes C++ vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXML( const char * filename=0x) Line 97 + 0x10 bytes C++ pqCore.dll!pqApplicationCore::loadDistributedPlugins(const char * filename=0x) Line 726 + 0x5d bytes C++ The related lines of code might be: pqApplicationCore.cxx:line 725 vtkSMApplication::GetApplication()-GetPluginManager()-LoadPluginConf igurationXML( config_file.toStdString().c_str()); } Where config_file is C:/ParaViewGit/bin/Debug/../.plugins. Such file is attached. After the process runs into vtkSMPluginManager void vtkSMPluginManager::LoadPluginConfigurationXML(const char* filename) { bool debug_plugin = vtksys::SystemTools::GetEnv(PV_PLUGIN_DEBUG) != NULL; vtkPVPluginLoaderDebugMacro(Loading plugin configuration xml: filename); if (!vtksys::SystemTools::FileExists(filename, true)) { Where filename becomes 0x Bad Ptr. Any idea? Thanks a lot. Best, x ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source
Re: [Paraview] Problem with LIC representation in PV3.10-RC1
Were you loading a state file or something? ParaView will never use 'SurfaceRepresentation as the default representation. On Wed, Feb 23, 2011 at 9:39 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote: I just had a problem where I had my data loaded in and was visualising it using Surface representation. During this, ParaView crashed with a Floating Point Exception. However, when I restarted ParaView and I tried to reload the dataset, it would just crash to desktop with an error relating to vtkSurfaceLICRepresentation. It appears that it was trying to display using the Surface LIC representation, but there are no vectors contained within the dataset. I got round it by disabling the SurfaceLIC plugin in the .ini file. It would be worth having an option in the .ini file that allows you to specify a default representation, or is there another way around this? Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Problem with LIC representation in PV3.10-RC1
Looks like the problem is that the plugin didn't get loaded correctly. It's possible that ParaView picked up the wrong plugin by default. We have fixes for this logic that should make it into 3.10 release. Utkarsh On Wed, Feb 23, 2011 at 9:54 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote: No, I opened a fresh version of ParaView, I navigated and selected the mesh file and when I clicked apply, it crashed out with the vtkSurfaceLICRepresentation error message: ERROR: In /path/to/ParaView-3.10.0-RC1/Servers/Common/vtkProcessModule.cxx, line 1095 vtkProcessModule (0x1047a150): Cannot create object of type vtkSurfaceLICRepresentation. while processing Message 0 = New Argument 0 = string_value {vtkSurfaceLICRepresentation} Argument 1 = id_value {326} The irony is that, although I remember creating a vector before the crash, at no point did I switch the representation to SurfaceLIC. === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: 23 February 2011 14:49 To: agaglia...@ara.co.uk Cc: paraview@paraview.org Subject: Re: [Paraview] Problem with LIC representation in PV3.10-RC1 Were you loading a state file or something? ParaView will never use 'SurfaceRepresentation as the default representation. On Wed, Feb 23, 2011 at 9:39 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote: I just had a problem where I had my data loaded in and was visualising it using Surface representation. During this, ParaView crashed with a Floating Point Exception. However, when I restarted ParaView and I tried to reload the dataset, it would just crash to desktop with an error relating to vtkSurfaceLICRepresentation. It appears that it was trying to display using the Surface LIC representation, but there are no vectors contained within the dataset. I got round it by disabling the SurfaceLIC plugin in the .ini file. It would be worth having an option in the .ini file that allows you to specify a default representation, or is there another way around this? Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Viewing volumetric images
That's very odd. Any issues with OpenGL drivers? Are they all up-to-date, working correctly? Utkarsh On Wed, Feb 23, 2011 at 10:06 AM, Karl Battams karlbatt...@gmail.com wrote: I see this too. I compiled 3.10.0 from source on Ubuntu. I'm loading vtk files and volume rendering, and any action on the view causes the rendering to disappear... and it's kinda hard to get it back. Other views (outline, etc) do not seem to be affected. Karl On Tue, Feb 22, 2011 at 5:22 PM, Panagiotis Foteinos pafot...@gmail.com wrote: Hello. I switched to version 3.10.0 and observed that viewing volumetric images is buggy. When I open a .mha file and choose Volume as a view option (instead of Outline) I correctly see the result. Rotating or zooming the volume, however, causes the volume to disappear from the window. I did not observe that behavior for version 3.8.1. I am using Ubuntu with paraview binaries. Regards, Panagiotis Foteinos ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Viewing volumetric images
Does this have anything to do with the fancy effects that Ubuntu has? Does disabling them make this any better? Paraview developers with Ubuntu desktops may want to comment. Utkarsh On Wed, Feb 23, 2011 at 1:59 PM, Panagiotis Foteinos pafot...@gmail.com wrote: OpenGL is up to date and works fine in my machine. Direct rendering is on. I repeat that Paraview 3.8.1 works like a charm; Version 3.10.0 has this problem. Regards, Panagiotis Foteinos On Wed, Feb 23, 2011 at 1:33 PM, Karl Battams karlbatt...@gmail.com wrote: OpenGL is indeed up-to-date and working, though I do notice that direct rendering is not. It should be for some of the other stuff I do, but I don't know if Paraview will rely on it or not (?). So I'll try a reboot when I get chance and see if that resolves it, but I'm sure that it (direct rendering) was working last week and the Paraview thing was not... Karl On Wed, Feb 23, 2011 at 12:57 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: That's very odd. Any issues with OpenGL drivers? Are they all up-to-date, working correctly? Utkarsh On Wed, Feb 23, 2011 at 10:06 AM, Karl Battams karlbatt...@gmail.com wrote: I see this too. I compiled 3.10.0 from source on Ubuntu. I'm loading vtk files and volume rendering, and any action on the view causes the rendering to disappear... and it's kinda hard to get it back. Other views (outline, etc) do not seem to be affected. Karl On Tue, Feb 22, 2011 at 5:22 PM, Panagiotis Foteinos pafot...@gmail.com wrote: Hello. I switched to version 3.10.0 and observed that viewing volumetric images is buggy. When I open a .mha file and choose Volume as a view option (instead of Outline) I correctly see the result. Rotating or zooming the volume, however, causes the volume to disappear from the window. I did not observe that behavior for version 3.8.1. I am using Ubuntu with paraview binaries. Regards, Panagiotis Foteinos ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] File-Save Data from python
Also look at: http://www.vtk.org/Wiki/ParaView/Python_Scripting#Exporting_CSV_Data writer = CreateWriter(.../foo.csv, source) writer.FieldAssociation = Points # or Cells writer.UpdatePipeline() del writer Utkarsh On Thu, Feb 24, 2011 at 4:51 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: d'oh accidentally click send! I've added the bug for python trace to mantis:- http://www.paraview.org/Bug/view.php?id=11892 Regards, Paul On 24 February 2011 09:42, Paul Edwards paul.m.edwa...@gmail.com wrote: Thanks Jean - I also found this example when looking through the mailing list: A workaround to save CSV data in the Python Shell is the following: It would be nice if it worked from the trace (and without having to create a spreadsheet On 23 February 2011 16:59, Favre Jean jfa...@cscs.ch wrote: w = CSVWriter() w.FileName = /local/data/tmp/foo.csv #s1 should be of type Table w.Input = s1 w.UpdatePipeline() - Jean M. Favre Swiss National Supercomputing Center ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Viewing of 3D image data on object data with paraview
I believe the problem stems from the fact that although ITK supports associating transforms with ImageData itself, VTK and subsequently ParaView do not. If you look at vtkImageData class (http://www.vtk.org/doc/nightly/html/classvtkImageData.html), you notice that there's no API for setting/getting transform. Thus no reader in VTK or ParaView can read and pass that information through the pipeline and eventually render using that transform. As you mentioned, the easiest work around is to manually translate the transform to values to the transform properties on the display tab. BTW, ParaView does include a contributed Nifti reader plugin that you can load to read in nifti files directly. Utkarsh On Thu, Feb 24, 2011 at 12:55 AM, Richard Beare richard.be...@gmail.com wrote: Hi, I asked a related question a couple of years ago but never found a good answer. I need to revisit it now. I'd like to view image data plus track data in paraview. The track data is produced as list of points in world coordinates. I can convert these to vtk objects and load them. My problem is viewing the image data so that it is placed correctly relative to the tracks. The transformations in the image header can be used in ITK to locate voxel values at then ends of tracks, so I think they are set correctly, however they appear to be ignored by paraview. My very rough check was to use the ruler to determine the coordinates of image corners. One of these was zero, so the header information was being ignored, as the origin was somewhere near the brain image centre. One option appears to be to convert the transformation information from the image header to the transform array in the image Display panel, which is a bit tedious. I'm wondering whether there are 3D image formats that can be viewed using volume rendering in paraview that might do this automatically. So far I've been using mha files created using the ITK too ConvertBetweenImageFormats from nifti. Alternatively, does anyone have some other procedure for viewing combinations of image and mesh/line objects in paraview? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] pvrenderserver segfault with more than 2 servers
Just to close the loop on this, this bug has been fixed a while ago and should be working fine with 3.10-RC1. Utkarsh 2010/12/9 Nicolas Niclausse nicolas.niclau...@inria.fr: Hello I have the following setup: 1 node with 12 cores and 4 GPU (tesla C2050). I want to start 8 dataserver and 4 renderserver on this host (paraview 3.8.1, fedora-12 x86_64, openmpi 1.4.3, nvidia drivers) It works if i start only 2 renderserver; however with 3 or 4 renderservers, it fails (segfault) Logs: Listen on port: 1 RenderServer: Waiting for client... Client connected. Connect: id :1 host: localhost Port:52065 Connect: id :2 host: localhost Port:52975 Connect: id :3 host: localhost Port:29181760 Connect: id :0 host: localhost Port:53883 a port number 65535 , ouch ! -- Nicolas NICLAUSSE Service DREAM INRIA Sophia Antipolis http://www-sop.inria.fr/ 2004 route des lucioles - BP 93 Tel: (33/0) 4 92 38 76 93 06902 SOPHIA-ANTIPOLIS cedex (France) Fax: (33/0) 4 92 38 76 02 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] building Xdmf2 submodule as a standalone library
The xdmf repository has two branches one for ParaView and other for standalone. You have to checkout master branch explicitly from the xmdf repository to build xdmf standalone. Utkarsh On Thu, Feb 24, 2011 at 2:12 PM, Dr. X xun...@renci.org wrote: Hi, Can I build Xdmf2 as a standalone library without building ParaView instead? I tried to configure Xdmf2 (git source under Utilities/Xdmf2) and encountered these CMake errors CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run cmake --help-policy CMP. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error: An attempt was made to access a variable: CMAKE_SIZEOF_INT that has not been defined. Some variables were always defined by CMake in versions prior to 1.6. To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less. If you are writing a CMakeList file, (or have already set CMAKE_BACKWARDS_COMPATABILITY to 1.4 or less) then you probably need to include a CMake module to test for the feature this variable defines. CMake Error at Ice/CMakeLists.txt:50 (MESSAGE): Can't Find a 32 Bit Float CMake Error at Ice/CMakeLists.txt:57 (MESSAGE): Can't Find a 64 Bit Float CMake Error at Ice/CMakeLists.txt:72 (MESSAGE): Can't Find a 32 Bit Integer CMake Error: An attempt was made to access a variable: CMAKE_WORDS_BIGENDIAN that has not been defined. Some variables were always defined by CMake in versions prior to 1.6. To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less. If you are writing a CMakeList file, (or have already set CMAKE_BACKWARDS_COMPATABILITY to 1.4 or less) then you probably need to include a CMake module to test for the feature this variable defines. CMake Error: An attempt was made to access a variable: CMAKE_SIZEOF_INT that has not been defined. Some variables were always defined by CMake in versions prior to 1.6. To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less. If you are writing a CMakeList file, (or have already set CMAKE_BACKWARDS_COMPATABILITY to 1.4 or less) then you probably need to include a CMake module to test for the feature this variable defines. CMake Error at libsrc/CMakeLists.txt:327 (MESSAGE): Can't Find a 32 Bit Float CMake Error at libsrc/CMakeLists.txt:334 (MESSAGE): Can't Find a 64 Bit Float CMake Error at libsrc/CMakeLists.txt:349 (MESSAGE): Can't Find a 32 Bit Integer CMake Error: An attempt was made to access a variable: CMAKE_WORDS_BIGENDIAN that has not been defined. Some variables were always defined by CMake in versions prior to 1.6. To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less. If you are writing a CMakeList file, (or have already set CMAKE_BACKWARDS_COMPATABILITY to 1.4 or less) then you probably need to include a CMake module to test for the feature this variable defines. CMake Error at vtk/CMakeLists.txt:89 (INCLUDE): include could not find load file: /vtkExportKit.cmake CMake Error at vtk/CMakeLists.txt:90 (VTK_EXPORT_KIT): Unknown CMake command VTK_EXPORT_KIT. Configuring incomplete, errors occurred! Best, x ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Is vtkSMMultiViewRenderModuleProxy deprecated?
What exactly are you trying to do? vtkSMMultiViewRenderModuleProxy is deprecated, but it was never meant to be used directly anyways -- one simply created a view proxy and used it. Which is still true. Simply create multiple RenderView proxies and set ViewPosition and ViewSize properties on them to set up the layout. Utkarsh On Sun, Feb 27, 2011 at 4:44 PM, Alexis Chan alex...@stanfordalumni.org wrote: Hi I am interested in implementing multiple views (multiple interactors and multiple renderers). I think this is a pretty good example for me to follow: http://www.paraview.org/Wiki/Multiple_views But I cannot find vtkSMMultiViewRenderModuleProxy in my clone of the ParaView git repository. Has the class been deprecated? -- Alexis YL Chan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Is vtkSMMultiViewRenderModuleProxy deprecated?
= vtkInteractionDeviceManager::New(); //Get vtkRenderWindowInteractor from the Interaction Device Manager (defined in vtkInteractionDevice.lib) vtkRenderWindowInteractor* interactor = idManager-GetInteractor(inputInteractor); //Get second interactor vtkRenderWindowInteractor* interactor2 = idManager-GetInteractor(inputInteractor2); //Set the vtkRenderWindowInteractor's style (trackballcamera) and window vtkInteractorStyleTrackballCamera* interactorStyle = vtkInteractorStyleTrackballCamera::New(); interactor-SetRenderWindow(window); interactor-SetInteractorStyle(interactorStyle); //Get second interactorStyle vtkInteractorStyleTrackballCamera* interactorStyle2 = vtkInteractorStyleTrackballCamera::New(); interactor2-SetRenderWindow(window2); interactor2-SetInteractorStyle(interactorStyle2); interactor-Initialize(); interactor2-Initialize(); // Clean up // cone-Delete(); reader-Delete(); mapper-Delete(); actor-Delete(); renderer-Delete(); window-Delete(); tracker-Delete(); trackerStyleCamera-Delete(); inputInteractor-Delete(); idManager-Delete(); interactorStyle-Delete(); window2-Delete(); tracker2-Delete(); trackerStyleCamera2-Delete(); inputInteractor2-Delete(); interactorStyle2-Delete(); // Start interacting interactor-Start(); interactor2-Start(); On Mon, Feb 28, 2011 at 10:49 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: What exactly are you trying to do? vtkSMMultiViewRenderModuleProxy is deprecated, but it was never meant to be used directly anyways -- one simply created a view proxy and used it. Which is still true. Simply create multiple RenderView proxies and set ViewPosition and ViewSize properties on them to set up the layout. Utkarsh On Sun, Feb 27, 2011 at 4:44 PM, Alexis Chan alex...@stanfordalumni.org wrote: Hi I am interested in implementing multiple views (multiple interactors and multiple renderers). I think this is a pretty good example for me to follow: http://www.paraview.org/Wiki/Multiple_views But I cannot find vtkSMMultiViewRenderModuleProxy in my clone of the ParaView git repository. Has the class been deprecated? -- Alexis YL Chan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 -- Alexis YL Chan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Save Data for all branches
Here's a simple script that saves all sinks. from paraview.simple import * counter = 0 sources = GetSources() for source in sources.values(): has_consumer = False for i in range(0, source.GetNumberOfConsumers()): consumer = source.GetConsumerProxy(i) if consumer in sources.values(): has_consumer = True print has_consumer break if not has_consumer: writer = CreateWriter(/tmp/foo%d.vtk % counter, source) counter = counter + 1 writer.UpdatePipeline() del writer On Wed, Mar 2, 2011 at 8:08 AM, owen.arn...@stfc.ac.uk wrote: Hi, Is it there any way to save data from all pipeline branches without selecting them individually? Is this something that could be scripted? Thanks in advance, Owen. -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Save Data for all branches
You can use the macro functionality to add python scripts are macros and they show up in the toolbar. Utkarsh On Thu, Mar 3, 2011 at 4:55 AM, owen.arn...@stfc.ac.uk wrote: This is great. Our users would probably need a way of executing such a script without having to open the python shell. Is there any way we could provide this sort of facility for them? Ideally we're after a one-click type approach. We're happy to consider Custom Applications. Thanks. -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: 02 March 2011 14:34 To: Arnold, Owen (-,RAL,ISIS) Cc: paraview@paraview.org Subject: Re: [Paraview] Save Data for all branches Here's a simple script that saves all sinks. from paraview.simple import * counter = 0 sources = GetSources() for source in sources.values(): has_consumer = False for i in range(0, source.GetNumberOfConsumers()): consumer = source.GetConsumerProxy(i) if consumer in sources.values(): has_consumer = True print has_consumer break if not has_consumer: writer = CreateWriter(/tmp/foo%d.vtk % counter, source) counter = counter + 1 writer.UpdatePipeline() del writer On Wed, Mar 2, 2011 at 8:08 AM, owen.arn...@stfc.ac.uk wrote: Hi, Is it there any way to save data from all pipeline branches without selecting them individually? Is this something that could be scripted? Thanks in advance, Owen. -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Reader Properties
Make the SizeProperty and information_only property with the right type of InformationHelper sepecified in teh XML. Then in your object panel you can call vtkSMProxy::UpdatePropertyInformation() and the access the value for the property. Utkarsh On Fri, Mar 4, 2011 at 10:02 AM, owen.arn...@stfc.ac.uk wrote: I have a plugin object panel which I associate with a plugin reader. From my object panel I can access vtkSMProperty objects: vtkSMProperty * sizeProperty = this-proxy()-GetProperty(SizeProperty); The line above will give me the default value set for the property. What I really want to be able to do is take a value read in from the file and pass it on to my object panel. How can I set property information in such a way that it can be picked up from the object panel? Thanks in advance. -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] DIY Application problem
Is it possible to share you code? Pretty sure you are missing an equivalent of accept somewhere. Utkarsh On Fri, Mar 4, 2011 at 10:32 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to get the DIY application up and running. I have successfully got it to compile and run, but it doesn't seem to do anything when loading the sample data. At first I thought that it was due to not having a running server before loading the file, so I created a server instance, connected the client and then loaded the data again. In spite of this, nothing shows up on the screen and none of the drop down boxes show anything interesting. I'm not receiving any error messages from the program. I can load the sample data into ParaView just fine. Is there a debug flag I can set or pass to the DIY program to get some information about what is going on? I am running on 64-bit Ubuntu with a git copy of ParaView. Thanks, Michael Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] DIY Application problem
Ah, looks like there was a bug that got introduced in git-master. I've committed a fix. Attached is a patch for the same. Thanks for reporting. Utkarsh On Fri, Mar 4, 2011 at 11:48 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, I'm running the code that is given on the ParaView wiki: http://www.paraview.org/Wiki/IEEE_Vis10_DIY_Vis_Application_-_ParaView, specifically for the QuickContour example. I get similar behavior from the SimpleApp example. I have made no modifications to the code. Cheers, M On 3/4/11 11:19 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Is it possible to share you code? Pretty sure you are missing an equivalent of accept somewhere. Utkarsh On Fri, Mar 4, 2011 at 10:32 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to get the DIY application up and running. I have successfully got it to compile and run, but it doesn't seem to do anything when loading the sample data. At first I thought that it was due to not having a running server before loading the file, so I created a server instance, connected the client and then loaded the data again. In spite of this, nothing shows up on the screen and none of the drop down boxes show anything interesting. I'm not receiving any error messages from the program. I can load the sample data into ParaView just fine. Is there a debug flag I can set or pass to the DIY program to get some information about what is going on? I am running on 64-bit Ubuntu with a git copy of ParaView. Thanks, Michael Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 patch Description: Binary data ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] ParaView and Xdmf
No, Xdmf is not a plugin in ParaView, although, a developer can easily disable it, we don;t provide any options to the user so far to disable using Xdmf. Any particular reason why you want to disable Xdmf? Utkarsh On Wed, Mar 9, 2011 at 6:36 AM, Brian Panneton brian.panne...@gmail.com wrote: Is Xdmf a required component of ParaView? To my understanding it is a plugin, but I cannot seem to find a way to avoid including it. Thanks, Brian ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] pqViewManager in Clone2
If you can post your code on github or gitorious, it might be easier to debug. It's not clear why you;d be getting that error. Utkarsh On Tue, Mar 8, 2011 at 12:06 PM, Alexis Chan alex...@stanfordalumni.org wrote: Hi I tried to use the recommended method below in my ParaView plugin: // Get Application Core pqApplicationCore* core = pqApplicationCore::instance(); // Get Object Builder to create new Views, Server etc pqObjectBuilder* builder = core-getObjectBuilder(); // Get the Server Manager Model so that we can get current server pqServerManagerModel* serverManager = core-getServerManagerModel(); if (serverManager-getNumberOfItemspqServer*()== 1) // Assuming that there is only 1 server { pqServer* server = serverManager-getItemAtIndexpqServer*(0); if (serverManager-getNumberOfItemspqView* () == 1) // Assuming that there is only 1 view created { pqView* view1 = serverManager-getItemAtIndexpqView*(0); // Get QWidget from first view QWidget* viewWidget = view1-getWidget(); //Create GridLayout Widget from first view's widget QGridLayout* gl = new QGridLayout(viewWidget); //create second view pqRenderView* view2 = qobject_castpqRenderView*( builder-createView(pqRenderView::renderViewType(), server)); //Add second view's widget to gridlayout gl-addWidget(view2-getWidget(),1,1); //Create third view //create third view pqRenderView* view3 = qobject_castpqRenderView*( builder-createView(pqRenderView::renderViewType(), server)); //Add third view's widget to gridlayout gl-addWidget(view3-getWidget(),2,2); } } The debugger fails at pqRenderView* view3 = qobject_castpqRenderView*( builder-createView(pqRenderView::renderViewType(), server)); pqObjectBuilder.cxx : pxm-RegisterProxy(views, name.toAscii().data(), proxy); qwidget.h: inline QSize QWidget::size() const { return data-crect.size(); } because data is null. name.toAscii is RenderView3. Can someone let me know what I mess up in the code? Thanks. On Thu, Mar 18, 2010 at 11:22 AM, Utkarsh Ayachit utkarsh.ayachit at kitware.com wrote: Hello, If you are creating a custom application which always has 4 render windows, then I'd suggest not even using the pqViewManager. Simply create the 4 views yourself and pack them into a QWidget using a QGridLayout. For example, the following code can be used after a server connection has been made to set up the 4 views. QWidget* centralWidget = new QWidget(); mainWindow-setCentralWidget(centralWidget); QGridLayout* gl = new QGridLayout(centralWidget); for (int xx=0; xx 2; xx++) { for (int yy=0; yy 2; yy++) { pqRenderView* view = qobject_castpqRenderView*( ob-createView(pqRenderView::renderViewType(), server)); gl-addWidget(view-getWidget(), yy, xx); } } Utkarsh On Thu, Mar 18, 2010 at 10:22 AM, Adebayo Olowoyeye aolowoye at umail.iu.edu wrote: Hi, I am attempting to use the Clone2 CustomApplication example to write a custom application in C++. The wiki documentation on Custom Applications suggest using pqViewManager to control the view of the application. I want to split the frame into four different windows, each with its own view. I am assuming the program starts with one frame and one view. Is this assumption correct? I reference the pqViewManager with the following code: this-Internals-MultiViewManager the active view (I'm guessing the only view at this point is): pqView* view = this-Internals-MultiViewManager-getActiveView(); This problem is there are no public methods to split the frame in pqViewManager. It is possible to get the pqMultiViewFrame: pqMultiViewFrame * multiViewFrame = this-Internals-MultiViewManager-getFrame(view); I've tested this by: multiViewFrame-setTitle(HELLO WORLD!); and it works, but I've tried multiple tries to get the frame to split without success. Any insight will help. Thanks! ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Plugin with own thread
You might want to read http://doc.qt.nokia.com/latest/threads-qobject.html especially the section about signal/slots and threads. In your code, contrary to what you expect, Trigger() is being called in your thread and not the main thread and hence the issues you might be seeing. If you simply change the connection to use a Qt::QueuedConnection you'd get the desired effect. Utkarsh On Wed, Mar 9, 2011 at 8:10 AM, Stephan Rogge stephan.ro...@tu-cottbus.de wrote: Hello, after reading the tutorials and How-to’s for writing ParaView Plugins I’ve started with the Autostart-Example project. My goal was to create a plugin which is executed in an external thread. It might happens that I need this in the near future. Well, it works quit well, I guess. But to avoid some errors and miss-behaviors I need a confirmation that I am on the right way. My approach is to use the signal-slot-pattern to communicate between the main thread of ParaView and my own plugin-thread. The class pqMyApplicationStarter represents the ParaView-plugin (which is running in the main thread of ParaView?). There is an object in this class which executes a loop within an external thread ( class Thread ), which extends QThread. As I read somewhere that vtk isn’t implemented threaded-safe at all (at least the rendering stuff) I decided to do all render calls in pqMyApplicationStarter. When the UpdatedData()signal is fired the active view needs to re-rendered. The question I want to ask is very simple: Is this the right / best way to create a thread and communicate with it via signals? /// Thread.h class Thread : public QThread { Q_OBJECT public: Thread(QObject* parent = 0); virtual ~Thread(); virtual void run(); signals: void UpdatedData(); }; void Thread::run() { running = true; while( running ) { // Sleep awhile msleep( 800 ); // Fire the signal emit UpdatedData(); } } / /// pqMyApplicationStarter // class pqMyApplicationStarter : public QObject { Q_OBJECT typedef QObject Superclass; public: pqMyApplicationStarter(QObject* p=0); ~pqMyApplicationStarter(); // Callback for startup. void onStartup(); public slots: void Trigger(); }; void pqMyApplicationStarter::onStartup() { myThread = new Thread(); myThread-start(); pqActiveObjects::instance().connect( myThread, SIGNAL(UpdatedData()), this, SLOT(Trigger()) ); } void pqMyApplicationStarter::Trigger() { pqActiveObjects* object = (pqActiveObjects::instance()); pqView* view = object-activeView(); if (view) { view-render(); } view = NULL; } Thanks a lot. Cheers, Stephan ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] ParaView and Xdmf
I believe we can add support for that. Dave, can you put that on your queue please? Thanks Utkarsh On Wed, Mar 9, 2011 at 8:20 AM, Michael Jackson mike.jack...@bluequartz.net wrote: For one I build HDF5 with the 1.6 API which I think Xdmf has issues with. Being able to disable Xdmf (as I used to be able to do) would be important for myself. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Mar 9, 2011, at 11:16 AM, Utkarsh Ayachit wrote: No, Xdmf is not a plugin in ParaView, although, a developer can easily disable it, we don;t provide any options to the user so far to disable using Xdmf. Any particular reason why you want to disable Xdmf? Utkarsh On Wed, Mar 9, 2011 at 6:36 AM, Brian Panneton brian.panne...@gmail.com wrote: Is Xdmf a required component of ParaView? To my understanding it is a plugin, but I cannot seem to find a way to avoid including it. Thanks, Brian ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Plugin with own thread
If you look at http://doc.qt.nokia.com/latest/qobject.html#thread you'll see that QObject::thread() returns the thread to which the object belongs, not the thread in which the code is being executed. Utkarsh On Thu, Mar 10, 2011 at 12:35 AM, Stephan Rogge stephan.ro...@tu-cottbus.de wrote: Hello Utkarsh, thank you very much for the quick response and thanks for pointing me on the QThread documentation. Regarding to the QT doc I realized a direct connection here, which leads to an immediately processing of Trigger(). Well, my assumption was indeed wrong. So I went back to my code and include some debug outputs to clarify which thread processes the pqMyApplicationStarter::Trigger() method. In order to get these information I output the current thread Ids of my plugin (in onStartup and Trigger) ... void pqMyApplicationStarter::onStartup() { ... qWarning() Message from pqMyApplicationStarter: Application Started ( this-thread()-currentThreadId() ); } void pqMyApplicationStarter:: Trigger() { ... qWarning() pqMyApplicationStarter::Trigger(): this-thread()-currentThreadId(); } and in my external thread (Thread::run). void Thread::run() { running = true; while( running ) { qWarning() Thread::run(): currentThreadId(); // Fire the signal emit UpdatedData(); qWarning() Invocation done; } } This lead to the following output: Message from pqMyApplicationStarter: Application Started ( 0x1514 ) Thread::run(): 0x123c pqMyApplicationStarter::Trigger(): 0x1514 Invocation done And here I a new question arises: It seems to be, that Trigger is invoked in my external thread and waits for return but is processed in the plugin thread. Is that right? Thanks again, Best regards, Stephan -Ursprüngliche Nachricht- Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Gesendet: Mittwoch, 9. März 2011 17:25 An: Stephan Rogge Cc: paraview@paraview.org Betreff: Re: [Paraview] Plugin with own thread You might want to read http://doc.qt.nokia.com/latest/threads-qobject.html especially the section about signal/slots and threads. In your code, contrary to what you expect, Trigger() is being called in your thread and not the main thread and hence the issues you might be seeing. If you simply change the connection to use a Qt::QueuedConnection you'd get the desired effect. Utkarsh On Wed, Mar 9, 2011 at 8:10 AM, Stephan Rogge stephan.ro...@tu-cottbus.de wrote: Hello, after reading the tutorials and How-to’s for writing ParaView Plugins I’ve started with the Autostart-Example project. My goal was to create a plugin which is executed in an external thread. It might happens that I need this in the near future. Well, it works quit well, I guess. But to avoid some errors and miss-behaviors I need a confirmation that I am on the right way. My approach is to use the signal-slot-pattern to communicate between the main thread of ParaView and my own plugin-thread. The class pqMyApplicationStarter represents the ParaView-plugin (which is running in the main thread of ParaView?). There is an object in this class which executes a loop within an external thread ( class Thread ), which extends QThread. As I read somewhere that vtk isn’t implemented threaded-safe at all (at least the rendering stuff) I decided to do all render calls in pqMyApplicationStarter. When the UpdatedData()signal is fired the active view needs to re-rendered. The question I want to ask is very simple: Is this the right / best way to create a thread and communicate with it via signals? /// Thread.h class Thread : public QThread { Q_OBJECT public: Thread(QObject* parent = 0); virtual ~Thread(); virtual void run(); signals: void UpdatedData(); }; void Thread::run() { running = true; while( running ) { // Sleep awhile msleep( 800 ); // Fire the signal emit UpdatedData(); } } / /// pqMyApplicationStarter // class pqMyApplicationStarter : public QObject { Q_OBJECT typedef QObject Superclass; public: pqMyApplicationStarter(QObject* p=0); ~pqMyApplicationStarter(); // Callback for startup. void onStartup(); public slots: void Trigger(); }; void pqMyApplicationStarter::onStartup() { myThread = new Thread(); myThread-start
Re: [Paraview] Plugin with own thread
I replied prematurely without realizing the currentThreadId() is a static method. So have you changed the connect to use a queued connection or not? Utkarsh On Thu, Mar 10, 2011 at 8:05 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: If you look at http://doc.qt.nokia.com/latest/qobject.html#thread you'll see that QObject::thread() returns the thread to which the object belongs, not the thread in which the code is being executed. Utkarsh On Thu, Mar 10, 2011 at 12:35 AM, Stephan Rogge stephan.ro...@tu-cottbus.de wrote: Hello Utkarsh, thank you very much for the quick response and thanks for pointing me on the QThread documentation. Regarding to the QT doc I realized a direct connection here, which leads to an immediately processing of Trigger(). Well, my assumption was indeed wrong. So I went back to my code and include some debug outputs to clarify which thread processes the pqMyApplicationStarter::Trigger() method. In order to get these information I output the current thread Ids of my plugin (in onStartup and Trigger) ... void pqMyApplicationStarter::onStartup() { ... qWarning() Message from pqMyApplicationStarter: Application Started ( this-thread()-currentThreadId() ); } void pqMyApplicationStarter:: Trigger() { ... qWarning() pqMyApplicationStarter::Trigger(): this-thread()-currentThreadId(); } and in my external thread (Thread::run). void Thread::run() { running = true; while( running ) { qWarning() Thread::run(): currentThreadId(); // Fire the signal emit UpdatedData(); qWarning() Invocation done; } } This lead to the following output: Message from pqMyApplicationStarter: Application Started ( 0x1514 ) Thread::run(): 0x123c pqMyApplicationStarter::Trigger(): 0x1514 Invocation done And here I a new question arises: It seems to be, that Trigger is invoked in my external thread and waits for return but is processed in the plugin thread. Is that right? Thanks again, Best regards, Stephan -Ursprüngliche Nachricht- Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Gesendet: Mittwoch, 9. März 2011 17:25 An: Stephan Rogge Cc: paraview@paraview.org Betreff: Re: [Paraview] Plugin with own thread You might want to read http://doc.qt.nokia.com/latest/threads-qobject.html especially the section about signal/slots and threads. In your code, contrary to what you expect, Trigger() is being called in your thread and not the main thread and hence the issues you might be seeing. If you simply change the connection to use a Qt::QueuedConnection you'd get the desired effect. Utkarsh On Wed, Mar 9, 2011 at 8:10 AM, Stephan Rogge stephan.ro...@tu-cottbus.de wrote: Hello, after reading the tutorials and How-to’s for writing ParaView Plugins I’ve started with the Autostart-Example project. My goal was to create a plugin which is executed in an external thread. It might happens that I need this in the near future. Well, it works quit well, I guess. But to avoid some errors and miss-behaviors I need a confirmation that I am on the right way. My approach is to use the signal-slot-pattern to communicate between the main thread of ParaView and my own plugin-thread. The class pqMyApplicationStarter represents the ParaView-plugin (which is running in the main thread of ParaView?). There is an object in this class which executes a loop within an external thread ( class Thread ), which extends QThread. As I read somewhere that vtk isn’t implemented threaded-safe at all (at least the rendering stuff) I decided to do all render calls in pqMyApplicationStarter. When the UpdatedData()signal is fired the active view needs to re-rendered. The question I want to ask is very simple: Is this the right / best way to create a thread and communicate with it via signals? /// Thread.h class Thread : public QThread { Q_OBJECT public: Thread(QObject* parent = 0); virtual ~Thread(); virtual void run(); signals: void UpdatedData(); }; void Thread::run() { running = true; while( running ) { // Sleep awhile msleep( 800 ); // Fire the signal emit UpdatedData(); } } / /// pqMyApplicationStarter // class pqMyApplicationStarter : public QObject { Q_OBJECT typedef QObject Superclass; public: pqMyApplicationStarter(QObject* p=0
Re: [Paraview] Image color map
I seem to see the different shades just fine. If you are talking about the shades being just red and blue, that's the default lookup table, change the lookup table to rainbow if that's what you are expecting by clicking Edit color map. Utkarsh On Thu, Mar 10, 2011 at 7:51 AM, David Doria daviddo...@gmail.com wrote: When looking at this file: http://www.rpi.edu/~doriad/Paraview_List/appended.mhd http://www.rpi.edu/~doriad/Paraview_List/appended.raw with Color by: MetaImage - 3 (the 4th channel of the image), I only see two colors, red and blue. If I look at the file in the spreadsheet view, the 4th channel values vary continuously from 0 to 7. I have clicked Rescale to Data Range with no change. Can anyone reproduce this? Or am I just doing something wrong? I just pulled from master. Thanks, David ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 attachment: foo.png___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Object Inspector Properties Access
The correct way for doing this is to use domains and required properties for the domains. However the questions is can the values in drop-down #2 be determined without pushing the value chosen by the user for drop-down #1 to the server/VTK-object? Utkarsh On Thu, Mar 10, 2011 at 10:57 AM, Brian Panneton brian.panne...@gmail.com wrote: I have two drop down menus in the Object Inspector's Properties tab. The second drop down's data depends on what is selected in the first drop down menu. I'm trying to have that update after a change without needing to click Apply. I know it can be done with pqPropertyLinks, but I'm not sure how to get the QObjects. Any ideas would be helpful. Thanks, Brian Panneton ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems
Is it possible to share the data? If not, what are the data bounds (look on the information tab)? Utkarsh On Thu, Mar 10, 2011 at 1:54 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: Hi All, Further to the is the problem still exists in the official 3.10.0 release. Cheers, Paul -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Paul McIntosh Sent: Wednesday, 9 February 2011 4:39 PM To: 'paraview' Subject: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems Hi, I'd just like to point out an issue with 3.10.0-RC1. I have a volume data set of a mouse which works fine in 3.8. I've just tried it in 3.10.0-RC1 on both Linux and Windows and I see the top and bottom of the mouse being clipped. If I switch to GPU the clipping disappears. Attached is a screenshot showing the left and right data missing. Sometimes when it is first loaded it is complete but any movement makes it clip. I tried both a *.vti file of the data and loading it again as *.raw with the same results. Cheers, Paul --- www.internetscooter.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] 3.10 Segfault XDMF
Tim, That'd be great. You can send it directly to me too if you dont want to post it to the mailing list or it's too big for it. Thanks Utkarsh On Thu, Mar 10, 2011 at 2:39 PM, Tim Gallagher tim.gallag...@gatech.edu wrote: Bummer about XDMF_WRAP_PYTHON, but not a huge deal. The bigger problem is the seg fault when loading XDMF datasets. I'd be happy to give data to replicate the problem if nobody else is seeing the issue. Tim - Original Message - From: Sven Buijssen sven.buijs...@tu-dortmund.de To: Tim Gallagher tim.gallag...@gatech.edu Cc: paraview@paraview.org Sent: Thursday, March 10, 2011 3:24:20 PM Subject: Re: [Paraview] 3.10 Segfault XDMF Hi Tim, Unfortunately, XDMF_WRAP_PYTHON got disabled last minute because it currently prevents being able to run things like cpack -G TGZ --config Applications/ParaView/CPackParaViewConfig.cmake See http://paraview.org/gitweb?p=ParaView.git;a=commit;h=7ac1f7511e3fd1836b0c918812a29222c0ceeedf Sven Also, I requested this before and somebody replied and said it was done, but the 3.10 release doesn't have it -- Can it be built with XDMF_WRAP_PYTHON turned on? That's the only thing that makes us have to build from source rather than use the binaries. Thanks, Tim ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Export of time-dependent data
Martin, You should also be able to choose only the quantities you want to load from the reader panel itself. Doesn't that help with performance. If not, I don't think saving out new file with fewer quantities would make much different either. Utkarsh On Sun, Mar 13, 2011 at 7:26 AM, Martin Vymazal martin.vyma...@vki.ac.be wrote: Hello, I have rather a large output (xdmf format) of an unsteady CFD simulation. I need to compute some other quantities in the computational domain which are a function of the variables stored in the original dataset. I created a pipeline, which works fine but is a bit slow to execute every time I want to obtain a plot for a new time step. Is it possible to select only certain quantities from my pipeline and save them for all time steps (along with the mesh itself) in a new hdf/xdmf file? Thank you. Best regards, Martin Vymazal This message was sent using IMP, the Internet Messaging Program. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Export of time-dependent data
Ah ok. Unfortunately, writers don't allow you to choose the quantities to write. So an option would be write the full data out with the derived quantities and then read back only the derived quantity you are interested in. Utkarsh On Mon, Mar 14, 2011 at 11:10 AM, Martin Vymazal martin.vyma...@vki.ac.be wrote: Hi Utkarsh, let's say that my data set contains quantities a0,a1,a2,a3. I need to compute quantity bn by creating a (long) pipeline with a series of intermediate steps, where: b1 = function(a0,a1,a2,a3) b2 = function(b1,...) b3 = function(b2,b1,...) ... bn = function(b_n-1,...) Reading only those quantities (bn) that I wish to plot is exactly what I would like to do. Unfortunately, they're not contained in the original file and I need to create this extra data set first. The question is: can paraview generate such an output file which stores these quantities? I prefer to wait at the beginning and let paraview write a new dataset instead of waiting every time I click and the pipeline is re-executed. Best regards, Martin Quoting Utkarsh Ayachit utkarsh.ayac...@kitware.com: Martin, You should also be able to choose only the quantities you want to load from the reader panel itself. Doesn't that help with performance. If not, I don't think saving out new file with fewer quantities would make much different either. Utkarsh On Sun, Mar 13, 2011 at 7:26 AM, Martin Vymazal martin.vyma...@vki.ac.be wrote: Hello, I have rather a large output (xdmf format) of an unsteady CFD simulation. I need to compute some other quantities in the computational domain which are a function of the variables stored in the original dataset. I created a pipeline, which works fine but is a bit slow to execute every time I want to obtain a plot for a new time step. Is it possible to select only certain quantities from my pipeline and save them for all time steps (along with the mesh itself) in a new hdf/xdmf file? Thank you. Best regards, Martin Vymazal This message was sent using IMP, the Internet Messaging Program. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 This message was sent using IMP, the Internet Messaging Program. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Applying filters in sample app
You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] can not drag object in TestPVSynchronizedRenderWindows
I wouldn't recommend using TestPVSynchronizedRenderWindows as the basis for any code. It was an executable built specifically to test some functionality being developed at that time and will be removed in future. Look at BasicApp.cxx instead. Utkarsh On Thu, Mar 17, 2011 at 4:05 AM, Gil Wertz gilwe...@hotmail.com wrote: Hello, I'm new paraview code user and I tried some stuff in TestPVSynchronizedRenderWindows but when run , I can only rotate and zoom, but I would like to move object with the 3 mouse button. ( like when I use vtkRenderWindow with vtkRenderWindowInteractor ). In TestPVSynchronizedRenderWindows we use Proxy and I didn't find how to add the drag on it. My proxy are : vtkSMProxy* repr = pxm-NewProxy(representations,GeometryRepresentation); vtkSMProxy* viewProxy = vtkSMProxyManager::GetProxyManager()-NewProxy(views, RenderView); Thanks Wertz Gil gilwe...@hotmail.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Access to the renderer
The short answer is you cannot do it. In ParaView logically filters are on data-server and renderers are on render-server. The abstractions provided by ParaView hide these components so that such things are very difficult to do. For the longer answer, it'd help if you can describe why you want to call select visible points in your filter? Utkarsh On Fri, Mar 18, 2011 at 7:11 AM, Johnson, Duncan (UK) duncan.john...@baesystems.com wrote: Hi all, I'm looking for a way to get use vtkSelectVisiblePoints within a C++ filter in ParaView. Outside of ParaView, we have generated working VTK code that creates a renderer and renderwindow, sets up a camera, adds mappers and actors and passess the renderer onto selectvisiblepoints. We'd like to do all this within ParaView so should be able to pass the ParaView renderer to MySelectVisiblePoints-SetRenderer(x). Can anyone suggest a solution? Many thanks, Duncan Johnson This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] can not drag object in TestPVSynchronizedRenderWindows
Call the following after the view is created. void setupCameraManipulators(vtkSMProxy* view) { vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); vtkIdType cid = view-GetConnectionID(); vtkSMProxy* manip = pxm-NewProxy(cameramanipulators, TrackballRotate); vtkSMPropertyHelper(manip, Button).Set(1); vtkSMPropertyHelper(manip, ManipulatorName).Set(Rotate); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); manip = pxm-NewProxy(cameramanipulators, TrackballZoom); vtkSMPropertyHelper(manip, Button).Set(3); vtkSMPropertyHelper(manip, ManipulatorName).Set(Zoom); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); manip = pxm-NewProxy(cameramanipulators, TrackballPan1); vtkSMPropertyHelper(manip, Button).Set(2); vtkSMPropertyHelper(manip, ManipulatorName).Set(Pan); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); } On Fri, Mar 18, 2011 at 5:58 AM, Gil Wertz gilwe...@hotmail.com wrote: I did take a look to BasicApp, but it doesn't implement Client / Server, with non build in server. I'm not sur to understand, can I with a pqServer and an pqObjectBuilder ask to a distant server to open a file by giving the path ( the file is in the server side ) and show the rendered window on the client side ? The code I made for having it work in TestPVSynchronizedRenderWindows, but as I said, I cannot drag the object, only rotate and zoom. /** code ***/ #include vtkInitializationHelper.h #include vtkProcessModule.h #include vtkPVOptions.h #include vtkPVRenderView.h #include vtkSMPropertyHelper.h #include vtkSMProxy.h #include vtkSMProxyManager.h #include vtkSmartPointer.h #include QApplication #include QMainWindow #include QVTKWidget.h #include QHBoxLayout #include QVBoxLayout #include QFile // returns vtk proxy vtkSMProxy* addVTK(vtkSMProxy* view, QString fileName) { vtkSMProxy* loaded_object; vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); / VTK / loaded_object = pxm-NewProxy(sources, LegacyVTKFileReader); loaded_object-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(loaded_object, FileNames).Set(fileName.toStdString().c_str());//can.ex2 loaded_object-UpdateVTKObjects(); vtkSMProxy* repr = pxm-NewProxy(representations, GeometryRepresentation); // AxesRepresentation // GeometryRepresentation // UnstructuredGridRepresentation repr-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(repr, Input).Set(loaded_object); repr-UpdateVTKObjects(); vtkSMPropertyHelper(view, Representations).Add(repr); view-UpdateVTKObjects(); loaded_object-Delete(); repr-Delete(); return loaded_object; } // returns exodusII proxy vtkSMProxy* addEX2(vtkSMProxy* view, QString fileName) { vtkSMProxy* loaded_object; vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); /* ExodusII / loaded_object = pxm-NewProxy(sources, ExodusIIReader); loaded_object-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(loaded_object, FileName).Set(fileName.toStdString().c_str());//can.ex2 loaded_object-UpdateVTKObjects(); vtkSMProxy* repr = pxm-NewProxy(representations, SurfaceRepresentation); // AxesRepresentation // GeometryRepresentation // UnstructuredGridRepresentation repr-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(repr, Input).Set(loaded_object); repr-UpdateVTKObjects(); vtkSMPropertyHelper(view, Representations).Add(repr); view-UpdateVTKObjects(); loaded_object-Delete(); repr-Delete(); return loaded_object; } int main(int argcc, char** argvv) { //creating my own argc to ba able to make a widget without main function and argument int argc = 1; const char* executable = ; //TestPVSynchronizedRenderWindows char* arg = new char[strlen(executable)+1]; strcpy(arg, executable); //my argv char** argv = arg; //the vtkPVOptions that I don't know how to remove ( I have no options to set -_- ) vtkSmartPointervtkPVOptions newoptions = vtkSmartPointervtkPVOptions::New(); // ? vtkInitializationHelper::Initialize(argc, argv, newoptions); QApplication app(argc, argv); QMainWindow mainWindow; mainWindow.resize(400, 400); mainWindow.show(); QApplication::processEvents(); // the process module vtkProcessModule* pm = vtkProcessModule::GetProcessModule(); // Connect to the server, local server for the moment ( I launch pvserver by side ) vtkIdType connectionID = pm-ConnectToRemote(localhost, 1); // Create a view and connect it
Re: [Paraview] Applying filters in sample app
Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems
Sorry Paul. I tried various things --builtin/client-server/client-server parallel and I still can't reproduce the issue. Have you been able to reproduce the problem on any other machine? Any other information that you can give about your setup that you think may help. Try running paraview with -drcommand line option. Does that make any difference? Utkarsh On Thu, Mar 10, 2011 at 10:52 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: This is running local server x64 on Windows. I can test x64 again on Linux if you wish. For the dataset I entered the settings attached. It initially renders ok but when I move it the clipping happens. The clipping does not happen with the GPU. I have saved a *.vti file so I can make that available if you need. Any info you need please let me know - we are deploying a new cluster MASSIVE and I'd very much like to have ParaView 3.10 running nicely :) Cheers, Paul -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, 11 March 2011 2:36 PM To: Paul McIntosh Cc: paraview Subject: Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems That's very odd. I cannot seem to reproduce this. See my attached pic. It's with fixed point volume rendering. Is this client-server or something like that? Utkarsh On Thu, Mar 10, 2011 at 2:30 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: Here is the data bounds tab info... Extents X Extent: 0 to 419 (dimension: 420) V Extent: 0 to 405 (dimension: 406) Z Extent 0 to 860 (dimension: 861) Bounds X range: 0 to 419 (delta: 419) Y range: 0 to 405 (delta: 405) Z range: 0 to 864) (delta: 860) It's not my data but I have reproduced it on the backpack scan example http://www.gris.uni-tuebingen.de/edu/areas/scivis/volren/datasets/new. html The issue is even more pronounced there (see attached). Let me know if you need anymore info. Cheers, Paul -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, 11 March 2011 9:00 AM To: Paul McIntosh Cc: paraview Subject: Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems Is it possible to share the data? If not, what are the data bounds (look on the information tab)? Utkarsh On Thu, Mar 10, 2011 at 1:54 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: Hi All, Further to the is the problem still exists in the official 3.10.0 release. Cheers, Paul -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Paul McIntosh Sent: Wednesday, 9 February 2011 4:39 PM To: 'paraview' Subject: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems Hi, I'd just like to point out an issue with 3.10.0-RC1. I have a volume data set of a mouse which works fine in 3.8. I've just tried it in 3.10.0-RC1 on both Linux and Windows and I see the top and bottom of the mouse being clipped. If I switch to GPU the clipping disappears. Attached is a screenshot showing the left and right data missing. Sometimes when it is first loaded it is complete but any movement makes it clip. I tried both a *.vti file of the data and loading it again as *.raw with the same results. Cheers, Paul --- www.internetscooter.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Applying filters in sample app
Guys, Attached is a patch that demonstrates the use of 3D widgets for manipulating clip plane. Utkarsh On Fri, Mar 25, 2011 at 8:06 AM, owen.arn...@stfc.ac.uk wrote: Hi Utkarsh, I'd also like to see a coded example of this in action. If you have something, could you post it to the list. Many thanks, Owen. -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Reuter, Michael A. Sent: 21 March 2011 14:08 To: Utkarsh Ayachit Cc: paraview@paraview.org Subject: Re: [Paraview] Applying filters in sample app Hi Utkarsh, Thanks for the response. It would be greatly appreciated if you have the time to provide some code for setting up the implicit plane. I have continued to try and diagnose things myself without much luck. Thanks, M On 3/18/11 10:49 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 -- Scanned by iCritical. solution.patch Description: Binary data ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Updateprogress issue
I think the problem maybe more on the ParaView side. Attached is a patch. Can you verify if that resolves the issue? Utkarsh On Mon, Mar 28, 2011 at 5:16 AM, owen.arn...@stfc.ac.uk wrote: Hi, I have a filter which executes some code in a third-party library, which takes a considerable time to run. I therefore use UpdateProgress and SetProgress text method calls to inform the users about the progress. This works fine the first time I ‘Apply’ my filter, correctly displaying both the progress percent and the supplied text. However, if I modify and then apply my filter again I do not get either progress or status text updates in the Paraview GUI. I’m definitely making the same calls to UpdateProgress and SetProgress text, but they are ignored on every execution apart from the first one. Is there some sort of refresh operation I need to apply in my filter to get the Paraview GUI to display the progress? Thanks in advance, Owen. -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 diff --git a/Servers/ServerManager/vtkSMViewProxy.cxx b/Servers/ServerManager/vtkSMViewProxy.cxx index ca52c70..631669b 100644 --- a/Servers/ServerManager/vtkSMViewProxy.cxx +++ b/Servers/ServerManager/vtkSMViewProxy.cxx @@ -173,11 +173,13 @@ void vtkSMViewProxy::Update() { vtkClientServerStream stream; vtkProcessModule* pm = vtkProcessModule::GetProcessModule(); +pm-SendPrepareProgress(this-ConnectionID); stream vtkClientServerStream::Invoke this-GetID() Update vtkClientServerStream::End; pm-SendStream(this-ConnectionID, this-Servers, stream); +pm-SendCleanupPendingProgress(this-ConnectionID); } } ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] having two plot on line in a same window
You can turn on the visibility for both the Plot Over Line filters in the same plot view to see both the curves in the same plot. Utkarsh On Tue, Mar 22, 2011 at 12:11 PM, ali rostai ali.ros...@gmail.com wrote: Hi, I am a new user of paraview. There is a simple channel and I want to see the x velocity profile of inlet and outlet in a single plot. I can get the profiles for each one separately through the filter of plot on line But it is highly desirable to have both in a single plot for comparison. Thanks, Ali ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Problem with editing mesh/model | Could You help me please ?
Agata, ParaView is not designed for such kinds of operations, so there are no easy ways for doing these in ParaView. Utkarsh On Mon, Mar 21, 2011 at 3:44 AM, Agata Krasoń agatakra...@gmail.com wrote: Hi ParaView Users ;) I have problem with editing mesh/models. I have a model/mesh (skelleton of vasculature ) .vtk. I want to join some separated parts of this model by using mouse in 3D layout . Is it possible in ParaView ? What can I do it ? Could someone give me some advice please ? I would to appreciate for any help ;) Best, Agata ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Reading In 2D Statistical Data
I am not sure why you'd want to use a vtkPolyData. In fact, what you're doing with vtkTable seems very reasonable to me. Utkarsh On Mon, Mar 28, 2011 at 10:37 AM, Brian Panneton brian.panne...@gmail.com wrote: I am making a reader that will be reading in a bunch of X Y statistics. At first I was reading them into a vtkTable which then I could run the 'Plot Data' filter and get a 2D line chart. I was wondering if there was a better way to do this. I want to try to use something like vtkPolyData, but I can't seem to figure out if there is a way to include details about the statistics, such as its title, the name of each line or other string data. A quick example would be if I wanted to plot 2 statistics (A and B). A has 3 lines and B has 2 lines. I need some way to differentiate which statistic and which line each of the plotted lines are. In the vtkTable, I made a column for X, and then a column for each stat/line pair (X,A1,A2,A3,B1,B2), but I feel like there is a better way to do this. Thanks, Brian Panneton ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Providing block names within .vtm files
FYI, I've added a feature request for the same:http://public.kitware.com/Bug/view.php?id=12023 Utkarsh On Fri, Mar 25, 2011 at 12:00 PM, Adriano Gagliardi agaglia...@ara.co.uk wrote: Jean, Your fix works fine and pretty simple to implement. Should this be added as a feature request or possibly a bug? Regards, Adriano === Adriano Gagliardi MEng PhD Business Sector Leader Computational Aerodynamics Aircraft Research Association Ltd. Manton Lane Bedford Tel: 01234 32 4644 E-mail: agaglia...@ara.co.uk Url: www.ara.co.uk -Original Message- From: Favre Jean [mailto:jfa...@cscs.ch] Sent: 25 March 2011 12:05 To: agaglia...@ara.co.uk; paraview@paraview.org Subject: RE: [Paraview] Providing block names within .vtm files I believe the functionality is missing. I have looked for it for many years. I just put together a quick hack, which seems to work fine for me. No exhaustive testing was done. It works for my test data, which are multi-blocks of multi-blocks. It could be generalized to multi-pieces too. I'll let a Kitware guru do that. :-) I modified VTK/IO/vtkXMLMultiBlockDataReader.cxx to get the attribute name // child is a leaf node, read and insert. const char* tagName = childXML-GetName(); if (strcmp(tagName, DataSet) == 0) { vtkSmartPointervtkDataSet childDS; const char* name; if (this-ShouldReadDataSet(dataSetIndex)) { // Read childDS.TakeReference(this-ReadDataset(childXML, filePath)); name = childXML-GetAttribute(name); } // insert if (mblock) { mblock-SetBlock(index, childDS); mblock-GetMetaData(index)-Set(vtkCompositeDataSet::NAME(), name); } else if (mpiece) { mpiece-SetPiece(index, childDS); } dataSetIndex++; } // Child is a multiblock dataset itself. Create it. else if (mblock != 0 strcmp(tagName, Block) == 0) { vtkMultiBlockDataSet* childDS = vtkMultiBlockDataSet::New();; this-ReadComposite(childXML, childDS, filePath, dataSetIndex); const char* name = childXML-GetAttribute(name); if (mblock) { mblock-SetBlock(index, childDS); mblock-GetMetaData(index)-Set(vtkCompositeDataSet::NAME(), name); } else if (mpiece) { vtkErrorMacro(Multipiece data can't have composite children.); return; } childDS-Delete(); } - Jean M. Favre Swiss National Supercomputing Center = ** This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ** ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Applying filters in sample app
The plane widget has a setVisiblity slot, you can connect the checkbox to that slot. Utkarsh On Tue, Mar 29, 2011 at 10:16 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thank you for the code. It works fine and gets me almost to where I want. When I use the implicit plane with the cut filter, I'm pulling up an object inspector widget for it. Is there a way I can attach the visibility of the plane to the check box in the inspector? Cheers, M On 3/25/11 7:54 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Guys, Attached is a patch that demonstrates the use of 3D widgets for manipulating clip plane. Utkarsh On Fri, Mar 25, 2011 at 8:06 AM, owen.arn...@stfc.ac.uk wrote: Hi Utkarsh, I'd also like to see a coded example of this in action. If you have something, could you post it to the list. Many thanks, Owen. -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Reuter, Michael A. Sent: 21 March 2011 14:08 To: Utkarsh Ayachit Cc: paraview@paraview.org Subject: Re: [Paraview] Applying filters in sample app Hi Utkarsh, Thanks for the response. It would be greatly appreciated if you have the time to provide some code for setting up the implicit plane. I have continued to try and diagnose things myself without much luck. Thanks, M On 3/18/11 10:49 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] C++ ProgrammableSource Servermanager
Yes, that's what all the default data-sources do. Take a look at the code for any of the other sources that matches most closely to what you're generating as a starting point. Utkarsh On Wed, Mar 30, 2011 at 8:23 AM, Atanas Atanasov atana...@in.tum.de wrote: Hello, i am trying to develop a small client application for the paraview servermanager. I have managed to create views and representations. Now i need to generate source data on the fly (something like the programmablesource from pvpython). Can i do this directly from c++ without using the python wrapper. Best regards, A.Atanasov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] Image Mathematics
I'm not surprised. A lot of code assumes the primary input to be named Input, although midway in the ParaView development lifespan we decided to abondon that notion, yet there may be code that assumes that. Feel free to file a bug, but I have a feeling it will be while before we attempt to fix this. Utkarsh On Thu, Mar 31, 2011 at 4:36 AM, Jérôme jerome.ve...@gmail.com wrote: Hi again, I found the origin of the pipeline issue: The XML description of the filter must set the name of one input to Input. The 2-inputs ImageMathematics works well with first input name=Input rather than name=Input1. Second input name=Input2 does not have to be changed. Should I fill a bug entry for that? Is it a design constraint? Best regards, Jerome 2011/3/29 Jérôme jerome.ve...@gmail.com: Dear all, I am trying to embed the vtkImageMathematics filter in ParaView, but I have a pipeline issue (attached are the corresponding XML servermanagers). For one input operations (add K, invert, sin, cos,...) everything works well. But for two inputs operations (Add, Multiply, Min, Max,...) the pipeline browser does not show the connections between the input images and the ImageMathematics filter. Note that updating the pipeline produces the right output! The only problem is that I cannot right-click and choose change input. Another consequence is that a python-scripted state is not able to rebuild the pipeline. FYI, I already developed a two-image-inputs filter (image convolution with a kernel represented by another vtkImageData: http://github.com/jeromevelut/vtkKinship) for which this issue doesn't occur. Could it be the way the input informations are provided at the VTK side of the filter ? Thanks a lot, Jerome ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] pqColorScaleEditor crash
Gil, If you can provide the call-stack for where you're getting the segfault, it will be helpful. Utkarsh On Thu, Mar 31, 2011 at 10:13 AM, Gil Wertz gilwe...@hotmail.com wrote: I'm making a program that make calculation and try to integrate some Paraview stuff, every things goes fine, I have my render from the server, but when I use pqColorScaleEditor, the dialog show himself, I can change color depending on scale but when I check the legend checkbox, the application crash and I have no idea why ... Part of my code : void Widget3D::show_color_editor(){ scaleEdit = new pqColorScaleEditor(m_RenderView-getWidget()); pqDataRepresentation* repr = m_input-getRepresentation(m_RenderView); scaleEdit-setRepresentation(repr); scaleEdit-show(); } void Widget3D::createView(){ if(m_server){ // create a graphics window and put it in our main window this-m_RenderView = qobject_castpqRenderView*( m_object_builder-createView(pqRenderView::renderViewType(), m_server)); if(m_RenderView){ m_layout_v-insertWidget(0,this-m_RenderView-getWidget()); }else{ //NLog::globalLog()-addError(Problem when creating a RenderView.); } }else{ //NLog::globalLog()-addError(Cannot create RenderView if no paraview server connection is set.); } } void Widget3D::showRender() { if(m_source){ m_input = m_source;//m_filter2; m_object_builder-createDataRepresentation(m_input-getOutputPort(0), this-m_RenderView); changeStyle(); pqDataRepresentation* repr = m_input-getRepresentation(m_RenderView); this-m_color-setRepresentation(m_input-getRepresentation(m_RenderView)); //this-scaleEdit-setRepresentation(m_input-getRepresentation(m_RenderView)); qDebug() repr-getLookupTable(); //m_RenderView-get qDebug() repr-getLookupTableProxy(); // zoom to object this-m_RenderView-resetCamera(); // make sure we update this-m_RenderView-render(); }else{ //NLog::globalLog()-addError(There is no file to render.); } } Widget3D::Widget3D(QWidget *parent) : QWidget(parent) { // automatically make a server connection m_core = pqApplicationCore::instance(); m_object_builder = m_core-getObjectBuilder(); // Register ParaView interfaces. m_plugin_manager = m_core-getPluginManager(); // adds support for standard paraview views. m_plugin_manager-addInterface(new pqStandardViewModules(m_plugin_manager)); createView(); showRender(); connect(m_show_color_palet,SIGNAL(released()),this,SLOT(show_color_editor())); } You'll notice that I use client - server paraview architecture. What is strange is that I have no problem seting color on my mesh but the legend make the application crash. I tryed different things like : scaleEdit = new pqColorScaleEditor(m_RenderView-getWidget()); scaleEdit-show(); = it show me that there is no map ta set the legend... So I think it found the map Maybe the problem is that the rendering is made in server side, but I did not have problems with pqDisplayColorWidget that also use pqDataRepresentation. Thanks for any idea, if you need the full code I can provide it. Wertz Gil gilwe...@hotmail.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] C++ ProgrammableSource Servermanager
Please refer to: http://paraview.org/Wiki/Plugin_HowTo#Adding_a_Filter The process for adding is source is similar to that for a filter. Thanks Utkarsh On Fri, Apr 1, 2011 at 7:31 AM, Atanas Atanasov atana...@in.tum.de wrote: Hello , thank you for your answer. What i want to have is a structuredgrid source. What are the steps to create such source-plugin for Paraview? Should i create a vtk source class, which generates the initial grid. Do i need to write vtkClientServer classes?Can i generate them automatically? Best regards, A.Atanasov On 03/30/2011 03:07 PM, Utkarsh Ayachit wrote: Yes, that's what all the default data-sources do. Take a look at the code for any of the other sources that matches most closely to what you're generating as a starting point. Utkarsh On Wed, Mar 30, 2011 at 8:23 AM, Atanas Atanasovatana...@in.tum.de wrote: Hello, i am trying to develop a small client application for the paraview servermanager. I have managed to create views and representations. Now i need to generate source data on the fly (something like the programmablesource from pvpython). Can i do this directly from c++ without using the python wrapper. Best regards, A.Atanasov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] pqColorScaleEditor crash
No, lookup table management is application specific and hence we don't create any by default, it's set to null. Such kind of segfaults should have been easily caught in the debugger. You want to ensure that you are doing a debug build (by setting the CMAKE_BUILD_TYPE to Debug in cmake stage). Utkarsh On Fri, Apr 1, 2011 at 3:10 AM, Gil Wertz gilwe...@hotmail.com wrote: I'm sorry I think a founded the problem , I didn't know that I had to create a new pqLookupTableManager myself and set it to pqApplicationCore::instance() with setLookupTableManager. I had no problem with ObjectBuilder and PluginManager that I didn't needed to instantiate. Is it a bug ? Thanks Wertz Gil gilwe...@hotmail.com From: gilwe...@hotmail.com To: utkarsh.ayac...@kitware.com Date: Fri, 1 Apr 2011 08:23:21 +0200 CC: paraview@paraview.org Subject: Re: [Paraview] pqColorScaleEditor crash I'm not sure of what I could give you ( I tried to debug with gdb but it just say that the application crash, I knew it -_- ) But I made a sandbox and have the same problem, the code is shorter, I'll give it. I joined 3 files, the app file named paraview-crash-on-legend.cpp and my 3D widget. By the way I'm open for all comment or idea of improvement or else about good practise. Thanks for your fast answer ! I use : Qt 4 Paraview 10.0-RC1. Wertz Gil gilwe...@hotmail.com Date: Thu, 31 Mar 2011 10:40:46 -0400 Subject: Re: [Paraview] pqColorScaleEditor crash From: utkarsh.ayac...@kitware.com To: gilwe...@hotmail.com CC: paraview@paraview.org Gil, If you can provide the call-stack for where you're getting the segfault, it will be helpful. Utkarsh On Thu, Mar 31, 2011 at 10:13 AM, Gil Wertz gilwe...@hotmail.com wrote: I'm making a program that make calculation and try to integrate some Paraview stuff, every things goes fine, I have my render from the server, but when I use pqColorScaleEditor, the dialog show himself, I can change color depending on scale but when I check the legend checkbox, the application crash and I have no idea why ... Part of my code : void Widget3D::show_color_editor(){ scaleEdit = new pqColorScaleEditor(m_RenderView-getWidget()); pqDataRepresentation* repr = m_input-getRepresentation(m_RenderView); scaleEdit-setRepresentation(repr); scaleEdit-show(); } void Widget3D::createView(){ if(m_server){ // create a graphics window and put it in our main window this-m_RenderView = qobject_castpqRenderView*( m_object_builder-createView(pqRenderView::renderViewType(), m_server)); if(m_RenderView){ m_layout_v-insertWidget(0,this-m_RenderView-getWidget()); }else{ //NLog::globalLog()-addError(Problem when creating a RenderView.); } }else{ //NLog::globalLog()-addError(Cannot create RenderView if no paraview server connection is set.); } } void Widget3D::showRender() { if(m_source){ m_input = m_source;//m_filter2; m_object_builder-createDataRepresentation(m_input-getOutputPort(0), this-m_RenderView); changeStyle(); pqDataRepresentation* repr = m_input-getRepresentation(m_RenderView); this-m_color-setRepresentation(m_input-getRepresentation(m_RenderView)); //this-scaleEdit-setRepresentation(m_input-getRepresentation(m_RenderView)); qDebug() repr-getLookupTable(); //m_RenderView-get qDebug() repr-getLookupTableProxy(); // zoom to object this-m_RenderView-resetCamera(); // make sure we update this-m_RenderView-render(); }else{ //NLog::globalLog()-addError(There is no file to render.); } } Widget3D::Widget3D(QWidget *parent) : QWidget(parent) { // automatically make a server connection m_core = pqApplicationCore::instance(); m_object_builder = m_core-getObjectBuilder(); // Register ParaView interfaces. m_plugin_manager = m_core-getPluginManager(); // adds support for standard paraview views. m_plugin_manager-addInterface(new pqStandardViewModules(m_plugin_manager)); createView(); showRender(); connect(m_show_color_palet,SIGNAL(released()),this,SLOT(show_color_editor())); } You'll notice that I use client - server paraview architecture. What is strange is that I have no problem seting color on my mesh but the legend make the application crash. I tryed different things like : scaleEdit = new
Re: [Paraview] Servermanager and widgets
Please CC the mailing list so others can participate as well. You may not want to re-build the streamline as the user interacts since streamtracing may not be a fast operation. You may want to update the seeds on EndInteraction event. Utkarsh On Wed, Apr 6, 2011 at 9:14 AM, Atanas Atanasov atana...@in.tum.de wrote: Hello, thank you for your answer. The seeding part was successful. I am using the ArbitraryStreamTracer proxy together with LineSource. In my observer i set the points for the line source. If i try to update the lineSource-proxy, the application is blocked (inside of the vtkDistributedStreamTracer) To make it run , i have added a stillrender statement in the observer. This results in not so good performance during the movement of the LineWidget. How can i solve this issue? Regards, A.Atanasov On 04/05/2011 05:35 PM, Utkarsh Ayachit wrote: In that case you can create the one the representation proxies defined in 3d_widgets.xml and add those to the view. The properties on the proxies are modified as use interacts with them (look at vtkSMNewWidgetRepresentationProxy::ExecuteEvent). You can add observers to listen to those property modifications to update the properties on the source used to generate the seed points. Utkarsh On Tue, Apr 5, 2011 at 11:31 AM, Atanas Atanasovatana...@in.tum.de wrote: Hello, Thank yout for your answer. it is a pure servermanager application. Regards, A.Atanasov On 04/05/2011 05:25 PM, Utkarsh Ayachit wrote: Is this a pure ServerManager application or are you using the ParaView' Qt-based API? If the latter, I posted a sample demonstrating the use of 3D widgets in custom applications a while ago. Refer to thread http://www.mail-archive.com/paraview@paraview.org/msg11226.html for details. Utkarsh On Tue, Apr 5, 2011 at 11:07 AM, Atanas Atanasovatana...@in.tum.de wrote: Hello, i want to create a line widget to seed points for the stream tracer filter. How can i do this with SMProxy concept from c++? Where can i find some examples? Regards, A.Atanasov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager
Pat, A few things to note: * Once the collaboration merge happens, we will change ParaView version to be 3.11.1. That's uncommon since we never change the patch version for developement branch, but we do this time so that developers can write code that works in both cases. * The merge will be tagged. That will be a good starting point for topic branches until we switch to release/next/master approach. That brings up a good question about when that's going to happen. I am going to start getting the pinwheels rolling on this side to come up with the plan for that migration. Utkarsh On Wed, Apr 6, 2011 at 3:54 PM, pat marion pat.mar...@kitware.com wrote: Hi Seb, Could you give some advice as to how we start topic branches after the collaboration merge? Paraview has branches master and release, which in my mind map to bleeding edge and stable, release ready branches. It seems the best practice is to start topics from release and merge them into master. After the collaboration merge, it might not be a good idea to start topics from release anymore, is that correct? Any plans to move to a next, master, release branch scheme? Pat On Wed, Apr 6, 2011 at 3:43 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Hi Folks, The time has gone and we plan to merge the Collaboration branch to master this Friday (April 8th 2011). So if anyone has something to say, please do it before Friday or it will be too late. ;-) Seb PS: We will also update the Version number to be 3.11.1. On Mon, Mar 28, 2011 at 3:29 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Folks, For those of you who haven't follow the topic in the paraview-developers mailing list here is a quick summary on what's going on in the coming weeks. We've been working for a while now on restructuring the Server Manager of ParaView to make it more efficient as well as allowing it to support collaborative workflows. The API has undergone major changes and may cause some minor rewrite of your own code. Before we merge these changes to master, please try out the Collaboration branch with your code and let us know if you experience any issue. Please see below for the details on how to checkout the Collaboration branch. Thanks for your support, Seb = From the ParaView-developer list === Following up the mail from Utkarsh on the changes to ParaView Server Manager : http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html We finally push our branch to the stage. That branch will only be merged to master in the coming month. But if you have developed a plugin or any code based on ParaView and you want to test it against that major update, please follow the coming instructions and don't hesitate to send us your feed back. In order to fetch our ParaView branch from stage, you will need to execute the following command line: $ git clone --recursive git://paraview.org/stage/ParaView.git -b Collaboration Then, as any regular ParaView source directory, you should be able to configure and build it. As some directory and kit renaming occurred, you may need to update the name of the ParaView library that you are linking against. Now the ParaViewCore package which used to be called Servers contains the following kits: vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation, vtkPVServerManager, vtkPVVTKExtensions. Please remember, these do not affect 3.10 or even 3.10.1. These will make into the official ParaView 4.0 release, nothing sooner. Seb PS: Additional informations on those changes are available here http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] programmable sourece-programmable filter - streamtracer parallel
Any reason why you are using ArbitrarySourceStreamTracer instead of StreamTracer especially since you say you are seeding over a line or point. Utkarsh On Thu, Apr 7, 2011 at 2:39 AM, Atanas Atanasov atana...@in.tum.de wrote: Hello, yes i can render the structured grid and velocities via colormapping. Regards, A.Atanasov On 04/07/2011 01:07 AM, Sohail Shafii wrote: Have you tried to display each parts of the pipeline when in parallel? In other words, see if you can render something related to the programmable source, then the programmable filter, to see if the problem might occur earlier in the pipeline. Sohail --- On *Wed, 4/6/11, Atanas Atanasov atana...@in.tum.deatana...@in.tum.de * wrote: From: Atanas Atanasov atana...@in.tum.de atana...@in.tum.de Subject: [Paraview] programmable sourece-programmable filter - streamtracer parallel To: paraview@paraview.org Date: Wednesday, April 6, 2011, 2:26 PM Hi i have created the following pipeline on c++ based servermanager plugin(without qt) -programmable source(creates a structured grid)-programmable filter(adds velocities and pressure on the vertices) -ArbitrarySourceStreamTracer(Seeding thorugh points or thorugh line).This setup works fine with one process. In parallel the streamlines are not shown. Do you have experience with such kind of problem? Regards, A.Atanasov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] How to get the vtkPolyData from ParaView representations?
The short answer is you can't. However if you don't care about this code working in client-server mode, then you can do something like follows: vtkPVDataRepresentation* rep = repProxy-GetClientSideObject(); vtkDataObject* dobj = rep-GetRenderedDataObject(0); Utkarsh On Sun, Apr 3, 2011 at 2:46 PM, Alexis Chan alex...@cs.unc.edu wrote: Hi How do I get the vtkPolyData from a ParaView representation that is created by pqObjectBuilder? For example if I click on the Create Source button, in ParaView, I can modify the position property of that source in my plugin using the following code: pqDataRepresentation *data =pqApplicationCore::instance()-getServerManagerModel()-getItemAtIndexpqDataRepresentation*(0); vtkSMRepresentationProxy *repProxy = vtkSMRepresentationProxy::SafeDownCast(data-getProxy()); vtkSMPropertyHelper(repProxy,Position).Set(newPosition,3); I would like to be able to get the vtkPolyData if possible because I'm trying to use Goodwin Lawlor's vtkCollisionDetectionFilter.h Thanks. -- Regards, Alexis ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
[Paraview] ParaView Collaboration Overview
Following Sebastien's recent emails to the mailing list about forthcoming changes to enable collaboration support in ParaView, some of you may be wondering what this collaboration support entails. Here's a quick summary of the major features we plan. If you have any ideas or suggestions, please feel free to share. http://www.paraview.org/ParaView3/index.php/Collaborating_with_ParaView Utkarsh ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] help with paraview plugin
Please subscribe to the paraview-users mailing list to post such queries (http://paraview.org/paraview/help/mailing.html) As far as the mapper question goes, the Wiki page needs to be updated. Refer to ParaViewSource/Examples/Plugins/Representation for the update example to add a new mapper. Utkarsh On Sun, Apr 10, 2011 at 3:54 AM, 胡健 hujian198...@gmail.com wrote: dear friend: I want to add a new volume mapper to paraview! follow the steps on http://paraview.org/Wiki/Plugin_HowTo. But when I add my plugin in the paraview, I get the erro message no match proxygroup=mapper and proxyname= OpenGLHAVSVolumeMapper**http://www.vtk.org/doc/nightly/html/classvtkOpenGLHAVSVolumeMapper.html.what's wrong with it! could you tell me how to solve the problem. thank you in advance! I have post the question on paraview mailing list and waiting for some one help me! any help will be appreiate! ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] paraview kills itself while saving animation
Bart, A few memory leaks were detected in 3.10.0. We have fixes for those waiting to go into 3.10.1. You may want to wait for 3.10.1 (which should be out soon) and give that a try. Another thing to try would be to disable Geomtry Cache on the Animation Page in the Settings dialog (You'll have to restart paraview for that setting to take effect). Utkarsh On Mon, Apr 11, 2011 at 8:13 AM, Bart Vandewoestyne bart.vandewoest...@telenet.be wrote: Hello list, I am trying to create an animation out of 2654 .vtu files. Each .vtu file is 6888 bytes large. That is about 18GB of data. I am asking an Animation Duration of 10 seconds and a Frame Rate of 32 fps. With ParaView 3.10.0 32-bit on Ubuntu 10.10, ParaView kills itself after a while. Keeping an eye on my disk space and memory, I noticed that I still have 2GB of disk space left, but the memory consumption by ParaView seems to increase slowly during the creation of the animation (from 5% till 60% of my available memory), until the moment where ParaView suddenly kills itself (I assume because of a memory problem). I have tried the same with ParaView 3.8.1 and there it works and I didn't notice any memory increase: during the whole process of creating the movie, ParaView constantly used about 5% of my computer memory and all went fine. Has the code that implements the animation creation drastically changed from 3.8.1 to 3.10.0? And could it be that the animation creation code of 3.10.0 has a memory leak? Kind regards, Bart -- Share what you know. Learn what you don't. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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
Re: [Paraview] set Representation opacity
Indeed. Another way I like to use to set properties is as follows: vtkSMProxy *proxy = representation-getProxy(); vtkSMPropertyHelper(proxy, Opacity).Set(value); proxy-UpdateVTKObjects(); Utkarsh On Mon, Apr 11, 2011 at 6:10 AM, Gil Wertz gilwe...@hotmail.com wrote: I founded a way to do that easily : vtkSMProxy *proxy = representation-getProxy(); vtkSMProperty * prop = proxy-GetProperty(Opacity); pqSMAdaptor::setElementProperty(prop, value); proxy-UpdateVTKObjects(); this-m_RenderView-render(); Regards Wertz Gil gilwe...@hotmail.com From: gilwe...@hotmail.com To: paraview@paraview.org Date: Mon, 11 Apr 2011 09:28:08 +0200 Subject: [Paraview] set Representation opacity I try to set pqPipelineRepresentation opacity but have no conclusive result ... There is a getOpacity but no setOpacity function, I looked at paraview's code but I didn't find an easy way ( no way at all ) to set the opacity of my pqPipelineRepresentations that are in my pqRenderView. Any idea ? Maybe using pqPipelineRepresentation is not the best way. I add representation to my pqRenderView like this : m_object_builder-createDataRepresentation(m_input-getOutputPort(0), this-m_RenderView); Where m_input is a pqPipelineSource. (and I need to set the opacity of this newly created representation) Thanks Wertz Gil gilwe...@hotmail.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/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