Re: [Paraview] Branding branch
Does ParaView itself work for you at all? Utkarsh On Wed, May 12, 2010 at 9:05 AM, A M ars...@uga.edu wrote: Dear Utkarsh yes, I meant the missing DLL issues. I ran the dependency walker. I loaded the executable file to the dependency walker (pic attached) and it seems there are 2 dlls that are missing however I searched for them and nothing showed up on my computer! Also you mentioned in your previous email that the path should point to this dlls, i have the environment variable path set to the folder where all the dlls the program is asking for are there but still get the same error. best ~A On Tue, May 11, 2010 at 5:50 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: What do you mean by it does not work? Missing DLLs still? Did you try running the dependency walker to determine which dlls are missing? Ensure that your PATH has those missing dlls. Utkarsh On Tue, May 11, 2010 at 3:28 PM, A M ars...@uga.edu wrote: Thanks eric I added the Qt lib path to the PATH too but it didn't really make any difference either! I am just installing netbeans on the linux system I have here to see if I can compile and run paraview and the examples, it might work I don't know! best! ~A On Tue, May 11, 2010 at 4:52 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Sam, Maybe this won't make a difference (and I don't remember where I saw to do this), but you have your PATH set to the Qt bin directory rather than the lib directory. I have some notes saying I had trouble unless the lib directory was in my PATH... -Eric On May 11, 2010, at 4:44 PM, A M wrote: Dear David and Eric Thanks for the comments, Davie: I added the path to the environment variable in VS and I still have the same issue. I wrote something like this PATH=C:\Program Files\CMake 2.6\bin; C:\Qt\4.6.2\bin;C:\Program Files\ParaView\bin ;%PATH% this is what I think you meant. Eric: I did that already (I mean compiling Paraview with the examples and BUILD_EXAMPLES: ON) I still get the same error, I almost tried any trick in the book you can imagine! the PATH variable in my use environment variable looks like the flowing: C:\Program Files\CMake 2.6\bin; C:\Qt\4.6.2\bin C:\Program Files\ParaView\bin ; plus some other stuff not related to paraview, which seems pretty normal to me, however I got the same errors as before! it does not find the dll files. I honestly don't know what to do anymore. The only solution I can think of right now is to switch to Linux operating system instead of windows, and that doesn't necessarily means that problem would be solved either, best! ~sam On Tue, May 11, 2010 at 2:12 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hey Sam, Instead of trying to build those branded applications separately, did you try first to build ParaView with BUILD_EXAMPLES: ON and see if those applications are built correctly and run okay? I'm not really a Windows developer, either, but I've been able to build Release versions of the Example applications and my own branded app on Windows 7 64-bit. (I run them from the bin/Release directory under my build directory.) I used Qt 4.6.2 that I compiled myself with VS 64-bit compiler, Visual Studio 2008 Pro, CMake 2.8.1 and Python 2.6. My PATH variable is very minimal, I think only the Qt library entry is used to help configure the ParaView build: %USERPROFILE%\Programming\qt-everywhere-opensource-src-4.6.2\lib;C:\Program Files (x86)\CMake 2.8\bin;C:\Python26;C:\Program Files (x86)\VTK\bin (the VTK part at the end is just so my separate vtk python stuff runs okay) Sorry to hear you're having so much trouble. All of us run into these strange things sometimes, but just so you know, it should work without any manual copying of libraries, etc. Good luck, -Eric -- Eric E Monson Duke Visualization Technology Group On May 11, 2010, at 1:05 PM, Dave Partyka wrote: To set the PATH when debugging from the IDE: 1. Right click the project and select Properties 2. In the tree view on the left select Debugging 3. In the main panel there will be an entry called 'Environment' 4. Set the Path by entering something like: PATH=C:\Path\To\Something;%PATH% On Tue, May 11, 2010 at 12:28 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Well, unfortunately, the DLL mess is a Windows OS thing. I am not a regular Windows developer so I cannot tell you exactly how to access that option, but Visual Studio does have an option somewhere that allows you to specify the environment in which the application is running. There you can set the PATH to include the ParaView bin/debug (or bin/release as the case maybe) and Qt dirs. You might want to download dependency walker (http://www.dependencywalker.com/), a handy utility
Re: [Paraview] need an example of using Paraview Client/Server API
Jenya, Before answering this question, may I ask what type of application you are trying to create? The question is, is it a Qt-based application at all? Or a pure client-server C++ application. Utkarsh On Fri, May 14, 2010 at 3:50 PM, Jenya Burstein taijin...@gmail.com wrote: Hello, I am new to Paraview and trying to wade my way through the Paraview sources, examples and doxygen to figure out how to programatically connect to a server, create a simple pipeline and display the result of its execution in a client. I would really appreciate if someone could point out where to find a simple example that would demonstrate how to construct a data/rendering pipeline consisting of a source, a filter, a mapper, an actor, a renderer, and a render window with the Paraview API. Thank you, Jenya Burstein ___ 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] extracting the surface between filters
I could not reproduce this. What type of file are you opening. I tried it with can.ex2, without any issues. Can you reproduce it with can.ex2? Utkarsh On Tue, May 18, 2010 at 9:48 AM, Stephane PLOIX stephane.pl...@edf.frwrote: Hi all, I am seeing a bug recently that is puzzling me : It seems that the surface of the datasets is extracted between two filters. For instance, I setup the following pipeline : reader - shrink The first time this is executed, I see the shrink of the border cells. If I do the following manipulation *mofidy any parameter in the reader, *unmodify this parameter *and click on apply (the result being that no change is actually sent to the server, which I can check because the RequestData method is not called again in the reader), then the shrink filter is refreshed and gives me the good output (the internal cells shrinked). Has anybody else seen this? 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 image/gifimage/gif___ 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] pv 3.8.0 Plot over line suggestion
That makes sense, feel free to add a feature request to the bug tracker: http://paraview.org/Bug Utkarsh On Thu, May 20, 2010 at 9:49 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: When one saves plot over line data in a .csv file, the first line contains Points:0 Points:1 Points:2 Would it be more descriptive to give the real names which are X Y Z ? Stephen -- stephen.wor...@sophia.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] connection id (UNCLASSIFIED)
Here's a sample script: from paraview.simple import * pm = servermanager.vtkProcessModule.GetProcessModule() pm.GetOptions().SetConnectID(13) Utkarsh On Thu, May 20, 2010 at 2:13 PM, Martin, Joel (Cont, ARL/CISD) joel.mart...@us.army.mil wrote: Classification: UNCLASSIFIED Caveats: NONE I see that, but is it possible to set it _inside_ the script? Right now, my script doesn't know what the connection id will be until after the script has started running. -Joel -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Thursday, May 20, 2010 2:03 PM To: Martin, Joel (Cont, ARL/CISD) Cc: paraview@paraview.org Subject: Re: [Paraview] connection id (UNCLASSIFIED) You can specify connect-id as a command line argument to pvpython or pvbatch: ./bin/pvpython --connect-id=12 /tmp/foo.py Utkarsh On Thu, May 20, 2010 at 1:36 PM, Martin, Joel (Cont, ARL/CISD) joel.mart...@us.army.mil wrote: Classification: UNCLASSIFIED Caveats: NONE I'm trying to connect to a server with pvpython and want to use the --connect-id option. Is it possible to set this inside my python script? Thanks, -Joel Classification: UNCLASSIFIED Caveats: NONE ___ 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 Classification: UNCLASSIFIED Caveats: NONE ___ 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] Pressure around cylinder
Yes, it's called Plot on Instersection Curves. Utkarsh On Fri, May 21, 2010 at 1:22 AM, Ravi Tumkur ravi.tum...@gmail.com wrote: Is there a filter in paraview to plot the pressure around a curved line? I need to plot the pressure around a circumference at a section of cylinder. -- Ravi Kumar T R University of Illinois at Urbana-Champaign ph : +1 217 778 7538 http://lndvl.mechse.illinois.edu/ ___ 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 bugs on Mac OS 10.6.2 ??
Masako, Any possibility of providing small sample dataset to reproduce the crash? Utkarsh On Fri, May 21, 2010 at 2:16 PM, Masako Tominaga mtomin...@whoi.edu wrote: I and my colleagues have trouble visualizing our pvts/vtk files on Linux housed on Mac OS 10.6.2. We can determine this is a sort of compatibility issue in ParaView on Mac OS because same input files perfectly work with ParaView on PC. Typical phenomena in our visualization is the crash of ParaView either at certain timesteps (time step 0, time step 8 crashes ParaView etc.) or certain fields (e.g. stress field, strain field, etc.). Has anybody reported similar problem? What would be the solution? We recognize that ParaView is extremely useful for us to visualize results from heavy finite-element modeling on geodynamics. I would greatly appreciate if you can provide any advice on this. Masako Masako Tominaga Postdoctoral Scholar Department of Geology and Geophysics Woods Hole Oceanographic Institution Clark 241B MS22 Woods Hole, MA02543 +1-508-289-3943 http://www.whoi.edu/hpb/Site.do?id=9332 ___ 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] Pressure around cylinder
The filter is available in 3.8-release candidates and will be in the 3.8 release. It's not present in 3.6. Utkarsh On Fri, May 21, 2010 at 10:06 PM, Ravi Tumkur ravi.tum...@gmail.com wrote: Hello Utkarsh, I could not find this filter in my paraview installation v3.6.1. Is it avialble in different version? or is it a plugin to be installed. BY now you would have realized that I am quite new to Paraview. Thanks for addressing to my query. -Ravi On Fri, May 21, 2010 at 8:33 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Yes, it's called Plot on Instersection Curves. Utkarsh On Fri, May 21, 2010 at 1:22 AM, Ravi Tumkur ravi.tum...@gmail.com wrote: Is there a filter in paraview to plot the pressure around a curved line? I need to plot the pressure around a circumference at a section of cylinder. -- Ravi Kumar T R University of Illinois at Urbana-Champaign ph : +1 217 778 7538 http://lndvl.mechse.illinois.edu/ ___ 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 -- Ravi Kumar T R University of Illinois at Urbana-Champaign ph : +1 217 778 7538 http://lndvl.mechse.illinois.edu/ ___ 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] Manta Plugin with ParaView 3.8.0 executable for windows
Yes, that's correct. Manta is not packaged with ParaView hence the plugin is not enabled in the binaries. Utkarsh On Tue, May 25, 2010 at 6:15 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: Hi! Is it possible that when installing paraview from the ParaView-3.8.0-RC2-Win32-x86.exe installer, the Manta Plugin is not supported? Greets, Natalie ¿Tu casilla de email se queda sin espacio? Hotmail te ofrece 25 GB gratis. Registra tu cuenta aquí ___ 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] adding additional information in the paraview banner
Not currently. Feel free to add a feature request to the bug tracker, however. Utkarsh On Tue, May 25, 2010 at 10:37 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: The top banner on all PV open windows reads paraview 3.8.0-RC2 Is it possible on modifiy the banner so as to navigate more easily through different PV windows that are open? Example, suppose I have four windows opened, I would like the banners to read paraview 3.8.0-RC2 fine mesh paraview 3.8.0-RC2 coarse mesh LES paraview 3.8.0-RC2 coarse mesh VMS-LES paraview 3.8.0-RC2 coarse mesh VMS-WALE Thanks, Stephen -- stephen.wor...@sophia.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] Adding an interactive slice widget
Jenya, Look at vtkSMNewWidgetRepresentationProxy::ExecuteEvent. It fires events when one interacts with the widget. You can add observers for those events. As far as documentation for such things goes, the source code if your best guide -- attaching debugger and back tracking to determine why that error is being thrown serves as a good starting point. Utkarsh On Tue, May 25, 2010 at 4:32 PM, Jenya Burstein taijin...@gmail.com wrote: Utkarsh, Thanks again, that worked. Now that the widget shows and can be interacted with I need to register an oberver with it. I am not sure how to do that, since, again, I don't see any command properties defined for it in the XML resource file. And another question - where or how would I find the information that, for example a widget has to be added to a view before it can be enabled, so that I wouldn't be bugging others with my posts to the mailing list? Is there a documentation or a set of examples? Jenya On Tue, May 25, 2010 at 12:09 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Make sure you are changing the enabled state after the widget has been added to the view i.e. after the following code: pqSMAdaptor::addProxyProperty( m_renderView-getProxy()-GetProperty(Representations), sliceWidget) m_renderView-getProxy()-UpdateVTKObjects(); Utkarsh On Tue, May 25, 2010 at 2:57 PM, Jenya Burstein taijin...@gmail.com wrote: Utkarsh, Thank you for the response. I think that moved me one step closer to the solution. However, now I get the following runtime error in the Output window: ERROR: In ..\..\..\VTK\Widgets\vtkAbstractWidget.cxx, line 119 vtkImplicitPlaneWidget2 (0D01C8C0): The interactor must be set prior to enabling the widget I don't see an Interactor property defined in the XML file for the ImplicitPlaneWidgetRepresentation and I get a zero pointer if I try to get it with: vtkSMProperty* p = sliceWidget-GetProperty(Interactor); Jenya On Tue, May 25, 2010 at 11:39 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: pqSMAdaptor::setElementProperty(sliceWidget-GetProperty(Enabled), 1); ___ 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 Binaries: include build libraries information?
Eric, The wiki page you referred is supposed to have all the necessary information and we try to keep in updated with every official release. Please let us know if any information missing. Utkarsh On Wed, May 26, 2010 at 10:26 AM, Eric Nodwell enodw...@ucalgary.ca wrote: Is there some file, distributed with ParaView binaries, that specifies the particular versions of libraries that the ParaView binary was built with? This would make it easier to build plug-ins that can be used with the binary versions available from the ParaView download page. The required information is (or should be) available on this web page: http://www.paraview.org/Wiki/ParaView_Binaries However, this page seems not to be always kept up to date (e.g. ParaView-3.8.0-RC2-Darwin-x86_64.dmg is not listed). Ideally, such a list of build library versions would be automatically generated by CMake and distributed with the binary distribution. Eric ___ 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] Getting user input while in python shell plugin
Doh! didn't realize you were going to call it from python. Stick with what Pat suggested :). Utkarsh On Thu, May 27, 2010 at 10:18 AM, pat marion pat.mar...@kitware.com wrote: Paraview doesn't have a way to pass pointers to QObjects from c++ to python, or vice versa. You can use PyQt wrapped methods to search for named widgets though. Pat On Thu, May 27, 2010 at 8:52 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Alternatively use: pqCoreUtilities::mainWidget() -- it tries to find an active mainwindow by default. Utkarsh On Wed, May 26, 2010 at 7:09 PM, pat marion pat.mar...@kitware.com wrote: The only thing I couldn't immediately figure out from that post, was what to do with widgets that need a parent You could use QApplication.activeWindow(), you might get the mainwindow or python dialog. Or you could cycle thru the list of QApplication.topLevelWidgets() to look for the paraview mainwindow. Pat On Wed, May 26, 2010 at 6:27 PM, m.c.wilk...@massey.ac.nz wrote: Hi, On Wed, May 26, 2010 at 11:18:29AM -0400, pat marion wrote: If you want to use PyQt4, see http://paraview.markmail.org/message/6h767kpak5dcoqwt Thank you, this is what I needed, good stuff. The only thing I couldn't immediately figure out from that post, was what to do with widgets that need a parent, because I couldn't get hold of the main paraview window widget. Anyway this is what I did: --- import PyQt4.QtGui # this is a dummy widget to use as the parent for other widgets that need a parent wid = PyQt4.QtGui.QWidget() # get some user input ret = PyQt4.QtGui.QInputDialog.getText(wid, 'hi', 'first question') # do some other stuff # oh dear a warning ret = PyQt4.QtGui.QMessageBox.warning(wid, 'hi', 'there was a recoverable problem', PyQt4.QtGui.QMessageBox.Ok, PyQt4.QtGui.QMessageBox.NoButton, PyQt4.QtGui.QMessageBox.NoButton) # maybe get some more input ret = PyQt4.QtGui.QInputDialog.getText(wid, 'hi', 'second question') --- Thanks Matt ___ 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 3.8.0 Not Installing Client Plugins correctly.
Mike, That was a conscious decision. We deliberately install all plugin dlls in the same directory as the paraview.exe on windows, just to avoid missing dlls issues at runtime. Originally, we had the separate plugins directory to make it easier for users to locate the plugins and load them manually. But now, that's a non-issue, since paraview explicitly lists all the plugins it's distributed with in the plugin manager dialog. Are you saying that the plugins added using PARAVIEW_EXTRA_EXTERNAL_MODULES are not being installed at all? If that's the case, then it's definitely a bug. As far as the package generation goes, you need to use CPack. Refer to this wiki page for details: http://www.paraview.org/Wiki/ParaView:Build_And_Install#Install_ParaView Utkarsh On Thu, May 27, 2010 at 12:37 PM, Mike Jackson mike.jack...@bluequartz.net wrote: Pulled ParaView 3.8.0 from Git. Configured with CMake for VS2008 x64 with PARAVIEW_EXTRA_EXTERNAL_MODULES listing 4 of my custom plugins. Compiled. Installed. And all the client plugins are installed lose into the ParaView-3.8.0/bin directory instead of ParaView-3.8.0/bin/plugins. Also, I have NSIS installed, where is the PACKAGE target in the VS Solution or is there another mechanism to use to create the installer? The other (probably more likely) possibility is that I didn't really pull the 3.8.0 tag from git and instead have some other tag. # On branch v3.8.0 # Changed but not updated: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: CMake/FindHDF5.cmake # # Untracked files: # (use git add file... to include in what will be committed) # # .cproject # .project # Applications/ParaView/Testing/XML/Fractal3D.xml # CMake/AdjustLibVars.cmake # CMake/_FindHDF5.cmake # i386/ # x64/ no changes added to commit (use git add and/or git commit -a) I just tried this with the ParaView 3.8.0 source code .zip file from the paraview.org web site and had the same results. I also built the NSIS installer, and then actually ran the installer and the same issue happens. Bug? _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software www.bluequartz.net Principal Software Engineer Dayton, Ohio ___ 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 3.8.0 Not Installing Client Plugins correctly.
Mike, Attached is a patch that fixes this issue. Can you try if that works? Dave, if that works, can you commit that to the master and release branches? Utkarsh On Thu, May 27, 2010 at 4:54 PM, Mike Jackson mike.jack...@bluequartz.net wrote: Here is some more information about what is going on with my windows build. I had to add the following to the top of my *ParaViewImport.cmake file: SET (BUILD_PARAVIEW_PLUGINLIST ON) So now the .plugins file correctly has my plugins listed except that the autoload property is set to 0. Shouldn't that be 1 by default? Seems odd but I am sure I don't fully understand all the ramifications of having that value set to 1 by default. Also, during the build I am compiling a 3rd party library that needs to get added to the installer generation. Is there a way to do this? If I run the INSTALL project from VS I get everything installed correctly. If I use the CPack command like took to generate the installer the library is missing from the install. _ Mike Jackson mike.jack...@bluequartz.net On Thu, May 27, 2010 at 4:23 PM, Michael Jackson mike.jack...@bluequartz.net wrote: http://gitorious.bluequartz.net/mxa/pvmxadatamodel/blobs/master/PVMXADataModelParaViewImport.cmake I am calling ADD_PARAVIEW_PLUGIN in my Cmake files. Not sure why this isn't working. I thought we had that fixed. At least at some point during the RC process this did actually work. -- Mike J. On May 27, 2010, at 4:06 PM, Dave Partyka wrote: How are you building your plugin? I believe that the ADD_PARAVIEW_PLUGIN macro constructs the list of Plugins that get written into the .plugins file. On Thu, May 27, 2010 at 3:54 PM, Mike Jackson mike.jack...@bluequartz.net wrote: So then what is the point of having ParaView look in the plugins directory if it is not going to be used. Why not just have ParaView look in the bin folder (at least on windows)? I see there is a file called .plugins inside the bin directory. Mine has the following content: ?xml version=1.0? Plugins Plugin name=SierraPlotTools auto_load=0/ Plugin name=SurfaceLIC auto_load=0/ Plugin name=AnalyzeReader auto_load=0/ Plugin name=AnalyzeWriter auto_load=0/ Plugin name=NIfTIReader auto_load=0/ Plugin name=NIfTIWriter auto_load=0/ /Plugins This is missing my plugins although the plugins are installed in the bin directory during the INSTALL project build. There is another file in the build directory called PluginList.txt that _does_ list my plugins though. _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software www.bluequartz.net Principal Software Engineer Dayton, Ohio On Thu, May 27, 2010 at 3:42 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Mike, That was a conscious decision. We deliberately install all plugin dlls in the same directory as the paraview.exe on windows, just to avoid missing dlls issues at runtime. Originally, we had the separate plugins directory to make it easier for users to locate the plugins and load them manually. But now, that's a non-issue, since paraview explicitly lists all the plugins it's distributed with in the plugin manager dialog. Are you saying that the plugins added using PARAVIEW_EXTRA_EXTERNAL_MODULES are not being installed at all? If that's the case, then it's definitely a bug. As far as the package generation goes, you need to use CPack. Refer to this wiki page for details: http://www.paraview.org/Wiki/ParaView:Build_And_Install#Install_ParaView Utkarsh On Thu, May 27, 2010 at 12:37 PM, Mike Jackson mike.jack...@bluequartz.net wrote: Pulled ParaView 3.8.0 from Git. Configured with CMake for VS2008 x64 with PARAVIEW_EXTRA_EXTERNAL_MODULES listing 4 of my custom plugins. Compiled. Installed. And all the client plugins are installed lose into the ParaView-3.8.0/bin directory instead of ParaView-3.8.0/bin/plugins. Also, I have NSIS installed, where is the PACKAGE target in the VS Solution or is there another mechanism to use to create the installer? The other (probably more likely) possibility is that I didn't really pull the 3.8.0 tag from git and instead have some other tag. # On branch v3.8.0 # Changed but not updated: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: CMake/FindHDF5.cmake # # Untracked files: # (use git add file... to include in what will be committed) # # .cproject # .project # Applications/ParaView/Testing/XML/Fractal3D.xml # CMake/AdjustLibVars.cmake # CMake/_FindHDF5.cmake # i386/ # x64/ no changes added to commit (use git add and/or git commit -a) I just tried
Re: [Paraview] pvbatch + LoadState('..') +XDMF = empty image
Jens, Is the non-refreshed part of the pipeline visible in the view? Utkarsh On Fri, May 28, 2010 at 3:23 AM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, thank you for that hint. I can see the bounding box now ... But somehow it does not refresh the whole pipeline. What do I have to do, that all parts of pipeline are updated before I write the image. Any idea? Greetings Jens Utkarsh Ayachit schrieb: Jens Here's an updated script: = from paraview.simple import * # reload state servermanager.LoadState('/tmp/state.pvsm') view = GetRenderViews()[0] ## render png view.ResetCamera() view.StillRender() view.WriteImage( /tmp/Test1.png, vtkPNGWriter ) == The problem was that your script was creating a new view, and not using the view created by the state file. Utkarsh On Thu, May 27, 2010 at 2:56 PM, Jens jens-de...@gmx.de wrote: Hi, I try to use pvbatch to render a whole bunch of screenshots using a script. pvbatch works fine if I simply create a sphere and write that image to disk. But loading a predefined pipeline using LoadState('pstate.pvsm') which includes a datset in XDMF file format fails. Any idea what I am doing wrong? This seems to be related to bug 6495 (http://www.itk.org/Bug/view.php?id=6495nbn=2), but the suggested solution cannot be used with LoadState(..). Greetings Jens from paraview import servermanager # connect to pvserver servermanager.Connect() # reload state #r = servermanager.LoadState('paraview_state.pvsm') # render png view = servermanager.CreateRenderView() view.ResetCamera() view.StillRender() view.WriteImage( Test1.png, vtkPNGWriter ) ___ 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] vtkCellLocator: Python
Andy, Bastian wants to use the cell locator in a python programmable -- which won't involve any fetching. Bastian, You can create a cell locator in your programmable filter simply by: locator = vtk.vtkCellLocator() Utkarsh On Fri, May 28, 2010 at 10:22 AM, Andy Bauer andy.ba...@kitware.com wrote: My guess is that you'll want to use a filter to get access to the cell locator. What's the desired output for this? You could also fetch the data set to the client and then use the vtk wrapped classes in paraview.vtk to use the cell locator if the class has been wrapped but the fetch operation should be used with caution. Andy On Thu, May 27, 2010 at 5:55 PM, bastil2...@yahoo.de bastil2...@yahoo.de wrote: Dear all, can I use vtkCellLocator from within Pyhon oder the Python programmable filter? If yes, how? Or do I need to write my own filter in c++? Thanks. Regards Bastian ___ 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] PV 3.80. understanding plot over line
By default the x-axis is the arc-length, which is measured as the sum of lengths of line segments from the first point, hence it goes from 0-14. When you change the X Axis Data to Use Data Array and pick Points (1) you should indeed get the x-axis to range from [-7, 7] unless your probed data doesn't have any values for y 0. I created a wavelet source with default values and the them probed with a line (0,-7, 0) - (0, 7, 0), and the x-axis (after changing to Points(1) ) is indeed [-7, 7]. Utkarsh On Fri, May 28, 2010 at 11:14 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: I plot over a line in the y-direction (ymax= 7, ymin= -7) using arclength (default). The plot is correct but the y-direction values on the figure goes from 0-14 and not -7 to 7. I then use points(1) The plot id correct but I only see the y=0-7 portion. Am I doing something wrong? Stephen -- stephen.wor...@sophia.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] Temporal Interpolator + Append Attributes
Xunlei, That's a bug with current VTK/ParaView pipeline. Whenever a temporal interpolator is involved, it results in the data type from the input's output to become vtkTemporalDataSet. Utkarsh On Fri, May 28, 2010 at 12:35 PM, Dr. X xun...@renci.org wrote: Hi All, I have two data sets with different time stamp spacing. I would like to visualize an attribute from each data set at the same time step. I would like to achieve this by applying TemporalInterpolator first to gain data at the desired time step, then applying AppendAttributes to both TemporalInterpolator's, i.e.: root + data set 1 -TemporalInterpolator 1 - AppendAttributes + data set 1 -TemporalInterpolator 2 - AppendAttributes + AppendAttributes However, whenever I attached TemporalInterpolator, AppendAttributes filter option is gone. Did I do something wrong? Please advise. 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] plot over line question (save data)
Apply Extract Selection filter to extract the selected data and then save data as csv. Utkarsh On Fri, May 28, 2010 at 11:39 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: When I save data in the format .csv, I would like to save only the values that I select. But save.data writes every variable 17 of which I don't want. Is there a way to save only selected values? Stephen -- stephen.wor...@sophia.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] pvbatch + LoadState('..') +XDMF = empty image
Jens, It would be great if you could post a state to reproduce this issue. Utkarsh On Fri, May 28, 2010 at 1:31 PM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, if I reload the state in paraview-gui it does not refresh ether. I have to walk through the pipeline (bottom to top) and call Apply. Greetings Jens Utkarsh Ayachit schrieb: Jens, Is the non-refreshed part of the pipeline visible in the view? Utkarsh On Fri, May 28, 2010 at 3:23 AM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, thank you for that hint. I can see the bounding box now ... But somehow it does not refresh the whole pipeline. What do I have to do, that all parts of pipeline are updated before I write the image. Any idea? Greetings Jens Utkarsh Ayachit schrieb: Jens Here's an updated script: = from paraview.simple import * # reload state servermanager.LoadState('/tmp/state.pvsm') view = GetRenderViews()[0] ## render png view.ResetCamera() view.StillRender() view.WriteImage( /tmp/Test1.png, vtkPNGWriter ) == The problem was that your script was creating a new view, and not using the view created by the state file. Utkarsh On Thu, May 27, 2010 at 2:56 PM, Jens jens-de...@gmx.de wrote: Hi, I try to use pvbatch to render a whole bunch of screenshots using a script. pvbatch works fine if I simply create a sphere and write that image to disk. But loading a predefined pipeline using LoadState('pstate.pvsm') which includes a datset in XDMF file format fails. Any idea what I am doing wrong? This seems to be related to bug 6495 (http://www.itk.org/Bug/view.php?id=6495nbn=2), but the suggested solution cannot be used with LoadState(..). Greetings Jens from paraview import servermanager # connect to pvserver servermanager.Connect() # reload state #r = servermanager.LoadState('paraview_state.pvsm') # render png view = servermanager.CreateRenderView() view.ResetCamera() view.StillRender() view.WriteImage( Test1.png, vtkPNGWriter ) ___ 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] Temporal Interpolator + Append Attributes
It's already there on the bug tracker: http://paraview.org/Bug/view.php?id=6662 Utkarsh On Fri, May 28, 2010 at 1:31 PM, Dr. X xun...@renci.org wrote: Thanks, Utkarsh. Shall I report it? Or it is already in the bug tracker. x On 5/28/2010 1:21 PM, Utkarsh Ayachit wrote: Xunlei, That's a bug with current VTK/ParaView pipeline. Whenever a temporal interpolator is involved, it results in the data type from the input's output to become vtkTemporalDataSet. Utkarsh On Fri, May 28, 2010 at 12:35 PM, Dr. Xxun...@renci.org wrote: Hi All, I have two data sets with different time stamp spacing. I would like to visualize an attribute from each data set at the same time step. I would like to achieve this by applying TemporalInterpolator first to gain data at the desired time step, then applying AppendAttributes to both TemporalInterpolator's, i.e.: root + data set 1 -TemporalInterpolator 1 - AppendAttributes + data set 1 -TemporalInterpolator 2 - AppendAttributes + AppendAttributes However, whenever I attached TemporalInterpolator, AppendAttributes filter option is gone. Did I do something wrong? Please advise. 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] pvbatch + LoadState('..') +XDMF = empty image
Jens, I'd recommend not relying on Xdmf state loading or Python API in 3.6 (or before) since that was broken. It has since been fixed for 3.8. I have requested the ARL/Xdmf folks to take a look at the hyperslab issue. I'll keep you posted. Once that segfault is fixed, state loading should not be an issue. Utkarsh On Fri, May 28, 2010 at 3:27 PM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, The problem is related to bug 10775 (http://public.kitware.com/Bug/view.php?id=10775) and hyperslabs in XDMF. I attached an example which should reproduce the problems I discribe now: hyperslab on its own: pv 3.6.2: loading test.xmf-dataset u_without_hyperslab works fine pv 3.8.0: loading test.xmf-dataset u_without_hyperslab works fine pv 3.6.2: loading test.xmf-dataset u_with_hyperslab works fine =!! pv 3.8.0: loading test.xmf-dataset u_with_hyperslab _segfaults_ hyperslab and Load/Save State: pv 3.6.2: loading test_nohyper.pvsm works fine (contour is visible) pv 3.8.0: loading test_nohyper.pvsm works fine (contour is visible) =! pv 3.6.2: loading test_withhyper.pvsm fails (contour _NOT_ visible) =!! pv 3.8.0: loading test_withhyper.pvsm _segfaults_ XDMF+hyperslab never worked with Load State. pv 3.6.2 loads the pipeline but does not load the hyperslab-dataset. pv 3.8.0 segfaults as it does loading hyperslab-datasets anyway. I hope you can reproduce the behaviour (the bugreport also has a backtrace attached). It would be great, if this problem could be fixed. But I am happy now to know its the hyperslab .. that's the first step to a bugfix :) Greetings Jens Utkarsh Ayachit schrieb: Jens, It would be great if you could post a state to reproduce this issue. Utkarsh On Fri, May 28, 2010 at 1:31 PM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, if I reload the state in paraview-gui it does not refresh ether. I have to walk through the pipeline (bottom to top) and call Apply. Greetings Jens Utkarsh Ayachit schrieb: Jens, Is the non-refreshed part of the pipeline visible in the view? Utkarsh On Fri, May 28, 2010 at 3:23 AM, Jens jens-de...@gmx.de wrote: Hi Utkarsh, thank you for that hint. I can see the bounding box now ... But somehow it does not refresh the whole pipeline. What do I have to do, that all parts of pipeline are updated before I write the image. Any idea? Greetings Jens Utkarsh Ayachit schrieb: Jens Here's an updated script: = from paraview.simple import * # reload state servermanager.LoadState('/tmp/state.pvsm') view = GetRenderViews()[0] ## render png view.ResetCamera() view.StillRender() view.WriteImage( /tmp/Test1.png, vtkPNGWriter ) == The problem was that your script was creating a new view, and not using the view created by the state file. Utkarsh On Thu, May 27, 2010 at 2:56 PM, Jens jens-de...@gmx.de wrote: Hi, I try to use pvbatch to render a whole bunch of screenshots using a script. pvbatch works fine if I simply create a sphere and write that image to disk. But loading a predefined pipeline using LoadState('pstate.pvsm') which includes a datset in XDMF file format fails. Any idea what I am doing wrong? This seems to be related to bug 6495 (http://www.itk.org/Bug/view.php?id=6495nbn=2), but the suggested solution cannot be used with LoadState(..). Greetings Jens from paraview import servermanager # connect to pvserver servermanager.Connect() # reload state #r = servermanager.LoadState('paraview_state.pvsm') # render png view = servermanager.CreateRenderView() view.ResetCamera() view.StillRender() view.WriteImage( Test1.png, vtkPNGWriter ) ___ 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] Building 3.8.0
- I hat do set LD_LIBRARY_PATH to both my MPI and QT (I have multiple QTs and MPIs installed on this system). RPATH is turned off. If you turn off rpath, then it's essential to set the LD_LIBRARY_PATH for extra dependencies. 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] GetSources() fails with Custom Filters
Matt, I just tried the same with current git-master (should be same as 3.8 as far as python stuff is concerned). It seems to work just fine: from paraview.simple import * paraview version 3.9.0, Date: 2010-05-21 GetSources() {('Sphere1', '105'): paraview.servermanager.Sphere object at 0x4c3ffd0, ('TwoShrinks1', ''): paraview.servermanager.TwoShrinks object at 0x4c3fb10} Let me know if it doesn't work with 3.8 for you. Utkarsh On Sun, May 30, 2010 at 9:41 PM, m.c.wilk...@massey.ac.nz wrote: Hi, Under 3.6.2 on linux in the python shell GetSources() fails if there are sources in the pipeline browser that appeared from Custom Filters. The error is: GetSources() Traceback (most recent call last): File console, line 1, in module File /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/simple.py, line 195, in GetSources File /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 1493, in GetProxiesInGroup File /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 1704, in next File /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 2280, in _getPyProxy File /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 2339, in _findClassForProxy KeyError: 'Foo' What I am doing is creating a Custom Filter (Foo) by: selecting two filters I have applied, clicking on Create Custom Filter, then taking all the defaults (clicking through Next Next Next, then Finished). Then I apply that custom filter, then run a GetSources() in the python shell and the above error appears. I friend tried the above with 3.8.0 on Windows with similar results. I don't completely trust he did it right, but he probably did, so the problem is probably not limited to 3.6.2 on linux. Have I done something wrong with my Custom Filter? Thank you very much for any help you can offer. Matt Wilkins ___ 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] [*] Re: [*] Build problem
Yes, it's a visual studio issue. You might want to google around to try to find what's missing in your setup. Utkarsh On Mon, May 31, 2010 at 10:00 AM, rhush...@cse.iitk.ac.in wrote: Hi, Thanks. I tried the link which you had sent, but I didnt have the problem which the person was having. Is the problem related to visual studio and not paraview as then I will try other versions of it. Thanks Regards Rhushabh Bhandari It doesn't look like it has anything to do with enabling/disabling Icet, although why would you want to do that? IceT is what ParaView uses for parallel rendering, without which parallel rendering won't work. Besides, IceT is enabled only when you are compiling with MPI. As far as /cmd /. /exe issue goes, this may help: http://www.interact-sw.co.uk/iangblog/2005/09/12/cmdspawnerror Utkarsh On Mon, May 31, 2010 at 6:00 AM, rhush...@cse.iitk.ac.in wrote: Hi, While building paraview 3.8.0 by ALL_BUILD in visual studio, I get many errors stating: 'Error spawning ((cmd)(.)(exe) command prompt)' Please could you help me in this situation And i have disabled ice-t, what are the effects of this on the software. Thanks in advance Regards, Rhushabh TEST MAIL ___ 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] Multi-Threading issues
It is possible that the timer times out in middle of a progress event which happens while filters are executing. Utkarsh On Mon, May 31, 2010 at 7:32 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: We have been developing an interface which allows us to control our simulations on the fly and have used a Qtimer in a custom panel, to query when new data is available from the server. When data is ready we when the timer is triggered and the server reports that data is ready, we do a number of bookkepping taks, and then update the pipeline/representation and other stuff using server manager objects like so... this-Reader-InvokeCommand(Modified); this-Reader-UpdatePropertyInformation(); this-Reader-UpdateVTKObjects(); this-Reader-UpdatePipeline(); and finally after more stuff ... trigger a render ... if (pqActiveObjects::instance().activeView()) { pqActiveObjects::instance().activeView()-render(); } This has been working fine for some months, but recently, we’ve been getting strange errors which look like the paraview client is interacting with the server manager, at the same time as we are triggering updates. A classic threading type problem. [We have added another thread to pvserver which accepts data from the simulation via its own socket communicator, this appears stable as we can do much stuff without forcing updates in the pvclient gui and we get no errors, these threads reside only inside pvserver ] Within a Qt+ParaView framework, can anyone tell me if it is “safe” to Update pipelines from the server manager within a timer triggered slot. Is there an existing example of anything similar which updates server manager objects from a timer – also forcing renders. I know that rendering should be triggered from the gui thread only – should this be removed from the Qtimer slot. Any feedback welcome. Thanks JB -- John Biddiscombe, email:biddisco @ cscs.ch http://www.cscs.ch/ CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07 Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82 ___ 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] Add Icon to a Custom Applications (PV 3.8.0)
Before I can suggest a possible fix, can you elaborate what exactly do you expect the result to be? The APPLICATION_ICON and BUNDLE_ICON are used to define the default icon used by Explorer on Windows and Finder on MAC when showing the application (.exe on Windows and .app on Mac). If you want the icon to show up in the top-left corner of the wndow, then you need to set the icon as the windowIcon on your QMainWindow (you can do that in the Qt designer as well). Utkarsh On Sat, May 29, 2010 at 1:39 PM, Salman SHAHIDI salshah...@gmail.com wrote: Hi All, I have created Qt-based custom visualization applications using ParaView's Parallel Visualization framework (Version 3.8.0). I am trying to figure out how to add an icon to this application. I have added these two yellow lines in my CMakeLists.txt file in order to assign the WinIcon.ico to my application: - # Build the client build_paraview_client(liuppa_viewer TITLE LIUPPA Viewer (ParaView-based Example Application) ORGANIZATION LIUPPA Viewer Coorporation VERSION_MAJOR 1 VERSION_MINOR 0 VERSION_PATCH 1 SPLASH_IMAGE ${CMAKE_CURRENT_SOURCE_DIR}/LIUPPAsplash.png -- BUNDLE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/WinIcon.ico -- APPLICATION_ICON ${CMAKE_CURRENT_SOURCE_DIR}/WinIcon.ico REQUIRED_PLUGINS LIUPPAViewerPlugin GUI_CONFIGURATION_XMLS ${CMAKE_CURRENT_SOURCE_DIR}/SupportedReader.xml ) No error displayed in compiling and build, but it does not work (still no icon ) Any advise is much appreciated. Salman SHAHIDI ___ 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] Multi-Threading issues
Look at pqProgressManager::setProgress(). It sets InUpdate before the progress signal is fired. You can check if InUpdate is true to avoid timing out when a update is happening. InUpdate is not public, you may have to expose it. Utkarsh On Mon, May 31, 2010 at 3:06 PM, Biddiscombe, John A. biddi...@cscs.ch wrote: Utkarsh It is possible that the timer times out in middle of a progress event which happens while filters are executing. OK. This we have detected, though what progress is going on I'm unsure about (!) - by which I mean that the only thing paraview should be doing is updating our stuff and we block more updates whilst one is happening. Question : Is there a mutex of any kind on the update vtk objects, or update pipeline stuff which we can make use of to ensure that only one pull from the server occurs at any given time? JB ___ 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] [*] Re: [*] Build problem
The Wiki page pretty much covers all that's necessary to build the software. You'll have to be a bit more elaborate than many types of errors before we can offer some concrete help. Are you using Qt binaries downloaded from Nokia's website? As mentioned on their download page, Nokia's binaries are built using MinGW and cannot be used with Visual Studio builds. You need to build Qt from source using visual studio. Yes, you can add python programmable filters in the .exe version of ParaView. Utkarsh On Tue, Jun 1, 2010 at 9:47 AM, rhush...@cse.iitk.ac.in wrote: Hi, The error related to command prompt was removed. But now during building I am getting 80% of the projects as failed with many types of errors. Please could you give me the exact link (other than the wiki page for build and install) to build it from scratch again. The specifications of my computer are: Windows XP. For building and installation required softwares in my computer: Qt version 4.6.2/Qt SDK by Nokia v2010.02.1 (open source) Cmake 2.6-patch 4 MPICH2 Python version 2.6.5 Microsoft Visual Studio 2005 Version 8.0.50727.42 I had many problems when configuring the source in Cmake mainly with what parameters to change and to what value should i change them to. Please help me out as I have wasted many hours in just building the software on my system without any success. One doubt: Pleae could you tell me that can I add programmble filters in the .exe version of paraview 3.8.0. Thank you in advance Regards Rhushabh Bhandari Yes, it's a visual studio issue. You might want to google around to try to find what's missing in your setup. Utkarsh On Mon, May 31, 2010 at 10:00 AM, rhush...@cse.iitk.ac.in wrote: Hi, Thanks. I tried the link which you had sent, but I didnt have the problem which the person was having. Is the problem related to visual studio and not paraview as then I will try other versions of it. Thanks Regards Rhushabh Bhandari It doesn't look like it has anything to do with enabling/disabling Icet, although why would you want to do that? IceT is what ParaView uses for parallel rendering, without which parallel rendering won't work. Besides, IceT is enabled only when you are compiling with MPI. As far as /cmd /. /exe issue goes, this may help: http://www.interact-sw.co.uk/iangblog/2005/09/12/cmdspawnerror Utkarsh On Mon, May 31, 2010 at 6:00 AM, rhush...@cse.iitk.ac.in wrote: Hi, While building paraview 3.8.0 by ALL_BUILD in visual studio, I get many errors stating: 'Error spawning ((cmd)(.)(exe) command prompt)' Please could you help me in this situation And i have disabled ice-t, what are the effects of this on the software. Thanks in advance Regards, Rhushabh TEST MAIL ___ 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] vtkCellLocator: Python
Try the following: print iter.GetCurrentMetaData().Get(vtk.vtkCompositeDataSet.NAME()) Utkarsh On Tue, Jun 1, 2010 at 3:12 PM, bastil2...@yahoo.de bastil2...@yahoo.dewrote: Thanks Eric, all, but this does not seem to work at all. My loop looks something like this: input = self.GetInputDataObject(0, 0) output = self.GetOutputDataObject(0) if input.IsA(vtkMultiBlockDataSet): iter = input.NewIterator() iter.UnRegister(None) iter.InitTraversal() i=1 while not iter.IsDoneWithTraversal(): curInput = iter.GetCurrentDataObject() curInformation = curInput.GetInformation() print i print iter.GetCurrentMetaData() # This is where I want to query for the current name, line does not work print iter.GetCurrentMetaData().Get(iter.GetCurrentMetaData.NAME) i=i+1 iter.GoToNextItem(); The output of print iter.GetCurrentMetaData() looks like this: vtkInformation (0x3808f00) Debug: Off Modified Time: 269417 Reference Count: 2 Registered Events: (none) DONT_PRUNE: 1 NAME: my_given_name I want to work wit the NAME attribute ('my_given_name in this case) but I don't know how...? bastil2...@yahoo.de wrote: Original-Nachricht Betreff: Re: [Paraview] vtkCellLocator: Python Datum: Mon, 31 May 2010 15:15:54 -0400 Von: Eric E. Monson emon...@cs.duke.edu emon...@cs.duke.edu An: bastil2...@yahoo.de CC: Utkarsh Ayachit utkarsh.ayac...@kitware.comutkarsh.ayac...@kitware.com, 'ParaView' paraview@paraview.org paraview@paraview.org Hey Bastian, I think you should be able to just use the Get() method to pull out that information key. When I want to find current time step information on some pipeline data (with a programmable filter), which has information that looks like this: vtkInformation (0x11dd723d0) Debug: Off Modified Time: 70754 Reference Count: 2 Registered Events: (none) DATA_NUMBER_OF_GHOST_LEVELS: 0 DATA_TIME_STEPS: 0 DATA_PIECE_NUMBER: 0 DATA_EXTENT_TYPE: 0 DATA_NUMBER_OF_PIECES: 1 I can do it with these commands: pdi = self.GetInputDataObject(0,0) current_time = pdi.GetInformation().Get(pdi.DATA_TIME_STEPS(),0) So you might be able to just put NAME() in where I put DATA_TIME_STEPS(). Talk to you later, -Eric -- Eric E Monson Duke Visualization Technology Group On May 31, 2010, at 1:23 PM, bastil2...@yahoo.de wrote: Thanks Utkarsh, the required information is in MetaData: print iter.GetCurrentMetaData() vtkInformation (0x3808f00) Debug: Off Modified Time: 269417 Reference Count: 2 Registered Events: (none) DONT_PRUNE: 1 NAME: my_given_name Now I want to work with the NAME-Attribute (my_given_name) but I don't know how to get this into a variable? I can't find a GetName()-Method... print dir(iter.GetCurrentMetaData()) ['AddObserver', 'Append', 'AppendUnique', 'BreakOnError', 'Clear', 'Copy', 'CopyEntries', 'CopyEntry', 'DebugOff', 'DebugOn', 'FastDelete', 'Get', 'GetAddressAsString', 'GetClassName', 'GetDebug', 'GetGlobalWarningDisplay', 'GetKey', 'GetMTime', 'GetNumberOfKeys', 'GetReferenceCount', 'GetRequest', 'GlobalWarningDisplayOff', 'GlobalWarningDisplayOn', 'Has', 'HasObserver', 'InvokeEvent', 'IsA', 'IsTypeOf', 'Length', 'Modified', 'NewInstance', 'PrintRevisions', 'Register', 'Remove', 'RemoveAllObservers', 'RemoveObserver', 'RemoveObservers', 'SafeDownCast', 'Set', 'SetDebug', 'SetGlobalWarningDisplay', 'SetReferenceCount', 'SetRequest', 'UnRegister'] Thanks for help. Regards Bastian Am 30.05.2010 16:58, schrieb Utkarsh Ayachit: The following example shows how to create an iterator to iterate over all blocks in a composite dataset. The iterator (http://www.vtk.org/doc/nightly/html/classvtkCompositeDataIterator.html) has methods like HasCurrentMetaData(), GetCurrentMetaData() that you can use to get the meta-data for the current block. Note that by default the iterator skips over non-leaf nodes. If you want to access those, use VisitOnlyLeavesOff() on the iterator. http://www.itk.org/Wiki/Python_Programmable_Filter#Dealing_with_Composite_Datasets Utkarsh On Sat, May 29, 2010 at 1:15 PM, BastiL2001 bastil2...@yahoo.de bastil2...@yahoo.de wrote: Thanks Andi, I don't know since the ensight reader does this for me. I want to work with the input he produces. Is it in any way possible to link GetMetaData to the current block? Afaik I can not query each blocks meta-Data, can I? Are you naming the block in the meta-data? In vtkCompositeDataSet there is a method called GetMetaData (http://www.vtk.org/doc/nightly/html/classvtkCompositeDataSet.html#abcf79d23fc3a67138da3336e4cda2afe) that may be what you're looking for. Andy On Fri, May 28, 2010 at 3:58 PM, BastiL2001 bastil2...@yahoo.de bastil2...@yahoo.de wrote: Thanks Andi, I will do this. What I am planning to do is to create a scalr field
Re: [Paraview] 3.8 problem with remote plugins
Have tried clean building your plugin? Can you post the CMakeLists.txt for your plugin? Utkarsh On Wed, Jun 2, 2010 at 5:56 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I've just tried building against v3.8 of paraview and I am getting a load error for some remote plugins. It complains about an undefined symbol - vtkPVGUIPluginInterface. Is anyone else experiencing this? I'm running the linux version. Regards, 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] 3.8 problem with remote plugins
Ah...the problem is due to the fact that ${OUTSRCS} was passed in as SOURCES and not GUI_SOURCES. Actually, any Qt based classes should be passed in as GUI_SOURCES. So try the following: ADD_PARAVIEW_PLUGIN(MeshCutter 1.0 GUI_INTERFACES ${OUTIFACES} SERVER_MANAGER_XML MeshCutterSM.xml SERVER_MANAGER_SOURCES vtkMeshCutter.cxx vtkAxialRadial.cxx vtkTheta.cxx vtkRadius.cxx vtkRadiusSource.cxx vtkRadiusRepresentation.cxx vtkRadiusWidget.cxx GUI_SOURCES pqRadiusWidget.cxx ${MOC_SRCS} ${OUTSRCS} ${UIC_SRCS}) Utkarsh On Wed, Jun 2, 2010 at 10:57 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Utkarsh, I can make my plugins work by adding pqComponents to the TARGET_LINK_LIBRARIES. Should this be necessary? Regards, Paul On 2 June 2010 14:51, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Have tried clean building your plugin? Can you post the CMakeLists.txt for your plugin? Utkarsh On Wed, Jun 2, 2010 at 5:56 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I've just tried building against v3.8 of paraview and I am getting a load error for some remote plugins. It complains about an undefined symbol - vtkPVGUIPluginInterface. Is anyone else experiencing this? I'm running the linux version. Regards, 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] Checkboxes missing in Object Inspector
That's odd. Try running paraview with -dr command line option. Does that help? Utkarsh On Wed, Jun 2, 2010 at 5:06 PM, Bart van Stratum bart.vanstra...@wur.nl wrote: Hi, I installed ParaView 3.8.0 this afternoon as a tool to plot 3D output fields of a meteorological model and I'm having some problems with the Object Inspector. I'm trying to plot some fields of a a NetCDF file which works fine on another system that I have access to (Arch Linux with ParaView 3.6.2), but on my own system (OpenSUSE 11.2, KDE 4.3, ParaView 3.8.0) the checkboxes for each variable are missing (see: http://files.vanstratum.com/ParaView_checkboxes.png). I've been struggling with this for quite a while, but can't seem to get it fixed. Is this a known problem, or am I doing something wrong? Any help would be greatly appreciated. Kind regards, Bart van Stratum ___ 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] Creating vtkTable with programmable filter
Bastian, I've committed a fix to git/master. the spreadsheet view should now show up by default. commit 7c4ec9b4197330c50762bf1592b924f1a986e1f8 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Wed Jun 2 21:39:43 2010 -0400 Use spreadsheet view by default for tables. Utkarsh On Wed, Jun 2, 2010 at 4:09 PM, BastiL2001 bastil2...@yahoo.de wrote: I have a progammable filter that produces a Python list. I want to write this list into a vtkTable, make this the output of the programmableFilter and show it after execution. Writing data into table works this way (output of the programmable filter needs to be avtkTable in GUI): output = self.GetOutputDataObject(0) # VTK arrays for columns name = vtk.vtkStringArray() name.SetNumberOfComponents(1) name.SetNumberOfTuples(len(results)) name.SetName(Component Name) # fill it with data from Python-List here (skipped) output.AddColumn(name) Problems: Table is not shown after filter but has to be opened up manually by the user Additional Error message (however, everything looks fine): ERROR: In /../vtkExecutive.cxx, line 757 vtkCompositeDataPipeline (0x2b98f3c0): Algorithm vtkPVGeometryFilter(0x2b96fe20) returned failure for request: vtkInformation (0x297c2500) Debug: Off Modified Time: 41843440 Reference Count: 1 Registered Events: (none) Request: REQUEST_DATA FORWARD_DIRECTION: 0 ALGORITHM_AFTER_FORWARD: 1 FROM_OUTPUT_PORT: 0 Any hints? Thanks Bastian ___ 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] Install path issue
Good catch. I've committed a fix to the master. Dave can you move it to the release branch as well. Attached is the patch. commit 07ba5364f3ab16d33e7ae7c67f64c4b25e2de11f Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Thu Jun 3 09:49:23 2010 -0400 Paraview clients were ignoring set install path. The ParaView custom clients were not passing the PV_INSTALL_LIB_DIR to the build_paraview_client macro. As a consequence it was doing the default thing. Fixed that. Utkarsh On Wed, Jun 2, 2010 at 6:02 PM, Orion Poplawski or...@cora.nwra.com wrote: On 06/02/2010 03:42 PM, Orion Poplawski wrote: On 06/02/2010 10:59 AM, Orion Poplawski wrote: I'm working on an updated ParaView 3.8.0 rpm for Fedora and running into the following issue. The paraview-real and streaming_paraview-real are getting installed as follows: -- Installing: /builddir/build/BUILDROOT/paraview-3.8.0-1.fc14.x86_64/usr/lib/paraview-3.8/paraview-real -- Installing: /builddir/build/BUILDROOT/paraview-3.8.0-1.fc14.x86_64/usr/lib/streaming_paraview-1.1/streaming_paraview-real despite setting -DPV_INSTALL_LIB_DIR:PATH=lib64/paraview. Another one: /usr/lib/python2.6/site-packages/Xdmf/libvtkXdmfPython.so is installed on a 64-bit machine instead of in /usr/lib64/... Sorry, that one is okay. Not that pvbatch-real (and others) is installed in /usr/lib64/paraview/ as requested, just not paraview-real. Looks like an issue of some kind with add_executable_with_forwarding2? ParaView-3.8.0/CMake/ParaViewBranding.cmake: add_executable_with_forwarding2(pv_exe_suffix ${PARAVIEW_LIBRARY_DIRS} ../${PARAVIEW_INSTALL_LIB_DIR} ${BPC_INSTALL_LIB_DIR} ${BPC_NAME} WIN32 ${MAKE_BUNDLE} ${BPC_NAME}_main.cxx ${exe_icon} ${apple_bundle_sources} ${qt_menu_nib_sources} ${EXE_SRCS} ) ParaView-3.8.0/ParaViewConfig.cmake.in: # The locations/prefixes where this version of ParaView would be installed. SET (PARAVIEW_INSTALL_LIB_DIR @PV_INSTALL_LIB_DIR@) Perhaps this isn't getting evaluated in the correct order? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.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 commit 07ba5364f3ab16d33e7ae7c67f64c4b25e2de11f Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Thu Jun 3 09:49:23 2010 -0400 Paraview clients were ignoring set install path. The ParaView custom clients were not passing the PV_INSTALL_LIB_DIR to the build_paraview_client macro. As a consequence it was doing the default thing. Fixed that. diff --git a/Applications/AdaptiveParaView/CMakeLists.txt b/Applications/AdaptiveParaView/CMakeLists.txt index f93cd01..a951229 100644 --- a/Applications/AdaptiveParaView/CMakeLists.txt +++ b/Applications/AdaptiveParaView/CMakeLists.txt @@ -45,6 +45,8 @@ build_paraview_client(adaptive_paraview ${CMAKE_CURRENT_SOURCE_DIR}/CustomResources/CustomFilters.xml ${CMAKE_CURRENT_SOURCE_DIR}/CustomResources/CustomSources.xml SOURCES ${Application_SOURCE_FILES} + INSTALL_BIN_DIR ${PV_INSTALL_BIN_DIR} + INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR} ) ADD_EXECUTABLE(ppRawStridedReader2 ppRawStridedReader2.cxx) diff --git a/Applications/ParaView/CMakeLists.txt b/Applications/ParaView/CMakeLists.txt index 6ec9d99..75de3ed 100644 --- a/Applications/ParaView/CMakeLists.txt +++ b/Applications/ParaView/CMakeLists.txt @@ -63,6 +63,8 @@ build_paraview_client(paraview ${PARAVIEW_EXTRA_GUI_RESOURCES} # Add any compiled in GUI configuration xmls COMPRESSED_HELP_FILE ${ParaView_BINARY_DIR}/Documentation/paraview.qch SOURCES ${ParaView_SOURCE_FILES} +INSTALL_BIN_DIR ${PV_INSTALL_BIN_DIR} +INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR} ) # Configure the .plugins configuration xml for making paraview aware of the diff --git a/Applications/StreamingParaView/CMakeLists.txt b/Applications/StreamingParaView/CMakeLists.txt index e113172..c39f768 100644 --- a/Applications/StreamingParaView/CMakeLists.txt +++ b/Applications/StreamingParaView/CMakeLists.txt @@ -45,6 +45,8 @@ build_paraview_client(streaming_paraview ${CMAKE_CURRENT_SOURCE_DIR}/CustomResources/CustomFilters.xml ${CMAKE_CURRENT_SOURCE_DIR}/CustomResources/CustomSources.xml SOURCES ${Application_SOURCE_FILES} + INSTALL_BIN_DIR ${PV_INSTALL_BIN_DIR} + INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR
Re: [Paraview] Add Icon to a Custom Applications (PV 3.8.0)
What you need to do is create a new resource (qrc) file with your icon and then refer to the qrc in your ui file. Look at the CMakeLists.txt in Qt/Core or Qt/Components to see how to compile a qrc file. Utkarsh On Tue, Jun 1, 2010 at 11:51 AM, Salman SHAHIDI salshah...@gmail.com wrote: Thank you for your response. Yes I want the icon to show up in the top-left corner of the window. I can assign an icon in the Qt designer (by resource file or directly by choosing an icon file) but it works only for the icons selected from the following folder: /../Qt/Components/Resources/Icons/ This problem occurs only for qt-based application using paraview. Thank you for your suggestions, Salman SHAHIDI 2010/5/31 Utkarsh Ayachit utkarsh.ayac...@kitware.com Before I can suggest a possible fix, can you elaborate what exactly do you expect the result to be? The APPLICATION_ICON and BUNDLE_ICON are used to define the default icon used by Explorer on Windows and Finder on MAC when showing the application (.exe on Windows and .app on Mac). If you want the icon to show up in the top-left corner of the wndow, then you need to set the icon as the windowIcon on your QMainWindow (you can do that in the Qt designer as well). Utkarsh On Sat, May 29, 2010 at 1:39 PM, Salman SHAHIDI salshah...@gmail.com wrote: Hi All, I have created Qt-based custom visualization applications using ParaView's Parallel Visualization framework (Version 3.8.0). I am trying to figure out how to add an icon to this application. I have added these two yellow lines in my CMakeLists.txt file in order to assign the WinIcon.ico to my application: - # Build the client build_paraview_client(liuppa_viewer TITLE LIUPPA Viewer (ParaView-based Example Application) ORGANIZATION LIUPPA Viewer Coorporation VERSION_MAJOR 1 VERSION_MINOR 0 VERSION_PATCH 1 SPLASH_IMAGE ${CMAKE_CURRENT_SOURCE_DIR}/LIUPPAsplash.png -- BUNDLE_ICON ${CMAKE_CURRENT_SOURCE_DIR}/WinIcon.ico -- APPLICATION_ICON ${CMAKE_CURRENT_SOURCE_DIR}/WinIcon.ico REQUIRED_PLUGINS LIUPPAViewerPlugin GUI_CONFIGURATION_XMLS ${CMAKE_CURRENT_SOURCE_DIR}/SupportedReader.xml ) No error displayed in compiling and build, but it does not work (still no icon ) Any advise is much appreciated. Salman SHAHIDI ___ 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] PV 3.8.0 Plot over line (bug ?)
Stephen, What do you mean by select the x-axis? Are you setting the Point 1 and Point 2 x-coordinates on the Plot Over Line fiter or is that the range for the x-axis on the line plot (set using the view settings dialog)? I am assuming you mean the former. In that case, when the CSV is loaded back in, by default the plot uses arc-length as the x-axis for the line plot. Go to the display tab and choose the x-axis to be Points:0 and you'll see that the xmin is 0.5. Utkarsh On Thu, Jun 3, 2010 at 3:47 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: I select the x-axis with with point 1 = 0.5 point 2 = 25 the plot is correct but when I save data (csv) And plot the csv data, the xmin is 0 and not 0.5 This feature worked correctly in 3.4.0 for example. Any ideas as to the problem? Stephen -- stephen.wor...@sophia.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] Write and read a vtk file (in python)
It should now affect all paraview executables. commit cd1b14208b79b8c7773c4bbc10eaf25c680b65c5 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Fri Jun 4 13:51:23 2010 -0400 setlocale to avoid locale related numeric issues. This now affects all executables, not merely Qt-based ones. Utkarsh On Fri, Jun 4, 2010 at 11:16 AM, pat marion pat.mar...@kitware.com wrote: Any idea if python will respect that call too? Pat On Fri, Jun 4, 2010 at 10:15 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I've committed a fix. Attached is the patch for the same. commit 3f4904f94224ef3a6c03989a012c4484a759a607 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Fri Jun 4 10:14:30 2010 -0400 setlocale to avoid locale related numeric issues. Refer to http://www.paraview.org/pipermail/paraview/2009-August/013278.html thread for details. Utkarsh On Fri, Jun 4, 2010 at 9:50 AM, Berk Geveci berk.gev...@kitware.com wrote: Thanks Takuya. We'll take care of it. 2010/6/4 Takuya OSHIMA osh...@eng.niigata-u.ac.jp: Hi, This seems to be related to the way the LOCALE is set on your system. It is probably set to French in one case and English in the other. Does anybody know if we can force LOCALE to English in the ParaView application or the reader? Indeed, forcing the locale where the PV application runs under to C was what I proposed a while ago, which failed to draw attention: http://www.paraview.org/pipermail/paraview/2009-August/013278.html I'd really appreciate if the PV developers reconsider this. Takuya Takuya OSHIMA, Ph.D. Faculty of Engineering, Niigata University 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN From: Berk Geveci berk.gev...@kitware.com Subject: Re: [Paraview] Write and read a vtk file (in python) Date: Fri, 4 Jun 2010 09:25:02 -0400 1) reading : from a vtkStructuredGrid object, I use a vtkStructuredGridWriter to create a vtk file, and I have the following problem : when I launch the script in Paraview, the format of floating points is not good (I obtain for example 33,1632 instead of 33.1632). So, the file created is not readable by Paraview. If I launch the script directly in a terminal, it works fine. Perhaps because the version of vtk module is not the same ? If I use the binary format I have not this problem. This seems to be related to the way the LOCALE is set on your system. It is probably set to French in one case and English in the other. Does anybody know if we can force LOCALE to English in the ParaView application or the reader? 2) writing : I would like to read my vtk files from the python shell, with OpenDataFile(), but It didn't succeed and I have the following message (with a file which can be read in paraview using menu open of course :-) : Unless I am mistaken, you give the filename directly to OpenDataFile(), without FileName=. -berk /home/plumecoq/tmp/ParaView/flow_1_0075.vtk Traceback (most recent call last): File string, line 1, in module File /home/plumecoq/EHPOC/plugins/ElsaMenu/elsa.py, line 91, in module main() File /home/plumecoq/EHPOC/plugins/ElsaMenu/elsa.py, line 73, in main reader_vtk = OpenDataFile(file_name_vtk) File /home/plumecoq/Paraview/ParaView-3.8.0-bin/Utilities/VTKPythonWrapping/paraview/simple.py, line 115, in OpenDataFile reader = globals()[xml_name](FileName=filename, **extraArgs) File /home/plumecoq/Paraview/ParaView-3.8.0-bin/Utilities/VTKPythonWrapping/paraview/simple.py, line 542, in CreateObject setattr(px, param, params[param]) File /home/plumecoq/Paraview/ParaView-3.8.0-bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 201, in __setattr__ to add this attribute.) AttributeError: Attribute FileName does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute. any ideas ? I try to use LegacyVTKFileReader instead, but I have also some problems. I use a re-compile version of Paraview 3.8, under Linux (Fedora 10 - 64 bits) thanks for your help. Jérôme ___ 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
Re: [Paraview] How to have the spreadsheet view
You have to specify the Hints / for the filter in the XML. The type is the name of the view proxy to create. Utkarsh On Wed, Jun 9, 2010 at 10:14 AM, Adriano Gagliardi agaglia...@ara.co.uk wrote: Utkarsh, Regarding the hints, how do you get the output of a custom C++ filter to be presented in a specific view such as spreadsheet or histogram, rather than the default view? 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 From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Didier Roissé Sent: 09 June 2010 14:45 To: paraview@paraview.org Subject: Re: [Paraview] How to have the spreadsheet view Thank you for the answer, I will try. Best regards, Didier Roissé 2010/6/9 Utkarsh Ayachit utkarsh.ayac...@kitware.com Additionally, if you have separate readers for the 3 kinds of data you mention, you can use Hints / to indicate that the result of that reader should be shown in a spreadsheet view. Look at CSVReader proxy xml in ParaView/Servers/ServerManager/Resources/reader.xml SourceProxy ... Hints !-- View can be used to specify the preferred view for the proxy -- View type=SpreadSheetView / /Hints /SourceProxy Utkarsh On Wed, Jun 9, 2010 at 9:29 AM, David E DeMarle dave.dema...@kitware.com wrote: This method: pqDisplayPolicy::getPreferredViewType(pqOutputPort* opPort, bool update_pipeline) governs what view type is initially created for any given source/reader/filter. For instance, if your plugin produces vtkTables when you read data values in, then the spreadsheet view should be created. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Wed, Jun 9, 2010 at 8:44 AM, Didier Roissé didier.roi...@gmail.com wrote: Hello, I am writing an Amelet-HDF format plugin reader in paraview (you can see the code in the following link http://code.google.com/p/amelet-hdf/). The plugin reads three kinds of data: * mesh * data on mesh * data When the plugin reads mesh and data on mesh, the results is displayed in the 3D view (it is ok). But when the plugin read data values, I would like that paraview show me the spreadsheet view. How can I do that in my plugin ? Best regards, Didier Roissé ___ 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 ** 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] Programmable Source MultiBlockDataSet
Attached is the patch. It will be included in 3.8.1 release. Utkarsh 2010/6/10 Jérôme Plumecoq jerome.plume...@c-s.fr: Hello, I also would like to make a ProgrammableSource with a vtkMultiBlockDataSet as output type (*). It seems that the correction indicated below doesn't appear in the version 3.8.0 of ParaView. do you know in which version this change will be integrate ? does a patch exist ? thanks. Jérôme 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] The DISTDIR variable is expanded twice when installing PointSpriteDemo
Thanks for reporting this. It has been fixed on master and will be included in 3.8.1 release. http://paraview.org/Bug/view.php?id=10815 Utkarsh On Thu, Jun 3, 2010 at 2:53 AM, François Bissey f.r.bis...@massey.ac.nz wrote: Hi again, I have the following in my log while preparing the gentoo package for paraview: -- Installing: /media/anthill/portage/sci- visualization/paraview-3.8.0/image/usr/lib/paraview-3.8/libPointSprite_Graphics.so -- Installing: /media/anthill/portage/sci- visualization/paraview-3.8.0/image/media/anthill/portage/sci- visualization/paraview-3.8.0/work/ParaView-3.8.0_build/Plugins/PointSprite/PointSpriteDemo -- Installing: /media/anthill/portage/sci- visualization/paraview-3.8.0/image/usr/lib/paraview-3.8/libPointSprite_Plugin.so PointSpriteDemo is the only one with that behaviour out of the stuff I checked so far. Also, it is an example and I have turned examples off (BUILD_EXAMPLES OFF) but this particular one is always on, from Plugins/PointSprite/CMakeList.txt: set(PointSpritePlugin_BUILD_EXAMPLES ON CACHE BOOL Build the example.) if(PointSpritePlugin_BUILD_EXAMPLES) add_subdirectory(Examples) endif(PointSpritePlugin_BUILD_EXAMPLES) This is not consistent, if I turn off examples at the top level I expect them to be all off. Francois ___ 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 XML - property as astring
Sorry, I don't think I understand the question. It's a string vector property, so DebutNomMai specified in default_values is indeed a string -- right? Utkarsh 2010/6/11 Aurélien Marsan aurelien.mar...@ecl2009.ec-lyon.fr: Hi, Is it possible, in the following script (that is a part of a xml plugin file), to assume that DebutNomMai is a string ? StringVectorProperty name=DebutNomMai command=SetParameter number_of_elements=2 default_values_delimiter=; default_values=DebutNomMai;'tata' /StringVectorProperty Thanks, -- Aurélien MARSAN Doctorant Cifre Turbomeca/LMFA aurelien.mar...@ecl2009.ec-lyon.fr 06.31.98.26.73 ___ 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 Color Gradients in 'Save Screenshot'
Very interesting :). That's definitely a bug. I've added that to the bug tracker. http://paraview.org/Bug/view.php?id=10836 Utkarsh On Wed, Jun 16, 2010 at 8:16 AM, Jérôme jerome.ve...@gmail.com wrote: Hi, FYI, I also noted that bug on WinXP, ParaView-3.9 Jerome 2010/6/16 Phil Thibodeau philthibod...@gmail.com: When I use the 'Save Screenshot' feature in PV 3.8, the background colour gradient 'doubles'. On my screen, I have a smooth colour gradient from the top of the window to the bottom, but the screenshot has two tiles of the gradient (see attachment). This only occurs when I turn off the Save only Selected View to have multiple windows in my screenshot. Does anyone know why this is happening? Paraview 3.8.0 on Fedora 12. I'm new to PV and Linux in general - please keep in mind for any responses. Thanks, Phil -- Philippe Thibodeau Mechanical Engineering Co-op Student Aalto University ___ 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] Render windows when running parallel pvserver on localhost
One option is to compile with OSMesa and then use --use-offscreen-rendering command line option for the pvserver. http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server talks about how to compile with OSMesa Utkarsh On Thu, Jun 17, 2010 at 10:17 AM, Matthew Cragun mcra...@totalsim.us wrote: Hi, I'm wondering if there are any ways to start pvserver in parallel on localhost without the rendering windows popping up on my screen. I understand the render windows need to be created for each of the processors, but is there a way to send them somewhere else or to a background so they won't pop up everytime the screen refreshes? Right now, I can't really work with it because the windows keep popping up. Currently I'm running paraview 3.6.2 on Linux RHEL5. My command to start pvserver is really simple at the moment. It's just: mpirun -np 4 /nfs/dana/.../bin/pvserver Thanks, -- 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] Bug: Paraview 3.8.0 - Animation View - Use Current trouble
That's indeed a bug. I've added a bug report. It should be fixed by the next release. http://public.kitware.com/Bug/view.php?id=10846 Utkarsh On Thu, Jun 17, 2010 at 10:07 AM, Michael Fichera michael.fich...@erm.com wrote: Hello, I’m using Paraview Ver.3.8.0 on Windows Vista 64-bit. In the Animation View, I added a Camera using the “Interpolate camera locations” option. When I click on the Key Frame Interpolation window to choose the locations, I clicked “Use Current” for a start and end position. Trouble is, the Position and Focal Point values appear to be limited to a maximum of 10,000. When I examine my location using “Adjust Camera” I see the locations I’m interested in are much greater than 10,000 (or less than -10,000). When I run the animation, the camera moves away from my subject matter. I tried using a 32-bit install on a 32-bit Vista machine and had the same problem. Any help would be most appreciated. Thanks, Michael J. Fichera, P.E. ERM Inc. Surfacewater Modeling Group 350 Eagleview Blvd, Suite 200 Exton, PA 19341-1155 phone: (610) 524-3603 fax: (610) 524-3566 michael.fich...@erm.com www.erm-smg.com This message contains information which may be confidential, proprietary, privileged, or otherwise protected by law from disclosure or use by a third party. If you have received this message in error, please contact us immediately and take the steps necessary to delete the message completely from your computer system. Thank you. Please visit ERM's web site: http://www.erm.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] Changing the label in the pipeline browser through python scripts
You can use RenameSource. from paraview.simple import * help(RenameSource) Utkarsh On Fri, Jun 18, 2010 at 4:22 AM, Jérôme jerome.ve...@gmail.com wrote: Hi, I wonder how I can change the label of a filter in the pipeline browser through python commands. 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] pvd file and parallel running
A PVD file cannot point to legacy vtk files. It requires XML-based vtk files (vtp, vtu, vti etc. not vtk). Utkarsh On Fri, Jun 18, 2010 at 10:37 AM, llapis Pencil llapispen...@yahoo.es wrote: Hi, I'm trying to make a Paraview Visualisation with a parallel processors run. I dividied my surface grid in 4 different parts and each one will run in a different processor. I create *.pvd files containing the data of the corresponding timestep and the dates from each partition. Like the following (for the first timestep): ?xml version=1.0? VTKFile type=Collection version=0.1 byte_order=LittleEndian Collection DataSet timestep=1.00 part=001 file=out1-1.vtk/ DataSet timestep=1.00 part=002 file=out1-2.vtk/ DataSet timestep=1.00 part=003 file=out1-3.vtk/ DataSet timestep=1.00 part=004 file=out1-4.vtk/ /Collection /VTKFile The problem is that when I try to apply the file Paraview closes directly, like it would not be able to open such file. What's wrong? Could be that it can not be files with the same timestep in a *.pvd file? If that's the case, how I can open different datafiles for the same timestep ? Thanx Llapis ___ 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 Color Gradients in 'Save Screenshot'
Phil/Jereme, FYI, this has now been fixed in master and will make it into 3.8.1 release. Here's the VTK commit for the change: == VTK COMMIT=== commit e03871288c548afdbdce0c045b625d899b19dc04 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Mon Jun 21 10:47:04 2010 -0400 Fixed BUG 0010836. Ensure that tileviewport is used for gradient backgrounds. Fixes issue with gradient (and texture) backgrounds not working when saving large screen shots in ParaView. Utkarsh On Wed, Jun 16, 2010 at 8:53 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Very interesting :). That's definitely a bug. I've added that to the bug tracker. http://paraview.org/Bug/view.php?id=10836 Utkarsh On Wed, Jun 16, 2010 at 8:16 AM, Jérôme jerome.ve...@gmail.com wrote: Hi, FYI, I also noted that bug on WinXP, ParaView-3.9 Jerome 2010/6/16 Phil Thibodeau philthibod...@gmail.com: When I use the 'Save Screenshot' feature in PV 3.8, the background colour gradient 'doubles'. On my screen, I have a smooth colour gradient from the top of the window to the bottom, but the screenshot has two tiles of the gradient (see attachment). This only occurs when I turn off the Save only Selected View to have multiple windows in my screenshot. Does anyone know why this is happening? Paraview 3.8.0 on Fedora 12. I'm new to PV and Linux in general - please keep in mind for any responses. Thanks, Phil -- Philippe Thibodeau Mechanical Engineering Co-op Student Aalto University ___ 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] What is planned about Antialiasing?
Here's the bug report: http://paraview.org/Bug/view.php?id=10863 Utkarsh On Tue, Jun 22, 2010 at 11:35 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I've added a feature request for the same. We will try address it by 3.10. Utkarsh On Tue, Jun 22, 2010 at 10:38 AM, Richard GRENON richard.gre...@onera.fr wrote: Hello, On this mailing list (AntiAliasing, Aug 2009), Pat Marion said that the only way to get antialiasing was to recompile PV with MultiSamples enabled, and Utkarsh Ayachit said that it should be an option in the Settings menu. Actually, PV 3.8.0 seems to have no Antialiasing option in the Setting menu, and it always gives ugly saw tooth pictures if some object sides are almost horizontal or almost vertical (PV 3.8.0 on Windows or Linux, both with NVIDIA graphic card). A workaround is to check the option Override Application Setting in the NVIDIA control panel ant it gives pretty pictures. But using Save Screenshot in the PV File menu saves an image without antialiasing! I tried to save a PNG image and I did not see any antialiasing option.The workaround to save a picture with antialiasing is to make a capture of the PV window using the Print Scrn key on the keyboard... and to crop the picture with some other imaging software to remove menu panels. So what are the plans about setting antialiasing in future PV releases? Best 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] What is planned about Antialiasing?
I've added a feature request for the same. We will try address it by 3.10. Utkarsh On Tue, Jun 22, 2010 at 10:38 AM, Richard GRENON richard.gre...@onera.fr wrote: Hello, On this mailing list (AntiAliasing, Aug 2009), Pat Marion said that the only way to get antialiasing was to recompile PV with MultiSamples enabled, and Utkarsh Ayachit said that it should be an option in the Settings menu. Actually, PV 3.8.0 seems to have no Antialiasing option in the Setting menu, and it always gives ugly saw tooth pictures if some object sides are almost horizontal or almost vertical (PV 3.8.0 on Windows or Linux, both with NVIDIA graphic card). A workaround is to check the option Override Application Setting in the NVIDIA control panel ant it gives pretty pictures. But using Save Screenshot in the PV File menu saves an image without antialiasing! I tried to save a PNG image and I did not see any antialiasing option.The workaround to save a picture with antialiasing is to make a capture of the PV window using the Print Scrn key on the keyboard... and to crop the picture with some other imaging software to remove menu panels. So what are the plans about setting antialiasing in future PV releases? Best 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] core dump from pvserver on Fedora linux with nvidia 195.36.24
Are you able to run any other OpenGL based application such as glxgears or something? Utkarsh On Tue, Jun 22, 2010 at 5:00 PM, Jimmy Dorff jdo...@phy.duke.edu wrote: On Tue, 22 Jun 2010, Berk Geveci wrote: Can you run pvserver under gdb and give us a stack trace? See attached. For some reason I can't seem to find a couple qt debuginfo packages. Also, is X configured to allow the user running pvserver to create a window? Yes, in this case the pvserver user is on the local GUI console and has full X11 access. Thanks, Jimmy ___ 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] 1 script open different vtk files
# for paraview 3.8.0 or greater. from paraview.simple import * reader1 = OpenDataFile(“file1”) reader2 = OpenDataFile(file2) Show(reader1) Show(reader2) ... Render() On Wed, Jun 23, 2010 at 9:35 AM, llapis Pencil llapispen...@yahoo.es wrote: Hi again, thanks for the response. Now my question is how can i create a script which tells PARAVIEW to open a certain number of vtk files at once and visualize them all together? Thanx one more time ___ 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] exporting VRML files with python script
You have to write each file individually. However, you can do it just a few lines without copy-pasting as follows: exporters = servermanager.createModule(exporters) vrml = exporters.VRMLExporter() for d in range(3): vrml.FileName = /tmp/%d.vrml % d vrml.View = GetActiveView() vrml.Write() Utkarsh 2010/6/24 Yann-Hervé Hellouvry yannherve.hellou...@gmail.com: thanks for the reply, I've just one more question : how can i do to export serial files easily? guess I import 3 vtk files : 1.vtk 2.vtk 3.vtk . Am I oblige to do : exporters = servermanager.createModule(exporters) vrml1 = exporters.VRMLExporter(FileName=/tmp/1.vrml) vrml1.View = GetActiveView() vrml1.Write() vrml2 = exporters.VRMLExporter(FileName=/tmp/2.vrml) vrml2.View = GetActiveView() vrml2.Write() vrml3 = exporters.VRMLExporter(FileName=/tmp/3.vrml) vrml3.View = GetActiveView() vrml3.Write() Or is there a way to make series like : exporters = servermanager.createModule(exporters) vrml = exporters.VRMLExporter(FileName=/tmp/*.vrml) vrml.View = GetActiveView() vrml.Write() Regards, Yann 2010/6/17 Utkarsh Ayachit utkarsh.ayac...@kitware.com Here's a sample script: exporters = servermanager.createModule(exporters) vrml = exporters.VRMLExporter(FileName=/tmp/foo.vrml) vrml.View = GetActiveView() vrml.Write() Utkarsh 2010/6/17 Yann-Hervé Hellouvry yannherve.hellou...@gmail.com: Hi everyone, I am a new user of Paraview and I'm quite interested in using Python script for Paraview My goal is to import VTK series files, apply a contour to all of them and finally export the contours in VRML format. This is my first script : #-- from paraview.simple import * reader = servermanager.sources.LegacyVTKReader() reader.FileNames = [ /.../1.vtk , /.../2.vtk ] reader.UpdatePipeline() SetActiveSource(reader) aContour = Contour(Input = reader) aContour.ContourBy = alpha1 aContour.Isosurfaces = [0.5] Show(aContour) Render() #from this point it doesn't work exporters = servermanager.createModule(exporters) VRMLExporter = servermanager.exporters.VRMLExporter( ? , FileName= /.../output_1.vrml ) #-- Can anyone help me, I'm totally lost with the export part ? (but if you see others problems please tell me!) Regards, Yann ___ 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] Indication of delay between interactive and still render?
That is really a good point. The more I use it, the more I realize this is absolutely essential. But how ? :). What could serve as a good indication? Utkarsh On Tue, Jun 22, 2010 at 12:00 PM, Moreland, Kenneth kmo...@sandia.gov wrote: I just got a chance to try out the new feature that pauses for 2 seconds between the last interactive render and the still render to give you a chance to make further movements (http://paraview.org/Bug/view.php?id=10232). Totally cool. One thing I noticed though is that there is no indication of an intentional pause. Is there a subtle way to let the user know when the interface is pausing and when it is busy rendering? Or is it fine the way it is? -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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] Indication of delay between interactive and still render?
All are good suggestions but won't it confuse people into thinking that paraview is busy doing something which may result in people waiting to interact until the overlay disappears which till have totally reverse effect :). Utkarsh On Thu, Jun 24, 2010 at 10:44 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Me too but as a count down... On Thu, Jun 24, 2010 at 8:38 PM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: On Thu, Jun 24, 2010 at 8:31 PM, David Thompson dcth...@sandia.gov wrote: That is really a good point. The more I use it, the more I realize this is absolutely essential. But how ? :). What could serve as a good indication? 1. Different colors on the border surrounding the pane (but this competes with the red/blue indicating which pane is Active) 2. An LED-like glyph in the pane's title bar? 3. A small overlay in one corner of the pane? (Ken's favorite: a pie chart showing either time remaining before a still render or time spent waiting for a still render to finish. :-) You beat me to it - I was just writing we could add a small overlay in a corner of the display to give the user a subtle visual cue. Option 3 gets my vote too ;-) Marcus On Tue, Jun 22, 2010 at 12:00 PM, Moreland, Kenneth kmo...@sandia.gov wrote: I just got a chance to try out the new feature that pauses for 2 seconds between the last interactive render and the still render to give you a chance to make further movements (http://paraview.org/Bug/view.php?id=10232). Totally cool. One thing I noticed though is that there is no indication of an intentional pause. Is there a subtle way to let the user know when the interface is pausing and when it is busy rendering? Or is it fine the way it is? -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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 ___ 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] Rescale to Data Range fails
Can you try running paraview as follows and see if the problem goes away? ./paraview -dr Utkarsh On Fri, Jun 25, 2010 at 2:39 AM, kenichiro yoshimi rccm.kyosh...@gmail.com wrote: Hi all, I just tried the following using ParaView 3.8.0: 1. Sources-Wavelet-Apply 2. Object Inspector: Dispaly tab-Representation: Wireframe - Color by: RTData But Data Range displays [0, 1] inspite of [37.3531, 276.829] and Rescale to Data Range button does't work. Is this a ParaView bug? Thanks, yoshimi ___ 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] Indication of delay between interactive and still render?
That's neat idea...let's stick with that. I've added a feature request: http://paraview.org/Bug/view.php?id=10893 Utkarsh On Fri, Jun 25, 2010 at 2:56 AM, David Thompson dcth...@speakeasy.net wrote: All are good suggestions but won't it confuse people into thinking that paraview is busy doing something which may result in people waiting to interact until the overlay disappears which till have totally reverse effect :). Well, then we'll have to come up with some subtle psychological twist to let people know. Perhaps the overlay could be of a prone person who, after 2 seconds, stands up and performs calisthenics until the still render is complete. ;-) Or more seriously, the overlay could be present during all interactive rendering and just start counting down (I still prefer a clock-like wedge to a countdown, especially given that it's a short 2-second interval) when the mouse is released. That way the overlay's presence indicates interactive rendering, a modified form would indicate the still rendering is being performed, and its absence indicates that the image is a completed still rendering. David On Thu, Jun 24, 2010 at 10:44 PM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Me too but as a count down... On Thu, Jun 24, 2010 at 8:38 PM, Marcus D. Hanwell marcus.hanw...@kitware.com wrote: On Thu, Jun 24, 2010 at 8:31 PM, David Thompson dcth...@sandia.gov wrote: That is really a good point. The more I use it, the more I realize this is absolutely essential. But how ? :). What could serve as a good indication? 1. Different colors on the border surrounding the pane (but this competes with the red/blue indicating which pane is Active) 2. An LED-like glyph in the pane's title bar? 3. A small overlay in one corner of the pane? (Ken's favorite: a pie chart showing either time remaining before a still render or time spent waiting for a still render to finish. :-) You beat me to it - I was just writing we could add a small overlay in a corner of the display to give the user a subtle visual cue. Option 3 gets my vote too ;-) Marcus On Tue, Jun 22, 2010 at 12:00 PM, Moreland, Kenneth kmo...@sandia.gov wrote: I just got a chance to try out the new feature that pauses for 2 seconds between the last interactive render and the still render to give you a chance to make further movements (http://paraview.org/Bug/view.php?id=10232). Totally cool. One thing I noticed though is that there is no indication of an intentional pause. Is there a subtle way to let the user know when the interface is pausing and when it is busy rendering? Or is it fine the way it is? -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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 ___ 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:
Re: [Paraview] error with vtkAMRDualGridHelper
That's definitely a bug. I'll take a look. Utkarsh On Fri, Jun 25, 2010 at 4:43 PM, Favre Jean jfa...@cscs.ch wrote: I have my own reader for AMR data which produces only PointData, no CellData. When doing Contour (with a recent CVS version), I get errors like this, and then a crash: ERROR: In /local/data/jfavre/ParaView3/Servers/Filters/vtkAMRDualGridHelper.cxx, line 727 vtkAMRDualGridHelper (0x2abe6e0): Could not find the data type size. Can the Grid Helper not handle PointData only? - 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] Parallel standalone
Can Paraview be used with multiple processors in a stand-alone mode? How would I set this up? Not really. You can always run the pvserver on the same machine in parallel and then connect with the client to the pvserver on localhost. 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] Contours of streamlines crashing
Berk and I just looked at this issue. We've committed a fix. Attached is the patch. commit dc771ff1eed2ee95284cbc7d06bac1564603035e Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Mon Jun 28 16:55:41 2010 -0400 Resize cell scalars when inadequate. Utkarsh On Tue, May 11, 2010 at 3:47 PM, David Borland borl...@renci.org wrote: I played around with this some more. Looks like I *can* replicate it with RectGrid2.vtk I'm using the regular Stream Tracer with a Point Source (not the Custom Source version with a Mask Points input), and changing the number of points to 10. Then applying a Contour filter on the Integration Time to generate particles. This works fine for the default settings of the Stream Tracer. However, if I change the Maximum Error to 1e-10, it crashes (again, only when attached to a Contour Filter). This is beginning to make some sense to me (I think). Because Runge-Kutta 4-5 is an adaptive integrator, the step size is decreased to match the error. Something similar must have been happening with my other data set, but because the scale of the data was different, a different Maximum Error was causing the crash. I think the Contour Filter is having issues when individual points on the streamlines are too close together. I've attached a python trace that works. However, changing the Maximum Error to 1e-10 causes a crash. Here is the location in the ContourFilter that is causing problems: #12 0x7fffe7b66f93 in vtkContourFilter::RequestData (this=0x23f58e0, request=0x21ce010, inputVector=0x238cc90, outputVector=0x2387d60) at /home/borland/dev/ParaView-3.8.0-RC2/VTK/Graphics/vtkContourFilter.cxx:549 549 cellScalars-Delete(); Favre Jean wrote: From: David Borland [borl...@renci.org] Sent: Monday, May 10, 2010 5:38 PM To: Favre Jean Cc: Zhanping Liu; paraview@paraview.org Subject: Re: [Paraview] Contours of streamlines crashing Yes, looks like I can't replicate it with RectGrid.vtk either. However I have been able to replicate it with bluntfin.vts... bluntfin.vts works just fine for me. So I can't help unless you tell us with a debugger, where you see a crash. Send your script using the bluntfin.vts file. Jean CSCS ___ 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] Visualizations works converted to python code
ParaView supports tracing your actions into Python as your are doing them in the GUI as well as save the current state in a python script. Refer to http://www.paraview.org/Wiki/Python_GUI_Tools for details. Utkarsh On Tue, Jun 29, 2010 at 7:55 AM, rhush...@iitk.ac.in wrote: Hi, I am working on a set of images and have to carry out many filters and changes in the color schemes before taking a snapshot of it. Can we get our work converted into python code? ... or is the work stored into some python file when we work already? so that we can only change the input file name and run the code on the python shell As our work has been completed already ,so this would be very helpful to run it on multiple files. One more doubt : how do we use the exported color scheme in paraview from python shell ? Thank You in advance Rhushabh Bhandari ___ 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] crashes in loading vtu in pvserver/client mode
Any possibility of sharing a sample dataset with which this can be reproduced? Utkarsh On Tue, Jun 29, 2010 at 3:38 AM, Philippe David pda...@scconsultants.com wrote: Hello , for many versions we faced regular crashes when loading a vtu in client/server mode. The same problem remains with V3.8.0 error message from putty(openSSH terminal) Using keyboard-interactive authentication. Password: Listen on port: 1 Waiting for client... Client connected. ERROR: In /home/kitware/ParaView3/Utilities/BuildScripts/ParaView-3.6/ParaView3/VTK/IO/vtkXMLDataReader.cxx, line 544 vtkXMLUnstructuredGridReader (0xb0d4f0): Cannot read cell data array EpsXX(1/s) from PointData in piece 0. The data array in the element may be too short. 1/ generally, the problem occurs on vectors data 2/ the vtu loading works fine when loading locally 3/ the same problem occurs whith differents pvservers installations 4/ the server is a linux based and we use the pre-compiled versions from http://www.paraview.org thanks for any support in this critical issue for us. -- Philippe DAVID Sciences Computers Consultants office:33(0)4-77-49-75-80 mobile:33(0)6-08-47-64-38 ___ 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] Problems building 3.8.0 for 64-bit Mac
If you look at Qt/Widgets/CMakeLists.txt, around line #79, it doesn't add pqProgressBarHelper.cxx as a source to compile on macs, instead it uses pqProgressBarHelper.mm. Now the question why isn't that happening in your case. Try adding the following; message( Q_WS_MAC == ${Q_WS_MAC}) What does that print out when you run cmake? Utkarsh On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina ben.med...@gmail.com wrote: Hello, I just downloaded the 3.8.0 source and am trying to compile a 64-bit version on Mac OS 10.5. During the build of the pqWidgets target, this error occurs: .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type 'class QObject' is not a direct base of 'pqProgressBarHelper' There seems to be an error in the source. Here's the class declaration in pqProgressBarHelper.h: #ifdef Q_WS_MAC class pqProgressBarHelper : public QWidget #else class pqProgressBarHelper : public QObject #endif But then in the constructor in pqProgressBarHelper.cxx is this: pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p) : QObject(p), Progress(p) { } Any ideas? Thanks, Ben ___ 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] String Property for animation comparative view
This isn't currently support, but definitely a good feature to support. Feel free to add a feature request to the bug-traker (http://www.paraview.org/Bug) Utkarsh 2010/6/17 Aurélien Marsan aurelien.mar...@ecl2009.ec-lyon.fr: Hi, The Animation view, or comparative view inspector, only accept values. (integers floats) I think it would be great to can change a property of a filter that is a string (as the file name of a reader for example...). What to you mean about that ? Regards, -- Aurélien MARSAN Doctorant Cifre Turbomeca/LMFA aurelien.mar...@ecl2009.ec-lyon.fr 06.31.98.26.73 ___ 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] Changing the Orientation Axes
From Edit | View Settings menu, in the View Settings dialog, go to the Annotation page. There you can change the outline color and text color for the axes. You can set to be interactive and the move it to the location you want or change the size. You cannot, however change the color of the axes themselves. Utkarsh On Thu, Jul 1, 2010 at 2:08 PM, Michael Cohen mco...@caltech.edu wrote: Hi all, I'm a fairly regular paraview user, but I have never been able to figure out how to make changes to the orientation axes. They always appear in the lower left, they always have the same colour scheme, and size. How can I change their position, colour, and size? Thanks, Michael ___ 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] adding a custom view
The pqGenericViewModule has been replaced by pqView.h. You may want to look at Examples/Plugins/GUIView/ in the ParaView source for an updated version of that plugin example. Utkarsh On Thu, Jul 1, 2010 at 1:23 PM, Didier Roissé didier.roi...@gmail.com wrote: Hello, I try to follow the wiki adding a custom view (http://paraview.org/Wiki/Plugin_HowTo#Adding_a_custom_view), but when I built , I have this following error : MyView.h:1:33: error: pqGenericViewModule.h: No such file or directory I use the version 3.8.0 of Paraview. Do you have an idea of what happens ? Best Regards, Didier Roissé ___ 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] Changing the Orientation Axes
Also, not possible currently. Feel free to add a feature request to the bug tracker however. http://www.paraview.org/Bug Utkarsh On Thu, Jul 1, 2010 at 2:55 PM, Michael Cohen mco...@caltech.edu wrote: On 07/01/2010 11:36 AM, Utkarsh Ayachit wrote: From Edit | View Settings menu, in the View Settings dialog, go to the Annotation page. There you can change the outline color and text color for the axes. You can set to be interactive and the move it to the location you want or change the size. You cannot, however change the color of the axes themselves. Great. What about changing the size and shape of the arrows themselves, giving them thicker stems etc? Michael ___ 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] Add logo to animation
It is possible to set a background image in paraview. Create a large image with a log at one corner and then set that as the background image. Go to Edit | View Settings to change the background image. Utkarsh On Fri, Jul 2, 2010 at 11:44 AM, Carolyn Stancoff cstanc...@gmail.com wrote: I would like to add a logo to my animation. Is there a way in ParaView to do that? Thanks, Carolyn ___ 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] Rv: 1 script open different vtk files
Try putting the file under c:\temp does that help? Utkarsh On Tue, Jul 6, 2010 at 9:01 AM, llapis Pencil llapispen...@yahoo.es wrote: hi again, I tried to run the script through the python shell, but it still comes up errors. The error message is the following: Traceback (most recent call last): File string, line 3, in module File C:\Archivos de programa\ParaView 3.8.0-RC2\lib\paraview-3.8\paraview\simple.py, line 109, in OpenDataFile raise RuntimeError, File not readable: %s % filename RuntimeError: File not readable: C:\Documents and settings\...@\mis documentos\stuttgart\hiwi\outputtk\output\out1-1.vtk Does someone knows why is still not working? It seems that it can not read the vtk files. I tried different many details like change for 'or putting only the filename (not the whole file extension). The Render should be reffered to somewhere or it's ok with an empty ( ) ? or it's a problem of the file type? #The python script is the following: from paraview.simple import * reader1 = OpenDataFile('C:\Documents and Settings\output\out1-1.vtk') reader2 = OpenDataFile('C:\Documents and Settings\output\out1-2.vtk') reader3 = OpenDataFile('C:\Documents and Settings\output\out1-3.vtk') reader4 = OpenDataFile('C:\Documents and Settings\output\out1-4.vtk') Show(reader1) Show(reader2) Show(reader3) Show(reader4) Render() # Thanks again - Mensaje reenviado De: Utkarsh Ayachit utkarsh.ayac...@kitware.com Para: llapis Pencil llapispen...@yahoo.es CC: PARAVIEW paraview@paraview.org Enviado: jue,1 julio, 2010 16:18 Asunto: Re: [Paraview] 1 script open different vtk files I believe you are trying to open the python script as a data-file from File |Open menu-option. To run a python script from the GUI, you open the Python shell from Tools | Python Shell menu and then click Run Script on the bottom-left corner to load the script to run. Utkarsh On Wed, Jun 30, 2010 at 6:46 AM, llapis Pencil llapispen...@yahoo.es wrote: hi again, thanks for the response. So i understand i have to create a file contraining this information (reffering to my files) to open it later directly with Paraview. Which type of file should be? because i tried many files and still not work. Paraview ask me to chose a reader to open it. Maybe I should know also which reader. Here is the information contained in the file to be open. from paraview.simple import * reader1 = OpenDataFile(“out1-1.vtk”) reader2 = OpenDataFile(out1-2.vtk) reader3 = OpenDataFile(“out1-3.vtk”) reader4 = OpenDataFile(out1-4.vtk) Show(reader1) Show(reader2) Show(reader3) Show(reader4) Render() De: Utkarsh Ayachit utkarsh.ayac...@kitware.com Para: llapis Pencil llapispen...@yahoo.es CC: PARAVIEW paraview@paraview.org Enviado: mié,23 junio, 2010 16:08 Asunto: Re: [Paraview] 1 script open different vtk files # for paraview 3.8.0 or greater. from paraview.simple import * reader1 = OpenDataFile(“file1”) reader2 = OpenDataFile(file2) Show(reader1) Show(reader2) ... Render() On Wed, Jun 23, 2010 at 9:35 AM, llapis Pencil llapispen...@yahoo.es wrote: Hi again, thanks for the response. Now my question is how can i create a script which tells PARAVIEW to open a certain number of vtk files at once and visualize them all together? Thanx one more time ___ 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 ___ 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] .idb and .lib vs .dll?
Are you sure you built your ParaView with BUILD_SHARED_LIBS ON? Utkarsh On Tue, Jul 6, 2010 at 7:07 AM, Fred Fred stan1...@hotmail.fr wrote: Hello, I have built PV with VS2008 and shared libs. When I compile my plugins, it creates for each one a .idb and a .lib file, while it seems that only .dll are expected as plugins. Should I ask CMake to create a .dll instead and how? Votre vie privée l'est-elle vraiment ? Internet Explorer 8 vous protège gratuitement ___ 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] volumetric glyph
Are you clipping the original dataset and then applying glyph or are you clipping the result of the glyph filter? In other words which of the following two pipelines describes your case: 1 DataSource - Clip - Glyph 2 DataSource - Glpyh - Clip Utkarsh On Wed, Jul 7, 2010 at 11:30 AM, Pawel Krupinski exme...@yahoo.com wrote: Hi, I have some particle data (points with other data) to which I can attach different glyphs.That works fine except of when I make a clip of it. The glyphs are limited to polyData so they display only surface, which is problematic for me since I would like the clipped surface to be solid. Therefore my question: is there any way of making volumetric glyphs (like solid ball) or any other solution to this problem? Thanks, Pawel ___ 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 side to server side plugin
In non-trivial cases, every box needs it's own compilation of the plugin. So you will have to compile the plugin for both windows and linux and then load the appropriate version on each process using the plugin manager. Utkarsh On Thu, Jul 8, 2010 at 8:54 AM, Johnson, Duncan (UK) duncan.john...@baesystems.com wrote: Hello all, I have some plugins on a linux box that work as client side plugins. I would like to be able to connect to the linux box from a windows box using pvserver and use the existing plugins. I quickly found out that I couldn't just load the existing libraries as server side plugins. What do I have to do to enable them? Can this be done without compiling on the windows side? I have tried the REQUIRED_ON_SERVER flag in the CMakeLists but would need some GUI XML (I think) on the client side? Many thanks, Duncan ___ Duncan Johnson Senior Electromagnetics Engineer [ASFC Local IT Administrator] LO Engineering BAE Systems W392A Warton Aerodrome Preston PR4 1AX Contact: Tel: +44 (0) 1772 (8)58347 Email: duncan.john...@baesystems.com ___ BAE Systems (Operations) Limited: Registered Office: Warwick House PO Box 87 Farnborough Aerospace Centre Farnborough, Hants GU14 6YU, UK Registered in England Wales No: 1996687 ___ 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] Client side to server side plugin
If it's just a reader without any custom GUI panels or Qt resource files then, you can simply load the server side plugin. There's no need to load the plugin on the client-side, in that case. Utkarsh On Thu, Jul 8, 2010 at 10:03 AM, Johnson, Duncan (UK) duncan.john...@baesystems.com wrote: Thanks for your reply Utkarsh, I'll have to sort myself out with a windows compiler etc. The reason I asked was I have custom readers on my linux box and thought I could get away with not having to have them on the Windows machine. Cheers, Duncan ___ Duncan Johnson Senior Electromagnetics Engineer [ASFC Local IT Administrator] LO Engineering BAE Systems W392A Warton Aerodrome Preston PR4 1AX Contact: Tel: +44 (0)1772 (8)58347 Email: duncan.john...@baesystems.com ___ BAE Systems (Operations) Limited Registered Office: Warwick House PO Box 87 Farnborough Aerospace Centre Farnborough, Hants GU14 6YU, UK Registered in England Wales No: 1996687 ___ -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: 08 July 2010 14:53 To: Johnson, Duncan (UK) Cc: paraview@paraview.org Subject: Re: [Paraview] Client side to server side plugin *** WARNING *** This message has originated outside your organisation, either from an external partner or the Global Internet. Keep this in mind if you answer this message. In non-trivial cases, every box needs it's own compilation of the plugin. So you will have to compile the plugin for both windows and linux and then load the appropriate version on each process using the plugin manager. Utkarsh On Thu, Jul 8, 2010 at 8:54 AM, Johnson, Duncan (UK) duncan.john...@baesystems.com wrote: Hello all, I have some plugins on a linux box that work as client side plugins. I would like to be able to connect to the linux box from a windows box using pvserver and use the existing plugins. I quickly found out that I couldn't just load the existing libraries as server side plugins. What do I have to do to enable them? Can this be done without compiling on the windows side? I have tried the REQUIRED_ON_SERVER flag in the CMakeLists but would need some GUI XML (I think) on the client side? Many thanks, Duncan ___ Duncan Johnson Senior Electromagnetics Engineer [ASFC Local IT Administrator] LO Engineering BAE Systems W392A Warton Aerodrome Preston PR4 1AX Contact: Tel: +44 (0) 1772 (8)58347 Email: duncan.john...@baesystems.com ___ BAE Systems (Operations) Limited: Registered Office: Warwick House PO Box 87 Farnborough Aerospace Centre Farnborough, Hants GU14 6YU, UK Registered in England Wales No: 1996687 ___ 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] External execution of python code related to paraview
Also, you can directly use a regular python interpretor so long as the the environment is setup correctly. Refer to: http://www.paraview.org/Wiki/ParaView/EnvironmentSetup Utkarsh On Fri, Jul 9, 2010 at 8:50 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Instead of launching the graphical interface of ParaView, you can launch the pvpython executable which is a python shell from where you should be able to execute your script. And I think you can directly provide a script as argument so you should be able to execute your script in one command line. Seb On Fri, Jul 9, 2010 at 1:06 AM, rhush...@iitk.ac.in wrote: Hi, Thanks a lot for all the help given before. Please could you tell me that can I open run the python code from outside paraview (without opening any instance of paraview), and get the output images(snapshots/full 3-D images) after execution of the code. Thank You in advance Rhushabh Bhandari ___ 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] Reset camera center of rotation
Try the following: ResetCamera() view = GetActiveView() view.CenterOfRotation = GetActiveCamera().GetFocalPoint() Render() On Fri, Jul 9, 2010 at 11:58 AM, Laurent Vanboquestal laurent.vanboques...@gmail.com wrote: Hello, I would like to know if there is a (python) way to reset the center of rotation (like the Reset button in the paraview GUI/Camera toolbar) ? I notice that the ResetCamera() function doesn't reset the center of rotation Any idea? Best Regards, Laurent ___ 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] Plot field data over time?
Eric, If I remember correctly, this filter is designed to work with ExodusIIReader alone. Exodus puts what it calls Global Variables in the FieldData, and this filter is generating a plot for that. It shouldn't be too hard to create a Plot FieldData Over Time filter modeled on vtkExtractArraysOverTime. Utkarsh On Fri, Jul 9, 2010 at 4:49 PM, Eric E. Monson emon...@cs.duke.edu wrote: Hello, I am trying to understand the Plot Global Variables Over Time filter. I have an unstructured grid with multiple time steps I'm reading in to ParaView from a temporal collection in an Xdmf file. With each time step I have a Grid centered value that's getting read in properly as Field Data. It sounded from the (?) button help file that Plot Global Variables Over Time should allow me to plot this Field Data over time, but when I run it I only get Time and vtkValidPointMask in the resulting Row Data. Am I misunderstanding the use/point of this filter? Thanks, -Eric -- Eric E Monson Duke Visualization Technology Group ___ 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] new representations
What do you mean by added specifically for a type. How are you doing that? Utkarsh On Thu, Jul 15, 2010 at 6:31 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I've added a representation to display feature edges but I can't get it to work for all datasets (it is missing for image and unstructured data). It seems that when another representation is added specifically for a type of data set (e.g. volume for unstructured, or slice and volume for image data) it loses all the extra representations from plugins - unless I'm doing something wrong The same happens for the example representation plugin that comes with ParaView. Any advice would be appreciated. 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] new representations
So you must have an Extension element for GeometryRepresentation in your plugin. You need to add Extension elements for UniformGridRepresentation and UnstructuredGridRepresentation as well. Utkarsh On Thu, Jul 15, 2010 at 10:32 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: The difference is due to vtkSMRenderViewProxy::CreateDefaultRepresentation returning either an UnstructuredGridRepresentation for unstructured data, UniformGridRepresentation for image data and GeometryRepresentation for other datasets. The representations from the plugins only appear with the GeometryRepresentation. Do you know how to fix this? Thanks, Paul On 15 July 2010 13:58, Paul Edwards paul.m.edwa...@gmail.com wrote: By added specifically for a type I was referring to how ParaView adds a volume representation for unstructured dataset (and volume and slice for an image dataset). I would like my representation to be available for all datasets. Regards, Paul On 15 July 2010 13:54, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: What do you mean by added specifically for a type. How are you doing that? Utkarsh On Thu, Jul 15, 2010 at 6:31 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I've added a representation to display feature edges but I can't get it to work for all datasets (it is missing for image and unstructured data). It seems that when another representation is added specifically for a type of data set (e.g. volume for unstructured, or slice and volume for image data) it loses all the extra representations from plugins - unless I'm doing something wrong The same happens for the example representation plugin that comes with ParaView. Any advice would be appreciated. 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] python and *.vtk
There's a bug in 3.8.0 in OpenDataFile() which will be fixed in 3.8.1 (already fixed in release branch). Use the attached script as a sample. It has a newer fixed version of OpenDataFile(). The second sample you used was incorrect since you are mixing VTK-python scripting with ParaView's python scripting. Utkarsh On Thu, Jul 15, 2010 at 9:00 AM, llapis Pencil llapispen...@yahoo.es wrote: Hi once again, I still haven't achieve to open the *.vtk file with a python script. I tried mainly two different ways: 1. Has you said, with the OpenDataFile command. But I get the error below, as it could not read *.vtk file. #Python script from paraview.simple import * reader = OpenDataFile(C:/Documents and Settings/Nit@/Escritorio/pet/out1-1.vtk) Show(reader) Render() ## #error on the python shell Traceback (most recent call last): File string, line 2, in module File C:\Archivos de programa\ParaView 3.8.0\lib\paraview-3.8\paraview\simple.py, line 115, in OpenDataFile reader = globals()[xml_name](FileName=filename, **extraArgs) File C:\Archivos de programa\ParaView 3.8.0\lib\paraview-3.8\paraview\simple.py, line 542, in CreateObject setattr(px, param, params[param]) File C:\Archivos de programa\ParaView 3.8.0\lib\paraview-3.8\paraview\servermanager.py, line 201, in __setattr__ to add this attribute.) AttributeError: Attribute FileName does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute. ## Do someone know what should I change or what 's wrong? 2. I searched for a specific vtk reader and I found in internet (https://visualization.hpc.mil/wiki/VTK_in_Python) the following solution and getting the following error: #python script from vtk import *; reader = vtkDataSetReader() reader.SetFileName(out1-1.vtk) Show(reader4) Render() ### #error on the python shell Traceback (most recent call last): File string, line 1, in module ImportError: No module named vtk ### I download the vtk source http://www.vtk.org/VTK/resources/software.html and installed the latest verion for Windows. If I had not understood bad I made what was necessary (https://visualization.hpc.mil/wiki/Getting_Started_with_VTK). But still doesn't recognize the vtk library. Does someone know what's wrong? or how paraview could recognize the vtk library? Thanks you for advance and sorry for the inconviniences. Llapis ___ 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 from paraview.simple import * def OpenDataFile(filename, **extraArgs): Creates a reader to read the give file, if possible. This uses extension matching to determine the best reader possible. If a reader cannot be identified, then this returns None. reader_factor = servermanager.ProxyManager().GetReaderFactory() if reader_factor.GetNumberOfRegisteredPrototypes() == 0: reader_factor.RegisterPrototypes(sources) cid = servermanager.ActiveConnection.ID if not reader_factor.TestFileReadability(filename, cid): raise RuntimeError, File not readable: %s % filename if not reader_factor.CanReadFile(filename, cid): raise RuntimeError, File not readable. No reader found for '%s' % filename prototype = servermanager.ProxyManager().GetPrototypeProxy( reader_factor.GetReaderGroup(), reader_factor.GetReaderName()) xml_name = paraview.make_name_valid(prototype.GetXMLLabel()) if prototype.GetProperty(FileNames): reader = globals()[xml_name](FileNames=filename, **extraArgs) else : reader = globals()[xml_name](FileName=filename, **extraArgs) return reader OpenDataFile(/tmp/foo.vtk) Show() Render() ___ 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] new representations
Not currently. However you can try to keep the copy-pasted code minimal by using a separate definition for your representation as done in the example on wiki. http://www.paraview.org/Wiki/Plugin_HowTo#Adding_new_Representations_for_3D_View_using_Plugins__.2A_new_in_version_3.7 Utkarsh On Thu, Jul 15, 2010 at 10:46 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: I've just copied the Extension tag for each and it seems to work - is there a better way than to Copy Paste for each? Thanks, Paul On 15 July 2010 15:33, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: So you must have an Extension element for GeometryRepresentation in your plugin. You need to add Extension elements for UniformGridRepresentation and UnstructuredGridRepresentation as well. Utkarsh On Thu, Jul 15, 2010 at 10:32 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: The difference is due to vtkSMRenderViewProxy::CreateDefaultRepresentation returning either an UnstructuredGridRepresentation for unstructured data, UniformGridRepresentation for image data and GeometryRepresentation for other datasets. The representations from the plugins only appear with the GeometryRepresentation. Do you know how to fix this? Thanks, Paul On 15 July 2010 13:58, Paul Edwards paul.m.edwa...@gmail.com wrote: By added specifically for a type I was referring to how ParaView adds a volume representation for unstructured dataset (and volume and slice for an image dataset). I would like my representation to be available for all datasets. Regards, Paul On 15 July 2010 13:54, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: What do you mean by added specifically for a type. How are you doing that? Utkarsh On Thu, Jul 15, 2010 at 6:31 AM, Paul Edwards paul.m.edwa...@gmail.com wrote: Hi, I've added a representation to display feature edges but I can't get it to work for all datasets (it is missing for image and unstructured data). It seems that when another representation is added specifically for a type of data set (e.g. volume for unstructured, or slice and volume for image data) it loses all the extra representations from plugins - unless I'm doing something wrong The same happens for the example representation plugin that comes with ParaView. Any advice would be appreciated. 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] How to do volume rendering of image data?
Steve, Try this: * Create Wavelet source * Hit Apply * Then choose Volume from the representation combo. That's an example of volume rendering of image data. How let's see what's missing with your data so that it cannot be volume rendered. Look at the information tab. Do you see any single component point-scalars? Mostly not. ParaView only supports volume rendering of image data with single component point scalars. Utkarsh On Sat, Jul 17, 2010 at 2:38 AM, Steve Huntley step...@xhuntley.net wrote: Up to now I have been working with version 3.2. I just installed version 3.8 to see if there were any differences in behavior. In version 3.8 I'm not allowed to do volume rendering at all. When I try to set the Volume representation option (which resulted in display of a black block in 3.2), I now get an error message that says Cannot volume render since no point (or cell) data available. Has the volume-rendering-of-image-data feature been excised from version 3.8? --Steve H. Moreland, Kenneth wrote: Hmm... That might be a gap in ParaView functionality. Do you have an example data set you could send to the group? -Ken On 7/16/10 1:29 AM, Steve Huntley step...@xhuntley.net wrote: Thanks for responding. The thing is, I don't want to color my data at all, I just want to have the original colors in the data file displayed. I uncheck the map scalars option, and this gives me the black block. I can use the slice filter to see that my properly colored data is embedded in the block. But I see no way to force the black pixels to be transparent, so the data within is not visible. ___ 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] PV 3.8-rc run via ssh crashes X - GLX bug?
I don't think this could be related to BUG #10621. You would have seen the crash on startup, rather than closing a window, if it was due to the issue in BUG #10621. Utkarsh On Mon, Jul 19, 2010 at 10:38 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: I run PV 3.8-rc on linux 2.6.18-164.6.1.el5 x86_64 via ssh -X. I run X server on FreeBSD 9.0-current amd64. Closing any PV pop up window, or the main PV window crashes X. I understand this could be nothing to do with PV, but could this be related to this GLX bug: http://cmake.org/Bug/view.php?id=10621 ? Looking at xdm coredump, I see this line: #7 0x000802256a4b in DrawableGone () from /usr/local/lib/xorg/modules/extensions/libglx.so I asked in FBSD mailing lists, but no advice so far. Please comment/advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ 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] rotate 2D-Image
You can try the Transform filter. Utkarsh On Tue, Jul 20, 2010 at 5:46 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: Hi there, I have a 2D-dataset and I would like to view it rotated around 90°. Is there any possibility to do this? Thanks a lot and greets, Natalie Más herramientas para una vida más práctica. Estamos reinventando un nuevo Hotmail. Ver más ___ 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] rotate 2D-Image
Unfortunately you can't rotate images in ParaView. However, is this a png or something like that? In that case, you can create a Plane (Sources | Plane), transform it to the location/orientation you want, then from the display tab, load the the image as a texture using Apply Texture combo-box. Utkarsh On Tue, Jul 20, 2010 at 8:57 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: I'm afraid the Transform filter is not available for me. I have a 2D dataset of the type Image data (Uniform Rectilinear Grid). Greets, Natalie Date: Tue, 20 Jul 2010 08:16:24 -0400 Subject: Re: [Paraview] rotate 2D-Image From: utkarsh.ayac...@kitware.com To: natalieh...@hotmail.com CC: paraview@paraview.org You can try the Transform filter. Utkarsh On Tue, Jul 20, 2010 at 5:46 AM, Natalie Happenhofer natalieh...@hotmail.com wrote: Hi there, I have a 2D-dataset and I would like to view it rotated around 90°. Is there any possibility to do this? Thanks a lot and greets, Natalie Más herramientas para una vida más práctica. Estamos reinventando un nuevo Hotmail. Ver más ___ 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 Para que tu tiempo sea sólo tuyo, estamos reinventando un nuevo Hotmail. Descúbrelo. Ver más ___ 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] Scientific Visualization with Web3D Workshop
Folks, If you are going to be in the LA area this weekend, for SIGGRAPH 2010 possibly, you may want to check out the Web3D 2010 Conference that's co-located with SIGGRAPH (July 24-25). I will be presenting a talk at the Scientific Visualization with Web3D workshop on Saturday. The workshop aims at highlighting recent technological advances in using Web3D and other web technologies for end user visualization of simulation results. My talk will be focusing on the ParaView's Web Visualization platform that, as some of you may already know, Kitware is actively developing. Details about the workshops are at: http://web3d.org/conferences/web3d2010/workshops Additional information about the conference can be found at: http://web3d.org/conferences/web3d2010/ 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] Data selection with tiled-display
That is correct. Selection on tile-displays isn't supported yet. Utkarsh On Mon, Jul 26, 2010 at 6:56 AM, Christoph Willing c.will...@uq.edu.au wrote: We have paraview 3.8.0. running in a tiled display (20x pvserver instances to make a 4x5 display). In general, everything works as expected. However while working through the tutorial (ParaViewTutorial38.pdf) I found that exercise 2.18 (selection of cells or points with the mouse) causes all the pvserver instances to crash. There's no informative error message, just something along the lines that failure of rank #n caused a shutdown. This seems to be a problem only in tiled display mode. If I change to client/server mode with just a single pvserver (either remote or localhost), the data selection works fine. Its a problem only in tiled display mode. All other tutorial exercises work fine. Could anyone confirm that the data selection functionality as per the tutorial is (or isn't) working for them with paraview 3.8.0 on a tiled display please? chris P.S. I'm running SLackware 13.0 with mpich2-1.2.1p1 and paraview-3.8.0. The display cluster consists of 5 machines, each driving 4x 1920x1200 LCD's i.e. 4x pvserver instances per machine Christoph Willing +61 7 3365 8316 QCIF Access Grid Manager University of Queensland ___ 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] PV 3.8.0 three same size windows
Unfortunately, currently you have to do it manually. However, with 3.10 we plan to provide a python API to size/resize windows which will make this easier. Utkarsh On Wed, Jul 28, 2010 at 3:23 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: If I split a single window, I get two equally sized windows. How can I split to get three equally sized windows? Hope my question is clear. Thanks, Stephen p.s. I split one of the two windows, I get three windows with sizes 1/2, 1/2, and 1/4 -- stephen.wor...@sophia.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] Load plugin when paraview built in static
You need to build with shared libraries in order to load plugins dynamically. If you are interested in knowing about static plugins, refer to: http://www.paraview.org/Wiki/Plugin_HowTo#Plugins_in_Static_Applications Utkarsh On Wed, Jul 28, 2010 at 3:41 AM, Didier Roissé didier.roi...@gmail.com wrote: Hello, I build paraview with my plugin in static mode (on windows). Is this plugin automatically loaded in paraview ? Or I need to build paraview with shared libraries to load my plugin ? Best regards, Didier Roissé ___ 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.8.0 build fails on qhelpgenerator command
Rick, Any reason why you are using Qt 4.5? The official Qt version for ParaView 3.8 is Qt 4.6. Utkarsh On Mon, Jul 26, 2010 at 12:34 PM, Rick Angelini rick.angel...@us.army.mil wrote: I am having problems building 3.8.0 on a SGI Altix system running SLES 10. The problem lies in qt-4.5.2/bin/qhelpgenerator: cd /usr/people/cse/CSE/build_visualization_weekly/CMakeExternals/Build/paraview-3.8.0/Documentation /mnt/lustre/usrcta/CSE.072210/Release/qt-4.5.2/bin/qhelpgenerator /usr/people/cse/CSE/build_visualization_weekly/CMakeExternals/Build/paraview-3.8.0/Documentation/paraview.qhp -o /usr/people/cse/CSE/build_visualization_weekly/CMakeExternals/Build/paraview-3.8.0/Documentation/paraview.qch Building up file structure... QSqlQuery::value: not positioned on a valid record Cannot register namespace paraview.org! Sometimes, if I immediately re-run the make command, I am able to get past this error and build completes. ___ 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 loading plugin in Python ...
Can you try setting the environment variable PV_PLUGIN_DEBUG=1 before running pvpython and then post the generated output. Looks like ParaView wasn't able to load the shared library for some reason. Utkarsh On Tue, Jul 27, 2010 at 8:36 AM, Stefan Melber stefan.mel...@dlr.de wrote: Hi, i try to use the SurfaceLIC in combination with python. Running the SurfaceLIC from the GUI it works fine (only when use the 185.18.31 Nvidia-driver, with newer drivers it crashes). Now i use this script to run the stuff in batch (means pyton) mode: from paraview.servermanager import * Connect() LoadPlugin(/opt/PARAVIEW_3_8/ParaView-3.8.0-RC2-Linux-x86_64/lib/paraview-3.8/libSurfaceLIC.so, False) LoadState(alvlic.pvsm) view = GetRenderView() view.WriteImage(test.png, vtkPNGWriter, 1) In this case i get the error: AUSW_AUTOMATIC_NEW/SURFACE_P_LIC /opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/bin/pvbatch make_pv_pic.py Traceback (most recent call last): File make_pv_pic.py, line 4, in module LoadPlugin(/opt/PARAVIEW_3_8/ParaView-3.8.0-RC2-Linux-x86_64/lib/paraview-3.8/libSurfaceLIC.so, False) File /opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 2116, in LoadPlugin LoadXML(f.read()) File /opt/PARAVIEW_3_8_build/ParaView-3.8.0_bin/Utilities/VTKPythonWrapping/paraview/servermanager.py, line 2085, in LoadXML if not parser.Parse(xmlstring): TypeError: function takes exactly 2 arguments (1 given) I tried to modify the LoadPlugin line giving two arguments - but does not help. What is wrong here? Best regards and thanks in advance... Stefan ___ 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] PV 3.8.0 creating 2D vectors from 3D vectors
Use the following expression instead in your calculator to generate a vector with Z component =0 velocity_X*iHat+velocity_Y*jHat Utkarsh On Thu, Jul 29, 2010 at 7:02 AM, Stephen Wornom stephen.wor...@sophia.inria.fr wrote: I have 2 3D unstructured mesh with vectors. I would like to view only the components in a x-y plane. If I used the glyph2 , I get 3D vectors. How can I set the Vector-Z = 0? Thanks in advance, Stephen p.s. I used the calculator to set vec2d-x = velocity_x vec2d-y = velocity_y but how can I get glyph2 to use the vec2d-x and vec2d-y arrays? Hope my question is clear. -- stephen.wor...@sophia.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] Fwd: Re: crashes in loading vtu in pvserver/client mode
Yes please. That'd be great. Utkarsh On Thu, Jul 29, 2010 at 12:03 PM, Philippe David pda...@scconsultants.com wrote: Hello, when loading vtu in PV under Client(Win)/Serveur(Linux) mode, we get unregular messages The data array in the element may be too short. We found that this occur when values (Float32) are below 1.e-45. ie : PV Loads correctly when all values are bigger than 1.e-45 and warns with The data array in the element may be too short. when at least one value is below 1.e-46. It works fine in local mode for any value. Should I post a bug ? Philippe DAVID Sciences Computers Consultants ___ 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] Bug: Failure to open FLASH file on a PowerBook
Klaus, Can you send us the data again please? Dave is away and not sure when I'd be able to get in touch with him. Utkarsh On Thu, Jul 29, 2010 at 5:06 PM, Klaus Weide kl...@flash.uchicago.edu wrote: Hi, I have just installed ParaView 3.8.0 on a PowerBook G4 (Mac OS X 10.4.11). On opening a FLASH file, I get the output message: Generic Warning: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView/Servers/Filters/vtkFlashReader.cxx, line 764 Inconsistency in the number of blocks. After that, the Object Inspector shows no useful information about the file (other than Filename and Path). I gave Dave DeMarle a copy of the same file, he was able to successfully open it on his laptop. He thinks the problem is caused by the different byte ordering on PowerPC. This should be easy to fix since the underlying file format of the FLASH format is HDF5. Klaus ___ 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] Bug: Failure to open FLASH file on a PowerBook
Klaus, I've tracked this issue down. It was indeed due to byte ordering. The version number was being read incorrectly. Attached is a patch for the fix. It have been committed to git master. I'll ensure that it gets into the 3.8.1 release as well. Utkarsh On Fri, Jul 30, 2010 at 10:22 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Klaus, Can you send us the data again please? Dave is away and not sure when I'd be able to get in touch with him. Utkarsh On Thu, Jul 29, 2010 at 5:06 PM, Klaus Weide kl...@flash.uchicago.edu wrote: Hi, I have just installed ParaView 3.8.0 on a PowerBook G4 (Mac OS X 10.4.11). On opening a FLASH file, I get the output message: Generic Warning: In /Users/partyd/Dashboards/MyTests/ParaView-3-8-0/ParaView/Servers/Filters/vtkFlashReader.cxx, line 764 Inconsistency in the number of blocks. After that, the Object Inspector shows no useful information about the file (other than Filename and Path). I gave Dave DeMarle a copy of the same file, he was able to successfully open it on his laptop. He thinks the problem is caused by the different byte ordering on PowerPC. This should be easy to fix since the underlying file format of the FLASH format is HDF5. Klaus ___ 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 commit f09b2d82b3c70d9a830d244b1be7210e3ec33f49 Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Mon Aug 2 15:33:28 2010 -0400 Fixed FlashReader issues on BigEndian machines. FlashReader was reading the version number information incorrectly on BE machines. Fixed that. diff --git a/Servers/Filters/vtkFlashReader.cxx b/Servers/Filters/vtkFlashReader.cxx index f11228c..5ef9d75 100644 --- a/Servers/Filters/vtkFlashReader.cxx +++ b/Servers/Filters/vtkFlashReader.cxx @@ -30,6 +30,7 @@ #include vtkFlashReader.h +#include vtkByteSwap.h #include vtkPoints.h #include vtkDataSet.h #include vtkPolyData.h @@ -672,6 +673,10 @@ void vtkFlashReaderInternal::ReadVersionInformation( hid_t fileIndx ) H5Tclose( si_type ); H5Dclose( h5_SI ); + // FileFormatVersion is readin as little-endian. On BE machines, we need to + // ensure that it's swapped back to right order. + // The following will have no effect on LE machines. + vtkByteSwap::SwapLE(this-SimulationInformation.FileFormatVersion); this-FileFormatVersion = this-SimulationInformation.FileFormatVersion; } ___ 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] visualize vector data
You might want to try the Glyph filter. Utkarsh On Tue, Aug 3, 2010 at 5:32 AM, je...@gmx.de wrote: Hello Everybody, I'm using ParaView3.8 and I'm trying to visualize 2D images where the entries are 2-component-vectors. i want to visualize the image in a way that the entries are actually shown as vectors. i've already found the possibility to plot the norm of the vectors as well as the 2 components separately, encoded in different colors. Is it possible to do so? Best Regards, Juergen -- Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail ___ 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] Difficulty loading .raw files
Attached is a state file opening your dataset. (If you are using 3.8 or earlier, you'll have to fix the file name in the state xml to match your file location, in git-master, a dialog will popup asking you to fix the filename). Things to change on the object inspector panel: * Data Scalar Type: float * Data Byte Order: LittleEndian * File Dimensionality : 2 * Data Extent 0, 2047, 0, 2047, 0, 0 Utkarsh On Tue, Aug 3, 2010 at 11:24 AM, Ryan Ross rr...@nd.edu wrote: New to paraview and having a lot of trouble loading a handful of raw files. The files are derived from 2048x2048, floating point hdf files with little-endian bit order. I tried to attach a slice, but the file size was too large (16 MB). Could the size be the problem? Because I couldn't attach it, I have put a single slice up here in case it helps: http://www.nd.edu/~rross/ Any help would be appreciated. Thanks -- _ Ryan Ross University of Notre Dame Aerospace and Mechanical Engineering Bioengineering PhD Program 225 Multidisciplinary Research Building Notre Dame, IN 46556 ___ 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 OpenRawFile.pvsm 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] Suggestion about a new feature
Actually, that's already supported (although only in builtin mode currently). Go to Edit | View Settings and the same place where you specify the background color, there are options to load an image. This has been supported since ParaView 3.8. Utkarsh On Thu, Aug 5, 2010 at 9:29 AM, bassaidai bassaid...@gmail.com wrote: Hi, do you think may be possible to select a background image (bmp, png, ...) in the next releases of ParaView (now is possible to change only the background color)? Thank you very much ___ 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] New HDF5 based reader
Hmm, looks like your plugin is linking against a system installed HDF5. Did you change the ParaView to use the same? Otherwise ParaView brings in its own version of HDF5 and the two can't work together. To ensure that ParaView and your plugin uses the same HDF5, set the cmake variable PARAVIEW_USE_SYSTEM_HDF5 to ON and then point CMake to the installed hdf5. Utkarsh On Mon, Aug 9, 2010 at 11:59 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I have been working at trying to get a NeXus (www.nexusformat.org) file read into ParaView. The NeXus format is HDF5 based and this seems to be the source of the current problem that I’m encountering. When I try to open a NeXus file via this call: NeXus::File *fh = new NeXus::File(filename, NXACC_READ); I get the backtrace that’s attached to this email. The lowest level frame is given here: Program received signal SIGSEGV, Segmentation fault. 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 (gdb) bt #0 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 … At first, this looked like an issue with the system HDF5 libraries, but I can put the above line into a standalone program, link it against the same libraries and I can open a file without any errors. I have searched the list archive for any enlightenment, but I didn’t find this particular problem. Is there anything special about using HDF5 libraries in ParaView plugins that I missed in the documentation? I am running on Ubuntu 10.04 using the provided HDF5 libraries and I have compiled and linked the NeXus libraries against the same HDF5 libraries. I know about Xdmf and have tried that with success, but I do not want to go down the two file route, so I’d really like to get this reader working. I can provide more detailed information (like plugin source code, sample file etc.) to anyone who can help, but I don’t want to spam the entire list with it right off the bat. Thanks, Michael --- Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory ___ 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] Debugging vtp file
Yes, point coordinates in poly-data always need to be 3 components, hence the error. Utkarsh On Fri, Aug 20, 2010 at 11:37 AM, Ramsharan r.ramsha...@gmail.com wrote: I have a simple vtp file to draw a 2D triangle. ?xml version=1.0 encoding=utf-8? VTKFile type=PolyData version=0.1 byte_order=LittleEndian PolyData Piece NumberOfPoints=3 NumberOfPolys=1 Points DataArray type=Float32 NumberOfComponents=2 format=ascii 0.0 0.0 1.0 0.0 0.0 1.0 /DataArray /Points Polys DataArray type=Int32 Name=connectivity format=ascii 0 1 2 /DataArray DataArray type=Int32 Name=offsets format=ascii 3 /DataArray /Polys /Piece /PolyData /VTKFile ### When I load it with paraview, I get the following message: vtkPoints: Number of components is different... can't set data. If however, I change NumberOfComponents to 3 and append a 0 at the end of each point's coordinates, it works fine. Anything I am missing? Thanks, Ram. ___ 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