From asche.j at googlemail.com Fri May 1 08:32:40 2015 From: asche.j at googlemail.com (Jonas Asche) Date: Fri, 1 May 2015 14:32:40 +0200 Subject: [Paraview] [import error] Paraview Python on Windows Message-ID: Hello, I am using ParaView-4.2.0-Linux-64bit-gl on Kubuntu 12.04. . I have some python scripts that create pictures and it is working fine. Now i want to use those scripts on Windows 7 64bit. I downloaded ParaView-4.2.0-Windows-64bit and changed PythonPath and Path variable as described in this article: On Linux i have the following settings (i set them in .bashrc): PYTHONPATH: /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/: /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/vtk/: LD_LIBRARY_PATH: /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/: Now i set Pythonpath in Windows to: (python location); P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\; P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\vtk\; And path to P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\; But when i try 'from paraview.simple import *' i get the following error: Error: Could not import vtkCommonComputationalGeometryPython Traceback (most recent call last): File "", line 1, in File "P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\ simple.py", line 39, in import servermanager File "P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\ servermanager.py", line 48, in import paraview, re, os, os.path, new, sys, atexit, vtk File "P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\paraview\ vtk\__init__.py", line 7, in from vtkCommonCorePython import * ImportError: DLL load failed: The modul could not be found. (German: Das angegebene Modul wurde nicht gefunden.) I guess i am not using the proper path (i tried a whole bunch of different paths), can you send me a path that is working for you? Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Fri May 1 09:12:09 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 1 May 2015 09:12:09 -0400 Subject: [Paraview] [import error] Paraview Python on Windows In-Reply-To: References: Message-ID: <20150501131209.GA16453@megas.kitware.com> On Fri, May 01, 2015 at 14:32:40 +0200, Jonas Asche wrote: > Now i want to use those scripts on Windows 7 64bit. I downloaded > ParaView-4.2.0-Windows-64bit > and changed PythonPath and Path variable as described in this > article: Are you running python or pvpython? > On Linux i have the following settings (i set them in .bashrc): > PYTHONPATH: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/site-packages/vtk/: > LD_LIBRARY_PATH: > /sfw/paraview/ParaView-4.2.0-Linux-64bit-gl/lib/paraview-4.2/: I assume this is working? > Now i set Pythonpath in Windows to: > (python location); > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2; > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\site-packages\vtk\; > And path to > P:\ParaView-4.2.0-Windows-64bit\lib\paraview-4.2\; I think this is supposed to be 'bin', not 'lib\paraview-4.2' since the DLL files live there on Windows. > I guess i am not using the proper path (i tried a whole bunch of different > paths), can you send me a path that is working for you? Using 'bin' seems to work here. --Ben From ben.boeckel at kitware.com Fri May 1 10:22:14 2015 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 1 May 2015 10:22:14 -0400 Subject: [Paraview] [import error] Paraview Python on Windows In-Reply-To: References: <20150501131209.GA16453@megas.kitware.com> Message-ID: <20150501142214.GD16453@megas.kitware.com> [ Adding the list back to CC. ] On Fri, May 01, 2015 at 15:55:26 +0200, Jonas Asche wrote: > Thank you for the reply, > Are you only using > P:\ParaView 4.2.0\bin > or do you link to other folders as well? I ran with the following from Git bash (so that the environment was more easily modified). All paths are relative to where ParaView was extracted: PYTHONPATH="lib/paraview-4.2;lib/paraview-4.2/site-packages;lib/paraview-4.2/site-packages/vtk" PATH="$PATH;bin" /c/Python27/python >>> import vtk >>> If I didn't modify PATH, I got the same error you saw, so it seems to be sufficient. --Ben From samuelkey at bresnan.net Fri May 1 11:27:10 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Fri, 01 May 2015 09:27:10 -0600 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: References: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55439B4E.1000700@bresnan.net> Utkarsh, I have had a similar problem as reported by S. T. Cohen. Your solution of manually removing the EndTime properties from XML State *.pvsm file has worked for me as well. (In my case, I was picking up two simulation results files both with a growing number of time steps. I removed the EndTime properties in two locations in the XML sate file. The results are now displayed from beginning to end when animated.) Thank you, Samuel Key FMA Development, LLC 1005 39th Ave NE Great Falls, Montana 59404 On 4/30/2015 10:28 AM, Utkarsh Ayachit wrote: > On Wed, Apr 29, 2015 at 1:05 PM, Salomon Turgman Cohen > wrote: >> Related to this. What if I have a transient simulation and I change some >> parameters. The two simulations have a different number of time steps. How >> do I deal with this situation? Loading the state does not seem to work as >> expected (not all the timesteps are visible if the second simulation has >> more). Any ideas in this case? > That is indeed a bug that has been fixed in the development version of > ParaView. See http://www.paraview.org/Bug/view.php?id=15407. > As a work around, you can manually delete the EndTime properties in > the XML state file. > > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From wascott at sandia.gov Fri May 1 12:51:27 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 1 May 2015 16:51:27 +0000 Subject: [Paraview] coords not available Message-ID: Why aren't coords available to filters in ParaView? I have a user that wants to threshold on one of the components of coord, and every time he has to use the calculator to get at this variable. Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri May 1 12:57:03 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 1 May 2015 12:57:03 -0400 Subject: [Paraview] coords not available In-Reply-To: References: Message-ID: Remember that image data and rectilinear grids don't explicitly store point locations. Can the cut filter be used instead? He can do the crinkle cut if he wants the entire cell. On Fri, May 1, 2015 at 12:51 PM, Scott, W Alan wrote: > Why aren?t coords available to filters in ParaView? I have a user that > wants to threshold on one of the components of coord, and every time he has > to use the calculator to get at this variable. > > Thanks, > > Alan > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri May 1 12:58:00 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 1 May 2015 12:58:00 -0400 Subject: [Paraview] coords not available In-Reply-To: References: Message-ID: Technically it is because VTK treats them differently than other arrays, and because for some data types (image data and rectilinear grid) you can't modify them without altering the data type and potentially blowing up memory consumption in the process. That said, I've often wanted an easy to use filter that lets you get access to these, the normals, and the texture coordinates from the GUI. In practice I've always used the python filter to do that. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, May 1, 2015 at 12:51 PM, Scott, W Alan wrote: > Why aren?t coords available to filters in ParaView? I have a user that > wants to threshold on one of the components of coord, and every time he has > to use the calculator to get at this variable. > > Thanks, > > Alan > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Wu at kla-tencor.com Fri May 1 13:36:39 2015 From: James.Wu at kla-tencor.com (Wu, James) Date: Fri, 1 May 2015 17:36:39 +0000 Subject: [Paraview] Question about ParaView Message-ID: Does ParaView supports selection in 3D volume render window? I want to get current mouse clicked x,y,z coordinates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri May 1 13:48:49 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 1 May 2015 17:48:49 +0000 Subject: [Paraview] [EXTERNAL] Re: coords not available In-Reply-To: References: Message-ID: <60bce7341865403c8cc69ffece016678@ES01AMSNLNT.srn.sandia.gov> Andy, You are correct regarding image and rectilinear grids. And yes, in this particular case, a slice would probably work. But the real question isn?t about clipping, it?s about exposing the coords variable, making it available to users if they need it for something... Alan From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Friday, May 01, 2015 10:57 AM To: Scott, W Alan Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] coords not available Remember that image data and rectilinear grids don't explicitly store point locations. Can the cut filter be used instead? He can do the crinkle cut if he wants the entire cell. On Fri, May 1, 2015 at 12:51 PM, Scott, W Alan > wrote: Why aren?t coords available to filters in ParaView? I have a user that wants to threshold on one of the components of coord, and every time he has to use the calculator to get at this variable. Thanks, Alan _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri May 1 13:51:14 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 1 May 2015 17:51:14 +0000 Subject: [Paraview] [EXTERNAL] Re: coords not available In-Reply-To: References: Message-ID: Good explanation. Would it be worthwhile creating a filter that exposes them (i.e., coords, normals, texture coordinates, etc) if available, and creates them if not? Alan From: David E DeMarle [mailto:dave.demarle at kitware.com] Sent: Friday, May 01, 2015 10:58 AM To: Scott, W Alan Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] coords not available Technically it is because VTK treats them differently than other arrays, and because for some data types (image data and rectilinear grid) you can't modify them without altering the data type and potentially blowing up memory consumption in the process. That said, I've often wanted an easy to use filter that lets you get access to these, the normals, and the texture coordinates from the GUI. In practice I've always used the python filter to do that. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, May 1, 2015 at 12:51 PM, Scott, W Alan > wrote: Why aren?t coords available to filters in ParaView? I have a user that wants to threshold on one of the components of coord, and every time he has to use the calculator to get at this variable. Thanks, Alan _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.thompson at kitware.com Fri May 1 14:01:26 2015 From: david.thompson at kitware.com (David Thompson) Date: Fri, 1 May 2015 14:01:26 -0400 Subject: [Paraview] coords not available In-Reply-To: References: Message-ID: <71380B76-746E-4B82-86F6-8477A45D187F@kitware.com> > Remember that image data and rectilinear grids don't explicitly store point locations. Can the cut filter be used instead? He can do the crinkle cut if he wants the entire cell. Now that we have data array subclasses that provide only iterator-based access, it might be a good idea to revisit this decision. It would be easy to create new arrays that present just one component of explicit coordinates or to present implicit coordinates without allocating memory. It certainly would make a lot of things easier. David > > On Fri, May 1, 2015 at 12:51 PM, Scott, W Alan wrote: > Why aren?t coords available to filters in ParaView? I have a user that wants to threshold on one of the components of coord, and every time he has to use the calculator to get at this variable. > > Thanks, > > Alan > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Fri May 1 15:41:02 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 1 May 2015 15:41:02 -0400 Subject: [Paraview] Beginner's question: new data set with same filters. How? In-Reply-To: <55439B4E.1000700@bresnan.net> References: <138936040.147860.1430273193953.JavaMail.yahoo@mail.yahoo.com> <55439B4E.1000700@bresnan.net> Message-ID: Good to know. Like I said, it has been fixed in the development version of ParaView. Feel free to try the nightly binaries, if you'd like to test it out. Thanks Utkarsh On Fri, May 1, 2015 at 11:27 AM, Samuel Key wrote: > Utkarsh, > > I have had a similar problem as reported by S. T. Cohen. Your solution of > manually removing the EndTime properties from XML State *.pvsm file has > worked for me as well. > > (In my case, I was picking up two simulation results files both with a > growing number of time steps. I removed the EndTime properties in two > locations in the XML sate file. The results are now displayed from beginning > to end when animated.) > > Thank you, > > Samuel Key > FMA Development, LLC > 1005 39th Ave NE > Great Falls, Montana 59404 > > > On 4/30/2015 10:28 AM, Utkarsh Ayachit wrote: >> >> On Wed, Apr 29, 2015 at 1:05 PM, Salomon Turgman Cohen >> wrote: >>> >>> Related to this. What if I have a transient simulation and I change some >>> parameters. The two simulations have a different number of time steps. >>> How >>> do I deal with this situation? Loading the state does not seem to work as >>> expected (not all the timesteps are visible if the second simulation has >>> more). Any ideas in this case? >> >> That is indeed a bug that has been fixed in the development version of >> ParaView. See http://www.paraview.org/Bug/view.php?id=15407. >> As a work around, you can manually delete the EndTime properties in >> the XML state file. >> >> 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Fri May 1 16:41:46 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 1 May 2015 16:41:46 -0400 Subject: [Paraview] python script loading state file and replace the datafile In-Reply-To: <553FD4B5.2060009@gmx.de> References: <553BE172.7040204@gmx.de> <553FD4B5.2060009@gmx.de> Message-ID: Fabian, The only way to this currently, is to use some of the XML processing libraries (either from ParaView) or modules provided by Python (https://docs.python.org/2/library/xml.html) to process the XML to change the filename in the state file before loading it. Utkarsh On Tue, Apr 28, 2015 at 2:43 PM, Fabian Braennstroem wrote: > Hello, > > sorry, me again. Would be great if someone has an advice! > Thanks in advance! > > Best Regards > Fabian > > On 04/25/2015 08:48 PM, Fabian Braennstroem wrote: >> >> Hello, >> >> I am not able to find, how to change the ensight data file when loading a >> pvsm-state file with python. >> It would be great if you have an advice!? >> >> Thanks! >> Best Regards >> Fabian >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From zhz1993622 at 163.com Sat May 2 02:56:41 2015 From: zhz1993622 at 163.com (=?GBK?B?1ty649ba?=) Date: Sat, 2 May 2015 14:56:41 +0800 (CST) Subject: [Paraview] Parallel Datas Message-ID: Dear: I want to do some test to know where the paraview do the data distribution and how to controll it.But when I use ply data to do the test ,I found that it didn't do data distribution .So I want to get some paraview data like in http://www.paraview.org/Wiki/ParaView/ParaView_Readers_and_Parallel_Data_Distribution .who have some datas like that ? Can you give it to me ?Thank you! Sincerely zhou -------------- next part -------------- An HTML attachment was scrubbed... URL: From f.braennstroem at gmx.de Sun May 3 03:32:44 2015 From: f.braennstroem at gmx.de (Fabian Braennstroem) Date: Sun, 03 May 2015 09:32:44 +0200 Subject: [Paraview] python script loading state file and replace the datafile In-Reply-To: References: <553BE172.7040204@gmx.de> <553FD4B5.2060009@gmx.de> Message-ID: <5545CF1C.1030208@gmx.de> Hello Utkarsh, ok, thank you! Best Regards Fabian On 05/01/2015 10:41 PM, Utkarsh Ayachit wrote: > Fabian, > > The only way to this currently, is to use some of the XML processing > libraries (either from ParaView) or modules provided by Python > (https://docs.python.org/2/library/xml.html) to process the XML to > change the filename in the state file before loading it. > > Utkarsh > > On Tue, Apr 28, 2015 at 2:43 PM, Fabian Braennstroem > wrote: >> Hello, >> >> sorry, me again. Would be great if someone has an advice! >> Thanks in advance! >> >> Best Regards >> Fabian >> >> On 04/25/2015 08:48 PM, Fabian Braennstroem wrote: >>> Hello, >>> >>> I am not able to find, how to change the ensight data file when loading a >>> pvsm-state file with python. >>> It would be great if you have an advice!? >>> >>> Thanks! >>> Best Regards >>> Fabian >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From u.utku.turuncoglu at be.itu.edu.tr Mon May 4 02:42:48 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 04 May 2015 09:42:48 +0300 Subject: [Paraview] Any suggestion for work environment to run Catalyst examples ??? In-Reply-To: References: <55422C4C.3050601@be.itu.edu.tr> Message-ID: <554714E8.6040602@be.itu.edu.tr> Hi Andy, I tested it for parallel case and it gives same error. I am also planing to try to test another OS (i.e. Fedora, Ubuntu). By the way, it could be the issue related with VirtualBox (along with activated 3D acceleration) but i am not sure. Do you have any experience about it? Regards, --ufuk On 30/04/15 17:30, Andy Bauer wrote: > Hi, > > It's tough to diagnose what's going on with the Catalyst examples. Can > you try running pvbatch or pvserver in parallel? My guess is that > could be the issue. Another possibility is confusion between header > files. I don't regularly build on Macs so I don't have much experience > there. I do know that the Catalyst examples are built on several > architectures for testing. I hope to get a dashboard up in the near > future to test this out better. > > Regards, > Andy > > > > On Thu, Apr 30, 2015 at 9:21 AM, Ufuk Utku Turuncoglu (BE) > > wrote: > > Hi, > > I would like to run Catalyst examples but i failed in following > attempts: > > *1 - MacOS 10.10.2 + **Enthought **Canopy_64bit 1.4.1.1995 + > OpenMPI**1.8.4 + Paraview 4.3.1 source* > > When i trying to install Paraview 4.3.1, i am getting error > related with qsqlite library after compiling %99 of the source. > There are some discussion in the net but it does not solve the > problem. > * > **2 - Centos 7.0 + output of package Python 2.7.5 + OpenMPI > ***1.8.4 *+ **Paraview 4.3.1 (installed under VirtualBox)* > > It gives following error when i try to run the Catalyst examples. > In this case, both Paraview and Catalyst examples are compiled > without any problem > > ERROR: In > /opt/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 812 > vtkSocketCommunicator (0x13a6090): Could not receive tag. 1 > > when i try to use pre-compiled Paraview, then i am getting > following error. > > ERROR: In > /home/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/System/vtkSocket.cxx, > line 572 > vtkClientSocket (0x1deeb20): Socket error in call to send. Broken > pipe. > > At this point, i just wonder about the details of work environment > that runs Catalyst examples (found in Git repository) without any > problem. Which operating system (Fedora, Ubuntu etc.) and version > can be used? Which Python and Paraview version? Any particular > library that will be used in the installation? Any success about > running Catalyst examples? I just want to reproduce the results of > the examples and first, i need to setup environment for it. Please > let me know your experience about it. At this stage (with current > documentation and information), it is impossible to not run the > examples. > > Best Regard, > > --ufuk > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julia.weissflog at geophysik.tu-freiberg.de Mon May 4 03:20:35 2015 From: julia.weissflog at geophysik.tu-freiberg.de (Julia =?utf-8?b?V2Vpw59mbG9n?=) Date: Mon, 04 May 2015 09:20:35 +0200 Subject: [Paraview] Labeling of axis In-Reply-To: References: <20150429105433.168852lsoon5j421@webmail.tu-freiberg.de> Message-ID: <20150504092035.15991uy42tpvvkqr@webmail.tu-freiberg.de> Thanks for your reply, i have uploaded a sample here https://mathmaster.mathe.tu-freiberg.de/index.php/s/UoQ506K29Db6b7E Notice how the axis labels are blurry while the colobar text looks fine. Zitat von Utkarsh Ayachit : > Julia, > > Can you share a sample export result? It will make the problem a > little clearer. > > Thanks > > On Wed, Apr 29, 2015 at 4:54 AM, Julia Wei?flog > wrote: >> Hello everybody, >> >> I use the tool 'Export Scene' in Paraview 4.3.1 to export a 2d clip to a >> vector graphic. All the time I got problems with the labeling of all axis. >> The numbers and labels (e.g. Y-Axis) are really blurry and not vectorized. >> How may I overcome this problem? >> >> Thank you for your help. >> >> Julia >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > -- Dipl.-Geophys. Julia Wei?flog TU Bergakademie Freiberg Institut f?r Geophysik und Geoinformatik Gustav-Zeuner-Stra?e 12 09596 Freiberg, Germany Tel.: +49(0)3731-39-3630 From david.lonie at kitware.com Mon May 4 08:38:31 2015 From: david.lonie at kitware.com (David Lonie) Date: Mon, 4 May 2015 08:38:31 -0400 Subject: [Paraview] Labeling of axis In-Reply-To: <20150504092035.15991uy42tpvvkqr@webmail.tu-freiberg.de> References: <20150429105433.168852lsoon5j421@webmail.tu-freiberg.de> <20150504092035.15991uy42tpvvkqr@webmail.tu-freiberg.de> Message-ID: On Mon, May 4, 2015 at 3:20 AM, Julia Wei?flog < julia.weissflog at geophysik.tu-freiberg.de> wrote: > Thanks for your reply, i have uploaded a sample here > https://mathmaster.mathe.tu-freiberg.de/index.php/s/UoQ506K29Db6b7E > > Notice how the axis labels are blurry while the colobar text looks fine. > This is due to the Cube Axes rendering using an older text rendering method, vtkVectorText. These don't always export cleanly through the vector graphics backend. There is a replacement for the Cube Axes under development that uses newer methods for rendering text, and this should export much better, and be similar to the labels you see on the color legend. Also, there is experimental support in the old Cube Axes actor for using the newer text renderer. If you can access the cube actor in the python shell, calling SetUseTextActor3D(True) on it should switch it on. Hope this helps, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.c.angelini.civ at mail.mil Mon May 4 11:38:49 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Mon, 4 May 2015 15:38:49 +0000 Subject: [Paraview] 4.3.1 warnings Message-ID: I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Mon May 4 12:52:57 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Mon, 4 May 2015 09:52:57 -0700 Subject: [Paraview] Image Doesn't load correctly In-Reply-To: References: Message-ID: So I am still having a few issues with the reader. I have checked the output from the information Panel. And it seems as if all the information is the same. So maybe the data is getting deleted somehow (I'm not sure...., but here is a snippet of my code); int vtkPVPROTOImageReader::RequestInformation ( vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) { vtkInformation* outInfo = outputVector->GetInformationObject(0); vtkDataObject::SetPointDataActiveScalarInfo(outInfo, VTK_UNSIGNED_CHAR, 1); return 1; } int vtkPVPROTOImageReader::RequestData(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) { ... conversion code from protobuf /* Convert from protobuf to vtkImageData */ vtkSmartPointer image = "function converting to protobuf"; vtkDataArray* scalars = image->GetPointData()->GetScalars(); scalars->SetName("ReconstructionData"); /* Get the info object */ vtkInformation *outInfo = outputVector->GetInformationObject(0); outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); /* Get the output */ vtkImageData* output = vtkImageData::GetData(outputVector); // output->SetSpacing(image->GetSpacing()); // output->SetOrigin(image->GetOrigin()); // output->AllocateScalars(outInfo); // output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); // output->SetDimensions(image->GetDimensions()); output->ShallowCopy(image); int* dimensions = output->GetDimensions(); std::cout << "\nNumber of points: " << output->GetNumberOfPoints() << std::endl; std::cout << "Number of cells: " << output->GetNumberOfCells() << "\n" << std::endl; // print out the pixel values to see if they are actually present for (int z = 0; z < dimensions[2]; z++) { for (int y = 0; y < dimensions[1]; y++) { for (int x = 0; x < dimensions[0]; x++) { double* pixel = static_cast(output->GetScalarPointer(x,y,z)); // do something with v std::cout << "pixel value: " << pixel[0] << "\n"; } std::cout << std::endl; } std::cout << std::endl; } // write output to file and compare in visualization window... vtkSmartPointer vtk_writer = vtkSmartPointer::New(); vtk_writer->SetInputData(output); vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); vtk_writer->Update(); vtk_writer->Write(); return 1; } Another Problem I ran into: So I had to hardcode a file for the char *FileName into the RequestData Function in order to read any protobuf file. I ran a debugger on the code, and it seems like these functions from the header file (of the reader): vtkGetStringMacro(FileName); vtkSetStringMacro(FileName); they are never getting called. Thanks, Kevin here are my xml too... it looks right, but maybe I am missing something. On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit wrote: > You can also use the Information panel to see what arrays are being > read in and what their ranges are. > > On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin > wrote: > > looked at the spreadsheet view in the GUI, and it looks like none of the > > Point Data is actually being copied... > > > > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin > > wrote: > >> > >> What's up Utkarsh? > >> > >> So I was able to write that plugin and convert my image to the > >> vtkImageData. However, I am having trouble visualizing the image. > However, > >> when I write out the output from my reader, the image gets written > >> correctly... Here are some pictures to show the differences. (All the > >> information for the images is exactly the same) Do you have an idea of > how I > >> can try to fix it? Thanks. > >> > >> Kevin E. Dean > > > > > > > > This email and its contents are confidential. If you are not the intended > > recipient, please do not disclose or use the information within this > email > > or its attachments. If you have received this email in error, please > report > > the error to the sender by return email and delete this communication > from > > your records. > -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vtkPVPROTOImageReader.xml Type: text/xml Size: 1207 bytes Desc: not available URL: From felix.salazar at polymtl.ca Mon May 4 12:58:44 2015 From: felix.salazar at polymtl.ca (Felix Salazar) Date: Mon, 4 May 2015 12:58:44 -0400 Subject: [Paraview] Getting the extreme value of the coordinates in pvpython Message-ID: Hello community, I'm writing a pvpython script to export the 3rd component of the velocity vector on the z-axis of my domain. Here's a fragment of the script used. Not very refined, but does the trick. ======START OF SCRIPT #!/bin/pvpython try: paraview.simple except: from paraview.simple import * Nstep = 500 zEnd = 25 def velZaxis(filename): W = list(0 for i in range(0,Nstep)) z = list(0.0 for i in range(0,Nstep)) NS_quad_vtk = OpenDataFile(filename) PlotOverLine1 = PlotOverLine( Source="High Resolution Line Source" ) PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] PlotOverLine1.Source.Point2 = [0.0, 0.0, zEnd] PlotOverLine1.Source.Resolution = Nstep for i in range (0,Nstep): z[i] = i*(zEnd/float(Nstep)) W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray("U+V+W").GetTuple3(i)[2] return z, W ======END OF SCRIPT Now, I was wondering if someone could give me some tips on how to set the value of zEnd based on the actual maximum value in the geometry, instead of using a fixed value. Is there any recommended way to obtain this information? Thanks ------------------------------------ *F?lix Salazar**felix.salazar at polymtl.ca * ?tudiant au doctorat - PhD Student *?cole Polytechnique de Montr?al* ------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon May 4 14:18:37 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 4 May 2015 18:18:37 +0000 Subject: [Paraview] [EXTERNAL] 4.3.1 warnings In-Reply-To: References: Message-ID: Rick, If this is a debug build, it is to be expected. Two issues ? one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Mon May 4 14:33:02 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Mon, 04 May 2015 11:33:02 -0700 Subject: [Paraview] Image Doesn't load correctly In-Reply-To: References: Message-ID: <5547BB5E.40500@gmail.com> Hi Kevin. Your RequestInformation looks a little bare. Unless things have changed recently, you might need to set WHOLE_EXTENT, ORIGIN, SPACING, CAN_PRODUCE_SUB_EXTENT keys there. and if you support parallel IO honor the requested extent in RequestData. Burlen On 05/04/2015 09:52 AM, Dean, Kevin wrote: > So I am still having a few issues with the reader. I have checked the > output from the information Panel. And it seems as if all the > information is the same. So maybe the data is getting deleted somehow > (I'm not sure...., but here is a snippet of my code); > > int vtkPVPROTOImageReader::RequestInformation ( > vtkInformation*, > vtkInformationVector**, > vtkInformationVector* outputVector) > { > vtkInformation* outInfo = outputVector->GetInformationObject(0); > vtkDataObject::SetPointDataActiveScalarInfo(outInfo, > VTK_UNSIGNED_CHAR, 1); > > return 1; > } > > int vtkPVPROTOImageReader::RequestData(vtkInformation > *vtkNotUsed(request), > vtkInformationVector **inputVector, > vtkInformationVector *outputVector) > { > ... conversion code from protobuf > > /* Convert from protobuf to vtkImageData */ > vtkSmartPointer image = "function converting to protobuf"; > > vtkDataArray* scalars = image->GetPointData()->GetScalars(); > scalars->SetName("ReconstructionData"); > > /* Get the info object */ > vtkInformation *outInfo = outputVector->GetInformationObject(0); > outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); > > /* Get the output */ > vtkImageData* output = vtkImageData::GetData(outputVector); > > // output->SetSpacing(image->GetSpacing()); > // output->SetOrigin(image->GetOrigin()); > // output->AllocateScalars(outInfo); > // > output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); > // output->SetDimensions(image->GetDimensions()); > > output->ShallowCopy(image); > > int* dimensions = output->GetDimensions(); > > std::cout << "\nNumber of points: " << output->GetNumberOfPoints() > << std::endl; > std::cout << "Number of cells: " << output->GetNumberOfCells() << > "\n" << std::endl; > > // print out the pixel values to see if they are actually present > for (int z = 0; z < dimensions[2]; z++) > { > for (int y = 0; y < dimensions[1]; y++) > { > for (int x = 0; x < dimensions[0]; x++) > { > double* pixel = > static_cast(output->GetScalarPointer(x,y,z)); > // do something with v > std::cout << "pixel value: " << pixel[0] << "\n"; > } > std::cout << std::endl; > } > std::cout << std::endl; > } > > // write output to file and compare in visualization window... > vtkSmartPointer vtk_writer = > vtkSmartPointer::New(); > vtk_writer->SetInputData(output); > vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); > vtk_writer->Update(); > vtk_writer->Write(); > > return 1; > } > > > Another Problem I ran into: > So I had to hardcode a file for the char *FileName into the > RequestData Function in order to read any protobuf file. I ran a > debugger on the code, and it seems like these functions from the > header file (of the reader): > > vtkGetStringMacro(FileName); > vtkSetStringMacro(FileName); > > they are never getting called. > > Thanks, > > Kevin > > here are my xml too... it looks right, but maybe I am missing something. > > On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit > > wrote: > > You can also use the Information panel to see what arrays are being > read in and what their ranges are. > > On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin > > wrote: > > looked at the spreadsheet view in the GUI, and it looks like > none of the > > Point Data is actually being copied... > > > > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin > > > wrote: > >> > >> What's up Utkarsh? > >> > >> So I was able to write that plugin and convert my image to the > >> vtkImageData. However, I am having trouble visualizing the > image. However, > >> when I write out the output from my reader, the image gets written > >> correctly... Here are some pictures to show the differences. > (All the > >> information for the images is exactly the same) Do you have an > idea of how I > >> can try to fix it? Thanks. > >> > >> Kevin E. Dean > > > > > > > > This email and its contents are confidential. If you are not the > intended > > recipient, please do not disclose or use the information within > this email > > or its attachments. If you have received this email in error, > please report > > the error to the sender by return email and delete this > communication from > > your records. > > > > This email and its contents are confidential. If you are not the > intended recipient, please do not disclose or use the information > within this email or its attachments. If you have received this email > in error, please report the error to the sender by return email and > delete this communication from your records. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon May 4 15:27:55 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 4 May 2015 19:27:55 +0000 Subject: [Paraview] [Paraview-developers] 3d surface roughness measurement Message-ID: (Responding back to the ParaView user's list, which is more appropriate than the developer's list.) The documentation for the mathematical operation done by the curvature operation is given here: http://www.vtk.org/doc/nightly/html/classvtkCurvatures.html#details You can also get more general descriptions of Gaussian curvature and mean curvature estimation from various sources. Here is a description on Wikipedia: http://en.wikipedia.org/wiki/Curvature#Curvature_of_surfaces If I am reading the documentation correctly, the Gaussian curvature is giving you the bend of the surface in radians per distance squared, and the mean curvature is giving you the bend in radians per distance. Playing with the filter a bit, I notice that it is prone to give you unreasonably high values (in the positive or negative direction) for places where the surface is pinched or you have poorly shaped triangles in the mesh. -Ken On 5/4/15, 5:54 AM, "Laura Masse" wrote: >Hi Kenneth, > >I take again this threat, I'm sorry for the long delay. > >The curvature filter seems is the thing I need, I would like to have a >numerical indicator of the surface roughness. Curvature filter gives me >two >different indicator depending which were selected (Gaussian and Mean). In >both cases I got data range, but I don?t understand the meaning of these >ranges. > >For example in the case of Mean_Curvatura I got [-199,711, 165.178] > >Could be is the mean of the bend of all points ? > >I'm so confuse, please anyone can help me ? > >Otherwise, Is there a other way to have the roughness indicator ? > >Advanced thanks !!! > >- > > > >-- >View this message in context: >http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/3d-sur >face-roughness-measurement-tp3657p3767.html >Sent from the The Unofficial ParaView Developers Forum mailing list >archive at Nabble.com. >_______________________________________________ >Powered by www.kitware.com > >Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > >Search the list archives at: >http://markmail.org/search/?q=Paraview-developers > >Follow this link to subscribe/unsubscribe: >http://public.kitware.com/mailman/listinfo/paraview-developers From richard.c.angelini.civ at mail.mil Mon May 4 15:55:27 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Mon, 4 May 2015 19:55:27 +0000 Subject: [Paraview] [EXTERNAL] 4.3.1 warnings In-Reply-To: References: Message-ID: This was not a debug build. It?s a standard CTH-11.0 generated dataset ?. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: , Alan Scott > Date: Monday, May 4, 2015 at 2:18 PM To: Rick Angelini >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Rick, If this is a debug build, it is to be expected. Two issues ? one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon May 4 16:12:53 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 4 May 2015 20:12:53 +0000 Subject: [Paraview] [EXTERNAL] 4.3.1 warnings In-Reply-To: References: Message-ID: <87d59ac6bedd4b77ac8346d2709f6b69@ES01AMSNLNT.srn.sandia.gov> Just talked to Utkarsh. My bad, I gave you wrong information, you did find a bug. I will work on fixing it. Thanks, Alan From: Angelini, Richard C (Rick) CIV USARMY ARL (US) [mailto:richard.c.angelini.civ at mail.mil] Sent: Monday, May 04, 2015 1:55 PM To: Scott, W Alan; paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] 4.3.1 warnings This was not a debug build. It?s a standard CTH-11.0 generated dataset ?. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: , Alan Scott > Date: Monday, May 4, 2015 at 2:18 PM To: Rick Angelini >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Rick, If this is a debug build, it is to be expected. Two issues ? one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From felix.salazar at polymtl.ca Mon May 4 16:48:18 2015 From: felix.salazar at polymtl.ca (Felix Salazar) Date: Mon, 4 May 2015 16:48:18 -0400 Subject: [Paraview] Getting the extreme value of the coordinates in pvpython In-Reply-To: References: Message-ID: I added a few lines to my script to address this issue. I guess that I can't see the coordinates array directly in the NS_quad_vtk object due to the structure of the VTK file. I create a Calculator, calling the z coordinate as function definition, and then get the maximum of this object. Thanks, ======START OF SCRIPT #!/bin/pvpython try: paraview.simple except: from paraview.simple import * Nstep = 500 zEnd = 25 def velZaxis(filename): W = list(0 for i in range(0,Nstep)) z = list(0.0 for i in range(0,Nstep)) NS_quad_vtk = OpenDataFile(filename) try: TempCalc=Calculator() TempCalc.Function='coordsZ' TempCalc.ResultArrayName='PointZ' maxZ = Calc.PointData["PointZ"].GetRange(0)[1] Delete(TempCalc) except Exception as e: maxZ = zEnd PlotOverLine1 = PlotOverLine( Source="High Resolution Line Source" ) PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] PlotOverLine1.Source.Point2 = [0.0, 0.0, maxZ] PlotOverLine1.Source.Resolution = Nstep for i in range (0,Nstep): z[i] = i*(maxZ/float(Nstep)) W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray("U+V+W").GetTuple3(i)[2] return z, W ======END OF SCRIPT ------------------------------------ *F?lix Salazar**felix.salazar at polymtl.ca * ?tudiant au doctorat - PhD Student *?cole Polytechnique de Montr?al* * LADYF* Lab. de dynamique des fluides (514) 340 4711 ext 2489 Local: C-318.21.3 ------------------------------------ On Mon, May 4, 2015 at 12:58 PM, Felix Salazar wrote: > Hello community, > > I'm writing a pvpython script to export the 3rd component of the velocity > vector on the z-axis of my domain. Here's a fragment of the script used. > Not very refined, but does the trick. > > ======START OF SCRIPT > #!/bin/pvpython > > try: paraview.simple > except: from paraview.simple import * > > Nstep = 500 > zEnd = 25 > > def velZaxis(filename): > W = list(0 for i in range(0,Nstep)) > z = list(0.0 for i in range(0,Nstep)) > > NS_quad_vtk = OpenDataFile(filename) > PlotOverLine1 = PlotOverLine( Source="High Resolution Line Source" ) > PlotOverLine1.Source.Point1 = [0.0, 0.0, 0.0] > PlotOverLine1.Source.Point2 = [0.0, 0.0, zEnd] > PlotOverLine1.Source.Resolution = Nstep > for i in range (0,Nstep): > z[i] = i*(zEnd/float(Nstep)) > > W[i]=servermanager.Fetch(PlotOverLine1,0).GetPointData().GetArray("U+V+W").GetTuple3(i)[2] > return z, W > ======END OF SCRIPT > > > Now, I was wondering if someone could give me some tips on how to set the > value of zEnd based on the actual maximum value in the geometry, instead > of using a fixed value. Is there any recommended way to obtain this > information? > > Thanks > > > ------------------------------------ > > *F?lix Salazar**felix.salazar at polymtl.ca * > ?tudiant au doctorat - PhD Student > *?cole Polytechnique de Montr?al* > ------------------------------------ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adlinds3 at ncsu.edu Mon May 4 18:08:04 2015 From: adlinds3 at ncsu.edu (Alex Lindsay) Date: Mon, 04 May 2015 15:08:04 -0700 Subject: [Paraview] File in pipeline browser has changed; best way to reload Message-ID: <5547EDC4.9060604@ncsu.edu> Hi all, I am doing something that most other modellers do: I am visualizing a file in my pipeline browser, but I ran a new simulation and now the file I am viewing should have changed. What is the best way to reload the file/get the new data from the file? So far my google searches have yielded this as the best result, but it seems quite clumsy. I've seen in other places people recommend clicking on "update gui", but I don't see that button available anywhere in my version of paraview. Refresh times also doesn't seem to work. As you can tell, I'm a new paraview user! Thanks, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.richter at ovgu.de Tue May 5 03:12:44 2015 From: christian.richter at ovgu.de (Christian Richter) Date: Tue, 5 May 2015 09:12:44 +0200 Subject: [Paraview] File in pipeline browser has changed; best way to reload In-Reply-To: <5547EDC4.9060604@ncsu.edu> References: <5547EDC4.9060604@ncsu.edu> Message-ID: <55486D6C.9080606@ovgu.de> Hi Alex, I'm using a little python macro to refresh the fileNames Property of all readers in the Pipeline. It is located here: https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/python_macros/update.py Feel free to use this as a starting point. Best, Christian. Am 5/5/2015 um 12:08 AM schrieb Alex Lindsay: > Hi all, > > I am doing something that most other modellers do: I am visualizing a > file in my pipeline browser, but I ran a new simulation and now the > file I am viewing should have changed. What is the best way to reload > the file/get the new data from the file? So far my google searches > have yielded this > > as the best result, but it seems quite clumsy. > > I've seen in other places people recommend clicking on "update gui", > but I don't see that button available anywhere in my version of paraview. > > Refresh times also doesn't seem to work. > > As you can tell, I'm a new paraview user! > > Thanks, > Alex > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- Dipl.-Ing. Christian Richter Lehrstuhl f?r Materialflusstechnik Institut f?r Logistik und Materialflusstechnik (ILM) Fakult?t f?r Maschinenbau (FMB) Otto-von-Guericke-Universit?t Magdeburg Universit?tsplatz 2 D-39106 Magdeburg Geb?ude 10, Raum 213 University Magdeburg ?Otto-von-Guericke? Department of Material Handling Institute of Logistics and Material Handling Systems (ILM) Faculty for Mechanical Engineering (FMB) E-Mail: christian.richter at ovgu.de Tel.: +49 (0)391/5976687-4 Fax: +49 (0)391/5976687-5 URL: http://www.ilm.ovgu.de Der Inhalt dieser E-Mail ist vertraulich und ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser E-Mail unzul?ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signatur.png Type: image/png Size: 19274 bytes Desc: not available URL: From M.Schlottke at aia.rwth-aachen.de Tue May 5 04:07:34 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 5 May 2015 08:07:34 +0000 Subject: [Paraview] File in pipeline browser has changed; best way to reload In-Reply-To: <55486D6C.9080606@ovgu.de> References: <5547EDC4.9060604@ncsu.edu> <55486D6C.9080606@ovgu.de> Message-ID: Hi Alex, there is a thread from around 2 years ago that proposed a couple of solutions. Especially if you are using a custom reader plugin this provides for a clean and user-friendly approach: http://public.kitware.com/pipermail/paraview/2013-June/028588.html http://public.kitware.com/pipermail/paraview/2013-June/028596.html (this is the solution we use) Regards, Michael On 05 May 2015, at 09:12 , Christian Richter > wrote: Hi Alex, I'm using a little python macro to refresh the fileNames Property of all readers in the Pipeline. It is located here: https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/python_macros/update.py Feel free to use this as a starting point. Best, Christian. Am 5/5/2015 um 12:08 AM schrieb Alex Lindsay: Hi all, I am doing something that most other modellers do: I am visualizing a file in my pipeline browser, but I ran a new simulation and now the file I am viewing should have changed. What is the best way to reload the file/get the new data from the file? So far my google searches have yielded this as the best result, but it seems quite clumsy. I've seen in other places people recommend clicking on "update gui", but I don't see that button available anywhere in my version of paraview. Refresh times also doesn't seem to work. As you can tell, I'm a new paraview user! Thanks, Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Dipl.-Ing. Christian Richter Lehrstuhl f?r Materialflusstechnik Institut f?r Logistik und Materialflusstechnik (ILM) Fakult?t f?r Maschinenbau (FMB) Otto-von-Guericke-Universit?t Magdeburg Universit?tsplatz 2 D-39106 Magdeburg Geb?ude 10, Raum 213 University Magdeburg ?Otto-von-Guericke? Department of Material Handling Institute of Logistics and Material Handling Systems (ILM) Faculty for Mechanical Engineering (FMB) E-Mail: christian.richter at ovgu.de Tel.: +49 (0)391/5976687-4 Fax: +49 (0)391/5976687-5 URL: http://www.ilm.ovgu.de Der Inhalt dieser E-Mail ist vertraulich und ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser E-Mail unzul?ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.c.angelini.civ at mail.mil Tue May 5 07:57:53 2015 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY ARL (US)) Date: Tue, 5 May 2015 11:57:53 +0000 Subject: [Paraview] [EXTERNAL] 4.3.1 warnings In-Reply-To: <87d59ac6bedd4b77ac8346d2709f6b69@ES01AMSNLNT.srn.sandia.gov> References: <87d59ac6bedd4b77ac8346d2709f6b69@ES01AMSNLNT.srn.sandia.gov> Message-ID: Thanks for confirming! ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: , Alan Scott > Date: Monday, May 4, 2015 at 4:12 PM To: Rick Angelini >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Just talked to Utkarsh. My bad, I gave you wrong information, you did find a bug. I will work on fixing it. Thanks, Alan From: Angelini, Richard C (Rick) CIV USARMY ARL (US) [mailto:richard.c.angelini.civ at mail.mil] Sent: Monday, May 04, 2015 1:55 PM To: Scott, W Alan; paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] 4.3.1 warnings This was not a debug build. It?s a standard CTH-11.0 generated dataset ?. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 From: , Alan Scott > Date: Monday, May 4, 2015 at 2:18 PM To: Rick Angelini >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] [Paraview] 4.3.1 warnings Rick, If this is a debug build, it is to be expected. Two issues ? one is that release builds should never show warnings, debug builds always print out warnings. Second issue, which still needs to be fixed, but is smaller, is that the spyplot reader is passing incorrect information to the Progress Handler. Frankly, I thought I had fixed it a few years ago... Can you share this dataset? Is this a debug build? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Angelini, Richard C (Rick) CIV USARMY ARL (US) Sent: Monday, May 04, 2015 9:39 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] 4.3.1 warnings I thought we saw this warning message several releases ago, but it seems to be back again??? Reading CTH dataset in client-server mode: /app/paraview/4.3.1_osmesa/bin/pvserver Connecting to client (reverse connection requested)... Connection URL: csrc://hostname-0001:25248 Client connected. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x235a500): vtkSpyPlotReader reported invalid progress (2.01875). Value must be between [0, 1]. Clamping to this range. Warning: In /u/home/angel/PV/4.3.1/Build/paraview/src/paraview/ParaViewCore/ClientServerCore/Core/vtkPVProgressHandler.cxx, line 261 vtkPVProgressHandler (0x21034c0): vtkSpyPlotReader reported invalid progress (1.81875). Value must be between [0, 1]. Clamping to this range. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue May 5 11:34:11 2015 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 5 May 2015 11:34:11 -0400 Subject: [Paraview] Contours of unstructured grid paraview 3 vs paraview 4 In-Reply-To: References: Message-ID: Michael, A change has just went into ParaView that should prevent this problem in the future. https://gitlab.kitware.com/paraview/paraview/commit/a57c26237a41955465326a0cde8b586aecada416 If one really wants integer precision in the contour coordinates, it is still possible with this change. Thanks, Cory On Thu, Apr 16, 2015 at 9:05 AM, Greenwood, Michael < Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > Yup, that was the issue, it was a simple matter of changing the > coordinates of my grid to floating point instead of integer. > > > > *From:* Cory Quammen [mailto:cory.quammen at kitware.com] > *Sent:* April 15, 2015 21:30 > *To:* Greenwood, Michael > *Cc:* Berk Geveci; paraview at paraview.org > > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > This email explains a bit more detail what I think the problem might be: > > > > http://www.paraview.org/pipermail/paraview/2014-October/032458.html > > > > - Cory > > > > On Wed, Apr 15, 2015 at 6:11 PM, Cory Quammen > wrote: > > Michael, > > > > I remember tracking down a similar bug like this. I recall it had to do > with the type of the points being specified as an integral type. The change > between 3 and 4 was that interpolation for the isocontours is now performed > with the precision available in the point type, so if your point type is an > integral value, you'll get this chunky result. > > > > Try changing your point type in your data file to float or double. > > > > Hope that helps, > > Cory > > > > On Wed, Apr 15, 2015 at 4:09 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > > The data file is being held in moderation since its larger size, let me > see if I can find a place to store it and send a link. > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Greenwood, > Michael > *Sent:* April 15, 2015 16:08 > *To:* Berk Geveci > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > It seems that in paraview 3 it would interpolate inside the cell between > the mesh points when building the polymesh for the contour and now it is > snapping the interpolation to nearest grid point of my unstructured mesh. > > > > > > *From:* Berk Geveci [mailto:berk.geveci at kitware.com > ] > *Sent:* April 15, 2015 15:57 > *To:* Greenwood, Michael > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Contours of unstructured grid paraview 3 vs > paraview 4 > > > > Very strange. I can't recall a change that can cause this. Do you have a > dataset that we can reproduce this with? > > > > Best, > > -berk > > > > On Wed, Apr 15, 2015 at 3:49 PM, Greenwood, Michael < > Michael.Greenwood at nrcan-rncan.gc.ca> wrote: > > Hi I?ve upgraded to paraview 4 and now when building contours of my 3D > unstructured grid, the contours are pixelated. This was not the case in 3, > and when you look at a slice of the contour overlayed with a slice of the > volume data it is obvious that the contour in paraview 4 seems to be > ?hugging? the boundaries of my mesh instead of interpolating through it. > How can I get my nice smooth contours I had in version 3? > > > > Thanks > > [image: cid:image001.png at 01D07796.42933DD0] > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -- > > Cory Quammen > R&D Engineer > Kitware, Inc. > > > > > > -- > > Cory Quammen > R&D Engineer > Kitware, Inc. > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62758 bytes Desc: not available URL: From kevin.dean at decisionsciencescorp.com Tue May 5 12:09:13 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Tue, 5 May 2015 09:09:13 -0700 Subject: [Paraview] Fwd: Image Doesn't load correctly In-Reply-To: References: <5547BB5E.40500@gmail.com> Message-ID: ---------- Forwarded message ---------- From: Dean, Kevin Date: Mon, May 4, 2015 at 5:10 PM Subject: Re: [Paraview] Image Doesn't load correctly To: Burlen Loring awesome, thanks, that did it. One more question. Is there a way to debug the FileName aspect of the reader. I can't figure out how it's supposed to get set. The only way I can get the image to show is by hard coding it within the RequestData() function. Thanks Again Kevin E. Dean On Mon, May 4, 2015 at 11:33 AM, Burlen Loring wrote: > Hi Kevin. > > Your RequestInformation looks a little bare. Unless things have changed > recently, you might need to set WHOLE_EXTENT, ORIGIN, SPACING, > CAN_PRODUCE_SUB_EXTENT keys there. and if you support parallel IO honor the > requested extent in RequestData. > > Burlen > > > On 05/04/2015 09:52 AM, Dean, Kevin wrote: > > So I am still having a few issues with the reader. I have checked the > output from the information Panel. And it seems as if all the information > is the same. So maybe the data is getting deleted somehow (I'm not > sure...., but here is a snippet of my code); > > int vtkPVPROTOImageReader::RequestInformation ( > vtkInformation*, > vtkInformationVector**, > vtkInformationVector* outputVector) > { > vtkInformation* outInfo = outputVector->GetInformationObject(0); > vtkDataObject::SetPointDataActiveScalarInfo(outInfo, VTK_UNSIGNED_CHAR, > 1); > > return 1; > } > > int vtkPVPROTOImageReader::RequestData(vtkInformation *vtkNotUsed(request), > vtkInformationVector **inputVector, > vtkInformationVector *outputVector) > { > ... conversion code from protobuf > > /* Convert from protobuf to vtkImageData */ > vtkSmartPointer image = "function converting to protobuf"; > > vtkDataArray* scalars = image->GetPointData()->GetScalars(); > scalars->SetName("ReconstructionData"); > > /* Get the info object */ > vtkInformation *outInfo = outputVector->GetInformationObject(0); > outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); > > /* Get the output */ > vtkImageData* output = vtkImageData::GetData(outputVector); > > // output->SetSpacing(image->GetSpacing()); > // output->SetOrigin(image->GetOrigin()); > // output->AllocateScalars(outInfo); > // > output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); > // output->SetDimensions(image->GetDimensions()); > > output->ShallowCopy(image); > > int* dimensions = output->GetDimensions(); > > std::cout << "\nNumber of points: " << output->GetNumberOfPoints() << > std::endl; > std::cout << "Number of cells: " << output->GetNumberOfCells() << "\n" > << std::endl; > > // print out the pixel values to see if they are actually present > for (int z = 0; z < dimensions[2]; z++) > { > for (int y = 0; y < dimensions[1]; y++) > { > for (int x = 0; x < dimensions[0]; x++) > { > double* pixel = > static_cast(output->GetScalarPointer(x,y,z)); > // do something with v > std::cout << "pixel value: " << pixel[0] << "\n"; > } > std::cout << std::endl; > } > std::cout << std::endl; > } > > // write output to file and compare in visualization window... > vtkSmartPointer vtk_writer = > vtkSmartPointer::New(); > vtk_writer->SetInputData(output); > vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); > vtk_writer->Update(); > vtk_writer->Write(); > > return 1; > } > > > Another Problem I ran into: > So I had to hardcode a file for the char *FileName into the RequestData > Function in order to read any protobuf file. I ran a debugger on the code, > and it seems like these functions from the header file (of the reader): > > vtkGetStringMacro(FileName); > vtkSetStringMacro(FileName); > > they are never getting called. > > Thanks, > > Kevin > > here are my xml too... it looks right, but maybe I am missing something. > > On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> You can also use the Information panel to see what arrays are being >> read in and what their ranges are. >> >> On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin >> wrote: >> > looked at the spreadsheet view in the GUI, and it looks like none of the >> > Point Data is actually being copied... >> > >> > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin >> > wrote: >> >> >> >> What's up Utkarsh? >> >> >> >> So I was able to write that plugin and convert my image to the >> >> vtkImageData. However, I am having trouble visualizing the image. >> However, >> >> when I write out the output from my reader, the image gets written >> >> correctly... Here are some pictures to show the differences. (All the >> >> information for the images is exactly the same) Do you have an idea of >> how I >> >> can try to fix it? Thanks. >> >> >> >> Kevin E. Dean >> > >> > >> > >> > This email and its contents are confidential. If you are not the >> intended >> > recipient, please do not disclose or use the information within this >> email >> > or its attachments. If you have received this email in error, please >> report >> > the error to the sender by return email and delete this communication >> from >> > your records. >> > > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bloring at lbl.gov Tue May 5 12:15:27 2015 From: bloring at lbl.gov (Burlen Loring) Date: Tue, 05 May 2015 09:15:27 -0700 Subject: [Paraview] Fwd: Re: Fwd: Image Doesn't load correctly In-Reply-To: <5548EC4E.8030805@lbl.gov> References: <5548EC4E.8030805@lbl.gov> Message-ID: <5548EC9F.4060708@lbl.gov> -------- Forwarded Message -------- Subject: Re: [Paraview] Fwd: Image Doesn't load correctly Date: Tue, 05 May 2015 09:14:06 -0700 From: Burlen Loring To: Dean, Kevin ParaView should set it after it determines if the reader can read it. Did you also implement CanReadFile? Maybe the problem is in that function. On 05/05/2015 09:09 AM, Dean, Kevin wrote: > > ---------- Forwarded message ---------- > From: *Dean, Kevin* > > Date: Mon, May 4, 2015 at 5:10 PM > Subject: Re: [Paraview] Image Doesn't load correctly > To: Burlen Loring > > > > awesome, thanks, that did it. > > One more question. Is there a way to debug the FileName aspect of the > reader. I can't figure out how it's supposed to get set. The only way > I can get the image to show is by hard > coding it within the RequestData() function. > > Thanks Again > > Kevin E. Dean > > On Mon, May 4, 2015 at 11:33 AM, Burlen Loring > > wrote: > > Hi Kevin. > > Your RequestInformation looks a little bare. Unless things have > changed recently, you might need to set WHOLE_EXTENT, ORIGIN, > SPACING, CAN_PRODUCE_SUB_EXTENT keys there. and if you support > parallel IO honor the requested extent in RequestData. > > Burlen > > > On 05/04/2015 09:52 AM, Dean, Kevin wrote: >> So I am still having a few issues with the reader. I have checked >> the output from the information Panel. And it seems as if all the >> information is the same. So maybe the data is getting deleted >> somehow (I'm not sure...., but here is a snippet of my code); >> >> int vtkPVPROTOImageReader::RequestInformation ( >> vtkInformation*, >> vtkInformationVector**, >> vtkInformationVector* outputVector) >> { >> vtkInformation* outInfo = outputVector->GetInformationObject(0); >> vtkDataObject::SetPointDataActiveScalarInfo(outInfo, >> VTK_UNSIGNED_CHAR, 1); >> >> return 1; >> } >> >> int vtkPVPROTOImageReader::RequestData(vtkInformation >> *vtkNotUsed(request), >> vtkInformationVector **inputVector, >> vtkInformationVector *outputVector) >> { >> ... conversion code from protobuf >> >> /* Convert from protobuf to vtkImageData */ >> vtkSmartPointer image = "function converting to >> protobuf"; >> >> vtkDataArray* scalars = image->GetPointData()->GetScalars(); >> scalars->SetName("ReconstructionData"); >> >> /* Get the info object */ >> vtkInformation *outInfo = outputVector->GetInformationObject(0); >> outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); >> >> /* Get the output */ >> vtkImageData* output = vtkImageData::GetData(outputVector); >> >> // output->SetSpacing(image->GetSpacing()); >> // output->SetOrigin(image->GetOrigin()); >> // output->AllocateScalars(outInfo); >> // >> output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); >> // output->SetDimensions(image->GetDimensions()); >> >> output->ShallowCopy(image); >> >> int* dimensions = output->GetDimensions(); >> >> std::cout << "\nNumber of points: " << >> output->GetNumberOfPoints() << std::endl; >> std::cout << "Number of cells: " << output->GetNumberOfCells() >> << "\n" << std::endl; >> >> // print out the pixel values to see if they are actually present >> for (int z = 0; z < dimensions[2]; z++) >> { >> for (int y = 0; y < dimensions[1]; y++) >> { >> for (int x = 0; x < dimensions[0]; x++) >> { >> double* pixel = >> static_cast(output->GetScalarPointer(x,y,z)); >> // do something with v >> std::cout << "pixel value: " << pixel[0] << "\n"; >> } >> std::cout << std::endl; >> } >> std::cout << std::endl; >> } >> >> // write output to file and compare in visualization window... >> vtkSmartPointer vtk_writer = >> vtkSmartPointer::New(); >> vtk_writer->SetInputData(output); >> vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); >> vtk_writer->Update(); >> vtk_writer->Write(); >> >> return 1; >> } >> >> >> Another Problem I ran into: >> So I had to hardcode a file for the char *FileName into the >> RequestData Function in order to read any protobuf file. I ran a >> debugger on the code, and it seems like these functions from the >> header file (of the reader): >> >> vtkGetStringMacro(FileName); >> vtkSetStringMacro(FileName); >> >> they are never getting called. >> >> Thanks, >> >> Kevin >> >> here are my xml too... it looks right, but maybe I am missing >> something. >> >> On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit >> > > wrote: >> >> You can also use the Information panel to see what arrays are >> being >> read in and what their ranges are. >> >> On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin >> > > wrote: >> > looked at the spreadsheet view in the GUI, and it looks >> like none of the >> > Point Data is actually being copied... >> > >> > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin >> > > > wrote: >> >> >> >> What's up Utkarsh? >> >> >> >> So I was able to write that plugin and convert my image to the >> >> vtkImageData. However, I am having trouble visualizing the >> image. However, >> >> when I write out the output from my reader, the image gets >> written >> >> correctly... Here are some pictures to show the >> differences. (All the >> >> information for the images is exactly the same) Do you >> have an idea of how I >> >> can try to fix it? Thanks. >> >> >> >> Kevin E. Dean >> > >> > >> > >> > This email and its contents are confidential. If you are >> not the intended >> > recipient, please do not disclose or use the information >> within this email >> > or its attachments. If you have received this email in >> error, please report >> > the error to the sender by return email and delete this >> communication from >> > your records. >> >> >> >> This email and its contents are confidential. If you are not the >> intended recipient, please do not disclose or use the information >> within this email or its attachments. If you have received this >> email in error, please report the error to the sender by return >> email and delete this communication from your records. >> >> >> _______________________________________________ >> Powered bywww.kitware.com >> >> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView >> >> Search the list archives at:http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > > > > > This email and its contents are confidential. If you are not the > intended recipient, please do not disclose or use the information > within this email or its attachments. If you have received this email > in error, please report the error to the sender by return email and > delete this communication from your records. > > > _______________________________________________ > Powered bywww.kitware.com > > Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView > > Search the list archives at:http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Tue May 5 19:31:36 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Tue, 5 May 2015 16:31:36 -0700 Subject: [Paraview] Fwd: Image Doesn't load correctly In-Reply-To: <5548FA06.5070502@lbl.gov> References: <5547BB5E.40500@gmail.com> <5548EC4E.8030805@lbl.gov> <5548FA06.5070502@lbl.gov> Message-ID: ok, now I am getting new and exciting error messages for loading the plugin... it doesn't seem to enjoy this line from the XML errors: ERROR: In /home/kdean/tmp/install_PV_source/ParaView/VTK/IO/XMLParser/vtkXMLParser.cxx, line 483 vtkPVXMLParser (0x35d8d20): Error parsing XML in stream at line 18, column 8, byte index 632: not well-formed (invalid token) ERROR: In /home/kdean/tmp/install_PV_source/ParaView/VTK/IO/XMLParser/vtkXMLParser.cxx, line 483 vtkPVXMLParser (0x238f5a0): Error parsing XML in stream at line 18, column 8, byte index 632: not well-formed (invalid token) ERROR: In /home/kdean/tmp/install_PV_source/ParaView/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, line 565 vtkSIProxyDefinitionManager (0x1815770): No proxy that matches: group=sources and proxy=vtkPVPROTOImageReader were found. Error opening file ".../protobuf." Kevin E. Dean On Tue, May 5, 2015 at 10:12 AM, Burlen Loring wrote: > at the moment I do not implement that. > > this may be the source of your issues, I thought that if you don't return > 1 from this function PV will assume your reader is not the right one and > skip it(ie never call SetFileName). But if that were really true I don't > get how RequestData is getting called... > > > > On 05/05/2015 10:00 AM, Dean, Kevin wrote: > > at the moment I do not implement that. I am assuming that may be the > reason why I get this message every time i load the shared object file... > > ERROR: In > /home/kdean/tmp/install_PV_source/ParaView/ParaViewCore/ServerManager/Core/vtkSMProperty.cxx, > line 552 > vtkSMStringVectorProperty (0x3cb10f0): Could not create object of type: > vtkSMFileListDoman. Did you specify wrong xml element? > > On Tue, May 5, 2015 at 9:14 AM, Burlen Loring wrote: > >> ParaView should set it after it determines if the reader can read it. >> Did you also implement CanReadFile? Maybe the problem is in that function. >> >> >> On 05/05/2015 09:09 AM, Dean, Kevin wrote: >> >> >> ---------- Forwarded message ---------- >> From: Dean, Kevin >> Date: Mon, May 4, 2015 at 5:10 PM >> Subject: Re: [Paraview] Image Doesn't load correctly >> To: Burlen Loring >> >> >> awesome, thanks, that did it. >> >> One more question. Is there a way to debug the FileName aspect of the >> reader. I can't figure out how it's supposed to get set. The only way I can >> get the image to show is by hard >> coding it within the RequestData() function. >> >> Thanks Again >> >> Kevin E. Dean >> >> On Mon, May 4, 2015 at 11:33 AM, Burlen Loring >> wrote: >> >>> Hi Kevin. >>> >>> Your RequestInformation looks a little bare. Unless things have changed >>> recently, you might need to set WHOLE_EXTENT, ORIGIN, SPACING, >>> CAN_PRODUCE_SUB_EXTENT keys there. and if you support parallel IO honor the >>> requested extent in RequestData. >>> >>> Burlen >>> >>> >>> On 05/04/2015 09:52 AM, Dean, Kevin wrote: >>> >>> So I am still having a few issues with the reader. I have checked the >>> output from the information Panel. And it seems as if all the information >>> is the same. So maybe the data is getting deleted somehow (I'm not >>> sure...., but here is a snippet of my code); >>> >>> int vtkPVPROTOImageReader::RequestInformation ( >>> vtkInformation*, >>> vtkInformationVector**, >>> vtkInformationVector* outputVector) >>> { >>> vtkInformation* outInfo = outputVector->GetInformationObject(0); >>> vtkDataObject::SetPointDataActiveScalarInfo(outInfo, >>> VTK_UNSIGNED_CHAR, 1); >>> >>> return 1; >>> } >>> >>> int vtkPVPROTOImageReader::RequestData(vtkInformation >>> *vtkNotUsed(request), >>> vtkInformationVector >>> **inputVector, >>> vtkInformationVector >>> *outputVector) >>> { >>> ... conversion code from protobuf >>> >>> /* Convert from protobuf to vtkImageData */ >>> vtkSmartPointer image = "function converting to >>> protobuf"; >>> >>> vtkDataArray* scalars = image->GetPointData()->GetScalars(); >>> scalars->SetName("ReconstructionData"); >>> >>> /* Get the info object */ >>> vtkInformation *outInfo = outputVector->GetInformationObject(0); >>> outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); >>> >>> /* Get the output */ >>> vtkImageData* output = vtkImageData::GetData(outputVector); >>> >>> // output->SetSpacing(image->GetSpacing()); >>> // output->SetOrigin(image->GetOrigin()); >>> // output->AllocateScalars(outInfo); >>> // >>> output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); >>> // output->SetDimensions(image->GetDimensions()); >>> >>> output->ShallowCopy(image); >>> >>> int* dimensions = output->GetDimensions(); >>> >>> std::cout << "\nNumber of points: " << output->GetNumberOfPoints() << >>> std::endl; >>> std::cout << "Number of cells: " << output->GetNumberOfCells() << "\n" >>> << std::endl; >>> >>> // print out the pixel values to see if they are actually present >>> for (int z = 0; z < dimensions[2]; z++) >>> { >>> for (int y = 0; y < dimensions[1]; y++) >>> { >>> for (int x = 0; x < dimensions[0]; x++) >>> { >>> double* pixel = >>> static_cast(output->GetScalarPointer(x,y,z)); >>> // do something with v >>> std::cout << "pixel value: " << pixel[0] << "\n"; >>> } >>> std::cout << std::endl; >>> } >>> std::cout << std::endl; >>> } >>> >>> // write output to file and compare in visualization window... >>> vtkSmartPointer vtk_writer = >>> vtkSmartPointer::New(); >>> vtk_writer->SetInputData(output); >>> vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); >>> vtk_writer->Update(); >>> vtk_writer->Write(); >>> >>> return 1; >>> } >>> >>> >>> Another Problem I ran into: >>> So I had to hardcode a file for the char *FileName into the >>> RequestData Function in order to read any protobuf file. I ran a debugger >>> on the code, and it seems like these functions from the header file (of the >>> reader): >>> >>> vtkGetStringMacro(FileName); >>> vtkSetStringMacro(FileName); >>> >>> they are never getting called. >>> >>> Thanks, >>> >>> Kevin >>> >>> here are my xml too... it looks right, but maybe I am missing >>> something. >>> >>> On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit < >>> utkarsh.ayachit at kitware.com> wrote: >>> >>>> You can also use the Information panel to see what arrays are being >>>> read in and what their ranges are. >>>> >>>> On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin >>>> wrote: >>>> > looked at the spreadsheet view in the GUI, and it looks like none of >>>> the >>>> > Point Data is actually being copied... >>>> > >>>> > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin >>>> > wrote: >>>> >> >>>> >> What's up Utkarsh? >>>> >> >>>> >> So I was able to write that plugin and convert my image to the >>>> >> vtkImageData. However, I am having trouble visualizing the image. >>>> However, >>>> >> when I write out the output from my reader, the image gets written >>>> >> correctly... Here are some pictures to show the differences. (All the >>>> >> information for the images is exactly the same) Do you have an idea >>>> of how I >>>> >> can try to fix it? Thanks. >>>> >> >>>> >> Kevin E. Dean >>>> > >>>> > >>>> > >>>> > This email and its contents are confidential. If you are not the >>>> intended >>>> > recipient, please do not disclose or use the information within this >>>> email >>>> > or its attachments. If you have received this email in error, please >>>> report >>>> > the error to the sender by return email and delete this communication >>>> from >>>> > your records. >>>> >>> >>> >>> This email and its contents are confidential. If you are not the >>> intended recipient, please do not disclose or use the information within >>> this email or its attachments. If you have received this email in error, >>> please report the error to the sender by return email and delete this >>> communication from your records. >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> >> >> This email and its contents are confidential. If you are not the intended >> recipient, please do not disclose or use the information within this email >> or its attachments. If you have received this email in error, please report >> the error to the sender by return email and delete this communication from >> your records. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > > > -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Tue May 5 19:39:25 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Tue, 5 May 2015 16:39:25 -0700 Subject: [Paraview] Fwd: Image Doesn't load correctly In-Reply-To: References: <5547BB5E.40500@gmail.com> <5548EC4E.8030805@lbl.gov> <5548FA06.5070502@lbl.gov> Message-ID: nevermind, I figured it out. the xml I had didn't like having a documentation section within the string vector property Kevin On Tue, May 5, 2015 at 4:31 PM, Dean, Kevin < kevin.dean at decisionsciencescorp.com> wrote: > ok, now I am getting new and exciting error messages for loading the > plugin... it doesn't seem to enjoy this line from the XML > > > > errors: > > ERROR: In > /home/kdean/tmp/install_PV_source/ParaView/VTK/IO/XMLParser/vtkXMLParser.cxx, > line 483 > vtkPVXMLParser (0x35d8d20): Error parsing XML in stream at line 18, column > 8, byte index 632: not well-formed (invalid token) > > > ERROR: In > /home/kdean/tmp/install_PV_source/ParaView/VTK/IO/XMLParser/vtkXMLParser.cxx, > line 483 > vtkPVXMLParser (0x238f5a0): Error parsing XML in stream at line 18, column > 8, byte index 632: not well-formed (invalid token) > > > ERROR: In > /home/kdean/tmp/install_PV_source/ParaView/ParaViewCore/ServerImplementation/Core/vtkSIProxyDefinitionManager.cxx, > line 565 > vtkSIProxyDefinitionManager (0x1815770): No proxy that matches: > group=sources and proxy=vtkPVPROTOImageReader were found. > > Error opening file ".../protobuf." > > Kevin E. Dean > > On Tue, May 5, 2015 at 10:12 AM, Burlen Loring wrote: > >> at the moment I do not implement that. >> >> this may be the source of your issues, I thought that if you don't return >> 1 from this function PV will assume your reader is not the right one and >> skip it(ie never call SetFileName). But if that were really true I don't >> get how RequestData is getting called... >> >> >> >> On 05/05/2015 10:00 AM, Dean, Kevin wrote: >> >> at the moment I do not implement that. I am assuming that may be the >> reason why I get this message every time i load the shared object file... >> >> ERROR: In >> /home/kdean/tmp/install_PV_source/ParaView/ParaViewCore/ServerManager/Core/vtkSMProperty.cxx, >> line 552 >> vtkSMStringVectorProperty (0x3cb10f0): Could not create object of type: >> vtkSMFileListDoman. Did you specify wrong xml element? >> >> On Tue, May 5, 2015 at 9:14 AM, Burlen Loring wrote: >> >>> ParaView should set it after it determines if the reader can read it. >>> Did you also implement CanReadFile? Maybe the problem is in that function. >>> >>> >>> On 05/05/2015 09:09 AM, Dean, Kevin wrote: >>> >>> >>> ---------- Forwarded message ---------- >>> From: Dean, Kevin >>> Date: Mon, May 4, 2015 at 5:10 PM >>> Subject: Re: [Paraview] Image Doesn't load correctly >>> To: Burlen Loring >>> >>> >>> awesome, thanks, that did it. >>> >>> One more question. Is there a way to debug the FileName aspect of the >>> reader. I can't figure out how it's supposed to get set. The only way I can >>> get the image to show is by hard >>> coding it within the RequestData() function. >>> >>> Thanks Again >>> >>> Kevin E. Dean >>> >>> On Mon, May 4, 2015 at 11:33 AM, Burlen Loring >>> wrote: >>> >>>> Hi Kevin. >>>> >>>> Your RequestInformation looks a little bare. Unless things have changed >>>> recently, you might need to set WHOLE_EXTENT, ORIGIN, SPACING, >>>> CAN_PRODUCE_SUB_EXTENT keys there. and if you support parallel IO honor the >>>> requested extent in RequestData. >>>> >>>> Burlen >>>> >>>> >>>> On 05/04/2015 09:52 AM, Dean, Kevin wrote: >>>> >>>> So I am still having a few issues with the reader. I have checked >>>> the output from the information Panel. And it seems as if all the >>>> information is the same. So maybe the data is getting deleted somehow (I'm >>>> not sure...., but here is a snippet of my code); >>>> >>>> int vtkPVPROTOImageReader::RequestInformation ( >>>> vtkInformation*, >>>> vtkInformationVector**, >>>> vtkInformationVector* outputVector) >>>> { >>>> vtkInformation* outInfo = outputVector->GetInformationObject(0); >>>> vtkDataObject::SetPointDataActiveScalarInfo(outInfo, >>>> VTK_UNSIGNED_CHAR, 1); >>>> >>>> return 1; >>>> } >>>> >>>> int vtkPVPROTOImageReader::RequestData(vtkInformation >>>> *vtkNotUsed(request), >>>> vtkInformationVector >>>> **inputVector, >>>> vtkInformationVector >>>> *outputVector) >>>> { >>>> ... conversion code from protobuf >>>> >>>> /* Convert from protobuf to vtkImageData */ >>>> vtkSmartPointer image = "function converting to >>>> protobuf"; >>>> >>>> vtkDataArray* scalars = image->GetPointData()->GetScalars(); >>>> scalars->SetName("ReconstructionData"); >>>> >>>> /* Get the info object */ >>>> vtkInformation *outInfo = outputVector->GetInformationObject(0); >>>> outInfo->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkImageData"); >>>> >>>> /* Get the output */ >>>> vtkImageData* output = vtkImageData::GetData(outputVector); >>>> >>>> // output->SetSpacing(image->GetSpacing()); >>>> // output->SetOrigin(image->GetOrigin()); >>>> // output->AllocateScalars(outInfo); >>>> // >>>> output->GetPointData()->SetScalars(image->GetPointData()->GetScalars()); >>>> // output->SetDimensions(image->GetDimensions()); >>>> >>>> output->ShallowCopy(image); >>>> >>>> int* dimensions = output->GetDimensions(); >>>> >>>> std::cout << "\nNumber of points: " << output->GetNumberOfPoints() << >>>> std::endl; >>>> std::cout << "Number of cells: " << output->GetNumberOfCells() << >>>> "\n" << std::endl; >>>> >>>> // print out the pixel values to see if they are actually present >>>> for (int z = 0; z < dimensions[2]; z++) >>>> { >>>> for (int y = 0; y < dimensions[1]; y++) >>>> { >>>> for (int x = 0; x < dimensions[0]; x++) >>>> { >>>> double* pixel = >>>> static_cast(output->GetScalarPointer(x,y,z)); >>>> // do something with v >>>> std::cout << "pixel value: " << pixel[0] << "\n"; >>>> } >>>> std::cout << std::endl; >>>> } >>>> std::cout << std::endl; >>>> } >>>> >>>> // write output to file and compare in visualization window... >>>> vtkSmartPointer vtk_writer = >>>> vtkSmartPointer::New(); >>>> vtk_writer->SetInputData(output); >>>> vtk_writer->SetFileName( "/home/kdean/tmp/foo.vti" ); >>>> vtk_writer->Update(); >>>> vtk_writer->Write(); >>>> >>>> return 1; >>>> } >>>> >>>> >>>> Another Problem I ran into: >>>> So I had to hardcode a file for the char *FileName into the >>>> RequestData Function in order to read any protobuf file. I ran a debugger >>>> on the code, and it seems like these functions from the header file (of the >>>> reader): >>>> >>>> vtkGetStringMacro(FileName); >>>> vtkSetStringMacro(FileName); >>>> >>>> they are never getting called. >>>> >>>> Thanks, >>>> >>>> Kevin >>>> >>>> here are my xml too... it looks right, but maybe I am missing >>>> something. >>>> >>>> On Sun, May 3, 2015 at 7:04 AM, Utkarsh Ayachit < >>>> utkarsh.ayachit at kitware.com> wrote: >>>> >>>>> You can also use the Information panel to see what arrays are being >>>>> read in and what their ranges are. >>>>> >>>>> On Sat, May 2, 2015 at 7:06 PM, Dean, Kevin >>>>> wrote: >>>>> > looked at the spreadsheet view in the GUI, and it looks like none of >>>>> the >>>>> > Point Data is actually being copied... >>>>> > >>>>> > On Sat, May 2, 2015 at 3:44 PM, Dean, Kevin >>>>> > wrote: >>>>> >> >>>>> >> What's up Utkarsh? >>>>> >> >>>>> >> So I was able to write that plugin and convert my image to the >>>>> >> vtkImageData. However, I am having trouble visualizing the image. >>>>> However, >>>>> >> when I write out the output from my reader, the image gets written >>>>> >> correctly... Here are some pictures to show the differences. (All >>>>> the >>>>> >> information for the images is exactly the same) Do you have an idea >>>>> of how I >>>>> >> can try to fix it? Thanks. >>>>> >> >>>>> >> Kevin E. Dean >>>>> > >>>>> > >>>>> > >>>>> > This email and its contents are confidential. If you are not the >>>>> intended >>>>> > recipient, please do not disclose or use the information within this >>>>> email >>>>> > or its attachments. If you have received this email in error, please >>>>> report >>>>> > the error to the sender by return email and delete this >>>>> communication from >>>>> > your records. >>>>> >>>> >>>> >>>> This email and its contents are confidential. If you are not the >>>> intended recipient, please do not disclose or use the information within >>>> this email or its attachments. If you have received this email in error, >>>> please report the error to the sender by return email and delete this >>>> communication from your records. >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>> >>> >>> This email and its contents are confidential. If you are not the >>> intended recipient, please do not disclose or use the information within >>> this email or its attachments. If you have received this email in error, >>> please report the error to the sender by return email and delete this >>> communication from your records. >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> >> This email and its contents are confidential. If you are not the intended >> recipient, please do not disclose or use the information within this email >> or its attachments. If you have received this email in error, please report >> the error to the sender by return email and delete this communication from >> your records. >> >> >> > -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed May 6 13:04:54 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 6 May 2015 17:04:54 +0000 Subject: [Paraview] How to show models simultaneously at independent timesteps Message-ID: <5fa0b7120a7e457cb4a8e9d90e3c3787@ES01AMSNLNT.srn.sandia.gov> A question from a user: Is there a way to load in multiple simulation files and have them show the results at independent times? For example: show simulation 1 at time = 10, simulation 2 at time = 20, and simulation 3 at time = 15, with all of them visible simultaneously in the same window. I tried the "ignore time" option, but all the simulations keep updating when I try to change the time of one. Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Wed May 6 13:28:46 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 6 May 2015 13:28:46 -0400 Subject: [Paraview] How to show models simultaneously at independent timesteps In-Reply-To: <5fa0b7120a7e457cb4a8e9d90e3c3787@ES01AMSNLNT.srn.sandia.gov> References: <5fa0b7120a7e457cb4a8e9d90e3c3787@ES01AMSNLNT.srn.sandia.gov> Message-ID: Yes. Use the comparative view. There you can specify time for each window separately but keep the same pipeline across all views. On Wed, May 6, 2015 at 1:04 PM, Scott, W Alan wrote: > A question from a user: > > Is there a way to load in multiple simulation files and have them show the > results at independent times? For example: show simulation 1 at time = 10, > simulation 2 at time = 20, and simulation 3 at time = 15, with all of them > visible simultaneously in the same window. I tried the "ignore time" > option, but all the simulations keep updating when I try to change the time > of one. > > Thanks, > > Alan > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fzgkkk at 126.com Thu May 7 05:53:41 2015 From: fzgkkk at 126.com (=?GBK?B?uLbX97ni?=) Date: Thu, 7 May 2015 17:53:41 +0800 (CST) Subject: [Paraview] eps outputting in paraview Message-ID: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> Dear all the Paraview users? I am the new student of Paraview and easily lost in some basic details of its application, one of them is eps outputting. I have tried it many times but failed all the while. The color maps may transform automatically into grayscale ones when I use Export Scene > choosing eps format > canceling Rasterize 3D geometry There are two examples for describing what I just lost in in E-mail attachments. I want to ask either something error in my operation or something I miss in the basic concepts of Paraview?s usage for my purpose. Seeking your help! Best regards Zuoguang Fu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Fig 1.jpg Type: image/jpeg Size: 30711 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Fig 2.jpg Type: image/jpeg Size: 106545 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Thu May 7 09:44:56 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 7 May 2015 09:44:56 -0400 Subject: [Paraview] Question about ParaView In-Reply-To: References: Message-ID: Not exactly, but look at the Probe filter. It uses a "location" widget to get a 3D position from the user interactively. Utkarsh On Fri, May 1, 2015 at 1:36 PM, Wu, James wrote: > Does ParaView supports selection in 3D volume render window? I want to get > current mouse clicked x,y,z coordinates. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From david.lonie at kitware.com Thu May 7 10:15:02 2015 From: david.lonie at kitware.com (David Lonie) Date: Thu, 7 May 2015 10:15:02 -0400 Subject: [Paraview] eps outputting in paraview In-Reply-To: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> References: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> Message-ID: Hi Zuoguang, For the first image -- what happens with Rasterize 3D Geometry left on? The GL2PS library used to generate the vector graphics formats can't handle geometry which is shaded using textures, which I suspect is the issue here. Rasterizing these objects is, unfortunately, the only way to preserve the colors that I'm aware of. For the second image, what does the output ps look like? Dave On Thu, May 7, 2015 at 5:53 AM, ??? wrote: > Dear all the Paraview users? > > I am the new student of Paraview and easily lost in some basic details of > its application, one of them is eps outputting. I have tried it many times > but failed all the while. The color maps may transform automatically into > grayscale ones when I use > > Export Scene > choosing eps format > canceling Rasterize 3D geometry > > There are two examples for describing what I just lost in in E-mail > attachments. I want to ask either something error in my operation or > something I miss in the basic concepts of Paraview?s usage for my purpose. > Seeking your help! > > > > Best regards > Zuoguang Fu > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lukasz.paluszek at airbus.com Fri May 8 05:59:56 2015 From: lukasz.paluszek at airbus.com (Paluszek, Lukasz) Date: Fri, 8 May 2015 09:59:56 +0000 Subject: [Paraview] Line Chart View changes from v4.2 Message-ID: Hello, I have notice that the Line Chart View behaves slightly differently than in versions 4.1 or 4.2. The first change is the inability to resize the columns of the "Series Parameters" box. In previous version one could grab the border of the "Variable" cell and stretch it to so that the variable names were not truncated, now this is not possible anymore, instead the whole piepeline browser pane has to be enlarged. The other change is the lack of point coordinates as a data array for the X axis, in the previous versions it was possible to make a line plot and view a variable against the X coordinate [Points(0)] for example. Is this a bug or am I missing something? Thanks, Lukasz [Beschreibung: Beschreibung: Description?: cid:image001.png at 01CF0B8F.DB7831F0] ?ukasz Paluszek Airbus Helicopters Aerodynamics Department (ETGA) 86607 Donauw?rth Germany Tel.: +49 (90) 671 8231 Fax.: +49 (90) 671 9122 Lukasz.Paluszek at airbus.com AIRBUS HELICOPTERS DEUTSCHLAND GmbH Sitz der Gesellschaft / Registered Office: Donauw?rth Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury Gesch?ftsf?hrung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / CEO; Johannes Kleidorfer; Dr. Klaus Przemeck; Oliver Schenzle; Martin Sch?bel; Stefan Thom? CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 16151 bytes Desc: image001.png URL: From cvdeuster at biomed.ee.ethz.ch Fri May 8 10:18:59 2015 From: cvdeuster at biomed.ee.ethz.ch (von Deuster Constantin) Date: Fri, 8 May 2015 14:18:59 +0000 Subject: [Paraview] compiled superquadric tensor glyph plugin for Win7 Message-ID: Dear all, Does anyone managed to compile the superquadric tensor glyph plugin (http://www.paraview.org/Wiki/ParaView/User_Created_Plugins) for win7? It would be great, if someone could send me the compiled plugin, as I expect compiling the whole pipeline (pv, qt, plugin, etc..) might be quite cumbersome. Many thanks in advance, you would help me a lot!! Regards Constantin -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 8 11:31:05 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 May 2015 11:31:05 -0400 Subject: [Paraview] Line Chart View changes from v4.2 In-Reply-To: References: Message-ID: That's indeed an issue. I've reported a bug: http://www.paraview.org/Bug/view.php?id=15461 Utkarsh On Fri, May 8, 2015 at 5:59 AM, Paluszek, Lukasz wrote: > Hello, > > > > I have notice that the Line Chart View behaves slightly differently than > in versions 4.1 or 4.2. The first change is the inability to resize the > columns of the ?Series Parameters? box. In previous version one could grab > the border of the ?Variable? cell and stretch it to so that the variable > names were not truncated, now this is not possible anymore, instead the > whole piepeline browser pane has to be enlarged. The other change is the > lack of point coordinates as a data array for the X axis, in the previous > versions it was possible to make a line plot and view a variable against > the X coordinate [Points(0)] for example. Is this a bug or am I missing > something? > > > > Thanks, > > Lukasz > > > > > > [image: Beschreibung: Beschreibung: Description : > cid:image001.png at 01CF0B8F.DB7831F0] > > *?ukasz Paluszek* > > Airbus Helicopters > > Aerodynamics Department (ETGA) > > 86607 Donauw?rth > > Germany > > Tel.: +49 (90) 671 8231 > > Fax.: +49 (90) 671 9122 > > Lukasz.Paluszek at airbus.com > > > *AIRBUS HELICOPTERS DEUTSCHLAND GmbH* > *Sitz der Gesellschaft / Registered Office: Donauw?rth* > *Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508* > *Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury* > *Gesch?ftsf?hrung / Board of Management:* > *Dr. Wolfgang Schoder, Vorsitzender / CEO; Johannes Kleidorfer; Dr. Klaus Przemeck; Oliver Schenzle; Martin Sch?bel; Stefan Thom? * > CONFIDENTIALITY NOTICE > This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations. > It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication > or any part of it is prohibited and may be unlawful. > If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. > Thank you very much. > It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses > or other material which might be introduced with this message. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 16151 bytes Desc: not available URL: From johnpmooreiv at gmail.com Fri May 8 12:03:11 2015 From: johnpmooreiv at gmail.com (John Moore) Date: Fri, 8 May 2015 12:03:11 -0400 Subject: [Paraview] Multiple GPUs per node Message-ID: I am trying to take advantage of all four GPUs on a 32 node Amazon ec2 cluster. However, I seem to only be able to utilize the first GPU. I run pvserver as follows: 1) Manually start an X display with the command : sudo X :0 & 2) run pvserver with the following command (using OpenMPI's mpirun): mpirun -np 16 pvserver -display :0.0 : -np 16 pvserver -display :0.1 When I try to connect the client, I get an error saying that the client could not connect to the remote display. Everything works fine using display :0.0 only. Does anyone know what I might be doing wrong here? Thank you for your time! John -------------- next part -------------- An HTML attachment was scrubbed... URL: From fzgkkk at 126.com Fri May 8 23:37:44 2015 From: fzgkkk at 126.com (=?GBK?B?uLbX97ni?=) Date: Sat, 9 May 2015 11:37:44 +0800 (CST) Subject: [Paraview] eps outputting in paraview In-Reply-To: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> References: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> Message-ID: <3e9a8588.34b0.14d36c009d9.Coremail.fzgkkk@126.com> Dear Dave, Thanks for your suggestion; I should firstly say sorry for giving an ambiguous description of PS, now here, the PS stands for Photoshop. Secondly, I have tested another many times for outputting eps, you are very right, choosing ?Rasterize 3D Geometry? when writing the eps files perhaps the only way to record the color map while no choosing may lead to an automatic transformation from the color to grey-scale ones. But I think this is not a real vector graphics formats since the pixel of it is a constant when the dpi is to be changed. So, recording the color map in tiff format with desired pixel and proper size is the best choice. Best regards zuoguang Fu At 2015-05-07 17:53:41, "???" wrote: Dear all the Paraview users? I am the new student of Paraview and easily lost in some basic details of its application, one of them is eps outputting. I have tried it many times but failed all the while. The color maps may transform automatically into grayscale ones when I use Export Scene > choosing eps format > canceling Rasterize 3D geometry There are two examples for describing what I just lost in in E-mail attachments. I want to ask either something error in my operation or something I miss in the basic concepts of Paraview?s usage for my purpose. Seeking your help! Best regards Zuoguang Fu -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep.jella at siemens-adgt.com Sat May 9 16:56:40 2015 From: sandeep.jella at siemens-adgt.com (Jella, Sandeep) Date: Sat, 9 May 2015 20:56:40 +0000 Subject: [Paraview] Paraview stops rendering after a while Message-ID: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> Hello, I have a time-series of a simulation (2D slices) and trying to animate them (Save Animation functionality). There are around 3000 2D slices each of which corresponds to one instant. However, after processing a certain number (~1600), Paraview apparently freezes, though it continues doing something. The avi file at the end reflects this (normal animation until a point and then the picture is frozen until the end). I am using Paraview 4.3.1 Any bright ideas? Many thanks, Sandeep. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sun May 10 13:43:49 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 10 May 2015 13:43:49 -0400 Subject: [Paraview] Paraview stops rendering after a while In-Reply-To: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> References: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> Message-ID: If you have a example script+dataset that you can share (off the list, if needed) to reproduce this issue, that'd make things easier to debug. Utkarsh On Sat, May 9, 2015 at 4:56 PM, Jella, Sandeep wrote: > Hello, > > > > I have a time-series of a simulation (2D slices) and trying to animate them > (Save Animation functionality). There are around 3000 2D slices each of > which corresponds to one instant. However, after processing a certain number > (~1600), Paraview apparently freezes, though it continues doing something. > The avi file at the end reflects this (normal animation until a point and > then the picture is frozen until the end). > > > > I am using Paraview 4.3.1 > > > > Any bright ideas? > > > > Many thanks, > > > > Sandeep. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From sandeep.jella at siemens-adgt.com Sun May 10 21:05:35 2015 From: sandeep.jella at siemens-adgt.com (Jella, Sandeep) Date: Mon, 11 May 2015 01:05:35 +0000 Subject: [Paraview] Paraview stops rendering after a while In-Reply-To: References: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> Message-ID: <70000E8CF211F942AD1DB39696F1CED50754180D@EUSMTVPR-MBX001.siemens-adgt.local> Hi Utkarsh, Thanks for responding so quickly. I have no problems sharing the dataset and the script...it is quite large though - probably 10-15 G compressed. I will see what I can do to get a reduced data-set. Alternatively, how can I set up a debug run so that a trace can be sent to you? Meanwhile, I think that Version 4.0.0-RC2 doesn't have this issue as I managed to do the complete animation - I'll confirm again with a few more tests but it came out ok. I've copied Martin Larcher on this since he mentions the same problem in an earlier post to the mailing list and this may be of use to him. Cheers, Sandeep. Message: 5 Date: Thu, 02 Apr 2015 12:12:36 +0200 From: Martin Larcher To: paraview at paraview.org Subject: Re: [Paraview] Animation problem - stops after rendering after a while.. Message-ID: <551D1614.50306 at jrc.ec.europa.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Dear all, I have the same problem since some weeks. When I try to create a longer animation the rendering stops after about 100 steps and the same view is shown by changing the time (using vtu files). Sandeep's error description sounds very similar. I'm using only standard filters, perhaps Contour is quite expensive. And perhaps my models are slightly bigger (about 1.6 million cells and a similar number of points). Some further remarks: I get the problem when I do the playback or even when I create an animation. I do not get the problem when I'm using no filters (except the read filter). If I remove after the occurrence of the error the Contour filter, there seems to be a layer over the output. During turning the model I can see it, when I release the mouse it disappears... Any idea? I'm using 4.3.1 but I have the same with 4.2 and 4.1 Martin -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: May 10, 2015 1:44 PM To: Jella, Sandeep Cc: paraview at paraview.org Subject: Re: [Paraview] Paraview stops rendering after a while If you have a example script+dataset that you can share (off the list, if needed) to reproduce this issue, that'd make things easier to debug. Utkarsh On Sat, May 9, 2015 at 4:56 PM, Jella, Sandeep wrote: > Hello, > > > > I have a time-series of a simulation (2D slices) and trying to animate > them (Save Animation functionality). There are around 3000 2D slices > each of which corresponds to one instant. However, after processing a > certain number (~1600), Paraview apparently freezes, though it continues doing something. > The avi file at the end reflects this (normal animation until a point > and then the picture is frozen until the end). > > > > I am using Paraview 4.3.1 > > > > Any bright ideas? > > > > Many thanks, > > > > Sandeep. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From srikanth.nagella at stfc.ac.uk Mon May 11 00:30:45 2015 From: srikanth.nagella at stfc.ac.uk (srikanth.nagella at stfc.ac.uk) Date: Mon, 11 May 2015 04:30:45 +0000 Subject: [Paraview] Multiple GPUs per node In-Reply-To: References: Message-ID: <77EF680B37D6CA4F9457525A0E59B1FF8CC3CDF8@EXCHMBX01.fed.cclrc.ac.uk> Hi John, You need to run 4 X servers, one X server per GPU card. http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Nodehttp://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node Sri ________________________________ From: ParaView [paraview-bounces at paraview.org] on behalf of John Moore [johnpmooreiv at gmail.com] Sent: 08 May 2015 17:03 To: paraview at paraview.org Subject: [Paraview] Multiple GPUs per node I am trying to take advantage of all four GPUs on a 32 node Amazon ec2 cluster. However, I seem to only be able to utilize the first GPU. I run pvserver as follows: 1) Manually start an X display with the command : sudo X :0 & 2) run pvserver with the following command (using OpenMPI's mpirun): mpirun -np 16 pvserver -display :0.0 : -np 16 pvserver -display :0.1 When I try to connect the client, I get an error saying that the client could not connect to the remote display. Everything works fine using display :0.0 only. Does anyone know what I might be doing wrong here? Thank you for your time! John From sven.buijssen at tu-dortmund.de Mon May 11 06:24:17 2015 From: sven.buijssen at tu-dortmund.de (Sven Buijssen) Date: Mon, 11 May 2015 12:24:17 +0200 Subject: [Paraview] compiled superquadric tensor glyph plugin for Win7 In-Reply-To: References: Message-ID: <55508351.8030705@tu-dortmund.de> Hi Constantin, I wrote said plugin originally and added it to the wiki a few years ago. The last version I compiled for Windows 7 was for ParaView 3.14.1 32bit. Not sure whether that build would be suitable for you. Especially since the implementation of the algorithm is now faster and a few small bugs have been ironed out. It could help you decide, though, whether it is worth going through the trouble of compiling the entire tool chain yourself. Sven von Deuster Constantin schrieb am 08.05.2015 um 16:18: > Dear all, > > Does anyone managed to compile the superquadric tensor glyph plugin > (http://www.paraview.org/Wiki/ParaView/User_Created_Plugins) for win7? > It would be great, if someone could send me the compiled plugin, as I > expect compiling the whole pipeline (pv, qt, plugin, etc..) might be > quite cumbersome. Many thanks in advance, you would help me a lot!! > > > > Regards > > Constantin > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From sven.buijssen at tu-dortmund.de Mon May 11 06:21:27 2015 From: sven.buijssen at tu-dortmund.de (Sven Buijssen) Date: Mon, 11 May 2015 12:21:27 +0200 Subject: [Paraview] eps outputting in paraview In-Reply-To: <3e9a8588.34b0.14d36c009d9.Coremail.fzgkkk@126.com> References: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> <3e9a8588.34b0.14d36c009d9.Coremail.fzgkkk@126.com> Message-ID: <555082A7.4040105@tu-dortmund.de> Hi Zuoguang, Try unchecking the checkbox "Interpolate Scalars Before Mapping" in the Properties tab before exporting to EPS. (It is an advanced property, either search for its name or toggle the wheel next to the search box to have it show up.) Sven ??? schrieb am 09.05.2015 um 05:37: > Dear Dave, > > Thanks for your suggestion; I should firstly say sorry for giving an > ambiguous description of PS, now here, the PS stands for Photoshop. > > Secondly, I have tested another many times for outputting eps, you are > very right, choosing ?Rasterize 3D Geometry? when writing the eps files > perhaps the only way to record the color map while no choosing may lead > to an automatic transformation from the color to grey-scale ones. > > But I think this is not a real vector graphics formats since the pixel > of it is a constant when the dpi is to be changed. So, recording the > color map in tiff format with desired pixel and proper size is the best > choice. > > > > Best regards > > zuoguang Fu > > > > > > At 2015-05-07 17:53:41, "???" wrote: > > Dear all the Paraview users? > > I am the new student of Paraview and easily lost in some basic > details of its application, one of them is eps outputting. I have > tried it many times but failed all the while. The color maps may > transform automatically into grayscale ones when I use > > Export Scene > choosing eps format > canceling Rasterize 3D geometry > > There are two examples for describing what I just lost in in E-mail > attachments. I want to ask either something error in my operation or > something I miss in the basic concepts of Paraview?s usage for my > purpose. Seeking your help! > > > > Best regards > > Zuoguang Fu > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From sven.buijssen at tu-dortmund.de Mon May 11 06:21:54 2015 From: sven.buijssen at tu-dortmund.de (Sven Buijssen) Date: Mon, 11 May 2015 12:21:54 +0200 Subject: [Paraview] CleantoGrid tolerance parameter for merging points In-Reply-To: <1d25-553d1d80-9-1f8bfc20@207986181> References: <1d25-553d1d80-9-1f8bfc20@207986181> Message-ID: <555082C2.1030002@tu-dortmund.de> Hi Patrick, Patrick Brockmann schrieb am 26.04.2015 um 19:17: > Hi, > > I like to see some points of an untsructured grid be merged ? > Some points have coordinates equal to 1E-14, others 0. > > When applying the CleantoGrid filter there is no entries > to specify a tolerance parameter. Internally, the filter relies since 2005 on vtkMergePoints which merges points with coinciding coordinates. There is no room for a tolerance parameter in that class. Previously, vtkPointLocator was used which allowed to specify a tolerance. > Am I missing something or the only way to do this today is to > apply a Calculator filter before with some new coordinates results as: > ceil(coordsX*1000)/1000*iHat + ceil(coordsY*1000)/1000*jHat + ceil(coordsZ*1000)/1000*kHat > It works but I would have prefered this kind of setting available from > the CleantoGrid filter. > > I have digged a similar question in 2007 > http://www.paraview.org/pipermail/paraview/2007-May/004914.html > > Let me know if I should put a request on this missing feature > on the paraview bug tracker or just live with it. A few years back when I faced this challenge myself for the first time, I wrote a small plugin subclassing vtkCleanUnstructuredGrid that uses vtkPointLocator internally and allows to specify a tolerance parameter. Let me know if you are interested. Sven From u.utku.turuncoglu at be.itu.edu.tr Mon May 11 09:15:24 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 11 May 2015 16:15:24 +0300 Subject: [Paraview] to be sure about used hardware ... Message-ID: <5550AB6C.8080507@be.itu.edu.tr> Hi All, My question could be very basic but how to be sure that Paraview uses installed graphics card (in my case Nvidia K2000)? Do i need to install Paraview from source (using Nvidia drivers) to use the full capability of underlying hardware? I am asking because volume rendering seems little bit slow when i try to use binary Paraview installation after installing driver of the graphics card. I just want to be sure about it. Regards, --ufuk From dkxls23 at gmail.com Mon May 11 10:05:19 2015 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Mon, 11 May 2015 17:05:19 +0300 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <5550AB6C.8080507@be.itu.edu.tr> References: <5550AB6C.8080507@be.itu.edu.tr> Message-ID: <5550B71F.30504@gmail.com> I cannot directly answer your question, but there has been some discussion about slow volume rendering previously. Search the archive for a thread called "Hardware suggestions for volume rendering". A quick summary: The performance depends on the type of dataset you have, i.e. structured grids (even up to 70M grid points) will render decently fast on a single Nvidia Quadro K2100M GPU, but unstructured grids are very slow already for much smaller grids. You can test this by using the wavelet source, which gives you a arability sized structured dataset. -Armin On 05/11/2015 04:15 PM, Ufuk Utku Turuncoglu (BE) wrote: > Hi All, > > My question could be very basic but how to be sure that Paraview uses > installed graphics card (in my case Nvidia K2000)? Do i need to install > Paraview from source (using Nvidia drivers) to use the full capability > of underlying hardware? I am asking because volume rendering seems > little bit slow when i try to use binary Paraview installation after > installing driver of the graphics card. I just want to be sure about it. > > Regards, > > --ufuk > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From cws105 at mun.ca Mon May 11 10:00:20 2015 From: cws105 at mun.ca (Stanbridge, Christopher William) Date: Mon, 11 May 2015 11:30:20 -0230 Subject: [Paraview] Multiple versions of ParaView on same computer; how do I choose one? Message-ID: Dear ParaViewers, I have recently used the instructions from the ParaView Wiki to download ParaView (presumably its most recent version, 4.3.1) and build it with OSMesa. However, my computer also has a non-OSMesa-enabled copy of ParaView 4.0.1 installed. Whenever I run the "ParaView" command, the 4.0.1 version opens. How do I tell my computer that I want to open the OSMesa-enabled version? Will I need to uninstall 4.0.1 first? I am running Ubuntu 14.04 if that makes any difference. Cheers, CS -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Mon May 11 10:15:56 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 11 May 2015 17:15:56 +0300 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <5550B71F.30504@gmail.com> References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> Message-ID: <5550B99C.4040403@be.itu.edu.tr> Hi Armin, Actually, the data size is 541x385x40 (x,y,z; float) ~8.3M grid points and i am using regular grid not unstructured. I will give a chance to wavelet source as you suggest to get feeling about the performance but i am still looking for an answer for my initial question. Is out of box ParaView binary could use full capability of hardware or not? Thanks again, --ufuk On 11/05/15 17:05, Armin Wehrfritz wrote: > I cannot directly answer your question, but there has been some > discussion about slow volume rendering previously. Search the archive > for a thread called "Hardware suggestions for volume rendering". > > A quick summary: > The performance depends on the type of dataset you have, i.e. > structured grids (even up to 70M grid points) will render decently > fast on a single Nvidia Quadro K2100M GPU, but unstructured grids are > very slow already for much smaller grids. > > You can test this by using the wavelet source, which gives you a > arability sized structured dataset. > > -Armin > > > > On 05/11/2015 04:15 PM, Ufuk Utku Turuncoglu (BE) wrote: >> Hi All, >> >> My question could be very basic but how to be sure that Paraview uses >> installed graphics card (in my case Nvidia K2000)? Do i need to install >> Paraview from source (using Nvidia drivers) to use the full capability >> of underlying hardware? I am asking because volume rendering seems >> little bit slow when i try to use binary Paraview installation after >> installing driver of the graphics card. I just want to be sure about it. >> >> Regards, >> >> --ufuk >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From u.utku.turuncoglu at be.itu.edu.tr Mon May 11 10:19:36 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Mon, 11 May 2015 17:19:36 +0300 Subject: [Paraview] Multiple versions of ParaView on same computer; how do I choose one? In-Reply-To: References: Message-ID: <5550BA78.5000609@be.itu.edu.tr> Are they installed in different folders? If yes, you could set PATH environment variable to point the directory that has paraview command. If you looking for a system wide solution then you could create small shell script under /etc/profile.d (for CentOS but it must be similar in Ubuntu) to automatically set PATH environment variable. --ufuk On 11/05/15 17:00, Stanbridge, Christopher William wrote: > Dear ParaViewers, > > I have recently used the instructions from the ParaView Wiki to > download ParaView (presumably its most recent version, 4.3.1) and > build it with OSMesa. However, my computer also has a > non-OSMesa-enabled copy of ParaView 4.0.1 installed. Whenever I run > the "ParaView" command, the 4.0.1 version opens. How do I tell my > computer that I want to open the OSMesa-enabled version? Will I need > to uninstall 4.0.1 first? > > I am running Ubuntu 14.04 if that makes any difference. > > Cheers, > CS > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon May 11 10:47:58 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 11 May 2015 10:47:58 -0400 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <5550B99C.4040403@be.itu.edu.tr> References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> Message-ID: > Is out of box ParaView binary > could use full capability of hardware or not? ParaVIew binaries don't ship with any OpenGL implementation. It uses whatever OpenGL drivers setup on the machine it's being run. So long as your environment is setup properly, ParaView will indeed use the hardware available. However, not all rendering techniques in ParaView will use the graphics card -- as Armin alluded to. Your dataset seems like small enough that volume rendering should be pretty instantaneous. What is the "Volume Rendering Mode" on the Properties panel set to? It should be "Smart" by default -- that will ensure that the graphics card is used, if possible. Utkarsh From burlen.loring at gmail.com Mon May 11 11:37:35 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Mon, 11 May 2015 08:37:35 -0700 Subject: [Paraview] Multiple GPUs per node In-Reply-To: <77EF680B37D6CA4F9457525A0E59B1FF8CC3CDF8@EXCHMBX01.fed.cclrc.ac.uk> References: <77EF680B37D6CA4F9457525A0E59B1FF8CC3CDF8@EXCHMBX01.fed.cclrc.ac.uk> Message-ID: <5550CCBF.1020604@gmail.com> btw, here is an batch script starting ParaView with pvservers assigned to GPU's round robin, from the SGI UV 1000 with 8 GPU. The other tricky aspect of running PV on multiple GPU is configuring X11. Here is the xorg.conf on this system, each card has it's own device, screen, and layout. Hope it helps. Burlen On 05/10/2015 09:30 PM, srikanth.nagella at stfc.ac.uk wrote: > Hi John, > > You need to run 4 X servers, one X server per GPU card. > http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Nodehttp://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node > > Sri > ________________________________ > From: ParaView [paraview-bounces at paraview.org] on behalf of John Moore [johnpmooreiv at gmail.com] > Sent: 08 May 2015 17:03 > To: paraview at paraview.org > Subject: [Paraview] Multiple GPUs per node > > I am trying to take advantage of all four GPUs on a 32 node Amazon ec2 cluster. However, I seem to only be able to utilize the first GPU. > > I run pvserver as follows: > > 1) Manually start an X display with the command : sudo X :0 & > 2) run pvserver with the following command (using OpenMPI's mpirun): > mpirun -np 16 pvserver -display :0.0 : -np 16 pvserver -display :0.1 > > When I try to connect the client, I get an error saying that the client could not connect to the remote display. Everything works fine using display :0.0 only. > > Does anyone know what I might be doing wrong here? Thank you for your time! > > John > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon May 11 13:03:39 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 11 May 2015 17:03:39 +0000 Subject: [Paraview] [EXTERNAL] Re: Paraview stops rendering after a while In-Reply-To: <70000E8CF211F942AD1DB39696F1CED50754180D@EUSMTVPR-MBX001.siemens-adgt.local> References: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> <70000E8CF211F942AD1DB39696F1CED50754180D@EUSMTVPR-MBX001.siemens-adgt.local> Message-ID: Not sure if I understand perfectly - your input to Paraview is a series of 2d slices (i.e., images)? Could you just take one slice, and replicate it a few thousand times? I.e., could you just give Kitware that one slice, and then instruct them to replicate it a few thousand times? Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Jella, Sandeep Sent: Sunday, May 10, 2015 7:06 PM To: Utkarsh Ayachit; martin.larcher at jrc.ec.europa.eu Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Paraview stops rendering after a while Hi Utkarsh, Thanks for responding so quickly. I have no problems sharing the dataset and the script...it is quite large though - probably 10-15 G compressed. I will see what I can do to get a reduced data-set. Alternatively, how can I set up a debug run so that a trace can be sent to you? Meanwhile, I think that Version 4.0.0-RC2 doesn't have this issue as I managed to do the complete animation - I'll confirm again with a few more tests but it came out ok. I've copied Martin Larcher on this since he mentions the same problem in an earlier post to the mailing list and this may be of use to him. Cheers, Sandeep. Message: 5 Date: Thu, 02 Apr 2015 12:12:36 +0200 From: Martin Larcher To: paraview at paraview.org Subject: Re: [Paraview] Animation problem - stops after rendering after a while.. Message-ID: <551D1614.50306 at jrc.ec.europa.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Dear all, I have the same problem since some weeks. When I try to create a longer animation the rendering stops after about 100 steps and the same view is shown by changing the time (using vtu files). Sandeep's error description sounds very similar. I'm using only standard filters, perhaps Contour is quite expensive. And perhaps my models are slightly bigger (about 1.6 million cells and a similar number of points). Some further remarks: I get the problem when I do the playback or even when I create an animation. I do not get the problem when I'm using no filters (except the read filter). If I remove after the occurrence of the error the Contour filter, there seems to be a layer over the output. During turning the model I can see it, when I release the mouse it disappears... Any idea? I'm using 4.3.1 but I have the same with 4.2 and 4.1 Martin -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: May 10, 2015 1:44 PM To: Jella, Sandeep Cc: paraview at paraview.org Subject: Re: [Paraview] Paraview stops rendering after a while If you have a example script+dataset that you can share (off the list, if needed) to reproduce this issue, that'd make things easier to debug. Utkarsh On Sat, May 9, 2015 at 4:56 PM, Jella, Sandeep wrote: > Hello, > > > > I have a time-series of a simulation (2D slices) and trying to animate > them (Save Animation functionality). There are around 3000 2D slices > each of which corresponds to one instant. However, after processing a > certain number (~1600), Paraview apparently freezes, though it continues doing something. > The avi file at the end reflects this (normal animation until a point > and then the picture is frozen until the end). > > > > I am using Paraview 4.3.1 > > > > Any bright ideas? > > > > Many thanks, > > > > Sandeep. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Mon May 11 13:12:14 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 11 May 2015 13:12:14 -0400 Subject: [Paraview] [EXTERNAL] Re: Paraview stops rendering after a while In-Reply-To: References: <70000E8CF211F942AD1DB39696F1CED5075417AA@EUSMTVPR-MBX001.siemens-adgt.local> <70000E8CF211F942AD1DB39696F1CED50754180D@EUSMTVPR-MBX001.siemens-adgt.local> Message-ID: Alan, I am working with Martin to get me a sample dataset/script. I'll keep the list updated as I make progress. Utkarsh On Mon, May 11, 2015 at 1:03 PM, Scott, W Alan wrote: > Not sure if I understand perfectly - your input to Paraview is a series of 2d slices (i.e., images)? Could you just take one slice, and replicate it a few thousand times? I.e., could you just give Kitware that one slice, and then instruct them to replicate it a few thousand times? > > Alan > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Jella, Sandeep > Sent: Sunday, May 10, 2015 7:06 PM > To: Utkarsh Ayachit; martin.larcher at jrc.ec.europa.eu > Cc: paraview at paraview.org > Subject: [EXTERNAL] Re: [Paraview] Paraview stops rendering after a while > > Hi Utkarsh, > > Thanks for responding so quickly. I have no problems sharing the dataset and the script...it is quite large though - probably 10-15 G compressed. I will see what I can do to get a reduced data-set. > > Alternatively, how can I set up a debug run so that a trace can be sent to you? > > Meanwhile, I think that Version 4.0.0-RC2 doesn't have this issue as I managed to do the complete animation - I'll confirm again with a few more tests but it came out ok. I've copied Martin Larcher on this since he mentions the same problem in an earlier post to the mailing list and this may be of use to him. > > Cheers, > > Sandeep. > > > > Message: 5 > Date: Thu, 02 Apr 2015 12:12:36 +0200 > From: Martin Larcher > To: paraview at paraview.org > Subject: Re: [Paraview] Animation problem - stops after rendering > after a while.. > Message-ID: <551D1614.50306 at jrc.ec.europa.eu> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Dear all, > I have the same problem since some weeks. When I try to create a longer animation the rendering stops after about 100 steps and the same view is shown by changing the time (using vtu files). Sandeep's error description sounds very similar. I'm using only standard filters, perhaps Contour is quite expensive. And perhaps my models are slightly bigger (about 1.6 million cells and a similar number of points). > Some further remarks: I get the problem when I do the playback or even when I create an animation. I do not get the problem when I'm using no filters (except the read filter). If I remove after the occurrence of the error the Contour filter, there seems to be a layer over the output. > During turning the model I can see it, when I release the mouse it disappears... > Any idea? > I'm using 4.3.1 but I have the same with 4.2 and 4.1 Martin > > > -----Original Message----- > From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > Sent: May 10, 2015 1:44 PM > To: Jella, Sandeep > Cc: paraview at paraview.org > Subject: Re: [Paraview] Paraview stops rendering after a while > > If you have a example script+dataset that you can share (off the list, if needed) to reproduce this issue, that'd make things easier to debug. > > Utkarsh > > On Sat, May 9, 2015 at 4:56 PM, Jella, Sandeep wrote: >> Hello, >> >> >> >> I have a time-series of a simulation (2D slices) and trying to animate >> them (Save Animation functionality). There are around 3000 2D slices >> each of which corresponds to one instant. However, after processing a >> certain number (~1600), Paraview apparently freezes, though it continues doing something. >> The avi file at the end reflects this (normal animation until a point >> and then the picture is frozen until the end). >> >> >> >> I am using Paraview 4.3.1 >> >> >> >> Any bright ideas? >> >> >> >> Many thanks, >> >> >> >> Sandeep. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From cws105 at mun.ca Mon May 11 14:20:42 2015 From: cws105 at mun.ca (Stanbridge, Christopher William) Date: Mon, 11 May 2015 15:50:42 -0230 Subject: [Paraview] No application called "paraview Message-ID: Dear ParaViewers, I am currently attempting to build ParaView from source so that I can use OSMesa with it. However, after I run the standard process (ccmake -> make -> make install), a newly created application called *paraview* is nowhere to be found. *pvserver*, *pvdataserver*, *paraview-config*, *pvpython* are all created, but no *paraview*. I am running Ubuntu 14.04. Might anyone have an explanation for this? Cheers, CS -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon May 11 14:31:15 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 11 May 2015 14:31:15 -0400 Subject: [Paraview] No application called "paraview In-Reply-To: References: Message-ID: Do you have PARAVIEW_BUILD_QT_GUI on in the cmake config? If not the ParaView application itself would not be built. You will need Qt installed to enable it, but it should be on by default. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, May 11, 2015 at 2:20 PM, Stanbridge, Christopher William < cws105 at mun.ca> wrote: > Dear ParaViewers, > > I am currently attempting to build ParaView from source so that I can use > OSMesa with it. However, after I run the standard process (ccmake -> make > -> make install), a newly created application called *paraview* is > nowhere to be found. *pvserver*, *pvdataserver*, *paraview-config*, > *pvpython* are all created, but no *paraview*. I am running Ubuntu 14.04. > Might anyone have an explanation for this? > > Cheers, > CS > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnpmooreiv at gmail.com Mon May 11 16:40:45 2015 From: johnpmooreiv at gmail.com (John Moore) Date: Mon, 11 May 2015 16:40:45 -0400 Subject: [Paraview] Multiple GPUs per node In-Reply-To: <5550CCBF.1020604@gmail.com> References: <77EF680B37D6CA4F9457525A0E59B1FF8CC3CDF8@EXCHMBX01.fed.cclrc.ac.uk> <5550CCBF.1020604@gmail.com> Message-ID: Thank you for the advice, Srikanth. I'll try to start four X servers. And thank you Burlen for the scripts. I think my X11 configuration file will need to be changed. On Mon, May 11, 2015 at 11:37 AM, Burlen Loring wrote: > btw, here is an batch script > > starting ParaView with pvservers assigned to GPU's round robin, from the > SGI UV 1000 with 8 GPU. The other tricky aspect of running PV on multiple > GPU is configuring X11. Here is the xorg.conf > > on this system, each card has it's own device, screen, and layout. > > Hope it helps. > Burlen > > > On 05/10/2015 09:30 PM, srikanth.nagella at stfc.ac.uk wrote: > > Hi John, > > You need to run 4 X servers, one X server per GPU card.http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Nodehttp://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Multiple_GPUs_Per_Node > > Sri > ________________________________ > From: ParaView [paraview-bounces at paraview.org] on behalf of John Moore [johnpmooreiv at gmail.com] > Sent: 08 May 2015 17:03 > To: paraview at paraview.org > > Subject: [Paraview] Multiple GPUs per node > > I am trying to take advantage of all four GPUs on a 32 node Amazon ec2 cluster. However, I seem to only be able to utilize the first GPU. > > I run pvserver as follows: > > 1) Manually start an X display with the command : sudo X :0 & > 2) run pvserver with the following command (using OpenMPI's mpirun): > mpirun -np 16 pvserver -display :0.0 : -np 16 pvserver -display :0.1 > > When I try to connect the client, I get an error saying that the client could not connect to the remote display. Everything works fine using display :0.0 only. > > Does anyone know what I might be doing wrong here? Thank you for your time! > > John > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnpmooreiv at gmail.com Mon May 11 16:48:56 2015 From: johnpmooreiv at gmail.com (John Moore) Date: Mon, 11 May 2015 16:48:56 -0400 Subject: [Paraview] Full screen screenshots Message-ID: I've been having an issue with generating full screen screenshots, from which I would like to generate a movie. I am running python on my local machine with a full desktop environment and connecting to a remote server which does the rendering and processing. I load a state file and generate the view as follows: pv.LoadState('dgsolution.pvsm'); view = pv.GetRenderView(); view.ViewSize = [1920,1080]; pv.SetActiveView(view) view.StillRender() I need to change the size to 1920x1080 since the state file used a different aspect ratio and size. The issue is that I have side menus on my desktop, and setting the view size to 1920x1080 pushes the render view outside of my display range. Is there a way around this? Rendering in full screen mode should solve the problem, but I don't know how to activate full screen from pvpython. Is there a way to do this? Thank you, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Mon May 11 17:01:06 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 11 May 2015 21:01:06 +0000 Subject: [Paraview] Full screen screenshots Message-ID: John, This doesn't actually answer your question, but can you set the size to something smaller that fits easily on your desktop and then use the magnification parameter of SaveScreenshot to create the larger screenshot that you actually want? The magnification will actually show the data at full resolution by rendering the image in pieces and stitching the results together. -Ken From: John Moore > Date: Monday, May 11, 2015 at 2:48 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] Full screen screenshots I've been having an issue with generating full screen screenshots, from which I would like to generate a movie. I am running python on my local machine with a full desktop environment and connecting to a remote server which does the rendering and processing. I load a state file and generate the view as follows: pv.LoadState('dgsolution.pvsm'); view = pv.GetRenderView(); view.ViewSize = [1920,1080]; pv.SetActiveView(view) view.StillRender() I need to change the size to 1920x1080 since the state file used a different aspect ratio and size. The issue is that I have side menus on my desktop, and setting the view size to 1920x1080 pushes the render view outside of my display range. Is there a way around this? Rendering in full screen mode should solve the problem, but I don't know how to activate full screen from pvpython. Is there a way to do this? Thank you, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Ziegeler at engilitycorp.com Mon May 11 18:53:22 2015 From: Sean.Ziegeler at engilitycorp.com (Sean.Ziegeler at engilitycorp.com) Date: Mon, 11 May 2015 22:53:22 +0000 Subject: [Paraview] (no subject) Message-ID: A user of mine would like to see points or glyphs of the atoms in a cube file. However, ParaView does not seem to be able to recognize them as data points that can do that. I can reproduce this in the VTKData example file: m4_TotalDensity.cube. This would be for the "Output" portion of the pipeline. The data ranges are uninteresting, but they should work. The atoms do show up as Point Data. I can even show them in a table, and if I select them, the selected magenta points do show up in the 3D RenderView. But, I cannot display them as rendered (and therefore cannot colormap) points. I CAN Glyph the atoms in m4_TotalDensity.cube. For my user's data, the Glyph filter outputs zero information. Although the data looks reasonably similar. Is this a bug, or am I missing a filter for this sort of data? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Mon May 11 21:02:36 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Mon, 11 May 2015 21:02:36 -0400 Subject: [Paraview] IEEE Scientific Visualization Contest Message-ID: Hi folks, We invite you to participate in the 2015 IEEE Scientific Visualization Contest. This year's contest targets data from cosmology research that studies the formation of structure in the Universe. Participants are challenged to create a comprehensive set of analysis and visualization capabilities that enable domain experts to gain deeper insight into the formation of various structures in the Universe and better understanding of observations from next generation telescopes. Besides a number of interesting incentives, the contest winners will be presenting their work at IEEE VIS 2015 and they will get a chance to publish their results as a full, peer-reviewed IEEE CG&A article. Find out more at http://sciviscontest.ieeevis.org/2015/ Best, -berk -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Tue May 12 06:49:02 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Tue, 12 May 2015 13:49:02 +0300 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> Message-ID: <5551DA9E.2010707@be.itu.edu.tr> Hi, I checked "Volume Rendering Mode" but i could not see it in my case. It is exist in my local laptop (Mac OS) but it is not in ParaView installed under Debian 8.0. I think that after selecting representation type to Volume, it must show up in the Properties menu. Right? --ufuk On 11/05/15 17:47, Utkarsh Ayachit wrote: >> Is out of box ParaView binary >> could use full capability of hardware or not? > ParaVIew binaries don't ship with any OpenGL implementation. It uses > whatever OpenGL drivers setup on the machine it's being run. So long > as your environment is setup properly, ParaView will indeed use the > hardware available. However, not all rendering techniques in ParaView > will use the graphics card -- as Armin alluded to. Your dataset seems > like small enough that volume rendering should be pretty > instantaneous. What is the "Volume Rendering Mode" on the Properties > panel set to? It should be "Smart" by default -- that will ensure that > the graphics card is used, if possible. > > Utkarsh From cws105 at mun.ca Tue May 12 08:27:29 2015 From: cws105 at mun.ca (Stanbridge, Christopher William) Date: Tue, 12 May 2015 09:57:29 -0230 Subject: [Paraview] Just a very quick question... Message-ID: Dear ParaViewers, If I want to run ParaView in client-server mode with OSMesa, which instance of ParaView needs to be built from source with OSMesa enabled -- the one on the client, the one on the server, or both? Cheers, CS -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Tue May 12 08:32:57 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 12 May 2015 12:32:57 +0000 Subject: [Paraview] Just a very quick question... In-Reply-To: References: Message-ID: <55B251E4-B510-4A8F-8959-D07289216B2A@aia.rwth-aachen.de> Hi CS, Only the one on the server. Michael On 12 May 2015, at 14:27 , Stanbridge, Christopher William > wrote: Dear ParaViewers, If I want to run ParaView in client-server mode with OSMesa, which instance of ParaView needs to be built from source with OSMesa enabled -- the one on the client, the one on the server, or both? Cheers, CS _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue May 12 08:33:41 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 12 May 2015 08:33:41 -0400 Subject: [Paraview] Just a very quick question... In-Reply-To: References: Message-ID: Just the server side. The client will need to show things on screen in any case. When the server is doing the rendering, the client doesn't care if the server made the images with an on- or offscreen GL. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, May 12, 2015 at 8:27 AM, Stanbridge, Christopher William < cws105 at mun.ca> wrote: > Dear ParaViewers, > > If I want to run ParaView in client-server mode with OSMesa, which > instance of ParaView needs to be built from source with OSMesa enabled -- > the one on the client, the one on the server, or both? > > Cheers, > CS > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue May 12 08:40:18 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 12 May 2015 08:40:18 -0400 Subject: [Paraview] (no subject) In-Reply-To: References: Message-ID: Sean, You would indeed need to use the "Glyph" filter to glyph the "Output". Try changing the "Glyph Mode" for the Glyph filter on the Properties panel to "All Points". Does that help? Utkarsh On Mon, May 11, 2015 at 6:53 PM, wrote: > A user of mine would like to see points or glyphs of the atoms in a cube > file. However, > ParaView does not seem to be able to recognize them as data points that can > do that. > > I can reproduce this in the VTKData example file: m4_TotalDensity.cube. > This would be for the > "Output" portion of the pipeline. The data ranges are uninteresting, but > they should work. > > The atoms do show up as Point Data. I can even show them in a table, and if > I select them, the > selected magenta points do show up in the 3D RenderView. But, I cannot > display them as rendered > (and therefore cannot colormap) points. > > I CAN Glyph the atoms in m4_TotalDensity.cube. For my user's data, the > Glyph filter outputs > zero information. Although the data looks reasonably similar. > > Is this a bug, or am I missing a filter for this sort of data? > > Thanks, > Sean > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Tue May 12 10:24:09 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 12 May 2015 10:24:09 -0400 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <5551DA9E.2010707@be.itu.edu.tr> References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> <5551DA9E.2010707@be.itu.edu.tr> Message-ID: That's weird. What version of ParaView are you using on your Debian 8? On Tue, May 12, 2015 at 6:49 AM, Ufuk Utku Turuncoglu (BE) wrote: > Hi, > > I checked "Volume Rendering Mode" but i could not see it in my case. It is > exist in my local laptop (Mac OS) but it is not in ParaView installed under > Debian 8.0. I think that after selecting representation type to Volume, it > must show up in the Properties menu. Right? > > --ufuk > > > On 11/05/15 17:47, Utkarsh Ayachit wrote: >>> >>> Is out of box ParaView binary >>> could use full capability of hardware or not? >> >> ParaVIew binaries don't ship with any OpenGL implementation. It uses >> whatever OpenGL drivers setup on the machine it's being run. So long >> as your environment is setup properly, ParaView will indeed use the >> hardware available. However, not all rendering techniques in ParaView >> will use the graphics card -- as Armin alluded to. Your dataset seems >> like small enough that volume rendering should be pretty >> instantaneous. What is the "Volume Rendering Mode" on the Properties >> panel set to? It should be "Smart" by default -- that will ensure that >> the graphics card is used, if possible. >> >> Utkarsh > > From dkxls23 at gmail.com Tue May 12 11:21:23 2015 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Tue, 12 May 2015 18:21:23 +0300 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> <5551DA9E.2010707@be.itu.edu.tr> Message-ID: <55521A73.9010800@gmail.com> Can you post the output of the following commands: 1) paraview --version 2) glxinfo | grep OpenGL Concerning different dataset types and volume rendering: Are you sure that your dataset is recognized by ParaView as a structured dataset? For instance, some simulation software packages produce always unstructured dataset (e.g. OpenFOAM), even if you setup a completely uniform grid. Also some filter in ParaView produce unstructured grids (e.g. threshold filter) no matter what the input type is. The grid type is easy to check from the Information panel in ParaView. -Armin On 05/12/2015 05:24 PM, Utkarsh Ayachit wrote: > That's weird. What version of ParaView are you using on your Debian 8? > > On Tue, May 12, 2015 at 6:49 AM, Ufuk Utku Turuncoglu (BE) > wrote: >> Hi, >> >> I checked "Volume Rendering Mode" but i could not see it in my case. It is >> exist in my local laptop (Mac OS) but it is not in ParaView installed under >> Debian 8.0. I think that after selecting representation type to Volume, it >> must show up in the Properties menu. Right? >> >> --ufuk >> >> >> On 11/05/15 17:47, Utkarsh Ayachit wrote: >>>> >>>> Is out of box ParaView binary >>>> could use full capability of hardware or not? >>> >>> ParaVIew binaries don't ship with any OpenGL implementation. It uses >>> whatever OpenGL drivers setup on the machine it's being run. So long >>> as your environment is setup properly, ParaView will indeed use the >>> hardware available. However, not all rendering techniques in ParaView >>> will use the graphics card -- as Armin alluded to. Your dataset seems >>> like small enough that volume rendering should be pretty >>> instantaneous. What is the "Volume Rendering Mode" on the Properties >>> panel set to? It should be "Smart" by default -- that will ensure that >>> the graphics card is used, if possible. >>> >>> Utkarsh >> >> From gaspare.argento at gmail.com Tue May 12 11:43:06 2015 From: gaspare.argento at gmail.com (Gaspare Argento) Date: Tue, 12 May 2015 17:43:06 +0200 Subject: [Paraview] OPEN MSC MARC 3D OUTPUT FILES Message-ID: Hello everybody, i know Paraview doesn't support MSC Marc 3D native files with "t16" extension (or *.unv). Does anyone know a workaround to import this type of files into Paraview? Thanks, Gaspare From kmorel at sandia.gov Tue May 12 11:49:47 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 12 May 2015 15:49:47 +0000 Subject: [Paraview] (no subject) Message-ID: The Glyph filter is the appropriate way to see points that have no cells attached to them (as in the case of the cube data). This might be a problem with the new uniform spatial distribution feature of the glyph filter. What happens if you change the "Glyph Mode" option of the filter from "Uniform Spatial Distribution" to "All Points"? -Ken From: "Sean.Ziegeler at engilitycorp.com" > Date: Monday, May 11, 2015 at 4:53 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] (no subject) A user of mine would like to see points or glyphs of the atoms in a cube file. However, ParaView does not seem to be able to recognize them as data points that can do that. I can reproduce this in the VTKData example file: m4_TotalDensity.cube. This would be for the "Output" portion of the pipeline. The data ranges are uninteresting, but they should work. The atoms do show up as Point Data. I can even show them in a table, and if I select them, the selected magenta points do show up in the 3D RenderView. But, I cannot display them as rendered (and therefore cannot colormap) points. I CAN Glyph the atoms in m4_TotalDensity.cube. For my user's data, the Glyph filter outputs zero information. Although the data looks reasonably similar. Is this a bug, or am I missing a filter for this sort of data? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Ziegeler at engilitycorp.com Tue May 12 12:23:58 2015 From: Sean.Ziegeler at engilitycorp.com (Sean.Ziegeler at engilitycorp.com) Date: Tue, 12 May 2015 16:23:58 +0000 Subject: [Paraview] (no subject) In-Reply-To: References: Message-ID: Duh, you and Utkarsh hit the nail on the head. I just needed to switch the Glyphs to All Points and it works great. Thanks! Sean ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Tuesday, May 12, 2015 10:49 AM To: Ziegeler, Sean @ EngilityCorp; paraview at paraview.org Subject: Re: [Paraview] (no subject) The Glyph filter is the appropriate way to see points that have no cells attached to them (as in the case of the cube data). This might be a problem with the new uniform spatial distribution feature of the glyph filter. What happens if you change the "Glyph Mode" option of the filter from "Uniform Spatial Distribution" to "All Points"? -Ken From: "Sean.Ziegeler at engilitycorp.com" > Date: Monday, May 11, 2015 at 4:53 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] (no subject) A user of mine would like to see points or glyphs of the atoms in a cube file. However, ParaView does not seem to be able to recognize them as data points that can do that. I can reproduce this in the VTKData example file: m4_TotalDensity.cube. This would be for the "Output" portion of the pipeline. The data ranges are uninteresting, but they should work. The atoms do show up as Point Data. I can even show them in a table, and if I select them, the selected magenta points do show up in the 3D RenderView. But, I cannot display them as rendered (and therefore cannot colormap) points. I CAN Glyph the atoms in m4_TotalDensity.cube. For my user's data, the Glyph filter outputs zero information. Although the data looks reasonably similar. Is this a bug, or am I missing a filter for this sort of data? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From u.utku.turuncoglu at be.itu.edu.tr Tue May 12 14:58:44 2015 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Tue, 12 May 2015 21:58:44 +0300 (EEST) Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <55521A73.9010800@gmail.com> References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> <5551DA9E.2010707@be.itu.edu.tr> <55521A73.9010800@gmail.com> Message-ID: <63133.88.235.33.174.1431457124.squirrel@webmail.be.itu.edu.tr> Okay. That makes sense because i have a Threshold filter in my visualisation pipeline. If i use wavelet source then i could see the "Volume Rendering Mode" and it is set as "Smart". So, using Threshold filter might also reduce the performance of the volume rendering. Right? Anyway, thanks for your suggestions and help. Regards, --ufuk > Can you post the output of the following commands: > 1) paraview --version > 2) glxinfo | grep OpenGL > > Concerning different dataset types and volume rendering: > Are you sure that your dataset is recognized by ParaView as a structured > dataset? For instance, some simulation software packages produce always > unstructured dataset (e.g. OpenFOAM), even if you setup a completely > uniform grid. > Also some filter in ParaView produce unstructured grids (e.g. threshold > filter) no matter what the input type is. > > The grid type is easy to check from the Information panel in ParaView. > > -Armin > > > > On 05/12/2015 05:24 PM, Utkarsh Ayachit wrote: >> That's weird. What version of ParaView are you using on your Debian 8? >> >> On Tue, May 12, 2015 at 6:49 AM, Ufuk Utku Turuncoglu (BE) >> wrote: >>> Hi, >>> >>> I checked "Volume Rendering Mode" but i could not see it in my case. It >>> is >>> exist in my local laptop (Mac OS) but it is not in ParaView installed >>> under >>> Debian 8.0. I think that after selecting representation type to Volume, >>> it >>> must show up in the Properties menu. Right? >>> >>> --ufuk >>> >>> >>> On 11/05/15 17:47, Utkarsh Ayachit wrote: >>>>> >>>>> Is out of box ParaView binary >>>>> could use full capability of hardware or not? >>>> >>>> ParaVIew binaries don't ship with any OpenGL implementation. It uses >>>> whatever OpenGL drivers setup on the machine it's being run. So long >>>> as your environment is setup properly, ParaView will indeed use the >>>> hardware available. However, not all rendering techniques in ParaView >>>> will use the graphics card -- as Armin alluded to. Your dataset seems >>>> like small enough that volume rendering should be pretty >>>> instantaneous. What is the "Volume Rendering Mode" on the Properties >>>> panel set to? It should be "Smart" by default -- that will ensure that >>>> the graphics card is used, if possible. >>>> >>>> Utkarsh >>> >>> > From gaspare.argento at gmail.com Wed May 13 06:26:44 2015 From: gaspare.argento at gmail.com (Gaspare Argento) Date: Wed, 13 May 2015 12:26:44 +0200 Subject: [Paraview] ERROR WITH FIND DATA UTILITY Message-ID: Hello everybody, I've a problem using the "Find Data" function in Paraview. When I select a data that has in his name a parenthesis I get the following error: Example for the quantity: Absolute_Pressure_[mbar] ______________________________________________________________________________ Error: Failed to evaluate Expression '(Absolute_Pressure_[mbar] > 5000) & (Absolute_Pressure_[mbar] < 5005)'. The following exception stack should provide additional developer specific information. This typically implies a malformed expression. Verify that the expression is valid. Traceback (most recent call last): File "", line 8, in File "", line 5, in vtkPythonExtractSelection_RequestData File "C:\Program Files (x86)\ParaView 4.3.1\lib\paraview-4.3\site-packages\paraview\extract_selection.py", line 74, in execute maskArray = calculator.compute(inputs, query, ns=elocals) File "C:\Program Files (x86)\ParaView 4.3.1\lib\paraview-4.3\site-packages\paraview\calculator.py", line 74, in compute retVal = eval(expression, globals(), mylocals) File "", line 1, in NameError: name 'Absolute_Pressure_' is not defined __________________________________________________________________________________ As you can see in the last line of the error message, Paraview searchs for a quantity name that is different from the correct one, because it is truncated: "Absolute_Pressure_" without "[mbar]" Any tips? Gaspare From dkxls23 at gmail.com Wed May 13 07:22:58 2015 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Wed, 13 May 2015 14:22:58 +0300 Subject: [Paraview] to be sure about used hardware ... In-Reply-To: <63133.88.235.33.174.1431457124.squirrel@webmail.be.itu.edu.tr> References: <5550AB6C.8080507@be.itu.edu.tr> <5550B71F.30504@gmail.com> <5550B99C.4040403@be.itu.edu.tr> <5551DA9E.2010707@be.itu.edu.tr> <55521A73.9010800@gmail.com> <63133.88.235.33.174.1431457124.squirrel@webmail.be.itu.edu.tr> Message-ID: <55533412.7000100@gmail.com> On 05/12/2015 09:58 PM, u.utku.turuncoglu at be.itu.edu.tr wrote: > Okay. That makes sense because i have a Threshold filter in my > visualisation pipeline. If i use wavelet source then i could see the > "Volume Rendering Mode" and it is set as "Smart". So, using Threshold > filter might also reduce the performance of the volume rendering. Right? Yes, the performance is severely impaired when you apply the threshold filer to a structured dataset, since it produces an unstructured dataset. To my understand you don't get a true volume rendering for unstructured dataset, but maybe somebody who knows more about the details can comment on this. However, since you have already a structured dataset to begin with, you should be able to get a decent performance. As I said, I can render a 64M structured dataset (i.e. a 400x400x400 wavelet source) instantly on my laptop. So your 8M dataset should be no problem, just don't use the threshold filter. If you want to work only on a subset of your dataset, you can use the "Extract Subset" filter, which outputs a structured dataset again. Otherwise you can achieve similar effects as with the threshold filter by adjusting the transfer function/color scale for the volume rendering. -Armin >> Can you post the output of the following commands: >> 1) paraview --version >> 2) glxinfo | grep OpenGL >> >> Concerning different dataset types and volume rendering: >> Are you sure that your dataset is recognized by ParaView as a structured >> dataset? For instance, some simulation software packages produce always >> unstructured dataset (e.g. OpenFOAM), even if you setup a completely >> uniform grid. >> Also some filter in ParaView produce unstructured grids (e.g. threshold >> filter) no matter what the input type is. >> >> The grid type is easy to check from the Information panel in ParaView. >> >> -Armin >> >> >> >> On 05/12/2015 05:24 PM, Utkarsh Ayachit wrote: >>> That's weird. What version of ParaView are you using on your Debian 8? >>> >>> On Tue, May 12, 2015 at 6:49 AM, Ufuk Utku Turuncoglu (BE) >>> wrote: >>>> Hi, >>>> >>>> I checked "Volume Rendering Mode" but i could not see it in my case. It >>>> is >>>> exist in my local laptop (Mac OS) but it is not in ParaView installed >>>> under >>>> Debian 8.0. I think that after selecting representation type to Volume, >>>> it >>>> must show up in the Properties menu. Right? >>>> >>>> --ufuk >>>> >>>> >>>> On 11/05/15 17:47, Utkarsh Ayachit wrote: >>>>>> >>>>>> Is out of box ParaView binary >>>>>> could use full capability of hardware or not? >>>>> >>>>> ParaVIew binaries don't ship with any OpenGL implementation. It uses >>>>> whatever OpenGL drivers setup on the machine it's being run. So long >>>>> as your environment is setup properly, ParaView will indeed use the >>>>> hardware available. However, not all rendering techniques in ParaView >>>>> will use the graphics card -- as Armin alluded to. Your dataset seems >>>>> like small enough that volume rendering should be pretty >>>>> instantaneous. What is the "Volume Rendering Mode" on the Properties >>>>> panel set to? It should be "Smart" by default -- that will ensure that >>>>> the graphics card is used, if possible. >>>>> >>>>> Utkarsh >>>> >>>> >> > From nenadus at gmail.com Wed May 13 08:21:38 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Wed, 13 May 2015 14:21:38 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view Message-ID: Hello everyone, It has been a long time ParaView sources worked excellent with my patches and the plugin (3D exporter). However, I'm having troubles with the latest version (v4.3.1) to export labels which are shown over selected points (both per point and per cell). This was my approach which worked with v4.0.1 (100% sure) and v4.2 (I think, but, I'm not definitely sure): 1. I traverse all visible pipeline sources and for all their representations in currently active view do next, 2. For every representation, I check if it is DataLabelRepresentation and if it is I save PointLabelVisibility, PointFieldDataArrayName, etc properties .. 3. From other representations, I get vtkLODActor for which I bind my labels properties, 4. In exporting code, I get current view, traverse its actors and export them, however, there is one problem now. Let me give an example: - If I have Sphere on which I applied Elevation filter and selected several points with turned on labels (with e.g. Elevation selected as array), - Strange 1: I don't have anymore instance in DataLabelRepresentation for Elevation pipeline source (btw, during this traversing I get only one actor), - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors (sphere mesh and actor with selected points), but, I'm unable to connect selection label properties (which are tied with Elevation pipeline source actor - sphere mesh) and mesh with selected points / cells. Q1: How to identify actor from vtkRenderer which contains selection points / cells and get selection properties from this actor or Q2: How to identify actor from pqPipeline source on which are selected points and how from appropriate representations to get actor which contains selected points / cells? Thanks everyone for possible answers! Nenad. From eramire2 at vols.utk.edu Wed May 13 08:52:54 2015 From: eramire2 at vols.utk.edu (Ramirez, Emilio (eramirez)) Date: Wed, 13 May 2015 12:52:54 +0000 Subject: [Paraview] Glyph filter instead of legacy glyph filter Message-ID: I am currently visualizing MFIX unstructured grid data in Paraview. I am trying to visualize the vector fields. After applying the "CellDataToPointData" I then apply the "Glyph" filter. This results in vector fields inside the reactor the way I want to visualize, but it also includes constant vectors perpendicular to the y axis and flow along the tube (reactor) wall. Using the "LegacyGlyph" instead of the "Glyph" filter results in the correct visualization but the vectors change size throughout the visualization. Is there a way that I can use the newer "Glyph" filter in my visualization and remove the constant vectors perpendicular to the y-axis? Looking forward to a reply, Emilio Ramirez eramirez at utk.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed May 13 09:57:19 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 13 May 2015 09:57:19 -0400 Subject: [Paraview] Glyph filter instead of legacy glyph filter In-Reply-To: References: Message-ID: > Is there a way that I can use the newer ?Glyph? filter in my visualization > and remove the constant vectors perpendicular to the y-axis? You can use the "Vectors" drop-down box to choose which vectors to use for orienting the glyph. You can use "Scale Mode" to control how to scale the glyph. Checkout Chapter 5, Section 5.7.8 for the ParaView Guide [1] for more details: Utkarsh [1] http://www.paraview.org/paraview-guide/ From utkarsh.ayachit at kitware.com Wed May 13 10:50:19 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 13 May 2015 10:50:19 -0400 Subject: [Paraview] ERROR WITH FIND DATA UTILITY In-Reply-To: References: Message-ID: Ah, good catch! Mind reporting a bug. For now, you can use the Calculator filter to rename the array to not include the "[", "]". Utkarsh On Wed, May 13, 2015 at 6:26 AM, Gaspare Argento wrote: > Hello everybody, > > I've a problem using the "Find Data" function in Paraview. When I > select a data that has in his name a parenthesis I get the following > error: > > Example for the quantity: Absolute_Pressure_[mbar] > ______________________________________________________________________________ > Error: Failed to evaluate Expression '(Absolute_Pressure_[mbar] > > 5000) & (Absolute_Pressure_[mbar] < 5005)'. The following exception > stack should provide additional developer specific information. This > typically implies a malformed expression. Verify that the expression > is valid. > > > Traceback (most recent call last): > > File "", line 8, in > > File "", line 5, in vtkPythonExtractSelection_RequestData > > File "C:\Program Files (x86)\ParaView > 4.3.1\lib\paraview-4.3\site-packages\paraview\extract_selection.py", > line 74, in execute > > maskArray = calculator.compute(inputs, query, ns=elocals) > > File "C:\Program Files (x86)\ParaView > 4.3.1\lib\paraview-4.3\site-packages\paraview\calculator.py", line 74, > in compute > > retVal = eval(expression, globals(), mylocals) > > File "", line 1, in > > NameError: name 'Absolute_Pressure_' is not defined > __________________________________________________________________________________ > > As you can see in the last line of the error message, Paraview searchs > for a quantity name that is different from the correct one, because it > is truncated: "Absolute_Pressure_" without "[mbar]" > > Any tips? > > Gaspare > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From James.Wu at kla-tencor.com Wed May 13 13:19:44 2015 From: James.Wu at kla-tencor.com (Wu, James) Date: Wed, 13 May 2015 17:19:44 +0000 Subject: [Paraview] Question about programmable data source Message-ID: I add a programmable data source using vtkImageData. The following is the script. There is nothing displayed after click "Apply". I am new user to paraview. Can any point me what's wrong with the script? Thanks, James dim = 10 pdo = self.GetImageDataOutput() pdo.SetDimensions(dim, dim, dim) pdo.SetOrigin(0, 0, 0) pdo.SetSpacing(1, 1, 1) pdo.SetExtent(0, dim - 1, 0, dim - 1, 0, dim - 1) pdo.AllocateScalars(vtk.VTK_FLOAT, 1) for x in range(0, dim): for y in range(0, dim): for z in range(0, dim): pdo.SetScalarComponentFromFloat(x, y, z, 0, 0.2) From dave.demarle at kitware.com Wed May 13 13:52:05 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 13 May 2015 13:52:05 -0400 Subject: [Paraview] Question about programmable data source In-Reply-To: References: Message-ID: You have to provide the whole extent in the request information pass. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, May 13, 2015 at 1:19 PM, Wu, James wrote: > I add a programmable data source using vtkImageData. The following is the > script. > There is nothing displayed after click "Apply". I am new user to paraview. > Can any point me what's wrong with the script? > > Thanks, > James > > dim = 10 > pdo = self.GetImageDataOutput() > pdo.SetDimensions(dim, dim, dim) > pdo.SetOrigin(0, 0, 0) > pdo.SetSpacing(1, 1, 1) > pdo.SetExtent(0, dim - 1, 0, dim - 1, 0, dim - 1) > pdo.AllocateScalars(vtk.VTK_FLOAT, 1) > > for x in range(0, dim): > for y in range(0, dim): > for z in range(0, dim): > pdo.SetScalarComponentFromFloat(x, y, z, 0, 0.2) > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Wed May 13 14:03:35 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Wed, 13 May 2015 11:03:35 -0700 Subject: [Paraview] Update ImageData Message-ID: I have written a script that generates an ImageData and constantly changes the Scalar values. With this script I would like to test how I can update the visualization of this image within ParaView. Is there a way, or a file I can compare/contrast to, in order to adjust a reader plugin to constantly listen and publish data to the pipeline? Thanks. Kevin E. Dean -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Wu at kla-tencor.com Wed May 13 14:38:33 2015 From: James.Wu at kla-tencor.com (Wu, James) Date: Wed, 13 May 2015 18:38:33 +0000 Subject: [Paraview] Question about programmable data source In-Reply-To: References: Message-ID: Hi David After remove executive.SetExtentTranslator(outInfo, vtk.vtkExtentTranslator()), not the points are rendered. Why there is no ?volume? option available for Representation? I want to render as volume Thanks, James From: David E DeMarle [mailto:dave.demarle at kitware.com] Sent: Wednesday, May 13, 2015 10:52 AM To: Wu, James Cc: paraview at paraview.org Subject: Re: [Paraview] Question about programmable data source You have to provide the whole extent in the request information pass. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, May 13, 2015 at 1:19 PM, Wu, James > wrote: I add a programmable data source using vtkImageData. The following is the script. There is nothing displayed after click "Apply". I am new user to paraview. Can any point me what's wrong with the script? Thanks, James dim = 10 pdo = self.GetImageDataOutput() pdo.SetDimensions(dim, dim, dim) pdo.SetOrigin(0, 0, 0) pdo.SetSpacing(1, 1, 1) pdo.SetExtent(0, dim - 1, 0, dim - 1, 0, dim - 1) pdo.AllocateScalars(vtk.VTK_FLOAT, 1) for x in range(0, dim): for y in range(0, dim): for z in range(0, dim): pdo.SetScalarComponentFromFloat(x, y, z, 0, 0.2) _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview.jpg Type: image/jpeg Size: 370785 bytes Desc: paraview.jpg URL: From richard.d.rinehart at nasa.gov Wed May 13 16:51:57 2015 From: richard.d.rinehart at nasa.gov (Rinehart, Richard D. (GRC-VG00)[DB Consulting Group, Inc.]) Date: Wed, 13 May 2015 20:51:57 +0000 Subject: [Paraview] Saving Stereo Files - Eye Separation Control Message-ID: <49F2A13558976D41882241B8CCCCF51B0F483D6A@NDJSMBX203.ndc.nasa.gov> Greetings! Is there a stereo file saving eye separation control for the binary Win version? Poking around but seems as not with the prebuilt version. -rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Wu at kla-tencor.com Wed May 13 18:47:05 2015 From: James.Wu at kla-tencor.com (Wu, James) Date: Wed, 13 May 2015 22:47:05 +0000 Subject: [Paraview] Question about paraview Message-ID: I want to run a python scrip when user click on a data source in Pipeline Browser. Can anyone tell me how to do this? Thanks, James -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview_click_source.jpg Type: image/jpeg Size: 308734 bytes Desc: paraview_click_source.jpg URL: From dave.demarle at kitware.com Wed May 13 20:28:58 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 13 May 2015 20:28:58 -0400 Subject: [Paraview] XDMF Set In-Reply-To: References: Message-ID: I believe in this case the intent was to get the edge'th edge out of the face'th face out of the cell'th cell. So in your example we get four edges out. cell 0's 0'th face's 0'th edge, cell 0's 1'st face's 1'st edge, cell 1's 2'nd face's 0'th edge, and cell 1's 3'rd face's 2'nd edge. The ordering in each case is defined by VTK. However, in the code (specifically vtkXdmfHeavyData.cxx:1507) it looks like it does exactly as you say. This appears to be a bug. In the Xdmf3 version we do it properly (see vtkXdmf3DataSet.cxx:2205). David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Apr 17, 2015 at 5:39 AM, Chris Richardson wrote: > > I would like to be able to specify data, or subsets of data in the XDMF > format with Edge or Facet sets. > > According to the header file of XdmfSet.h: > > XdmfSet is a Class that handles sets of nodes,cells,faces, and edges > on an XdmfGrid. They may be centered on the Node, Edge, > Face, Cell. An XdmfSet can have from 1 to 3 DataItems. The last > DataItem > is always the "Ids" or the indexes into Nodes, Cells, etc. If > SetType is > "Face" or "Edge", the First DataItem defines the CellIds. If > SetType is > "Edge" second DataItem defines FaceIds > > I have two questions: > > 1) What is the purpose of the FaceIds for a set of Edges? > > From what I can tell, using ParaView, the three dataitems provide: > global CellIDs, unused FaceIDs, cell-local EdgeIds > > e.g. in this case, the first DataItem "0 0 1 1" lists the cells, > the second DataItem "0 1 2 3" is ignored, and the third DataItem "0 1 > 0 2" > lists the cell-local Edges which have data attached? > > > > 0 0 1 1 > > > 0 1 2 3 > > > 0 1 0 2 > > > > 100 200 400 600 > > > > > Is that correct? > > 2) How can I specify an Edge set in 2D? Nothing seems to work in this case, > as ParaView complains that the cells have invalid Faces. > > > -- > Chris Richardson > BP Institute > Madingley Road > Cambridge CB3 0EZ > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvella at gmail.com Wed May 13 21:08:53 2015 From: lvella at gmail.com (Lucas Clemente Vella) Date: Wed, 13 May 2015 22:08:53 -0300 Subject: [Paraview] Data formats and XDMF Message-ID: Hi, I need to write the output of a CFD code, attributes are cell centered and my mesh looks like the picture attached: orthogonal edges, cells are rectangular, but unstructured (leafs of a tree, not necessarily octree). I know how to work with HDF5, thus I prefer to write it in XDMF + HDF5, but I could settle with any format that provides compression, and I am able to write the tree once, and reuse it with different attribute fields per time step (I know how to do it both from XDMF and directly from HDF5). So, is XDMF recommended, or should I use something else? Also, in the picture, the bigger cell, can it be written as a hexahedron, ignoring that one face actually interfaces with 4 other cells, or should I describe it as a 9 face polyhedron, where there are 4 coplanar faces? The former is much easier, is there any difference from visualization standpoint? Is it more "correct" to use a 9 face polyhedron? I have an idea on how to make a XDMF using only hexahedron, but not a clue with polyhedra of variable number of faces. Could you please assemble a sample XDMF depicting that mesh for me to use as base? -- Lucas Clemente Vella lvella at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: mesh.png Type: image/png Size: 7504 bytes Desc: not available URL: From chris at bpi.cam.ac.uk Thu May 14 04:47:50 2015 From: chris at bpi.cam.ac.uk (Chris Richardson) Date: Thu, 14 May 2015 09:47:50 +0100 Subject: [Paraview] XDMF Set In-Reply-To: References: Message-ID: I guess that leads to the following questions: 1) When will Xdmf3 be used by ParaView? 2) Does 2D work properly? 3) What about Attributes which are not in a "Set". The XDMF pages say this:- "A Grid centered Attribute might be something like "Material Type" where the value is constant everywhere in the grid. Edge and Face centered values are defined, but do not map well to many visualization systems." But how do you define Edge and Face centered values for the whole mesh, anyway? 4) Finally, is there any real need (in the case below) to go via the Faces? Maybe, before the standard gets more widespread, this could be eliminated, and just go direct from Cell->Edge... OK, this is just a suggestion... Chris Richardson BP Institute Madingley Road Cambridge CB3 0EZ On 14/05/2015 01:28, David E DeMarle wrote: > I believe in this case the intent was to get the edge'th edge out of > the face'th face out of the cell'th cell. > > So in your example we get four edges out. > > cell 0's 0'th face's 0'th edge, > cell 0's 1'st face's 1'st edge, > cell 1's 2'nd face's 0'th edge, > and > cell 1's 3'rd face's 2'nd edge. > The ordering in each case is defined by VTK. > > However, in the code (specifically vtkXdmfHeavyData.cxx:1507) it looks > like it does exactly as you say. > This appears to be a bug. > > In the Xdmf3 version we do it properly (see > vtkXdmf3DataSet.cxx:2205). > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Fri, Apr 17, 2015 at 5:39 AM, Chris Richardson > wrote: > >> I would like to be able to specify data, or subsets of data in the >> XDMF >> format with Edge or Facet sets. >> >> According to the header file of XdmfSet.h: >> >> XdmfSet is a Class that handles sets of nodes,cells,faces, and >> edges >> on an XdmfGrid. They may be centered on the Node, Edge, >> Face, Cell. An XdmfSet can have from 1 to 3 DataItems. The >> last DataItem >> is always the "Ids" or the indexes into Nodes, Cells, etc. >> If SetType is >> "Face" or "Edge", the First DataItem defines the CellIds. >> If SetType is >> "Edge" second DataItem defines FaceIds >> >> I have two questions: >> >> 1) What is the purpose of the FaceIds for a set of Edges? >> >> From what I can tell, using ParaView, the three dataitems provide: >> global CellIDs, unused FaceIDs, cell-local EdgeIds >> >> e.g. in this case, the first DataItem "0 0 1 1" lists the cells, >> the second DataItem "0 1 2 3" is ignored, and the third >> DataItem "0 1 0 2" >> lists the cell-local Edges which have data attached? >> >> >> >> 0 0 1 1 >> >> >> 0 1 2 3 >> >> >> 0 1 0 2 >> >> >> >> 100 200 400 600 >> >> >> >> >> Is that correct? >> >> 2) How can I specify an Edge set in 2D? Nothing seems to work in >> this case, >> as ParaView complains that the cells have invalid Faces. >> >> -- >> Chris Richardson >> BP Institute >> Madingley Road >> Cambridge CB3 0EZ >> _______________________________________________ >> Powered by www.kitware.com [1] >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html [2] >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView [3] >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> [4] >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview [5] > > > > Links: > ------ > [1] http://www.kitware.com > [2] http://www.kitware.com/opensource/opensource.html > [3] http://paraview.org/Wiki/ParaView > [4] http://markmail.org/search/?q=ParaView > [5] http://public.kitware.com/mailman/listinfo/paraview -- Chris Richardson BP Institute Madingley Road Cambridge CB3 0EZ From chris at bpi.cam.ac.uk Thu May 14 05:29:38 2015 From: chris at bpi.cam.ac.uk (Chris Richardson) Date: Thu, 14 May 2015 10:29:38 +0100 Subject: [Paraview] Data formats and XDMF In-Reply-To: References: Message-ID: <1c19be1e7482220911ceb2d57f410b2c@cam.ac.uk> On 14/05/2015 02:08, Lucas Clemente Vella wrote: > Hi, > > I need to write the output of a CFD code, attributes are cell centered > and my mesh looks like the picture attached: orthogonal edges, cells > are rectangular, but unstructured (leafs of a tree, not necessarily > octree). > > I know how to work with HDF5, thus I prefer to write it in XDMF + > HDF5, but I could settle with any format that provides compression, > and I am able to write the tree once, and reuse it with different > attribute fields per time step (I know how to do it both from XDMF and > directly from HDF5). > > So, is XDMF recommended, or should I use something else? > > Also, in the picture, the bigger cell, can it be written as a > hexahedron, ignoring that one face actually interfaces with 4 other > cells, or should I describe it as a 9 face polyhedron, where there are > 4 coplanar faces? The former is much easier, is there any difference > from visualization standpoint? Is it more "correct" to use a 9 face > polyhedron? > > I have an idea on how to make a XDMF using only hexahedron, but not a > clue with polyhedra of variable number of faces. Could you please > assemble a sample XDMF depicting that mesh for me to use as base? > I think if you are using cell-centered data, it will be OK to use hexahedra. If you had vertex-centered data, then the approach you describe above might make sense, as the values could be interpolated from the hanging node. You may notice some artefacts in the rendering, though, due to "internal surfaces" between the non-conforming cells. But only if you turn 'opacity' on, for example. Here is a simple (XML) example to see what I mean (e.g. try in paraview with opacity=0.5) 0 1 2 3 4 5 6 7 4 8 9 10 11 12 13 14 7 15 17 16 8 12 13 9 0.0 0.0 0.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 1.0 0.5 0.0 1.0 0.5 0.5 1.0 0.0 0.5 1.5 0.0 0.0 1.5 0.5 0.0 1.5 0.5 0.5 1.5 0.0 0.5 1.5 1.0 0.0 1.0 1.0 0.5 1.5 1.0 0.5 1 2 3 XDMF/HDF5 works really well (especially in parallel). -- Chris Richardson BP Institute Madingley Road Cambridge CB3 0EZ From James.Wu at kla-tencor.com Thu May 14 12:19:03 2015 From: James.Wu at kla-tencor.com (Wu, James) Date: Thu, 14 May 2015 16:19:03 +0000 Subject: [Paraview] Question about programmable data source Message-ID: How can I use programmable data source(vtkImageData) to render a volume? There is no Volume item in Representation drop box. Thanks, James From guanw at rhpcs.mcmaster.ca Thu May 14 15:59:04 2015 From: guanw at rhpcs.mcmaster.ca (Weiguang guan) Date: Thu, 14 May 2015 15:59:04 -0400 Subject: [Paraview] Report a bug Message-ID: <5554FE88.6050600@rhpcs.mcmaster.ca> Can someone report this bug (below) to the development team on my behalf? Thanks. Description of the bug: While linking cameras of two views, and you check/uncheck "Camera Parallel Projection", you will see the other view doesn't change accordingly. By "linking cameras", it should mean 100% identical viewing behavior. Best, Weiguang From mcartwright at microseismic.com Thu May 14 17:30:08 2015 From: mcartwright at microseismic.com (Mark Cartwright) Date: Thu, 14 May 2015 21:30:08 +0000 Subject: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid Message-ID: Hello, I have an unstructured grid that oddly produces a negative volume - I've looked for degenerate cells, etc. But cannot find anything obvious. The file is attached, it's a very small grid of approx.. 1500 cells, I've removed the data arrays - they integrated negative too - but this did not resolve the issue with the volume being < 0. I am look at vtkIntegrateAttributes now and will post if I find anything. Happy bug hunting, Mark ________________________________ This email and its attachments may contain MicroSeismic Inc. proprietary information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT belonging to MicroSeismic Inc. This email is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this email, or the employee or agent responsible for delivering this email to the intended recipient you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this email is STRICTLY PROHIBITED and may be UNLAWFUL. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout. Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Cleaned2_0.vtk Type: application/octet-stream Size: 47463 bytes Desc: Cleaned2_0.vtk URL: From andy.bauer at kitware.com Thu May 14 17:56:15 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 14 May 2015 17:56:15 -0400 Subject: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid In-Reply-To: References: Message-ID: Hi Mark, It looks like some of your cells are inverted in their canonical ordering. You can use the Mesh Quality filter to see the tets that have negative volumes. Probably the easiest way to fix the cells canonical ordering would be using Programmable Filter. Regards, Andy On Thu, May 14, 2015 at 5:30 PM, Mark Cartwright < mcartwright at microseismic.com> wrote: > Hello, > > > > I have an unstructured grid that oddly produces a negative volume ? I?ve > looked for degenerate cells, etc. But cannot find anything obvious. > > > > The file is attached, it?s a very small grid of approx.. 1500 cells, > I?ve removed the data arrays ? they integrated negative too ? but this did > not resolve the issue with the volume being < 0. > > > > I am look at vtkIntegrateAttributes now and will post if I find > anything. > > > > Happy bug hunting, > > > > Mark > > > > > > ------------------------------ > > This email and its attachments may contain MicroSeismic Inc. proprietary > information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT > belonging to MicroSeismic Inc. This email is intended solely for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient of this email, or the employee or agent responsible for > delivering this email to the intended recipient you are hereby notified > that any dissemination, distribution, copying, or action taken in relation > to the contents of and attachments to this email is STRICTLY PROHIBITED and > may be UNLAWFUL. If you have received this email in error, please notify > the sender immediately and permanently delete the original and any copy of > this email and any printout. Thank You. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcartwright at microseismic.com Thu May 14 18:17:31 2015 From: mcartwright at microseismic.com (Mark Cartwright) Date: Thu, 14 May 2015 22:17:31 +0000 Subject: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid In-Reply-To: References: Message-ID: Andy, Thanks for the quick reply ? that unstructured grid was output from vtkClipDataSet. I did not think to try the Mesh Quality filter ? I will try that. This is the first ugrid that I have seen this happen to, we are using clipdataset to slice a reservoir model ugrid using a geologic horizon. Many of these jobs have been run with good results. If you would like I could send you the input data and VTK flow. Thanks, Mark From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Thursday, May 14, 2015 4:56 PM To: Mark Cartwright Cc: paraview at paraview.org Subject: Re: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid Hi Mark, It looks like some of your cells are inverted in their canonical ordering. You can use the Mesh Quality filter to see the tets that have negative volumes. Probably the easiest way to fix the cells canonical ordering would be using Programmable Filter. Regards, Andy On Thu, May 14, 2015 at 5:30 PM, Mark Cartwright > wrote: Hello, I have an unstructured grid that oddly produces a negative volume ? I?ve looked for degenerate cells, etc. But cannot find anything obvious. The file is attached, it?s a very small grid of approx.. 1500 cells, I?ve removed the data arrays ? they integrated negative too ? but this did not resolve the issue with the volume being < 0. I am look at vtkIntegrateAttributes now and will post if I find anything. Happy bug hunting, Mark ________________________________ This email and its attachments may contain MicroSeismic Inc. proprietary information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT belonging to MicroSeismic Inc. This email is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this email, or the employee or agent responsible for delivering this email to the intended recipient you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this email is STRICTLY PROHIBITED and may be UNLAWFUL. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout. Thank You. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ________________________________ This email and its attachments may contain MicroSeismic Inc. proprietary information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT belonging to MicroSeismic Inc. This email is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this email, or the employee or agent responsible for delivering this email to the intended recipient you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this email is STRICTLY PROHIBITED and may be UNLAWFUL. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout. Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu May 14 18:31:58 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 14 May 2015 18:31:58 -0400 Subject: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid In-Reply-To: References: Message-ID: Hi Mark, Did you check the input grid to see if any cells in there are inverted? If you can share the data set and the workflow, I can take a look to see where the problem occurred. Best, Andy On Thu, May 14, 2015 at 6:17 PM, Mark Cartwright < mcartwright at microseismic.com> wrote: > Andy, > > > > Thanks for the quick reply ? that unstructured grid was output from > vtkClipDataSet. I did not think to try the Mesh Quality filter ? I will > try that. > > > > This is the first ugrid that I have seen this happen to, we are using > clipdataset to slice a reservoir model ugrid using a geologic horizon. > Many of these jobs have been run with good results. > > > > If you would like I could send you the input data and VTK flow. > > > > Thanks, > > > > Mark > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Thursday, May 14, 2015 4:56 PM > *To:* Mark Cartwright > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Integrate Variables filter generates negative > volume for UnstructuredGrid > > > > Hi Mark, > > It looks like some of your cells are inverted in their canonical ordering. > You can use the Mesh Quality filter to see the tets that have negative > volumes. > > Probably the easiest way to fix the cells canonical ordering would be > using Programmable Filter. > > > > Regards, > > Andy > > > > On Thu, May 14, 2015 at 5:30 PM, Mark Cartwright < > mcartwright at microseismic.com> wrote: > > Hello, > > > > I have an unstructured grid that oddly produces a negative volume ? I?ve > looked for degenerate cells, etc. But cannot find anything obvious. > > > > The file is attached, it?s a very small grid of approx.. 1500 cells, > I?ve removed the data arrays ? they integrated negative too ? but this did > not resolve the issue with the volume being < 0. > > > > I am look at vtkIntegrateAttributes now and will post if I find > anything. > > > > Happy bug hunting, > > > > Mark > > > > > > > ------------------------------ > > > This email and its attachments may contain MicroSeismic Inc. proprietary > information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT > belonging to MicroSeismic Inc. This email is intended solely for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient of this email, or the employee or agent responsible for > delivering this email to the intended recipient you are hereby notified > that any dissemination, distribution, copying, or action taken in relation > to the contents of and attachments to this email is STRICTLY PROHIBITED and > may be UNLAWFUL. If you have received this email in error, please notify > the sender immediately and permanently delete the original and any copy of > this email and any printout. Thank You. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > ------------------------------ > > This email and its attachments may contain MicroSeismic Inc. proprietary > information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT > belonging to MicroSeismic Inc. This email is intended solely for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient of this email, or the employee or agent responsible for > delivering this email to the intended recipient you are hereby notified > that any dissemination, distribution, copying, or action taken in relation > to the contents of and attachments to this email is STRICTLY PROHIBITED and > may be UNLAWFUL. If you have received this email in error, please notify > the sender immediately and permanently delete the original and any copy of > this email and any printout. Thank You. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri May 15 21:50:36 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Sat, 16 May 2015 01:50:36 +0000 Subject: [Paraview] build error Message-ID: <0761209dcf9149cfa2f58cb06e46ddf2@ES01AMSNLNT.srn.sandia.gov> I am getting the following build error when building ParaView. This is from master, on Linux, targeting a cluster (redsky). Clean build, new pull of a git tree. Any ideas? [ 0%] Built target vtksys [ 0%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o .../Build/VTK/Common/Core/vtkAtomicInt.h(117): error: first argument must be a pointer to integer or enumeration type return __sync_fetch_and_add(ref, 1); ^ detected during instantiation of "T vtkAtomicInt::operator++(int) [with T=vtkTypeInt32={signed int}]" at line 201 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx" .../Build/VTK/Common/Core/vtkAtomicInt.h(112): error: first argument must be a pointer to integer or enumeration type return __sync_sub_and_fetch(ref, 1); ^ detected during instantiation of "T vtkAtomicInt::operator--() [with T=vtkTypeInt32={signed int}]" at line 217 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx" compilation aborted for .../ParaView4/VTK/Common/Core/vtkObjectBase.cxx (code 2) make[2]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o] Error 2 make[1]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2 make: *** [all] Error 2 Looks to me like there has been work in AtomicInt.h lately... Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From nenadus at gmail.com Sat May 16 06:54:57 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Sat, 16 May 2015 12:54:57 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view Message-ID: Hello again, I have one another problem with the latest PV sources (v4.3.1, I used VS2008 x64 built with most of extra packages from super-build enabled) and creating labels. Again everything worked fine on v4.0 (and I think v4.2), but now, not anymore .. Here is what I tried: 1. I created a source plugin which outputs on output port 0 set of points and on output port 1 set of lines. 2. I registered handlers to catch signals sourceAdded(), sourceCreated(), representationAdded(), representationRemoved() etc, 3. In handler for RepresentationAdded, when representation for output port 0 (set of points) is created, I previously created DataLabelRepresentation and initialized, but now it just reports data representation is reported and does nothing.. 4. Now, I tried to set some parameters of representation subproxy by: // set representation's properties pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionVisibility"), true); pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelVisibility"), true); pqSMAdaptor::setMultipleElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelColor"), rPointLabelColor); pqSMAdaptor::setElementProperty(mptPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFontSize"), iPointLabelSize); pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFormat"), strPointLabelFormat); pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelJustification"), iPointLabelJustification); // update underlying VTK objects mptrPointsRepresentation->getProxy()->UpdateVTKObjects(); But, it still doesn't work. Btw, when I create sphere, apply elevation and select some points (with started tracing), I don't see any of these parameters turned ON. I don't see anything about selected points .. Also, I noticed selections are not preserved in state files. Thanks in advance for any help! Nenad. On Wed, May 13, 2015 at 2:21 PM, Nenad Vujicic wrote: > Hello everyone, > > It has been a long time ParaView sources worked excellent with my > patches and the plugin (3D exporter). However, I'm having troubles > with the latest version (v4.3.1) to export labels which are shown over > selected points (both per point and per cell). This was my approach > which worked with v4.0.1 (100% sure) and v4.2 (I think, but, I'm not > definitely sure): > > 1. I traverse all visible pipeline sources and for all their > representations in currently active view do next, > 2. For every representation, I check if it is DataLabelRepresentation > and if it is I save PointLabelVisibility, PointFieldDataArrayName, etc > properties .. > 3. From other representations, I get vtkLODActor for which I bind my > labels properties, > 4. In exporting code, I get current view, traverse its actors and > export them, however, there is one problem now. Let me give an > example: > > - If I have Sphere on which I applied Elevation filter and > selected several points with turned on labels (with e.g. Elevation > selected as array), > > - Strange 1: I don't have anymore instance in > DataLabelRepresentation for Elevation pipeline source (btw, during > this traversing I get only one actor), > - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors > (sphere mesh and actor with selected points), but, I'm unable to > connect selection label properties (which are tied with Elevation > pipeline source actor - sphere mesh) and mesh with selected points / > cells. > > Q1: How to identify actor from vtkRenderer which contains selection > points / cells and get selection properties from this actor or > > Q2: How to identify actor from pqPipeline source on which are selected > points and how from appropriate representations to get actor which > contains selected points / cells? > > Thanks everyone for possible answers! > > Nenad. From kevin.dean at decisionsciencescorp.com Sun May 17 22:33:58 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Sun, 17 May 2015 19:33:58 -0700 Subject: [Paraview] Switching Between Readers Message-ID: I was wondering if there was a way to instantiate a superclass that, let's say, can switch between vtkPolyDataAlgorithm and vtkImageAlgorithm. I have a reader that (as of now) converts the data within a protobuf file to image data. But currently, I have multiple protobuf files with different information. However, the file extension is still .pbuf, and it seems that the reader xml parsers the files based off this input. So would it be easier to change the filename? Or is there a way to switch between the two algorithm classes? Thanks for your time! Kevin E. Dean -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cws105 at mun.ca Mon May 18 03:02:28 2015 From: cws105 at mun.ca (Stanbridge, Christopher William) Date: Mon, 18 May 2015 04:32:28 -0230 Subject: [Paraview] "Client/server version hash mismatch", even when versions are the same Message-ID: Dear ParaViewers, I am attempting to set up a client/server connection between a default installation of ParaView 4.3.1 on the client side and an OSMesa build -- presumably also 4.3.1; built according to the wiki's instructions at http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D -- on the server side. Both computers have graphics hardware; using an ssh tunnel is not acceptable for our purposes due to the requirement to disable all security using *xhost+*. The computers also have default installations of 4.0.1. Both are running VTK 5.8. Despite the ParaView and VTK versions on both ends being identical, I receive "Client/server handshake failed" and "Client/server version hash mismatch" errors every time I attempt to connect. What could be the cause of this issue? CS? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jtxqhao at gmail.com Mon May 18 05:09:36 2015 From: jtxqhao at gmail.com (Yu Yu) Date: Mon, 18 May 2015 17:09:36 +0800 Subject: [Paraview] Build ParaViewWeb on windows Message-ID: Hi, I want to build ParaViewWeb on windows (64-but), I have install win32api for python in my machine. I am using cmake-gui, and every time I click ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will turn ParaView_Enable_Web to off. Is there a way to make it on ? I found this in the cmake text: # ParaViewWeb on Windows needs win32api which is not provided by default # For now the default behavior would be to disable it on Windows build Can I know how to enable ParaViewWeb for windows build ? Thanks for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From timo.oster at ovgu.de Mon May 18 08:48:07 2015 From: timo.oster at ovgu.de (Timo Oster) Date: Mon, 18 May 2015 14:48:07 +0200 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster Message-ID: <5559DF87.6080004@ovgu.de> Hi all, in an effort to enable live visualization of our simulation code, I have written a Catalyst adaptor for it. The live visualization is working great when the ParaView client runs on the same machine as the simulation, even when the simulation runs in parallel using mpi. Now I want to do live visualization of a simulation running on a remote cluster. I am able to get this to work for the simulation running on the login node of the cluster: 1. Tunnel an ssh connection of port 11111 to the cluster: ssh -L 11111:localhost:11111 server 2. In the shell that opens, start a paraview server (in the background with '&') 3. Run the simulation with mpirun (simulation runs only on login node) 4. Start my local ParaView client and connect to localhost:11111 to connect to the remote pvserver through the ssh tunnel 5. In the client, connect to Catalyst (port 22222) 6. A provider for the simulation is created and the live visualization works Now I want to do the same for simulations started on the remote cluster via the batch job system. In this scenario, the parallel processes of the simulation will run on different (randomly chosen) nodes on the cluster. How do I go about getting a connection from my local client to the Catalyst instances running on those nodes? I imagine I will need to set up ssh tunnels from the nodes to the login node where the pvserver is running. I've tried adding a ssh tunnel line to the job script that is executed when the batch job starts. I've tried forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no avail. The best I get is "ERROR: In /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 vtkServerSocket (0x18e0930): Socket error in call to bind. Address already in use." My knowledge in networking and ssh is limited, so any pointers to how I would go about this are greatly appreciated. Regards, Timo From christophe.bourcier.pv at gmail.com Mon May 18 09:31:53 2015 From: christophe.bourcier.pv at gmail.com (Christophe Bourcier) Date: Mon, 18 May 2015 15:31:53 +0200 Subject: [Paraview] Rescale to data range on a field's component in python in Paraview 4.3.1 Message-ID: Hi, In 4.2.0, the following code was enough to display a field's component instead of its magnitude and set the right scalar bar: lookup_table = GetColorTransferFunction('SIGM') #change array component used for coloring id_comp = 2 lookup_table.VectorComponent = id_comp lookup_table.VectorMode = 'Component' In 4.3.1, we have to explicitly get the min and max of the field and change the scalar bar name: # Update the scalar bar range source_array = stress.PointData.GetArray("SIGM") comp_name = source_array.GetComponentName(id_comp) mini, maxi = source_array.GetComponentRange(id_comp) lookup_table.RGBPoints = [mini, r, g, b, maxi, r2, g2, b2] # Update the scalar bar name ScalarBar1 = GetScalarBar(lookup_table) SetProperties(ScalarBar1, ComponentTitle=comp_name) Is this a bug, or am I missing something? In attachment, a script to load in Paraview 4.2.0 and 4.3.1. The sample file can be downloaded here: http://bourcier.eu/stress.vtu Thanks. Christophe -------------- next part -------------- A non-text attachment was scrubbed... Name: stress_field_vtu.py Type: text/x-python Size: 1447 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon May 18 09:42:37 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 18 May 2015 09:42:37 -0400 Subject: [Paraview] "Client/server version hash mismatch", even when versions are the same In-Reply-To: References: Message-ID: CS, What're the exact error messages reported on the client as well as the output terminal for the server? Can you post the complete text please? Utkarsh On Mon, May 18, 2015 at 3:02 AM, Stanbridge, Christopher William < cws105 at mun.ca> wrote: > Dear ParaViewers, > > I am attempting to set up a client/server connection between a default > installation of ParaView 4.3.1 on the client side and an OSMesa build -- > presumably also 4.3.1; built according to the wiki's instructions at > http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D -- on the > server side. Both computers have graphics hardware; using an ssh tunnel is > not acceptable for our purposes due to the requirement to disable all > security using *xhost+*. The computers also have default installations of > 4.0.1. Both are running VTK 5.8. > > Despite the ParaView and VTK versions on both ends being identical, I > receive "Client/server handshake failed" and "Client/server version hash > mismatch" errors every time I attempt to connect. What could be the cause > of this issue? > > CS? > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon May 18 09:49:58 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 18 May 2015 09:49:58 -0400 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: > - Strange 1: I don't have anymore instance in > DataLabelRepresentation for Elevation pipeline source (btw, during > this traversing I get only one actor), I don't follow. DataLableRepresentation is indeed created for every representation shown in the render view. > - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors > (sphere mesh and actor with selected points), but, I'm unable to > connect selection label properties (which are tied with Elevation > pipeline source actor - sphere mesh) and mesh with selected points / > cells. Remember that label actors are added to the 2D / non-composited renderer, not the same as the 3D renderer. Which renderer are you looking at? > Q1: How to identify actor from vtkRenderer which contains selection > points / cells and get selection properties from this actor or > > Q2: How to identify actor from pqPipeline source on which are selected > points and how from appropriate representations to get actor which > contains selected points / cells? Neither of these are really supported. Look at vtkSelectionRepresentation. If you can think of ways of "tagging" the actors added by the representations used internally by this class, I am all ears. From utkarsh.ayachit at kitware.com Mon May 18 09:51:49 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 18 May 2015 09:51:49 -0400 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: I am not sure I follow you description. Do you have some example code to share/demonstrate the issue? On Sat, May 16, 2015 at 6:54 AM, Nenad Vujicic wrote: > Hello again, > > I have one another problem with the latest PV sources (v4.3.1, I used > VS2008 x64 built with most of extra packages from super-build enabled) > and creating labels. Again everything worked fine on v4.0 (and I think > v4.2), but now, not anymore .. Here is what I tried: > > 1. I created a source plugin which outputs on output port 0 set of > points and on output port 1 set of lines. > 2. I registered handlers to catch signals sourceAdded(), > sourceCreated(), representationAdded(), representationRemoved() etc, > 3. In handler for RepresentationAdded, when representation for output > port 0 (set of points) is created, I previously created > DataLabelRepresentation and initialized, but now it just reports data > representation is reported and does nothing.. > 4. Now, I tried to set some parameters of representation subproxy by: > > // set representation's properties > pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionVisibility"), > true); > pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelVisibility"), > true); > pqSMAdaptor::setMultipleElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelColor"), > rPointLabelColor); > pqSMAdaptor::setElementProperty(mptPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFontSize"), > iPointLabelSize); > pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFormat"), > strPointLabelFormat); > pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelJustification"), > iPointLabelJustification); > > // update underlying VTK objects > mptrPointsRepresentation->getProxy()->UpdateVTKObjects(); > > But, it still doesn't work. > > Btw, when I create sphere, apply elevation and select some points > (with started tracing), I don't see any of these parameters turned ON. > I don't see anything about selected points .. Also, I noticed > selections are not preserved in state files. > > Thanks in advance for any help! > > Nenad. > > > On Wed, May 13, 2015 at 2:21 PM, Nenad Vujicic wrote: >> Hello everyone, >> >> It has been a long time ParaView sources worked excellent with my >> patches and the plugin (3D exporter). However, I'm having troubles >> with the latest version (v4.3.1) to export labels which are shown over >> selected points (both per point and per cell). This was my approach >> which worked with v4.0.1 (100% sure) and v4.2 (I think, but, I'm not >> definitely sure): >> >> 1. I traverse all visible pipeline sources and for all their >> representations in currently active view do next, >> 2. For every representation, I check if it is DataLabelRepresentation >> and if it is I save PointLabelVisibility, PointFieldDataArrayName, etc >> properties .. >> 3. From other representations, I get vtkLODActor for which I bind my >> labels properties, >> 4. In exporting code, I get current view, traverse its actors and >> export them, however, there is one problem now. Let me give an >> example: >> >> - If I have Sphere on which I applied Elevation filter and >> selected several points with turned on labels (with e.g. Elevation >> selected as array), >> >> - Strange 1: I don't have anymore instance in >> DataLabelRepresentation for Elevation pipeline source (btw, during >> this traversing I get only one actor), >> - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors >> (sphere mesh and actor with selected points), but, I'm unable to >> connect selection label properties (which are tied with Elevation >> pipeline source actor - sphere mesh) and mesh with selected points / >> cells. >> >> Q1: How to identify actor from vtkRenderer which contains selection >> points / cells and get selection properties from this actor or >> >> Q2: How to identify actor from pqPipeline source on which are selected >> points and how from appropriate representations to get actor which >> contains selected points / cells? >> >> Thanks everyone for possible answers! >> >> Nenad. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From sujin.philip at kitware.com Mon May 18 09:57:33 2015 From: sujin.philip at kitware.com (Sujin Philip) Date: Mon, 18 May 2015 09:57:33 -0400 Subject: [Paraview] build error In-Reply-To: <0761209dcf9149cfa2f58cb06e46ddf2@ES01AMSNLNT.srn.sandia.gov> References: <0761209dcf9149cfa2f58cb06e46ddf2@ES01AMSNLNT.srn.sandia.gov> Message-ID: Hi Alan, This is in changes that I made recently to atomic ints but I have not seen this problem. Could you tell me which compiler version you are using? Could you share the CMakeCache.txt file from the build directory? Thanks Sujin On Fri, May 15, 2015 at 9:50 PM, Scott, W Alan wrote: > I am getting the following build error when building ParaView. This is > from master, on Linux, targeting a cluster (redsky). Clean build, new pull > of a git tree. Any ideas? > > [ 0%] Built target vtksys > [ 0%] Building CXX object > VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o > .../Build/VTK/Common/Core/vtkAtomicInt.h(117): error: first argument must > be a pointer to integer or enumeration type > return __sync_fetch_and_add(ref, 1); > ^ > detected during instantiation of "T > vtkAtomicInt::operator++(int) [with T=vtkTypeInt32={signed int}]" at > line 201 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx" > > .../Build/VTK/Common/Core/vtkAtomicInt.h(112): error: first argument must > be a pointer to integer or enumeration type > return __sync_sub_and_fetch(ref, 1); > ^ > detected during instantiation of "T > vtkAtomicInt::operator--() [with T=vtkTypeInt32={signed int}]" at line > 217 of ".../ParaView4/VTK/Common/Core/vtkObjectBase.cxx" > > compilation aborted for .../ParaView4/VTK/Common/Core/vtkObjectBase.cxx > (code 2) > make[2]: *** > [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkObjectBase.cxx.o] Error 2 > make[1]: *** [VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/all] Error 2 > make: *** [all] Error 2 > > > Looks to me like there has been work in AtomicInt.h lately... > > Alan > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon May 18 10:28:37 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 18 May 2015 08:28:37 -0600 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Replace the following CMake lines # ParaViewWeb on Windows needs win32api which is not provided by default # For now the default behavior would be to disable it on Windows build if (WIN32) set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) else() cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON "PARAVIEW_ENABLE_PYTHON" OFF) endif() with the following ===== # ParaViewWeb on Windows needs win32api which is not provided by default # For now the default behavior would be to disable it on Windows build if (WIN32) # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) else() cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON "PARAVIEW_ENABLE_PYTHON" OFF) endif() Then you should be good to go. Seb On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: > Hi, > > I want to build ParaViewWeb on windows (64-but), I have install win32api > for python in my machine. I am using cmake-gui, and every time I click > ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will > turn ParaView_Enable_Web to off. Is there a way to make it on ? > > I found this in the cmake text: > # ParaViewWeb on Windows needs win32api which is not provided by default > # For now the default behavior would be to disable it on Windows build > > Can I know how to enable ParaViewWeb for windows build ? > > Thanks for your help. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 22csnyder at gmail.com Mon May 18 11:59:17 2015 From: 22csnyder at gmail.com (Christopher Snyder) Date: Mon, 18 May 2015 10:59:17 -0500 Subject: [Paraview] interface and scripting questions from newbie Message-ID: Hi all, I'm very excited about paraview, and I think it might fit my needs perfectly. However, I have two questions. 1) What is the simplest way to "rotate about the x axis" ? The data I have is rather long : length x >> length y and z. So when I zoom in around the extremes, rotation around the center is really unhelpful for inspection. 2) I would like to use Paraview as a 'front end' for an interactive program I am planning to write. Is there a way to "capture mouse events" over the image so that I can turn those into changes in the presentation of the data? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon May 18 12:38:50 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 18 May 2015 16:38:50 +0000 Subject: [Paraview] [EXTERNAL] Report a bug In-Reply-To: <5554FE88.6050600@rhpcs.mcmaster.ca> References: <5554FE88.6050600@rhpcs.mcmaster.ca> Message-ID: Agreed. Done. Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Weiguang guan Sent: Thursday, May 14, 2015 1:59 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Report a bug Can someone report this bug (below) to the development team on my behalf? Thanks. Description of the bug: While linking cameras of two views, and you check/uncheck "Camera Parallel Projection", you will see the other view doesn't change accordingly. By "linking cameras", it should mean 100% identical viewing behavior. Best, Weiguang _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From samuelkey at bresnan.net Mon May 18 13:46:12 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Mon, 18 May 2015 11:46:12 -0600 Subject: [Paraview] interface and scripting questions from newbie In-Reply-To: References: Message-ID: <555A2564.10708@bresnan.net> An HTML attachment was scrubbed... URL: From nenadus at gmail.com Tue May 19 04:37:36 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Tue, 19 May 2015 10:37:36 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, Thank you very much for your response. Here is what I'm trying to do: 1. I create source plugin by creating appropriate .xml, CMakeLists.txt and derived class from vtkPolyDataAlgorithm, 2. This new algorithm has 2 output ports (first port is for points (over which I would like to see floating labels) and second for lines), 3. In RequestData() routine I generate poly-data for both ports and call EventHandlers::SetDataLabelParameters(...) (I made instance of it in constructor of derived class) with labels' parameters, 4. After creating source by pushing Apply, code from EventHandlers is executed. Lines and Points are displayed fine, but, there are no labels. Only 2 representations are created (I think both GeometryRepresentation) and it stops. 5. When I tried to move code from DataRepresentationCreated() to execute after mptrLabelsPointsRepresentation is initialized in RepresentationAdded(), it reported "Missing required attribute.". 1-4 worked fine with earlier versions, but, now, labels are not created. Even DataRepresentationCreated() is not called. Thanks for any help! Nenad. On Mon, May 18, 2015 at 3:51 PM, Utkarsh Ayachit wrote: > I am not sure I follow you description. Do you have some example code > to share/demonstrate the issue? > > On Sat, May 16, 2015 at 6:54 AM, Nenad Vujicic wrote: >> Hello again, >> >> I have one another problem with the latest PV sources (v4.3.1, I used >> VS2008 x64 built with most of extra packages from super-build enabled) >> and creating labels. Again everything worked fine on v4.0 (and I think >> v4.2), but now, not anymore .. Here is what I tried: >> >> 1. I created a source plugin which outputs on output port 0 set of >> points and on output port 1 set of lines. >> 2. I registered handlers to catch signals sourceAdded(), >> sourceCreated(), representationAdded(), representationRemoved() etc, >> 3. In handler for RepresentationAdded, when representation for output >> port 0 (set of points) is created, I previously created >> DataLabelRepresentation and initialized, but now it just reports data >> representation is reported and does nothing.. >> 4. Now, I tried to set some parameters of representation subproxy by: >> >> // set representation's properties >> pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionVisibility"), >> true); >> pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelVisibility"), >> true); >> pqSMAdaptor::setMultipleElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelColor"), >> rPointLabelColor); >> pqSMAdaptor::setElementProperty(mptPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFontSize"), >> iPointLabelSize); >> pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelFormat"), >> strPointLabelFormat); >> pqSMAdaptor::setElementProperty(mptrPointsRepresentation->getProxy()->GetProperty("SelectionPointLabelJustification"), >> iPointLabelJustification); >> >> // update underlying VTK objects >> mptrPointsRepresentation->getProxy()->UpdateVTKObjects(); >> >> But, it still doesn't work. >> >> Btw, when I create sphere, apply elevation and select some points >> (with started tracing), I don't see any of these parameters turned ON. >> I don't see anything about selected points .. Also, I noticed >> selections are not preserved in state files. >> >> Thanks in advance for any help! >> >> Nenad. >> >> >> On Wed, May 13, 2015 at 2:21 PM, Nenad Vujicic wrote: >>> Hello everyone, >>> >>> It has been a long time ParaView sources worked excellent with my >>> patches and the plugin (3D exporter). However, I'm having troubles >>> with the latest version (v4.3.1) to export labels which are shown over >>> selected points (both per point and per cell). This was my approach >>> which worked with v4.0.1 (100% sure) and v4.2 (I think, but, I'm not >>> definitely sure): >>> >>> 1. I traverse all visible pipeline sources and for all their >>> representations in currently active view do next, >>> 2. For every representation, I check if it is DataLabelRepresentation >>> and if it is I save PointLabelVisibility, PointFieldDataArrayName, etc >>> properties .. >>> 3. From other representations, I get vtkLODActor for which I bind my >>> labels properties, >>> 4. In exporting code, I get current view, traverse its actors and >>> export them, however, there is one problem now. Let me give an >>> example: >>> >>> - If I have Sphere on which I applied Elevation filter and >>> selected several points with turned on labels (with e.g. Elevation >>> selected as array), >>> >>> - Strange 1: I don't have anymore instance in >>> DataLabelRepresentation for Elevation pipeline source (btw, during >>> this traversing I get only one actor), >>> - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors >>> (sphere mesh and actor with selected points), but, I'm unable to >>> connect selection label properties (which are tied with Elevation >>> pipeline source actor - sphere mesh) and mesh with selected points / >>> cells. >>> >>> Q1: How to identify actor from vtkRenderer which contains selection >>> points / cells and get selection properties from this actor or >>> >>> Q2: How to identify actor from pqPipeline source on which are selected >>> points and how from appropriate representations to get actor which >>> contains selected points / cells? >>> >>> Thanks everyone for possible answers! >>> >>> Nenad. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- A non-text attachment was scrubbed... Name: EventHandlers.zip Type: application/zip Size: 2895 bytes Desc: not available URL: From jtxqhao at gmail.com Tue May 19 05:59:58 2015 From: jtxqhao at gmail.com (Yu Yu) Date: Tue, 19 May 2015 17:59:58 +0800 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Thanks for the info. I make the change (comment out that line) and rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and etc in the Solution Explorer in VS 2013. And when I build all solutions, everything compile properly except 2 errors: Error 7064 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) referenced in function "protected: bool __cdecl vtkSMAnimationSceneImageWriter::CreateWriter(void)" (?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ) D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj vtkPVAnimation Error 7065 error LNK1120: 1 unresolved externals D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll vtkPVAnimation Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation). Thanks for your help. On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Replace the following CMake lines > > # ParaViewWeb on Windows needs win32api which is not provided by default > # For now the default behavior would be to disable it on Windows build > if (WIN32) > set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) > else() > cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" > ON > "PARAVIEW_ENABLE_PYTHON" OFF) > endif() > > with the following ===== > > # ParaViewWeb on Windows needs win32api which is not provided by default > # For now the default behavior would be to disable it on Windows build > if (WIN32) > # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) > else() > cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" > ON > "PARAVIEW_ENABLE_PYTHON" OFF) > endif() > > Then you should be good to go. > > Seb > > On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: > >> Hi, >> >> I want to build ParaViewWeb on windows (64-but), I have install win32api >> for python in my machine. I am using cmake-gui, and every time I click >> ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will >> turn ParaView_Enable_Web to off. Is there a way to make it on ? >> >> I found this in the cmake text: >> # ParaViewWeb on Windows needs win32api which is not provided by default >> # For now the default behavior would be to disable it on Windows build >> >> Can I know how to enable ParaViewWeb for windows build ? >> >> Thanks for your help. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jtxqhao at gmail.com Tue May 19 07:16:43 2015 From: jtxqhao at gmail.com (Yu Yu) Date: Tue, 19 May 2015 19:16:43 +0800 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Hi Sebastien, Sorry, please ignore the previous error. I finally found the correct combination in cmake and successfully build ParaViewWeb without error. However, when I launch ParaViewWeb with the following command: pvpython.exe ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py --content ..\share\www --port 8088 --data-dir \data The following error occur. Traceback (most recent call last): File "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line 78, in from vtk.web import server File "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ vtk\web\server.py", line 27, in from twisted.internet.endpoints import serverFromString File "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ twisted\internet\endpoints.py", line 44, in from twisted.internet import stdio File "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ twisted\internet\stdio.py", line 28, in from twisted.internet import _win32stdio File "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ twisted\internet\_win32stdio.py", line 7, in import win32api ImportError: No module named win32api Can I know how to point it to win32api I installed ? The file for win32api.pyd is in C:\Python27\Lib\site-packages\win32 Thanks for your help. On Tue, May 19, 2015 at 5:59 PM, Yu Yu wrote: > Thanks for the info. I make the change (comment out that line) and > rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and > etc in the Solution Explorer in VS 2013. And when I build all solutions, > everything compile properly except 2 errors: > > Error 7064 error LNK2019: unresolved external symbol > "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl > vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) referenced > in function "protected: bool __cdecl > vtkSMAnimationSceneImageWriter::CreateWriter(void)" > (?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ) > D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj > vtkPVAnimation > Error 7065 error LNK1120: 1 unresolved externals > D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll > vtkPVAnimation > > Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I > turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation). > > Thanks for your help. > > On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Replace the following CMake lines >> >> # ParaViewWeb on Windows needs win32api which is not provided by default >> # For now the default behavior would be to disable it on Windows build >> if (WIN32) >> set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >> else() >> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" >> ON >> "PARAVIEW_ENABLE_PYTHON" OFF) >> endif() >> >> with the following ===== >> >> # ParaViewWeb on Windows needs win32api which is not provided by default >> # For now the default behavior would be to disable it on Windows build >> if (WIN32) >> # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >> else() >> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" >> ON >> "PARAVIEW_ENABLE_PYTHON" OFF) >> endif() >> >> Then you should be good to go. >> >> Seb >> >> On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: >> >>> Hi, >>> >>> I want to build ParaViewWeb on windows (64-but), I have install win32api >>> for python in my machine. I am using cmake-gui, and every time I click >>> ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will >>> turn ParaView_Enable_Web to off. Is there a way to make it on ? >>> >>> I found this in the cmake text: >>> # ParaViewWeb on Windows needs win32api which is not provided by default >>> # For now the default behavior would be to disable it on Windows build >>> >>> Can I know how to enable ParaViewWeb for windows build ? >>> >>> Thanks for your help. >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue May 19 09:49:50 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 19 May 2015 07:49:50 -0600 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Try to add that path to the following environment variable: set PATH=%PATH%;C:\Python27\Lib\site-packages\win32 set PYTHONPATH=C:\Python27\Lib\site-packages\win32 If that doesn't work, you will have to search on the net on how to make Twisted works on Windows. Good luck, Seb On Tue, May 19, 2015 at 5:16 AM, Yu Yu wrote: > Hi Sebastien, > > Sorry, please ignore the previous error. I finally found the correct > combination in cmake and successfully build ParaViewWeb without error. > > However, when I launch ParaViewWeb with the following command: > > pvpython.exe > ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py > --content ..\share\www --port 8088 --data-dir \data > > The following error occur. > > Traceback (most recent call last): > File > "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line > 78, in > from vtk.web import server > File > "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ > vtk\web\server.py", line 27, in > from twisted.internet.endpoints import serverFromString > File > "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ > twisted\internet\endpoints.py", line 44, in > from twisted.internet import stdio > File > "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ > twisted\internet\stdio.py", line 28, in > from twisted.internet import _win32stdio > File > "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ > twisted\internet\_win32stdio.py", line 7, in > import win32api > ImportError: No module named win32api > > Can I know how to point it to win32api I installed ? The file for > win32api.pyd is in > C:\Python27\Lib\site-packages\win32 > > Thanks for your help. > > > On Tue, May 19, 2015 at 5:59 PM, Yu Yu wrote: > >> Thanks for the info. I make the change (comment out that line) and >> rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and >> etc in the Solution Explorer in VS 2013. And when I build all solutions, >> everything compile properly except 2 errors: >> >> Error 7064 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl >> vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) >> referenced in function "protected: bool __cdecl >> vtkSMAnimationSceneImageWriter::CreateWriter(void)" >> (?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ) >> D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj >> vtkPVAnimation >> Error 7065 error LNK1120: 1 unresolved externals >> D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll >> vtkPVAnimation >> >> Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I >> turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation). >> >> Thanks for your help. >> >> On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain < >> sebastien.jourdain at kitware.com> wrote: >> >>> Replace the following CMake lines >>> >>> # ParaViewWeb on Windows needs win32api which is not provided by default >>> # For now the default behavior would be to disable it on Windows build >>> if (WIN32) >>> set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>> else() >>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>> support" ON >>> "PARAVIEW_ENABLE_PYTHON" OFF) >>> endif() >>> >>> with the following ===== >>> >>> # ParaViewWeb on Windows needs win32api which is not provided by default >>> # For now the default behavior would be to disable it on Windows build >>> if (WIN32) >>> # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>> else() >>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>> support" ON >>> "PARAVIEW_ENABLE_PYTHON" OFF) >>> endif() >>> >>> Then you should be good to go. >>> >>> Seb >>> >>> On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: >>> >>>> Hi, >>>> >>>> I want to build ParaViewWeb on windows (64-but), I have install >>>> win32api for python in my machine. I am using cmake-gui, and every time I >>>> click ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake >>>> will turn ParaView_Enable_Web to off. Is there a way to make it on ? >>>> >>>> I found this in the cmake text: >>>> # ParaViewWeb on Windows needs win32api which is not provided by default >>>> # For now the default behavior would be to disable it on Windows build >>>> >>>> Can I know how to enable ParaViewWeb for windows build ? >>>> >>>> Thanks for your help. >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue May 19 09:58:11 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 19 May 2015 09:58:11 -0400 Subject: [Paraview] Switching Between Readers In-Reply-To: References: Message-ID: Kevin, Can your reader tell if it can read the file irrespective of its extension? If so, just implement a "int CanReadFile (const char *fname)" method on the the reader classes that will test a file. Now you can have two reader supporting the same extension and ParaView will create the correct reader automatically. There can be multiple reader supporting the same extensions even without this CanReaderFile too. In that case, ParaView will automatically popup a reader selection dialog. Utkarsh On Sun, May 17, 2015 at 10:33 PM, Dean, Kevin wrote: > I was wondering if there was a way to instantiate a superclass that, let's > say, can switch between vtkPolyDataAlgorithm and vtkImageAlgorithm. > > I have a reader that (as of now) converts the data within a protobuf file to > image data. > > But currently, I have multiple protobuf files with different information. > However, the file extension is still .pbuf, and it seems that the reader xml > parsers the files based off this input. > > So would it be easier to change the filename? Or is there a way to switch > between the two algorithm classes? > > Thanks for your time! > > Kevin E. Dean > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From frank0734 at gmail.com Tue May 19 10:08:20 2015 From: frank0734 at gmail.com (Liang Wang) Date: Tue, 19 May 2015 10:08:20 -0400 Subject: [Paraview] xdmf: orders of Origin DXDYDZ arrays in Origin_DXDYDZ Message-ID: In the first place, I do not understand the difference between 3DRectMesh and 3DCoRectMesh. I picked the following coordinate for testing: Nz,Ny,Nx = [80, 90, 100] z0,y0,x0 = [-3.,-2.,-1.] lz,ly,lx = [Nz*3,Ny*2,Nx] dz,dy,dx = [lz/(Nz-1), ly/(Ny-1), lx/(Nx-1)] I found I have to use the following lines in the xdmf to get the correct grid to be shown in Paraview for 3DRectMesh and 3DCoRectMesh, respectively: -1 -2 -3 1 2 3 -3 -2 -1 3 2 1 Note that, the Dimensions for Topology in both cases are in zyx order, while the Origin/DxDyDz arrays have different orders in the two cases: 3DRectMesh requires Origin=[x0,y0,z0], DX=[dx,dy,dz], i.e., xyz order 3DCoRectMesh requires Origin=[z0,y0,x0], DX=[dz,dy,dx], i.e., zyx order. Am I writing the correct xdmf codes? How would you specify these data? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnolde at gmx.net Tue May 19 11:07:46 2015 From: mnolde at gmx.net (Michael Nolde) Date: Tue, 19 May 2015 17:07:46 +0200 Subject: [Paraview] Color wireframe by color gradient Message-ID: An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue May 19 11:09:31 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 19 May 2015 11:09:31 -0400 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: <5559DF87.6080004@ovgu.de> References: <5559DF87.6080004@ovgu.de> Message-ID: Hi Timo, There's a couple of steps that need to be added when connecting to a Catalyst-enabled simulation that's been run through a batch job on a cluster. This "should" be the same as just running pvserver through a batch job and connecting to that. The basics are that there's an executable/script that runs on the login node that the batch job connects to. Your GUI connects to the login node and has the ports forwarded properly through the executable/script to your pvserver. Now if your pvserver is running on the login node then it will have to use the above connection mechanism to connect to your Catalyst-enabled simulation. There may be some emails or something on the wiki that has information on the connection executable/script but I haven't tried any of that in several years so I'm not sure where it would be. Maybe someone else will chime in that's done this more recently than me. Good luck and let us know how it goes. Andy On Mon, May 18, 2015 at 8:48 AM, Timo Oster wrote: > Hi all, > > in an effort to enable live visualization of our simulation code, I have > written a Catalyst adaptor for it. The live visualization is working > great when the ParaView client runs on the same machine as the > simulation, even when the simulation runs in parallel using mpi. > > Now I want to do live visualization of a simulation running on a remote > cluster. I am able to get this to work for the simulation running on the > login node of the cluster: > > 1. Tunnel an ssh connection of port 11111 to the cluster: > ssh -L 11111:localhost:11111 server > 2. In the shell that opens, start a paraview server (in the background > with '&') > 3. Run the simulation with mpirun (simulation runs only on login node) > 4. Start my local ParaView client and connect to localhost:11111 to > connect to the remote pvserver through the ssh tunnel > 5. In the client, connect to Catalyst (port 22222) > 6. A provider for the simulation is created and the live visualization > works > > Now I want to do the same for simulations started on the remote cluster > via the batch job system. In this scenario, the parallel processes of > the simulation will run on different (randomly chosen) nodes on the > cluster. How do I go about getting a connection from my local client to > the Catalyst instances running on those nodes? > > I imagine I will need to set up ssh tunnels from the nodes to the login > node where the pvserver is running. I've tried adding a ssh tunnel line > to the job script that is executed when the batch job starts. I've tried > forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no > avail. The best I get is "ERROR: In > /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 > vtkServerSocket (0x18e0930): Socket error in call to bind. Address > already in use." > > My knowledge in networking and ssh is limited, so any pointers to how I > would go about this are greatly appreciated. > > Regards, > > Timo > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue May 19 11:23:49 2015 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 19 May 2015 15:23:49 +0000 Subject: [Paraview] Color wireframe by color gradient Message-ID: Wireframes in ParaView are colored the same way as most of the other representations (like surface, points, or volume). In all cases in order to color by something other than a solid color, you need a field defined over the mesh. It sounds you want to color based on the physical location. You can create a field like that easily with the Calculator filter. Just make the expression of the Calculator "coords" (which is a special vector representing the point coordinates). Here is a screen shot of creating a coloring similar to your example of the disk_out_ref dataset using just the ParaView GUI. [cid:52987C8A-5D8E-44D7-826C-F840B8833C71] -Ken From: Michael Nolde > Date: Tuesday, May 19, 2015 at 9:07 AM To: Paraview Mailing List > Subject: [EXTERNAL] [Paraview] Color wireframe by color gradient Dear all, I wondered if it is possible to color a wireframe with a a color gradient (or random colors) instead of a solid color. I have a 3D mesh exported from GMSH, with a lot of interior points/edges. I use a shrink filter in Paraview to thow the interior edges, but since the are all colored homogenously it is impossible to distinguish any features. Here's a Screenshot: http://flatpolar.org/paraview_mesh3_maxsize5.png I would like to have the mesh shown at least a little bit more like in GMSH: http://flatpolar.org/gmsh_mesh3_maxsize5.png In best case, the coloring of the edges would be depending on the X-,Y-,and Z-location. I found this screenshot featuring different edge colors, but the model is created from Python and visualized in an OpenGL window instead of Paraview. http://www.paraview.org/Wiki/images/thumb/d/d7/ContourFilterPython3.png/600px-ContourFilterPython3.png The idea seems to be to set the 'ColorAttributeType' to 'POINT_DATA', but this doesn't help me much. Could anyone hint me to a solution of how to achieve a multi-colored wireframe in Paraview? Thanks in advance, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ParaView001.png Type: image/png Size: 223090 bytes Desc: ParaView001.png URL: From mnolde at gmx.net Tue May 19 11:39:49 2015 From: mnolde at gmx.net (Michael Nolde) Date: Tue, 19 May 2015 17:39:49 +0200 Subject: [Paraview] Color wireframe by color gradient In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ParaView001.png Type: image/png Size: 223090 bytes Desc: not available URL: From u.utku.turuncoglu at be.itu.edu.tr Tue May 19 12:57:15 2015 From: u.utku.turuncoglu at be.itu.edu.tr (u.utku.turuncoglu at be.itu.edu.tr) Date: Tue, 19 May 2015 19:57:15 +0300 (EEST) Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: <5559DF87.6080004@ovgu.de> References: <5559DF87.6080004@ovgu.de> Message-ID: <56301.78.182.67.146.1432054635.squirrel@webmail.be.itu.edu.tr> Hi Timo, Have you ever tried to test Catalyst examples in your case. https://github.com/Kitware/ParaViewCatalystExampleCode I am also trying to run Catalyst examples but i could not. In my case, i am able to install Paraview (4.3.1) from source under Mac OS 10.10 and the Catalys examples but when i try to run the examples i am getting error like, ERROR: In /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 812 vtkSocketCommunicator (0x7f86a52658e0): Could not receive tag. 1 or ERROR: In /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, line 572 vtkClientSocket (0x7fcefc939fe0): Socket error in call to send. Broken pipe. So, if you don't mind could you share the details of your work environment (OS, Paraview version, etc.) and the steps to run the in-situ example. So, that could also help me to find the source of the problem. Regards, --ufuk > Hi all, > > in an effort to enable live visualization of our simulation code, I have > written a Catalyst adaptor for it. The live visualization is working > great when the ParaView client runs on the same machine as the > simulation, even when the simulation runs in parallel using mpi. > > Now I want to do live visualization of a simulation running on a remote > cluster. I am able to get this to work for the simulation running on the > login node of the cluster: > > 1. Tunnel an ssh connection of port 11111 to the cluster: > ssh -L 11111:localhost:11111 server > 2. In the shell that opens, start a paraview server (in the background > with '&') > 3. Run the simulation with mpirun (simulation runs only on login node) > 4. Start my local ParaView client and connect to localhost:11111 to > connect to the remote pvserver through the ssh tunnel > 5. In the client, connect to Catalyst (port 22222) > 6. A provider for the simulation is created and the live visualization > works > > Now I want to do the same for simulations started on the remote cluster > via the batch job system. In this scenario, the parallel processes of > the simulation will run on different (randomly chosen) nodes on the > cluster. How do I go about getting a connection from my local client to > the Catalyst instances running on those nodes? > > I imagine I will need to set up ssh tunnels from the nodes to the login > node where the pvserver is running. I've tried adding a ssh tunnel line > to the job script that is executed when the batch job starts. I've tried > forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no > avail. The best I get is "ERROR: In > /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 > vtkServerSocket (0x18e0930): Socket error in call to bind. Address > already in use." > > My knowledge in networking and ssh is limited, so any pointers to how I > would go about this are greatly appreciated. > > Regards, > > Timo > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From fzgkkk at 126.com Tue May 19 22:10:57 2015 From: fzgkkk at 126.com (=?GBK?B?uLbX97ni?=) Date: Wed, 20 May 2015 10:10:57 +0800 (CST) Subject: [Paraview] eps outputting in paraview In-Reply-To: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> References: <2a1f9291.ffa7.14d2dcb817f.Coremail.fzgkkk@126.com> Message-ID: <3d3b46.18b6c.14d6f168a80.Coremail.fzgkkk@126.com> Dear Sven, Thanks for you suggestion, which is the best solution of my problem. Best regards Zuoguang Fu At 2015-05-07 17:53:41, "???" wrote: Dear all the Paraview users? I am the new student of Paraview and easily lost in some basic details of its application, one of them is eps outputting. I have tried it many times but failed all the while. The color maps may transform automatically into grayscale ones when I use Export Scene > choosing eps format > canceling Rasterize 3D geometry There are two examples for describing what I just lost in in E-mail attachments. I want to ask either something error in my operation or something I miss in the basic concepts of Paraview?s usage for my purpose. Seeking your help! Best regards Zuoguang Fu -------------- next part -------------- An HTML attachment was scrubbed... URL: From 22csnyder at gmail.com Tue May 19 22:22:32 2015 From: 22csnyder at gmail.com (Christopher Snyder) Date: Tue, 19 May 2015 21:22:32 -0500 Subject: [Paraview] volume comparison Message-ID: Hi, I have two 3D image that I would like to compare to see if they are "the same." I thought it would be illustrative to overlay the two volumes in different colors with some opacity. This presents some difficulty. In my mind I would be able to have 2 volumes overlayed, full control of the color map of each volume, and be able to control rotation and translation of each volume individually. If that's not possible directly in the GUI, maybe it's possible through the python console? Best, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From haonrolyat at gmail.com Wed May 20 01:07:12 2015 From: haonrolyat at gmail.com (Noah Taylor) Date: Tue, 19 May 2015 23:07:12 -0600 Subject: [Paraview] Installing ParaView 4.0.1 on Nodes For Rendering Frames -Slow Rendering w/ Python Message-ID: Hello, I am using ParaView 4.0.1 since I developed a python script for interpretation on this version. I am able to run ParaView fine on my local Ubuntu Desktop. I have setup an EC2 AWS instance both a GPU and a CPU instance both running Ubuntu but they both are giving me the same problem of very very slow rendering for each time step with the offscreen rendering option turned on. I also run into this problem on a Unix supercomputer I am trying to run my code on. On my local machine it takes less than a second for each time step I am rendering to be outputted with the same settings and I am not spinning anything up like pvserver - on the node instances I have, it is taking well around a minute or probably more for each frame. I have read through a lot of similar issues and the documentation for X connections but I am not having any luck. The default DISPLAY is set to the localhost:10.0 and I have tried changing that to the localhost:0.0 but it gives me the bad -X connection error. From there, I followed previous mailing list instructions and tried spinning up the pvserver (I don't know why since I am not trying to serve anything just render frames) but I get an error with the shared libraries that they're too short. I am using the default downloadable version of 4.0.1 since I want to try and keep this as simple as possible but I don't know if these have the mpi turned on by default. Has anybody ran into this Bad X Connection issue and found an easy way around it besides messing with the OSMesa and recompiling? I'd really appreciate any pointers :) Thanks, Noah -------------- next part -------------- An HTML attachment was scrubbed... URL: From timo.oster at ovgu.de Wed May 20 03:19:41 2015 From: timo.oster at ovgu.de (Timo Oster) Date: Wed, 20 May 2015 09:19:41 +0200 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: References: <5559DF87.6080004@ovgu.de> Message-ID: <555C358D.9090401@ovgu.de> Hi Andy, I have succeeded in getting it to work by starting a pvserver process on every node alongside with the simulation instead of just one pvserver on the login node. I then have a ssh tunnel from the worker nodes to the login node, and from the login node to my local computer. This appears to be rather resource-intensive though, and I wonder if there is a more efficient way to do it. Is such a great number of pvservers really needed? If somebody has any additional information, that would be very helpful. Searching the internet for this question hasn't brought up much helpful information yet. Regards, Timo On 05/19/2015 05:09 PM, Andy Bauer wrote: > Hi Timo, > > There's a couple of steps that need to be added when connecting to a > Catalyst-enabled simulation that's been run through a batch job on a > cluster. This "should" be the same as just running pvserver through a > batch job and connecting to that. The basics are that there's an > executable/script that runs on the login node that the batch job > connects to. Your GUI connects to the login node and has the ports > forwarded properly through the executable/script to your pvserver. Now > if your pvserver is running on the login node then it will have to use > the above connection mechanism to connect to your Catalyst-enabled > simulation. There may be some emails or something on the wiki that has > information on the connection executable/script but I haven't tried any > of that in several years so I'm not sure where it would be. Maybe > someone else will chime in that's done this more recently than me. > > Good luck and let us know how it goes. > > Andy > > On Mon, May 18, 2015 at 8:48 AM, Timo Oster > wrote: > > Hi all, > > in an effort to enable live visualization of our simulation code, I have > written a Catalyst adaptor for it. The live visualization is working > great when the ParaView client runs on the same machine as the > simulation, even when the simulation runs in parallel using mpi. > > Now I want to do live visualization of a simulation running on a remote > cluster. I am able to get this to work for the simulation running on the > login node of the cluster: > > 1. Tunnel an ssh connection of port 11111 to the cluster: > ssh -L 11111:localhost:11111 server > 2. In the shell that opens, start a paraview server (in the background > with '&') > 3. Run the simulation with mpirun (simulation runs only on login node) > 4. Start my local ParaView client and connect to localhost:11111 to > connect to the remote pvserver through the ssh tunnel > 5. In the client, connect to Catalyst (port 22222) > 6. A provider for the simulation is created and the live > visualization works > > Now I want to do the same for simulations started on the remote cluster > via the batch job system. In this scenario, the parallel processes of > the simulation will run on different (randomly chosen) nodes on the > cluster. How do I go about getting a connection from my local client to > the Catalyst instances running on those nodes? > > I imagine I will need to set up ssh tunnels from the nodes to the login > node where the pvserver is running. I've tried adding a ssh tunnel line > to the job script that is executed when the batch job starts. I've tried > forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no > avail. The best I get is "ERROR: In > /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 > vtkServerSocket (0x18e0930): Socket error in call to bind. Address > already in use." > > My knowledge in networking and ssh is limited, so any pointers to how I > would go about this are greatly appreciated. > > Regards, > > Timo > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > From timo.oster at ovgu.de Wed May 20 03:31:09 2015 From: timo.oster at ovgu.de (Timo Oster) Date: Wed, 20 May 2015 09:31:09 +0200 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: <56301.78.182.67.146.1432054635.squirrel@webmail.be.itu.edu.tr> References: <5559DF87.6080004@ovgu.de> <56301.78.182.67.146.1432054635.squirrel@webmail.be.itu.edu.tr> Message-ID: <555C383D.5000202@ovgu.de> Hi, I have indeed run into the problem with "Could not receive tag. 1". In my case I had to make sure that the client and server versions were exactly the same. When connecting, the vtkSocketCommunicators on client and server exchange a version hash that must match. This hash is generated while building ParaView. The file that is generated can be found in your build directory under VTK/Parallel/Core/vtkSocketCommunicatorHash.h. Check that your client and server have the same hash value in this file. I am assuming that you have correctly set up an ssh tunnel between client and server to enable the connection (ssh -L 11111:localhost:11111 user at server). The steps I take to run a in-situ case on a single remote workstation are listed in my previous mail. BTW I am using the "trunk" version of ParaView from the git repository, which is close to version 4.3.1, and I'm running Linux on both client and server (different distributions). Regards, Timo On 05/19/2015 06:57 PM, u.utku.turuncoglu at be.itu.edu.tr wrote: > Hi Timo, > > Have you ever tried to test Catalyst examples in your case. > > https://github.com/Kitware/ParaViewCatalystExampleCode > > I am also trying to run Catalyst examples but i could not. In my case, i > am able to install Paraview (4.3.1) from source under Mac OS 10.10 and the > Catalys examples but when i try to run the examples i am getting error > like, > > ERROR: In > /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 812 > vtkSocketCommunicator (0x7f86a52658e0): Could not receive tag. 1 > > or > > ERROR: In > /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, > line 572 > vtkClientSocket (0x7fcefc939fe0): Socket error in call to send. Broken pipe. > > So, if you don't mind could you share the details of your work environment > (OS, Paraview version, etc.) and the steps to run the in-situ example. So, > that could also help me to find the source of the problem. > > Regards, > > --ufuk > >> Hi all, >> >> in an effort to enable live visualization of our simulation code, I have >> written a Catalyst adaptor for it. The live visualization is working >> great when the ParaView client runs on the same machine as the >> simulation, even when the simulation runs in parallel using mpi. >> >> Now I want to do live visualization of a simulation running on a remote >> cluster. I am able to get this to work for the simulation running on the >> login node of the cluster: >> >> 1. Tunnel an ssh connection of port 11111 to the cluster: >> ssh -L 11111:localhost:11111 server >> 2. In the shell that opens, start a paraview server (in the background >> with '&') >> 3. Run the simulation with mpirun (simulation runs only on login node) >> 4. Start my local ParaView client and connect to localhost:11111 to >> connect to the remote pvserver through the ssh tunnel >> 5. In the client, connect to Catalyst (port 22222) >> 6. A provider for the simulation is created and the live visualization >> works >> >> Now I want to do the same for simulations started on the remote cluster >> via the batch job system. In this scenario, the parallel processes of >> the simulation will run on different (randomly chosen) nodes on the >> cluster. How do I go about getting a connection from my local client to >> the Catalyst instances running on those nodes? >> >> I imagine I will need to set up ssh tunnels from the nodes to the login >> node where the pvserver is running. I've tried adding a ssh tunnel line >> to the job script that is executed when the batch job starts. I've tried >> forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no >> avail. The best I get is "ERROR: In >> /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 >> vtkServerSocket (0x18e0930): Socket error in call to bind. Address >> already in use." >> >> My knowledge in networking and ssh is limited, so any pointers to how I >> would go about this are greatly appreciated. >> >> Regards, >> >> Timo >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > From dkxls23 at gmail.com Wed May 20 03:44:01 2015 From: dkxls23 at gmail.com (Armin Wehrfritz) Date: Wed, 20 May 2015 10:44:01 +0300 Subject: [Paraview] xdmf: orders of Origin DXDYDZ arrays in Origin_DXDYDZ In-Reply-To: References: Message-ID: <555C3B41.8060808@gmail.com> I encountered the same issue and you can find from the ParaView and XDMF mailinglist-archives some explanations concerning this topic (search for "Odd behavior of XDMF files with 3DCORECTMesh"). Concerning the different structured grid types: 3DCoRectMesh (aka vtkImageData): Axis are perpendicular and spacing is constant (i.e. you only have to set the mesh dimensions (nx, ny, nz), mesh origin (x0, y0, z0) and cell dimensions (dx, dy, dz)) 3DRectMesh (aka vtkRectilinearGrid): Axis are perpendicular (i.e. you have to specify the nodes coordinates along the three axes) 3DSMesh (aka vtkStructuredGrid): Curvilinear (i.e. you have to specify the coordinates for all mesh nodes) -Armin On 05/19/2015 05:08 PM, Liang Wang wrote: > In the first place, I do not understand the difference between > 3DRectMesh and 3DCoRectMesh. > > I picked the following coordinate for testing: > > Nz,Ny,Nx = [80, 90, 100] z0,y0,x0 = [-3.,-2.,-1.] lz,ly,lx = > [Nz*3,Ny*2,Nx] dz,dy,dx = [lz/(Nz-1), ly/(Ny-1), lx/(Nx-1)] > > I found I have to use the following lines in the xdmf to get the > correct grid to be shown in Paraview for 3DRectMesh and 3DCoRectMesh, > respectively: > > Dimensions=" 80 90 100"/> > > -1 -2 -3 Dimensions="3" Format="XML"> 1 2 3 > > Dimensions=" 80 90 100"/> > > -3 -2 -1 Dimensions="3" Format="XML"> 3 2 1 > > Note that, the Dimensions for Topology in both cases are in zyx > order, while the Origin/DxDyDz arrays have different orders in the > two cases: > > 3DRectMesh requires Origin=[x0,y0,z0], DX=[dx,dy,dz], i.e., xyz > order 3DCoRectMesh requires Origin=[z0,y0,x0], DX=[dz,dy,dx], i.e., > zyx order. > > Am I writing the correct xdmf codes? How would you specify these > data? Thanks. > > > _______________________________________________ Powered by > www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From u.utku.turuncoglu at be.itu.edu.tr Wed May 20 03:47:01 2015 From: u.utku.turuncoglu at be.itu.edu.tr (Ufuk Utku Turuncoglu (BE)) Date: Wed, 20 May 2015 10:47:01 +0300 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: <555C383D.5000202@ovgu.de> References: <5559DF87.6080004@ovgu.de> <56301.78.182.67.146.1432054635.squirrel@webmail.be.itu.edu.tr> <555C383D.5000202@ovgu.de> Message-ID: <555C3BF5.5090806@be.itu.edu.tr> Hi Timo, Thanks for your help. Actually, to keep it simple, i am using my laptop for both server and client. So, i think there is no need to open ssh tunnel in this case and also hash will not be an issue. Steps: 1 - installed Paraview 4.3.1 source under Mac OS 10.10 by enabling Python + OpenMPI + Development files and ParaView works fine. 2 - i compiled ParaViewCatalystExampleCode without any problem 3 - i run server: mpirun -np 2 ./pvserver (on port 11111) 4 - i run ParaView and connect to server and Catalyst (on port 22222) using menus 5 - i go to CxxMultiPieceExample directory and i run the code: mpirun -np 2 ./CxxMultiPieceExample SampleScripts/feslicescript.py in this case, i modified SampleScripts/feslicescript.py as coprocessor.EnableLiveVisualization(True) to enable live visualization. In this case, the code is running but i am getting Invalid output port : pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0 error under ParaView and also server crashes with following error, ERROR: In /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, line 812 vtkSocketCommunicator (0x7f993cf20b80): Could not receive tag. 1 [epsilon:07510] *** Process received signal *** [epsilon:07510] Signal: Segmentation fault: 11 (11) [epsilon:07510] Signal code: Address not mapped (1) [epsilon:07510] Failing at address: 0x30 [epsilon:07510] [ 0] 0 libsystem_platform.dylib 0x00007fff851f1f1a _sigtramp + 26 [epsilon:07510] [ 1] 0 ??? 0x00007f993b8578a2 0x0 + 140296105326754 [epsilon:07510] [ 2] 0 libvtkCommonSystem-pv4.3.1.dylib 0x000000010fd5c9d9 _ZN9vtkSocket4SendEPKvi + 41 [epsilon:07510] [ 3] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f313803 _ZN21vtkSocketCommunicator10SendTaggedEPKviiiPKc + 67 [epsilon:07510] [ 4] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f3131a1 _ZN21vtkSocketCommunicator13SendVoidArrayEPKvxiii + 4625 [epsilon:07510] [ 5] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d5738e2 _ZN15vtkCommunicator4SendEPKcxii + 98 [epsilon:07510] [ 6] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d56fa4d _ZN25vtkMultiProcessController4SendEPKcxii + 77 [epsilon:07510] [ 7] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d56eca7 _ZN20vtkPVProgressHandler14RefreshMessageEPKc + 151 [epsilon:07510] [ 8] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d56d99b _ZN20vtkPVProgressHandler14OnMessageEventEP9vtkObjectmPv + 91 [epsilon:07510] [ 9] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d5719b8 _ZN9vtkObject22vtkClassMemberCallbackI20vtkPVProgressHandlerEclEPS_mPv + 344 [epsilon:07510] [10] 0 libvtkCommonCore-pv4.3.1.dylib 0x000000011056c7d2 _ZN24vtkObjectCommandInternal7ExecuteEP9vtkObjectmPv + 98 [epsilon:07510] [11] 0 libvtkCommonCore-pv4.3.1.dylib 0x0000000110569a7b _ZN16vtkSubjectHelper11InvokeEventEmPvP9vtkObject + 4731 [epsilon:07510] [12] 0 libvtkCommonCore-pv4.3.1.dylib 0x000000011056a052 _ZN9vtkObject11InvokeEventEmPv + 66 [epsilon:07510] [13] 0 libvtkCommonCore-pv4.3.1.dylib 0x0000000110571a7b _ZN15vtkOutputWindow11DisplayTextEPKc + 219 [epsilon:07510] [14] 0 libvtkCommonCore-pv4.3.1.dylib 0x0000000110571ac6 _ZN15vtkOutputWindow16DisplayErrorTextEPKc + 54 [epsilon:07510] [15] 0 libvtkCommonCore-pv4.3.1.dylib 0x000000011057165c _Z31vtkOutputWindowDisplayErrorTextPKc + 44 [epsilon:07510] [16] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f315619 _ZN21vtkSocketCommunicator13ReceiveTaggedEPviiiPKc + 761 [epsilon:07510] [17] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f315196 _ZN21vtkSocketCommunicator16ReceiveVoidArrayEPvxiii + 4486 [epsilon:07510] [18] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f2d88a2 _ZN15vtkCommunicator7ReceiveEPhxii + 98 [epsilon:07510] [19] 0 libvtkParallelCore-pv4.3.1.dylib 0x000000010f2e91a1 _ZN25vtkMultiProcessController11ProcessRMIsEii + 193 [epsilon:07510] [20] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d5bb89d _ZN26vtkTCPNetworkAccessManager21ProcessEventsInternalEmb + 2717 [epsilon:07510] [21] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib 0x000000010d5bba72 _ZN26vtkTCPNetworkAccessManager13ProcessEventsEm + 34 [epsilon:07510] [22] 0 pvserver 0x000000010ba83caa _ZL8RealMainiPPcN16vtkProcessModule12ProcessTypesE + 730 [epsilon:07510] [23] 0 pvserver 0x000000010ba839b7 main + 39 [epsilon:07510] [24] 0 libdyld.dylib 0x00007fff8cbe75c9 start + 1 [epsilon:07510] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 7510 on node epsilon exited on signal 11 (Segmentation fault: 11). -------------------------------------------------------------------------- So, i am unable to run Catalyst tests for now. They produces output *.vtm files (using writers in the pipeline) if i disable live visualization. Please let me know, if you have any suggestion. Regards, --ufuk On 20/05/15 10:31, Timo Oster wrote: > Hi, > > I have indeed run into the problem with "Could not receive tag. 1". In > my case I had to make sure that the client and server versions were > exactly the same. When connecting, the vtkSocketCommunicators on client > and server exchange a version hash that must match. This hash is > generated while building ParaView. The file that is generated can be > found in your build directory under > VTK/Parallel/Core/vtkSocketCommunicatorHash.h. Check that your client > and server have the same hash value in this file. > > I am assuming that you have correctly set up an ssh tunnel between > client and server to enable the connection (ssh -L 11111:localhost:11111 > user at server). The steps I take to run a in-situ case on a single remote > workstation are listed in my previous mail. > > BTW I am using the "trunk" version of ParaView from the git repository, > which is close to version 4.3.1, and I'm running Linux on both client > and server (different distributions). > > Regards, > > Timo > > On 05/19/2015 06:57 PM, u.utku.turuncoglu at be.itu.edu.tr wrote: >> Hi Timo, >> >> Have you ever tried to test Catalyst examples in your case. >> >> https://github.com/Kitware/ParaViewCatalystExampleCode >> >> I am also trying to run Catalyst examples but i could not. In my case, i >> am able to install Paraview (4.3.1) from source under Mac OS 10.10 and the >> Catalys examples but when i try to run the examples i am getting error >> like, >> >> ERROR: In >> /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >> line 812 >> vtkSocketCommunicator (0x7f86a52658e0): Could not receive tag. 1 >> >> or >> >> ERROR: In >> /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, >> line 572 >> vtkClientSocket (0x7fcefc939fe0): Socket error in call to send. Broken pipe. >> >> So, if you don't mind could you share the details of your work environment >> (OS, Paraview version, etc.) and the steps to run the in-situ example. So, >> that could also help me to find the source of the problem. >> >> Regards, >> >> --ufuk >> >>> Hi all, >>> >>> in an effort to enable live visualization of our simulation code, I have >>> written a Catalyst adaptor for it. The live visualization is working >>> great when the ParaView client runs on the same machine as the >>> simulation, even when the simulation runs in parallel using mpi. >>> >>> Now I want to do live visualization of a simulation running on a remote >>> cluster. I am able to get this to work for the simulation running on the >>> login node of the cluster: >>> >>> 1. Tunnel an ssh connection of port 11111 to the cluster: >>> ssh -L 11111:localhost:11111 server >>> 2. In the shell that opens, start a paraview server (in the background >>> with '&') >>> 3. Run the simulation with mpirun (simulation runs only on login node) >>> 4. Start my local ParaView client and connect to localhost:11111 to >>> connect to the remote pvserver through the ssh tunnel >>> 5. In the client, connect to Catalyst (port 22222) >>> 6. A provider for the simulation is created and the live visualization >>> works >>> >>> Now I want to do the same for simulations started on the remote cluster >>> via the batch job system. In this scenario, the parallel processes of >>> the simulation will run on different (randomly chosen) nodes on the >>> cluster. How do I go about getting a connection from my local client to >>> the Catalyst instances running on those nodes? >>> >>> I imagine I will need to set up ssh tunnels from the nodes to the login >>> node where the pvserver is running. I've tried adding a ssh tunnel line >>> to the job script that is executed when the batch job starts. I've tried >>> forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no >>> avail. The best I get is "ERROR: In >>> /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 >>> vtkServerSocket (0x18e0930): Socket error in call to bind. Address >>> already in use." >>> >>> My knowledge in networking and ssh is limited, so any pointers to how I >>> would go about this are greatly appreciated. >>> >>> Regards, >>> >>> Timo >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> From timo.oster at ovgu.de Wed May 20 03:54:43 2015 From: timo.oster at ovgu.de (Timo Oster) Date: Wed, 20 May 2015 09:54:43 +0200 Subject: [Paraview] Connecting to Catalyst-Enabled Simulation Running on Remote Cluster In-Reply-To: <555C3BF5.5090806@be.itu.edu.tr> References: <5559DF87.6080004@ovgu.de> <56301.78.182.67.146.1432054635.squirrel@webmail.be.itu.edu.tr> <555C383D.5000202@ovgu.de> <555C3BF5.5090806@be.itu.edu.tr> Message-ID: <555C3DC3.8070409@ovgu.de> I haven't used the examples, so I'm afraid I can't help a lot there. On 05/20/2015 09:47 AM, Ufuk Utku Turuncoglu (BE) wrote: > Hi Timo, > > Thanks for your help. Actually, to keep it simple, i am using my laptop > for both server and client. So, i think there is no need to open ssh > tunnel in this case and also hash will not be an issue. > > Steps: > > 1 - installed Paraview 4.3.1 source under Mac OS 10.10 by enabling > Python + OpenMPI + Development files and ParaView works fine. > 2 - i compiled ParaViewCatalystExampleCode without any problem > 3 - i run server: mpirun -np 2 ./pvserver (on port 11111) > 4 - i run ParaView and connect to server and Catalyst (on port 22222) > using menus > 5 - i go to CxxMultiPieceExample directory and i run the code: mpirun > -np 2 ./CxxMultiPieceExample SampleScripts/feslicescript.py > > in this case, i modified SampleScripts/feslicescript.py as > coprocessor.EnableLiveVisualization(True) to enable live visualization. > In this case, the code is running but i am getting > > Invalid output port : pqPipelineSource::getOutputPort( 0 ). Available > number of output ports: 0 > > error under ParaView and also server crashes with following error, > > ERROR: In > /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, > line 812 > vtkSocketCommunicator (0x7f993cf20b80): Could not receive tag. 1 > > [epsilon:07510] *** Process received signal *** > [epsilon:07510] Signal: Segmentation fault: 11 (11) > [epsilon:07510] Signal code: Address not mapped (1) > [epsilon:07510] Failing at address: 0x30 > [epsilon:07510] [ 0] 0 libsystem_platform.dylib 0x00007fff851f1f1a > _sigtramp + 26 > [epsilon:07510] [ 1] 0 ??? 0x00007f993b8578a2 0x0 + 140296105326754 > [epsilon:07510] [ 2] 0 libvtkCommonSystem-pv4.3.1.dylib > 0x000000010fd5c9d9 _ZN9vtkSocket4SendEPKvi + 41 > [epsilon:07510] [ 3] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f313803 _ZN21vtkSocketCommunicator10SendTaggedEPKviiiPKc + 67 > [epsilon:07510] [ 4] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f3131a1 _ZN21vtkSocketCommunicator13SendVoidArrayEPKvxiii + 4625 > [epsilon:07510] [ 5] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d5738e2 _ZN15vtkCommunicator4SendEPKcxii + 98 > [epsilon:07510] [ 6] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d56fa4d _ZN25vtkMultiProcessController4SendEPKcxii + 77 > [epsilon:07510] [ 7] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d56eca7 _ZN20vtkPVProgressHandler14RefreshMessageEPKc + 151 > [epsilon:07510] [ 8] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d56d99b > _ZN20vtkPVProgressHandler14OnMessageEventEP9vtkObjectmPv + 91 > [epsilon:07510] [ 9] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d5719b8 > _ZN9vtkObject22vtkClassMemberCallbackI20vtkPVProgressHandlerEclEPS_mPv + > 344 > [epsilon:07510] [10] 0 libvtkCommonCore-pv4.3.1.dylib > 0x000000011056c7d2 _ZN24vtkObjectCommandInternal7ExecuteEP9vtkObjectmPv > + 98 > [epsilon:07510] [11] 0 libvtkCommonCore-pv4.3.1.dylib > 0x0000000110569a7b _ZN16vtkSubjectHelper11InvokeEventEmPvP9vtkObject + 4731 > [epsilon:07510] [12] 0 libvtkCommonCore-pv4.3.1.dylib > 0x000000011056a052 _ZN9vtkObject11InvokeEventEmPv + 66 > [epsilon:07510] [13] 0 libvtkCommonCore-pv4.3.1.dylib > 0x0000000110571a7b _ZN15vtkOutputWindow11DisplayTextEPKc + 219 > [epsilon:07510] [14] 0 libvtkCommonCore-pv4.3.1.dylib > 0x0000000110571ac6 _ZN15vtkOutputWindow16DisplayErrorTextEPKc + 54 > [epsilon:07510] [15] 0 libvtkCommonCore-pv4.3.1.dylib > 0x000000011057165c _Z31vtkOutputWindowDisplayErrorTextPKc + 44 > [epsilon:07510] [16] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f315619 _ZN21vtkSocketCommunicator13ReceiveTaggedEPviiiPKc + 761 > [epsilon:07510] [17] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f315196 _ZN21vtkSocketCommunicator16ReceiveVoidArrayEPvxiii + > 4486 > [epsilon:07510] [18] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f2d88a2 _ZN15vtkCommunicator7ReceiveEPhxii + 98 > [epsilon:07510] [19] 0 libvtkParallelCore-pv4.3.1.dylib > 0x000000010f2e91a1 _ZN25vtkMultiProcessController11ProcessRMIsEii + 193 > [epsilon:07510] [20] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d5bb89d > _ZN26vtkTCPNetworkAccessManager21ProcessEventsInternalEmb + 2717 > [epsilon:07510] [21] 0 libvtkPVClientServerCoreCore-pv4.3.1.dylib > 0x000000010d5bba72 _ZN26vtkTCPNetworkAccessManager13ProcessEventsEm + 34 > [epsilon:07510] [22] 0 pvserver 0x000000010ba83caa > _ZL8RealMainiPPcN16vtkProcessModule12ProcessTypesE + 730 > [epsilon:07510] [23] 0 pvserver 0x000000010ba839b7 main + 39 > [epsilon:07510] [24] 0 libdyld.dylib 0x00007fff8cbe75c9 start + 1 > [epsilon:07510] *** End of error message *** > -------------------------------------------------------------------------- > mpirun noticed that process rank 0 with PID 7510 on node epsilon exited > on signal 11 (Segmentation fault: 11). > -------------------------------------------------------------------------- > > So, i am unable to run Catalyst tests for now. They produces output > *.vtm files (using writers in the pipeline) if i disable live > visualization. Please let me know, if you have any suggestion. > > Regards, > > --ufuk > > On 20/05/15 10:31, Timo Oster wrote: >> Hi, >> >> I have indeed run into the problem with "Could not receive tag. 1". In >> my case I had to make sure that the client and server versions were >> exactly the same. When connecting, the vtkSocketCommunicators on client >> and server exchange a version hash that must match. This hash is >> generated while building ParaView. The file that is generated can be >> found in your build directory under >> VTK/Parallel/Core/vtkSocketCommunicatorHash.h. Check that your client >> and server have the same hash value in this file. >> >> I am assuming that you have correctly set up an ssh tunnel between >> client and server to enable the connection (ssh -L 11111:localhost:11111 >> user at server). The steps I take to run a in-situ case on a single remote >> workstation are listed in my previous mail. >> >> BTW I am using the "trunk" version of ParaView from the git repository, >> which is close to version 4.3.1, and I'm running Linux on both client >> and server (different distributions). >> >> Regards, >> >> Timo >> >> On 05/19/2015 06:57 PM, u.utku.turuncoglu at be.itu.edu.tr wrote: >>> Hi Timo, >>> >>> Have you ever tried to test Catalyst examples in your case. >>> >>> https://github.com/Kitware/ParaViewCatalystExampleCode >>> >>> I am also trying to run Catalyst examples but i could not. In my case, i >>> am able to install Paraview (4.3.1) from source under Mac OS 10.10 >>> and the >>> Catalys examples but when i try to run the examples i am getting error >>> like, >>> >>> ERROR: In >>> /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Parallel/Core/vtkSocketCommunicator.cxx, >>> >>> line 812 >>> vtkSocketCommunicator (0x7f86a52658e0): Could not receive tag. 1 >>> >>> or >>> >>> ERROR: In >>> /Users/turuncu/Qsync/progs/paraview-4.3.1/src/VTK/Common/System/vtkSocket.cxx, >>> >>> line 572 >>> vtkClientSocket (0x7fcefc939fe0): Socket error in call to send. >>> Broken pipe. >>> >>> So, if you don't mind could you share the details of your work >>> environment >>> (OS, Paraview version, etc.) and the steps to run the in-situ >>> example. So, >>> that could also help me to find the source of the problem. >>> >>> Regards, >>> >>> --ufuk >>> >>>> Hi all, >>>> >>>> in an effort to enable live visualization of our simulation code, I >>>> have >>>> written a Catalyst adaptor for it. The live visualization is working >>>> great when the ParaView client runs on the same machine as the >>>> simulation, even when the simulation runs in parallel using mpi. >>>> >>>> Now I want to do live visualization of a simulation running on a remote >>>> cluster. I am able to get this to work for the simulation running on >>>> the >>>> login node of the cluster: >>>> >>>> 1. Tunnel an ssh connection of port 11111 to the cluster: >>>> ssh -L 11111:localhost:11111 server >>>> 2. In the shell that opens, start a paraview server (in the background >>>> with '&') >>>> 3. Run the simulation with mpirun (simulation runs only on login node) >>>> 4. Start my local ParaView client and connect to localhost:11111 to >>>> connect to the remote pvserver through the ssh tunnel >>>> 5. In the client, connect to Catalyst (port 22222) >>>> 6. A provider for the simulation is created and the live visualization >>>> works >>>> >>>> Now I want to do the same for simulations started on the remote cluster >>>> via the batch job system. In this scenario, the parallel processes of >>>> the simulation will run on different (randomly chosen) nodes on the >>>> cluster. How do I go about getting a connection from my local client to >>>> the Catalyst instances running on those nodes? >>>> >>>> I imagine I will need to set up ssh tunnels from the nodes to the login >>>> node where the pvserver is running. I've tried adding a ssh tunnel line >>>> to the job script that is executed when the batch job starts. I've >>>> tried >>>> forwarding and reverse-forwarding port 22222 (ssh -L and ssh -R) to no >>>> avail. The best I get is "ERROR: In >>>> /.../ParaView_git/VTK/Common/System/vtkSocket.cxx, line 206 >>>> vtkServerSocket (0x18e0930): Socket error in call to bind. Address >>>> already in use." >>>> >>>> My knowledge in networking and ssh is limited, so any pointers to how I >>>> would go about this are greatly appreciated. >>>> >>>> Regards, >>>> >>>> Timo >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> > From dingxyan at 163.com Wed May 20 04:34:21 2015 From: dingxyan at 163.com (=?GBK?B?tqHP/tHg?=) Date: Wed, 20 May 2015 16:34:21 +0800 (CST) Subject: [Paraview] [paraview] out of memory Message-ID: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> Dear, I use the paraview of Version4.1, and the memory of my computer is 4G. When I load about 190 ply files at the same time, there will be errors about out of memory, but it runs normally when the number of the file is less than 190. The error message as shown below: ERROR: In C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, line 176 vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after RenderShiftZBuffer 1 OpenGL errors detected 0 : (1285) Out of memory ERROR: In C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, line 188 vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 OpenGL errors detected 0 : (1285) Out of memory Thanks for your help. Yours truly, dxy -------------- next part -------------- An HTML attachment was scrubbed... URL: From nenadus at gmail.com Wed May 20 05:49:24 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Wed, 20 May 2015 11:49:24 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, >> - Strange 1: I don't have anymore instance in >> DataLabelRepresentation for Elevation pipeline source (btw, during >> this traversing I get only one actor), > I don't follow. DataLableRepresentation is indeed created for every > representation shown in the render view. It seems it is not. When I execute my code snipped (passed down) I get only 2 sources (good), every source with 1 output port (good) and for every output port only one GeometryRepresentation (bad). No traces of DataLabelRepresentation. Btw, my test case is: 1. Create Sphere source with default parameters, 2. Apply Elevation filter on it and turn off its 3d widget line, 3. Select several points on Elevation1 sphere and execute code snippet. Here is my code snippet: ------------------ START OF CODE SNIPPET ------------------ // pass through all pipeline sources and pass all its representations for all output ports for(i = 0; i < sources.size(); i++) { // get pipeline source pqPipelineSource* source = sources.at(i); QMessageBox::about(NULL, "1", source->getSMName()); // for every output port, traverse all its representations for(output_port = 0; output_port < source->getNumberOfOutputPorts(); output_port++) { QMessageBox::about(NULL, "2", source->getSMName() + QString("_port_") + QString::number(output_port)); // traverse all representations for this for(j = 0; j < source->getRepresentations(output_port, active_view).count(); j++) { // get representation // I got active_view with pqApplicationCore::instance()->getServerManagerModel()->getNumberOfItems pqDataRepresentation* current_representation = source->getRepresentations(output_port, active_view)[j]; QMessageBox::about(NULL, "3", current_representation->getSMName()); } } } ------------------ END OF CODE SNIPPET ------------------ Thank you very much for your response! Nenad. p.s. sorry for duplicated messages in your inbox:-). On Mon, May 18, 2015 at 3:49 PM, Utkarsh Ayachit wrote: >> - Strange 1: I don't have anymore instance in >> DataLabelRepresentation for Elevation pipeline source (btw, during >> this traversing I get only one actor), > > I don't follow. DataLableRepresentation is indeed created for every > representation shown in the render view. > > >> - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors >> (sphere mesh and actor with selected points), but, I'm unable to >> connect selection label properties (which are tied with Elevation >> pipeline source actor - sphere mesh) and mesh with selected points / >> cells. > > Remember that label actors are added to the 2D / non-composited > renderer, not the same as the 3D renderer. Which renderer are you > looking at? > >> Q1: How to identify actor from vtkRenderer which contains selection >> points / cells and get selection properties from this actor or >> >> Q2: How to identify actor from pqPipeline source on which are selected >> points and how from appropriate representations to get actor which >> contains selected points / cells? > > Neither of these are really supported. Look at > vtkSelectionRepresentation. If you can think of ways of "tagging" the > actors added by the representations used internally by this class, I > am all ears. From utkarsh.ayachit at kitware.com Wed May 20 08:22:42 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 08:22:42 -0400 Subject: [Paraview] [paraview] out of memory In-Reply-To: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> Message-ID: Try turning of display lists. In ParaView4.1 it was setting named "Immediate mode rendering" under the Settings dialog. You'll need to enable the checkbox. Utkarsh On Wed, May 20, 2015 at 4:34 AM, ??? wrote: > Dear, > I use the paraview of Version4.1, and the memory of my computer is > 4G. When I load about 190 ply files at the same time, there will be errors > about out of memory, but it runs normally when the number of the file is > less than 190. > > The error message as shown below: > ERROR: In > C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, > line 176 > vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after > RenderShiftZBuffer 1 OpenGL errors detected > 0 : (1285) Out of memory > ERROR: In > C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, > line 188 > vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 OpenGL > errors detected > 0 : (1285) Out of memory > > Thanks for your help. > Yours truly, > dxy > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 09:50:39 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 09:50:39 -0400 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Nenad, Okay I must be missing something very obvious here, but I am totally lost here. EventHandlers.cpp confused more than it clarified things for me :). Just focusing on EventHandlers.cpp for now. Are you saying EventHandlers::DataRepresentationCreated() isn't called when a new "DataLabelRepresentation" is created at line #136? Utkarsh From nenadus at gmail.com Wed May 20 10:03:46 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Wed, 20 May 2015 16:03:46 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, I'm sorry for confusing:-(. I want to say DataRepresentationCreated is never called! When I create instance of my pipeline source with this source code, I get only 3 messages: "Source Created", and 2 times "Representation Added" after pushing Apply button. Nenad. On Wed, May 20, 2015 at 3:50 PM, Utkarsh Ayachit wrote: > Nenad, > > Okay I must be missing something very obvious here, but I am totally > lost here. EventHandlers.cpp confused more than it clarified things > for me :). > > Just focusing on EventHandlers.cpp for now. > > Are you saying EventHandlers::DataRepresentationCreated() isn't called > when a new "DataLabelRepresentation" is created at line #136? > > Utkarsh From utkarsh.ayachit at kitware.com Wed May 20 10:07:02 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:07:02 -0400 Subject: [Paraview] Installing ParaView 4.0.1 on Nodes For Rendering Frames -Slow Rendering w/ Python In-Reply-To: References: Message-ID: Are you using x forwarding when you connect to these machines? What is localhost:10.0 display to? Try running some other X-based application like gvim, or glxgears etc. and see where that window pops up. If it's popping up on your laptop, you're using X forwarding. Every render on the server will then be forwarding X calls to your laptop and that would explain the slow down. If there an X server running on the "remote site"? If so, check with your sysadmin to get access to that X if possible. If not, you'll need to recoming with OSMesa, I am afraid. Utkarsh On Wed, May 20, 2015 at 1:07 AM, Noah Taylor wrote: > Hello, > > I am using ParaView 4.0.1 since I developed a python script for > interpretation on this version. I am able to run ParaView fine on my local > Ubuntu Desktop. I have setup an EC2 AWS instance both a GPU and a CPU > instance both running Ubuntu but they both are giving me the same problem of > very very slow rendering for each time step with the offscreen rendering > option turned on. I also run into this problem on a Unix supercomputer I am > trying to run my code on. On my local machine it takes less than a second > for each time step I am rendering to be outputted with the same settings and > I am not spinning anything up like pvserver - on the node instances I have, > it is taking well around a minute or probably more for each frame. > > I have read through a lot of similar issues and the documentation for X > connections but I am not having any luck. The default DISPLAY is set to the > localhost:10.0 and I have tried changing that to the localhost:0.0 but it > gives me the bad -X connection error. From there, I followed previous > mailing list instructions and tried spinning up the pvserver (I don't know > why since I am not trying to serve anything just render frames) but I get an > error with the shared libraries that they're too short. I am using the > default downloadable version of 4.0.1 since I want to try and keep this as > simple as possible but I don't know if these have the mpi turned on by > default. Has anybody ran into this Bad X Connection issue and found an easy > way around it besides messing with the OSMesa and recompiling? I'd really > appreciate any pointers :) > > Thanks, > Noah > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 10:10:32 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:10:32 -0400 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: > I want to say DataRepresentationCreated is never called! When I create > instance of my pipeline source with this source code, I get only 3 > messages: "Source Created", and 2 times "Representation Added" after > pushing Apply button. Ah ok. That's because pqObjectBuilder no longer creates the standard representations for ParaView. A better signal to observe is pqServerManagerModel::representationAdded(). You're already observer sourceAdded from the ServerManagerModel. You'll need to qobject_cast<> to pqDataRepresentation* in your slot, for same effect as before. Utkarsh From utkarsh.ayachit at kitware.com Wed May 20 10:16:06 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:16:06 -0400 Subject: [Paraview] volume comparison In-Reply-To: References: Message-ID: ParaView/VTK really doesn't support mixing two overlapping volumes. Without going into the details, suffice it to say that the rendering implementation will result in one of the volumes always on "top" of the other. An alternative is to to render the volumes in 2 separate views, side-by-side and then link the camera together to interact simultaneously with the two views -- enabling similar comparison. Another option is to extract isosurfaces (contours) from the two volumes and then render those as surface with opacity < 1. Multiple overlapping surfaces with translucency should work fine. Utkarsh On Tue, May 19, 2015 at 10:22 PM, Christopher Snyder <22csnyder at gmail.com> wrote: > Hi, > > I have two 3D image that I would like to compare to see if they are "the > same." I thought it would be illustrative to overlay the two volumes in > different colors with some opacity. > > This presents some difficulty. In my mind I would be able to have 2 volumes > overlayed, full control of the color map of each volume, and be able to > control rotation and translation of each volume individually. > > If that's not possible directly in the GUI, maybe it's possible through the > python console? > > Best, > Chris > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From dingxyan at 163.com Wed May 20 10:32:51 2015 From: dingxyan at 163.com (dxy) Date: Wed, 20 May 2015 22:32:51 +0800 (CST) Subject: [Paraview] [paraview] out of memory In-Reply-To: References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> Message-ID: <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> Thanks for your reply. I tried as you said, it doesn't work. I use a computer of 16G of memory, it can render out. Then I use 538 ply files, they are 11.9MB altogether, but when renderd, it will use 6G memory, either the display lists turned on or off. Why it is this? Thanks for your help. dxy At 2015-05-20 20:22:42, "Utkarsh Ayachit" wrote: >Try turning of display lists. In ParaView4.1 it was setting named >"Immediate mode rendering" under the Settings dialog. You'll need to >enable the checkbox. > >Utkarsh > >On Wed, May 20, 2015 at 4:34 AM, ??? wrote: >> Dear, >> I use the paraview of Version4.1, and the memory of my computer is >> 4G. When I load about 190 ply files at the same time, there will be errors >> about out of memory, but it runs normally when the number of the file is >> less than 190. >> >> The error message as shown below: >> ERROR: In >> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, >> line 176 >> vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after >> RenderShiftZBuffer 1 OpenGL errors detected >> 0 : (1285) Out of memory >> ERROR: In >> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, >> line 188 >> vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 OpenGL >> errors detected >> 0 : (1285) Out of memory >> >> Thanks for your help. >> Yours truly, >> dxy >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed May 20 10:35:33 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:35:33 -0400 Subject: [Paraview] Rescale to data range on a field's component in python in Paraview 4.3.1 In-Reply-To: References: Message-ID: Good point. If I remember correctly, the 4.2 code worked only when doing the same through Python shell in the UI, not from pvpython/pvbatch, is that correct? Here's what you can do for 4.3 case: lookup_table = GetColorTransferFunction('SIGM') #change array component used for coloring id_comp = 2 lookup_table.VectorComponent = id_comp lookup_table.VectorMode = 'Component' repr = (the display-properties/repr object from which to get the data ranges). repr.RescaleTransferFunctionToDataRange() lookup_table.UpdateScalarBarsComponentTitle(repr.GetArrayInformationForColorArray()) Looking at this, it may make sense to add a new API to the repr to SetScalarColoring with ability to change the component mode. Utkarsh On Mon, May 18, 2015 at 9:31 AM, Christophe Bourcier wrote: > Hi, > > In 4.2.0, the following code was enough to display a field's component > instead of its magnitude and set the right scalar bar: > > lookup_table = GetColorTransferFunction('SIGM') > > #change array component used for coloring > id_comp = 2 > lookup_table.VectorComponent = id_comp > lookup_table.VectorMode = 'Component' > > > In 4.3.1, we have to explicitly get the min and max of the field and > change the scalar bar name: > > # Update the scalar bar range > source_array = stress.PointData.GetArray("SIGM") > comp_name = source_array.GetComponentName(id_comp) > mini, maxi = source_array.GetComponentRange(id_comp) > lookup_table.RGBPoints = [mini, r, g, b, maxi, r2, g2, b2] > > # Update the scalar bar name > ScalarBar1 = GetScalarBar(lookup_table) > SetProperties(ScalarBar1, ComponentTitle=comp_name) > > Is this a bug, or am I missing something? > > In attachment, a script to load in Paraview 4.2.0 and 4.3.1. The > sample file can be downloaded here: http://bourcier.eu/stress.vtu > > Thanks. > > Christophe > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 10:37:35 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:37:35 -0400 Subject: [Paraview] [paraview] out of memory In-Reply-To: <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> Message-ID: Not sure what exactly are you seeing. If you have a sample dataset to share, that'll make it easier. Thanks Utkarsh On Wed, May 20, 2015 at 10:32 AM, dxy wrote: > Thanks for your reply. I tried as you said, it doesn't work. I use a > computer of 16G of memory, it can render out. Then I use 538 ply files, they > are 11.9MB altogether, but when renderd, it will use 6G memory, either the > display lists turned on or off. Why it is this? > Thanks for your help. > > dxy > > At 2015-05-20 20:22:42, "Utkarsh Ayachit" > wrote: >>Try turning of display lists. In ParaView4.1 it was setting named >>"Immediate mode rendering" under the Settings dialog. You'll need to >>enable the checkbox. >> >>Utkarsh >> >>On Wed, May 20, 2015 at 4:34 AM, ??? wrote: >>> Dear, >>> I use the paraview of Version4.1, and the memory of my computer >>> is >>> 4G. When I load about 190 ply files at the same time, there will be >>> errors >>> about out of memory, but it runs normally when the number of the file is >>> less than 190. >>> >>> The error message as shown below: >>> ERROR: In >>> >>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, >>> line 176 >>> vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after >>> RenderShiftZBuffer 1 OpenGL errors detected >>> 0 : (1285) Out of memory >>> ERROR: In >>> >>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, >>> line 188 >>> vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 >>> OpenGL >>> errors detected >>> 0 : (1285) Out of memory >>> >>> Thanks for your help. >>> Yours truly, >>> dxy >>> > > > > > From utkarsh.ayachit at kitware.com Wed May 20 10:43:26 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 10:43:26 -0400 Subject: [Paraview] Question about programmable data source In-Reply-To: References: Message-ID: The reason for that (assuming ParaView 4.3.1) may be that you're changing the "Output DataSet Type" after the first Apply (or you're using "Auto Apply" in which case the Apply happens before you get around to change the data type). See Section 13.2.4 from the ParaView Guide [1]. I just verified that it correctly loads the attached file with ability to volume render as demonstrated in the example. [1] http://www.paraview.org/paraview-guide/ On Thu, May 14, 2015 at 12:19 PM, Wu, James wrote: > > How can I use programmable data source(vtkImageData) to render a volume? There is no Volume item in Representation drop box. > > Thanks, > James > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- A non-text attachment was scrubbed... Name: HeadMRVolume.raw Type: image/x-panasonic-raw Size: 124992 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Wed May 20 11:01:29 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:01:29 -0400 Subject: [Paraview] Question about paraview In-Reply-To: References: Message-ID: Here's a snippet that demonstrates how one can do this. https://gitlab.kitware.com/paraview/paraview/snippets/2 Utkarsh On Wed, May 13, 2015 at 6:47 PM, Wu, James wrote: > I want to run a python scrip when user click on a data source in Pipeline Browser. > Can anyone tell me how to do this? > > Thanks, > James > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From nenadus at gmail.com Wed May 20 11:07:15 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Wed, 20 May 2015 17:07:15 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, Thank you very much for help, but, it still doesn't work. At Ln 118 it fails and reports in Output Window 'Missing required attribute.' and returns NULL. Thanks for any help! Nenad. On Wed, May 20, 2015 at 4:10 PM, Utkarsh Ayachit wrote: >> I want to say DataRepresentationCreated is never called! When I create >> instance of my pipeline source with this source code, I get only 3 >> messages: "Source Created", and 2 times "Representation Added" after >> pushing Apply button. > > Ah ok. That's because pqObjectBuilder no longer creates the standard > representations for ParaView. A better signal to observe is > pqServerManagerModel::representationAdded(). You're already observer > sourceAdded from the ServerManagerModel. You'll need to qobject_cast<> > to pqDataRepresentation* in your slot, for same effect as before. > > Utkarsh -------------- next part -------------- A non-text attachment was scrubbed... Name: EventHandlers.zip Type: application/zip Size: 3075 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Wed May 20 11:09:00 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:09:00 -0400 Subject: [Paraview] Saving Stereo Files - Eye Separation Control In-Reply-To: <49F2A13558976D41882241B8CCCCF51B0F483D6A@NDJSMBX203.ndc.nasa.gov> References: <49F2A13558976D41882241B8CCCCF51B0F483D6A@NDJSMBX203.ndc.nasa.gov> Message-ID: It's not exposed in the UI, but I believe you can use the Python shell as follows: > c = GetActiveCamera() > c.SetEyeSeparation(...) > Render() On Wed, May 13, 2015 at 4:51 PM, Rinehart, Richard D. (GRC-VG00)[DB Consulting Group, Inc.] wrote: > Greetings! > > Is there a stereo file saving eye separation control for the binary Win > version? Poking around but seems as not with the prebuilt version. > > -rich > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 11:12:07 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:12:07 -0400 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Step into "createDataRepresentation" in a debugger. You'll see one of the arguments is NULL. I suspect its the view. The view isn't setup yet. Try making the slot connection to a queued connection that way ParaView gets the change to setup the representation object. On Wed, May 20, 2015 at 11:07 AM, Nenad Vujicic wrote: > Utkarsh, > > Thank you very much for help, but, it still doesn't work. At Ln 118 it > fails and reports in Output Window 'Missing required attribute.' and > returns NULL. > > Thanks for any help! > > Nenad. > > On Wed, May 20, 2015 at 4:10 PM, Utkarsh Ayachit > wrote: >>> I want to say DataRepresentationCreated is never called! When I create >>> instance of my pipeline source with this source code, I get only 3 >>> messages: "Source Created", and 2 times "Representation Added" after >>> pushing Apply button. >> >> Ah ok. That's because pqObjectBuilder no longer creates the standard >> representations for ParaView. A better signal to observe is >> pqServerManagerModel::representationAdded(). You're already observer >> sourceAdded from the ServerManagerModel. You'll need to qobject_cast<> >> to pqDataRepresentation* in your slot, for same effect as before. >> >> Utkarsh From utkarsh.ayachit at kitware.com Wed May 20 11:13:35 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:13:35 -0400 Subject: [Paraview] Question about programmable data source In-Reply-To: References: Message-ID: You have "Auto Apply" enabled. Hence the APply is happening before you are able to change the output data type. Disable "Auto Apply" and then create the Programmable Source. The data type must be set before the first apply. Utkarsh On Wed, May 13, 2015 at 2:38 PM, Wu, James wrote: > Hi David > > > > After remove executive.SetExtentTranslator(outInfo, > vtk.vtkExtentTranslator()), not the points are rendered. > > Why there is no ?volume? option available for Representation? > > > > I want to render as volume > > > > Thanks, > > James > > > > From: David E DeMarle [mailto:dave.demarle at kitware.com] > Sent: Wednesday, May 13, 2015 10:52 AM > To: Wu, James > Cc: paraview at paraview.org > Subject: Re: [Paraview] Question about programmable data source > > > > You have to provide the whole extent in the request information pass. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > > > On Wed, May 13, 2015 at 1:19 PM, Wu, James wrote: > > I add a programmable data source using vtkImageData. The following is the > script. > There is nothing displayed after click "Apply". I am new user to paraview. > Can any point me what's wrong with the script? > > Thanks, > James > > dim = 10 > pdo = self.GetImageDataOutput() > pdo.SetDimensions(dim, dim, dim) > pdo.SetOrigin(0, 0, 0) > pdo.SetSpacing(1, 1, 1) > pdo.SetExtent(0, dim - 1, 0, dim - 1, 0, dim - 1) > pdo.AllocateScalars(vtk.VTK_FLOAT, 1) > > for x in range(0, dim): > for y in range(0, dim): > for z in range(0, dim): > pdo.SetScalarComponentFromFloat(x, y, z, 0, 0.2) > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 11:17:39 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:17:39 -0400 Subject: [Paraview] error when connecting to pvserver In-Reply-To: <51646.88.235.39.115.1430052879.squirrel@webmail.be.itu.edu.tr> References: <51646.88.235.39.115.1430052879.squirrel@webmail.be.itu.edu.tr> Message-ID: The client and server processes both print out a message with the handshake strings they compared with. Mind posting both of them? Thanks On Sun, Apr 26, 2015 at 8:54 AM, wrote: > Hi, > > I am trying to connect Paraview server (pvserver) to test the Paraview > Catalyst example codes from GitHub account. So, i installed Paraview from > source (under Centos 7.0) without any problem and then test code. The > problem is that i am getting following error messages when i try to run > the example, > > ERROR: In > /opt/progs/paraview-4.3.1/src/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, > line 424 > vtkTCPNetworkAccessManager (0x1063f00): > ********************************************************************** > Connection failed during handshake. This can happen for the following > reasons: > 1. Connection dropped during the handshake. > 2. vtkSocketCommunicator::GetVersion() returns different values on the > two connecting processes (Current value: 100). > 3. ParaView handshake strings are different on the two connecting > processes (Current value: paraview.4.3). > ********************************************************************** > > In this case, both server and client are using same Paraview installation > and i disabled both firewall and selinux to eliminate the possible error > sources that might cause the problem. The server is also started using > following command, > > [turuncu at epsilon-lnx CFullExample2]$ pvserver --server-port=22222 > Waiting for client... > Connection URL: cs://epsilon-lnx:22222 > Accepting connection(s): epsilon-lnx:22222 > > and the client code is running as follows, > > [turuncu at epsilon-lnx CFullExample2]$ ./CFullExample2 > SampleScripts/feslicescript.py > > I enabled live visualization by setting it True and proper server address > and the port in the Python coprocessor code. I also tried to connect > server from another machine directly using Paraview and it is working. At > this point, i just need help to find the problem. > Best Regards, > > --ufuk > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From nenadus at gmail.com Wed May 20 11:18:17 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Wed, 20 May 2015 17:18:17 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, You are right, view is really NULL!! Ok, when I catch signals fired I'll wait appropriate view is created and then they creating representation. Thanks! On Wed, May 20, 2015 at 5:12 PM, Utkarsh Ayachit wrote: > Step into "createDataRepresentation" in a debugger. You'll see one of > the arguments is NULL. I suspect its the view. The view isn't setup > yet. Try making the slot connection to a queued connection that way > ParaView gets the change to setup the representation object. > > On Wed, May 20, 2015 at 11:07 AM, Nenad Vujicic wrote: >> Utkarsh, >> >> Thank you very much for help, but, it still doesn't work. At Ln 118 it >> fails and reports in Output Window 'Missing required attribute.' and >> returns NULL. >> >> Thanks for any help! >> >> Nenad. >> >> On Wed, May 20, 2015 at 4:10 PM, Utkarsh Ayachit >> wrote: >>>> I want to say DataRepresentationCreated is never called! When I create >>>> instance of my pipeline source with this source code, I get only 3 >>>> messages: "Source Created", and 2 times "Representation Added" after >>>> pushing Apply button. >>> >>> Ah ok. That's because pqObjectBuilder no longer creates the standard >>> representations for ParaView. A better signal to observe is >>> pqServerManagerModel::representationAdded(). You're already observer >>> sourceAdded from the ServerManagerModel. You'll need to qobject_cast<> >>> to pqDataRepresentation* in your slot, for same effect as before. >>> >>> Utkarsh From utkarsh.ayachit at kitware.com Wed May 20 11:26:31 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:26:31 -0400 Subject: [Paraview] Paraview Parallel Data In-Reply-To: <25317cc7.71b3.14cf8dc688b.Coremail.zhz1993622@163.com> References: <25317cc7.71b3.14cf8dc688b.Coremail.zhz1993622@163.com> Message-ID: You can use the D3 filter to redistribute the data once its opened in ParaView that's running in parallel. On Sun, Apr 26, 2015 at 11:12 PM, ??? wrote: > Dear: > I want to do some test to know where the paraview do the data > distribution and how to controll it.But when I use ply data to do the test > ,I found that it didn't do data distribution .So I want to get some paraview > data like in > http://www.paraview.org/Wiki/ParaView/ParaView_Readers_and_Parallel_Data_Distribution > .who have some datas like that ? Can you give it to me ?Thank you! > > Sincerely > > zhou > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 11:30:14 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:30:14 -0400 Subject: [Paraview] Loading RAW file In-Reply-To: <77EF680B37D6CA4F9457525A0E59B1FF8CC1BAE6@EXCHMBX01.fed.cclrc.ac.uk> References: <77EF680B37D6CA4F9457525A0E59B1FF8CC1BAE6@EXCHMBX01.fed.cclrc.ac.uk> Message-ID: This was indeed a bug. See http://www.paraview.org/Bug/view.php?id=15457. The fix for this is here: https://gitlab.kitware.com/paraview/paraview/merge_requests/92 Utkarsh On Wed, Apr 15, 2015 at 7:50 AM, wrote: > Hi > > > > I am using Paraview 4.3.1 in client server mode. After loading RAW file, > when I switch the mode to slice it throws up these errors and renders half > of the slice. > > ERROR: > ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, > line 857 > > vtkStreamingDemandDrivenPipeline (0x4e96c70): The update extent specified in > the information for output port 0 on algorithm vtkTrivialProducer(0x4e965e0) > is 0 511 0 511 228 228, which is outside the whole extent 0 511 0 255 0 456. > > > > > > ERROR: In > ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkTrivialProducer.cxx, > line 279 > > vtkTrivialProducer (0x4e965e0): This data object does not contain the > requested extent. > > > > Any solutions? > > > > Thanks > > Sri > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 11:33:48 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 11:33:48 -0400 Subject: [Paraview] 2k x 2k x 2k volume rendering using pvserver In-Reply-To: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk> References: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk> Message-ID: That's odd. Have you tried changing the "Volume Mapper" on the Properties panel? Try switching between "Texture Only" and "GPU based". On Tue, Apr 14, 2015 at 4:07 AM, wrote: > Hi > > > > I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and > client on windows 7. In slice mode I can see the data but when I switch to > volume mode it disappears. In the same configuration if I load a 512x512x512 > volume, volume mode rendering is fine. > > > > Can anyone please help? > > > > Thanks > > Sri > > PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have > switched on the Remote Render Threshold and set the value to 0Mbytes. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Wed May 20 12:05:51 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 20 May 2015 12:05:51 -0400 Subject: [Paraview] 2k x 2k x 2k volume rendering using pvserver In-Reply-To: <77EF680B37D6CA4F9457525A0E59B1FF8CC42D6D@EXCHMBX01.fed.cclrc.ac.uk> References: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk> <77EF680B37D6CA4F9457525A0E59B1FF8CC42D6D@EXCHMBX01.fed.cclrc.ac.uk> Message-ID: Sri, The volume rendering code is being reimplemented. Let's wait to see how that fares. If you don't mind experimenting, I can ping you once ParaView git/master has the code ready for experimentation. Utkarsh On Wed, May 20, 2015 at 12:02 PM, wrote: > Hi Utkarsh, > > Thanks for your reply. I did try using Texture Only and got the same result. with paraview 4.3.1 I have done some debugging to see at which point the volume rendering fails. On a single machine on k40 with 12GB memory any size above 2048x1024x1024 float value it fails. When i distribute this across two nodes with k40, i can see the data is loaded into the graphic memory but there is no display output. > > Thanks > Sri > ________________________________________ > From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] > Sent: 20 May 2015 16:33 > To: Nagella, Srikanth (STFC,RAL,SC) > Cc: ParaView > Subject: Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver > > That's odd. Have you tried changing the "Volume Mapper" on the > Properties panel? Try switching between "Texture Only" and "GPU > based". > > On Tue, Apr 14, 2015 at 4:07 AM, wrote: >> Hi >> >> >> >> I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and >> client on windows 7. In slice mode I can see the data but when I switch to >> volume mode it disappears. In the same configuration if I load a 512x512x512 >> volume, volume mode rendering is fine. >> >> >> >> Can anyone please help? >> >> >> >> Thanks >> >> Sri >> >> PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have >> switched on the Remote Render Threshold and set the value to 0Mbytes. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> From srikanth.nagella at stfc.ac.uk Wed May 20 12:07:58 2015 From: srikanth.nagella at stfc.ac.uk (srikanth.nagella at stfc.ac.uk) Date: Wed, 20 May 2015 16:07:58 +0000 Subject: [Paraview] 2k x 2k x 2k volume rendering using pvserver In-Reply-To: References: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk> <77EF680B37D6CA4F9457525A0E59B1FF8CC42D6D@EXCHMBX01.fed.cclrc.ac.uk>, Message-ID: <77EF680B37D6CA4F9457525A0E59B1FF8CC42D92@EXCHMBX01.fed.cclrc.ac.uk> Utkarsh, That would be perfect. Thanks Sri ________________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: 20 May 2015 17:05 To: Nagella, Srikanth (STFC,RAL,SC) Cc: ParaView Subject: Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver Sri, The volume rendering code is being reimplemented. Let's wait to see how that fares. If you don't mind experimenting, I can ping you once ParaView git/master has the code ready for experimentation. Utkarsh On Wed, May 20, 2015 at 12:02 PM, wrote: > Hi Utkarsh, > > Thanks for your reply. I did try using Texture Only and got the same result. with paraview 4.3.1 I have done some debugging to see at which point the volume rendering fails. On a single machine on k40 with 12GB memory any size above 2048x1024x1024 float value it fails. When i distribute this across two nodes with k40, i can see the data is loaded into the graphic memory but there is no display output. > > Thanks > Sri > ________________________________________ > From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] > Sent: 20 May 2015 16:33 > To: Nagella, Srikanth (STFC,RAL,SC) > Cc: ParaView > Subject: Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver > > That's odd. Have you tried changing the "Volume Mapper" on the > Properties panel? Try switching between "Texture Only" and "GPU > based". > > On Tue, Apr 14, 2015 at 4:07 AM, wrote: >> Hi >> >> >> >> I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and >> client on windows 7. In slice mode I can see the data but when I switch to >> volume mode it disappears. In the same configuration if I load a 512x512x512 >> volume, volume mode rendering is fine. >> >> >> >> Can anyone please help? >> >> >> >> Thanks >> >> Sri >> >> PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have >> switched on the Remote Render Threshold and set the value to 0Mbytes. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> From srikanth.nagella at stfc.ac.uk Wed May 20 12:02:23 2015 From: srikanth.nagella at stfc.ac.uk (srikanth.nagella at stfc.ac.uk) Date: Wed, 20 May 2015 16:02:23 +0000 Subject: [Paraview] 2k x 2k x 2k volume rendering using pvserver In-Reply-To: References: <77EF680B37D6CA4F9457525A0E59B1FF8CC19443@EXCHMBX01.fed.cclrc.ac.uk>, Message-ID: <77EF680B37D6CA4F9457525A0E59B1FF8CC42D6D@EXCHMBX01.fed.cclrc.ac.uk> Hi Utkarsh, Thanks for your reply. I did try using Texture Only and got the same result. with paraview 4.3.1 I have done some debugging to see at which point the volume rendering fails. On a single machine on k40 with 12GB memory any size above 2048x1024x1024 float value it fails. When i distribute this across two nodes with k40, i can see the data is loaded into the graphic memory but there is no display output. Thanks Sri ________________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: 20 May 2015 16:33 To: Nagella, Srikanth (STFC,RAL,SC) Cc: ParaView Subject: Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver That's odd. Have you tried changing the "Volume Mapper" on the Properties panel? Try switching between "Texture Only" and "GPU based". On Tue, Apr 14, 2015 at 4:07 AM, wrote: > Hi > > > > I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and > client on windows 7. In slice mode I can see the data but when I switch to > volume mode it disappears. In the same configuration if I load a 512x512x512 > volume, volume mode rendering is fine. > > > > Can anyone please help? > > > > Thanks > > Sri > > PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have > switched on the Remote Render Threshold and set the value to 0Mbytes. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From samuelkey at bresnan.net Wed May 20 16:03:37 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Wed, 20 May 2015 14:03:37 -0600 Subject: [Paraview] SWKey: Definitions of 'Q-Criterion' and the calculator's mag(*) operator? Message-ID: <555CE899.3020701@bresnan.net> An HTML attachment was scrubbed... URL: From 22csnyder at gmail.com Thu May 21 00:48:20 2015 From: 22csnyder at gmail.com (Christopher Snyder) Date: Wed, 20 May 2015 23:48:20 -0500 Subject: [Paraview] deforming sphere-like grid to object Message-ID: Hi all, Here's what I'd like to do using python scripting. 1) Initialize a set of points and edges that "look like a sphere" using sphere=Sphere() 2) deform that set of points (and edges) to match a volume whose high intensity region is also blob-like using an active shape model 3) visualize the evolution of the sphere deformation using paraview. I only tell you so you can stop me if I'm doing this in a suboptimal way. My immediate question is simply how can I extract/change the coordinates of a Sphere() object? Are the points of a "sphere" object constrainted to forever occupy a sphere shape? Best, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From 22csnyder at gmail.com Thu May 21 04:05:11 2015 From: 22csnyder at gmail.com (Christopher Snyder) Date: Thu, 21 May 2015 03:05:11 -0500 Subject: [Paraview] deforming sphere-like grid to object In-Reply-To: References: Message-ID: Edit: After doubling the amount of lifetime experience with paraview or vtk since my last email, I think what I ought to do is create a filter that does a single iteration of shape deformation. Then I'll create a script that alternates "calling this filter" and rendering 500 times or so. Let me know if that sounds incongruous with how Paraview works. Background Idea:The points on the initial sphere should deform in a way that minimizes the total 'energy' of the blob: edges should coincide with sharp contrast in the background volume; surface normals should be minimial. Thanks again, Chris On Wed, May 20, 2015 at 11:48 PM, Christopher Snyder <22csnyder at gmail.com> wrote: > Hi all, > > > Here's what I'd like to do using python scripting. > 1) Initialize a set of points and edges that "look like a sphere" using > sphere=Sphere() > 2) deform that set of points (and edges) to match a volume whose high > intensity region is also blob-like using an active shape model > 3) visualize the evolution of the sphere deformation using paraview. > > I only tell you so you can stop me if I'm doing this in a suboptimal way. > > My immediate question is simply how can I extract/change the coordinates > of a Sphere() object? Are the points of a "sphere" object constrainted to > forever occupy a sphere shape? > > Best, > Chris > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu May 21 13:48:23 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 21 May 2015 13:48:23 -0400 Subject: [Paraview] deforming sphere-like grid to object In-Reply-To: References: Message-ID: Another alternative. - create a filter that deforms the sphere up to a specific iteration "N". This filter will have a "property" to set the current iteration number. - setup an animation to change the iteration number. (assuming deforming to an arbitrary iteration is just as expensive as going to a i+1 iteration). Utkarsh On Thu, May 21, 2015 at 4:05 AM, Christopher Snyder <22csnyder at gmail.com> wrote: > Edit: > > After doubling the amount of lifetime experience with paraview or vtk since > my last email, I think what I ought to do is create a filter that does a > single iteration of shape deformation. Then I'll create a script that > alternates "calling this filter" and rendering 500 times or so. > > Let me know if that sounds incongruous with how Paraview works. > > Background Idea:The points on the initial sphere should deform in a way that > minimizes the total 'energy' of the blob: edges should coincide with sharp > contrast in the background volume; surface normals should be minimial. > > Thanks again, > Chris > > On Wed, May 20, 2015 at 11:48 PM, Christopher Snyder <22csnyder at gmail.com> > wrote: >> >> Hi all, >> >> >> Here's what I'd like to do using python scripting. >> 1) Initialize a set of points and edges that "look like a sphere" using >> sphere=Sphere() >> 2) deform that set of points (and edges) to match a volume whose high >> intensity region is also blob-like using an active shape model >> 3) visualize the evolution of the sphere deformation using paraview. >> >> I only tell you so you can stop me if I'm doing this in a suboptimal way. >> >> My immediate question is simply how can I extract/change the coordinates >> of a Sphere() object? Are the points of a "sphere" object constrainted to >> forever occupy a sphere shape? >> >> Best, >> Chris >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From jeffrey.c.becker at nasa.gov Thu May 21 16:54:05 2015 From: jeffrey.c.becker at nasa.gov (Jeff Becker) Date: Thu, 21 May 2015 13:54:05 -0700 Subject: [Paraview] ParaView 4.3.1 client runs X out of memory Message-ID: <555E45ED.70702@nasa.gov> Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 by 500 point data set. In order to visualize it, I fire up 8 pvservers on my GPU multicore backend node using: mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering and connect to the root server from my ParaView client. I then open my vtu file and hit apply, I can see the file gets read in, and then nothing much else happens except X on my client grows to fill all of memory, and my client system (my desktop) becomes unusable. I'm guessing that the client is getting overwhelmed with X requests. What am I doing wrong, and how to fix? Thanks. -jeff From jtxqhao at gmail.com Fri May 22 06:03:15 2015 From: jtxqhao at gmail.com (Yu Yu) Date: Fri, 22 May 2015 18:03:15 +0800 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Thanks Sebastien for the suggestion ! Yes, it works now. The final setting that make it works is this: set PYTHONPATH=C:\Python27\Lib\site-packages\win32; C:\Python27\Lib\site-packages\win32\lib; Thanks for your help On Tue, May 19, 2015 at 9:49 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Try to add that path to the following environment variable: > > set PATH=%PATH%;C:\Python27\Lib\site-packages\win32 > set PYTHONPATH=C:\Python27\Lib\site-packages\win32 > > If that doesn't work, you will have to search on the net on how to make > Twisted works on Windows. > > Good luck, > > Seb > > On Tue, May 19, 2015 at 5:16 AM, Yu Yu wrote: > >> Hi Sebastien, >> >> Sorry, please ignore the previous error. I finally found the correct >> combination in cmake and successfully build ParaViewWeb without error. >> >> However, when I launch ParaViewWeb with the following command: >> >> pvpython.exe >> ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py >> --content ..\share\www --port 8088 --data-dir \data >> >> The following error occur. >> >> Traceback (most recent call last): >> File >> "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line >> 78, in >> from vtk.web import server >> File >> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >> vtk\web\server.py", line 27, in >> from twisted.internet.endpoints import serverFromString >> File >> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >> twisted\internet\endpoints.py", line 44, in >> from twisted.internet import stdio >> File >> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >> twisted\internet\stdio.py", line 28, in >> from twisted.internet import _win32stdio >> File >> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >> twisted\internet\_win32stdio.py", line 7, in >> import win32api >> ImportError: No module named win32api >> >> Can I know how to point it to win32api I installed ? The file for >> win32api.pyd is in >> C:\Python27\Lib\site-packages\win32 >> >> Thanks for your help. >> >> >> On Tue, May 19, 2015 at 5:59 PM, Yu Yu wrote: >> >>> Thanks for the info. I make the change (comment out that line) and >>> rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and >>> etc in the Solution Explorer in VS 2013. And when I build all solutions, >>> everything compile properly except 2 errors: >>> >>> Error 7064 error LNK2019: unresolved external symbol >>> "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl >>> vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) >>> referenced in function "protected: bool __cdecl >>> vtkSMAnimationSceneImageWriter::CreateWriter(void)" >>> (?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ) >>> D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj >>> vtkPVAnimation >>> Error 7065 error LNK1120: 1 unresolved externals >>> D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll >>> vtkPVAnimation >>> >>> Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I >>> turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation). >>> >>> Thanks for your help. >>> >>> On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain < >>> sebastien.jourdain at kitware.com> wrote: >>> >>>> Replace the following CMake lines >>>> >>>> # ParaViewWeb on Windows needs win32api which is not provided by default >>>> # For now the default behavior would be to disable it on Windows build >>>> if (WIN32) >>>> set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>>> else() >>>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>>> support" ON >>>> "PARAVIEW_ENABLE_PYTHON" OFF) >>>> endif() >>>> >>>> with the following ===== >>>> >>>> # ParaViewWeb on Windows needs win32api which is not provided by default >>>> # For now the default behavior would be to disable it on Windows build >>>> if (WIN32) >>>> # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>>> else() >>>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>>> support" ON >>>> "PARAVIEW_ENABLE_PYTHON" OFF) >>>> endif() >>>> >>>> Then you should be good to go. >>>> >>>> Seb >>>> >>>> On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: >>>> >>>>> Hi, >>>>> >>>>> I want to build ParaViewWeb on windows (64-but), I have install >>>>> win32api for python in my machine. I am using cmake-gui, and every time I >>>>> click ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake >>>>> will turn ParaView_Enable_Web to off. Is there a way to make it on ? >>>>> >>>>> I found this in the cmake text: >>>>> # ParaViewWeb on Windows needs win32api which is not provided by >>>>> default >>>>> # For now the default behavior would be to disable it on Windows build >>>>> >>>>> Can I know how to enable ParaViewWeb for windows build ? >>>>> >>>>> Thanks for your help. >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nenadus at gmail.com Fri May 22 07:15:21 2015 From: nenadus at gmail.com (Nenad Vujicic) Date: Fri, 22 May 2015 13:15:21 +0200 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Utkarsh, Thank you very much for answers about creating and initializing DataLabelRepresentation. Now my source plugin works perfectly. But, my exporting plugin (my first message) is still unable to export labels which I get when try selecting several points. Here is what I do: 1. Create Sphere and apply Elevation filter on it (I turn OFF 3d widget), 2. I select several points and in Selection Manager I select Elevation for Point Labels, 3. In following code snippet I get only 2 message boxes (one of Sphere and one for Elevation - both GeometryRepresentation),, but, there is no DataLabelRepresentation. 4. I know how to extract labels parameters at this level (Selection* parameters from representation), but not set of points over which are generated labels, // for all sources for(i = 0; i < sources.size(); i++) { // get source pqPipelineSource* source = sources.at(i); // for every source's output port, process it for(output_port = 0; output_port < source->getNumberOfOutputPorts(); output_port++) { // traverse all representations for(j = 0; j < source->getRepresentations(output_port, active_view).count(); j++) { QMessageBox::about(NULL, "", GetCurrentSourceRepresentationSMName()); } } } Should I try to catch pqSelectionManager::selectionChanged(pqOutputPort*) to get data structure over which are points which I can compare with data structures extracted from vtkRenderWindow to generate labels? Thanks for help in advance! Nenad. On Mon, May 18, 2015 at 3:49 PM, Utkarsh Ayachit wrote: >> - Strange 1: I don't have anymore instance in >> DataLabelRepresentation for Elevation pipeline source (btw, during >> this traversing I get only one actor), > > I don't follow. DataLableRepresentation is indeed created for every > representation shown in the render view. > > >> - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors >> (sphere mesh and actor with selected points), but, I'm unable to >> connect selection label properties (which are tied with Elevation >> pipeline source actor - sphere mesh) and mesh with selected points / >> cells. > > Remember that label actors are added to the 2D / non-composited > renderer, not the same as the 3D renderer. Which renderer are you > looking at? > >> Q1: How to identify actor from vtkRenderer which contains selection >> points / cells and get selection properties from this actor or >> >> Q2: How to identify actor from pqPipeline source on which are selected >> points and how from appropriate representations to get actor which >> contains selected points / cells? > > Neither of these are really supported. Look at > vtkSelectionRepresentation. If you can think of ways of "tagging" the > actors added by the representations used internally by this class, I > am all ears. From utkarsh.ayachit at kitware.com Fri May 22 10:18:34 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 22 May 2015 10:18:34 -0400 Subject: [Paraview] [paraview] out of memory In-Reply-To: References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> Message-ID: Dxy, ParaView has certain overhead when a new source/filter is created. It will need some more profiling, but creating 500+ readers would indeed push things closer to that limit. ParaView/VTK typically uses composite datasets/multiblock datasets for handling multiple parts of the same dataset. Here's a "Script" for the Python programmable filter that can open all the PLY files as a single multblock dataset. # 0. Create the "Programmable Source" from the Sources menu. ====================================================== # 1. Set the Output DataSet Type to "vtkMultiBlockDataSet". ====================================================== # 2. Set as the "Script" ====================================================== output = self.GetOutput() cc = 0 for i in range(1, 538): filename = "/tmp/data/%03d.ply" % i reader = vtkPLYReader() reader.SetFileName(filename) reader.Update() output.SetBlock(cc, reader.GetOutputDataObject(0)) del reader cc = cc + 1 ====================================================== Utkarsh On Wed, May 20, 2015 at 10:37 AM, Utkarsh Ayachit wrote: > Not sure what exactly are you seeing. If you have a sample dataset to > share, that'll make it easier. > > Thanks > Utkarsh > > On Wed, May 20, 2015 at 10:32 AM, dxy wrote: >> Thanks for your reply. I tried as you said, it doesn't work. I use a >> computer of 16G of memory, it can render out. Then I use 538 ply files, they >> are 11.9MB altogether, but when renderd, it will use 6G memory, either the >> display lists turned on or off. Why it is this? >> Thanks for your help. >> >> dxy >> >> At 2015-05-20 20:22:42, "Utkarsh Ayachit" >> wrote: >>>Try turning of display lists. In ParaView4.1 it was setting named >>>"Immediate mode rendering" under the Settings dialog. You'll need to >>>enable the checkbox. >>> >>>Utkarsh >>> >>>On Wed, May 20, 2015 at 4:34 AM, ??? wrote: >>>> Dear, >>>> I use the paraview of Version4.1, and the memory of my computer >>>> is >>>> 4G. When I load about 190 ply files at the same time, there will be >>>> errors >>>> about out of memory, but it runs normally when the number of the file is >>>> less than 190. >>>> >>>> The error message as shown below: >>>> ERROR: In >>>> >>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, >>>> line 176 >>>> vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after >>>> RenderShiftZBuffer 1 OpenGL errors detected >>>> 0 : (1285) Out of memory >>>> ERROR: In >>>> >>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, >>>> line 188 >>>> vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 >>>> OpenGL >>>> errors detected >>>> 0 : (1285) Out of memory >>>> >>>> Thanks for your help. >>>> Yours truly, >>>> dxy >>>> >> >> >> >> >> -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-05-22 10:18:02.png Type: image/png Size: 270891 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Fri May 22 10:28:18 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 22 May 2015 10:28:18 -0400 Subject: [Paraview] ParaView 4.3.1 client runs X out of memory In-Reply-To: <555E45ED.70702@nasa.gov> References: <555E45ED.70702@nasa.gov> Message-ID: Jeff, Can you make sure the "Remote Render Threshold" is set to 0? Also, do you have an X server running (and accessible) on the backend nodes? You're not using "ssh -X" to login to the backend nodes, right? On Thu, May 21, 2015 at 4:54 PM, Jeff Becker wrote: > Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 by 500 > point data set. In order to visualize it, I fire up 8 pvservers on my GPU > multicore backend node using: > > mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering > > and connect to the root server from my ParaView client. I then open my vtu > file and hit apply, I can see the file gets read in, and then nothing much > else happens except X on my client grows to fill all of memory, and my > client system (my desktop) becomes unusable. I'm guessing that the client is > getting overwhelmed with X requests. > > What am I doing wrong, and how to fix? > > Thanks. > > -jeff > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- A non-text attachment was scrubbed... Name: settings dialog.png Type: image/png Size: 47215 bytes Desc: not available URL: From thomas.oliveira at gmail.com Fri May 22 11:51:52 2015 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Fri, 22 May 2015 16:51:52 +0100 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 Message-ID: Hi, I found on this manual http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm that a previous version of ParaView had FlyIn and FlyOut among the controls for 3D movements. Do you if they are available in ParaView 4? Best regards, Thomas Oliveira -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 22 12:01:42 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 22 May 2015 12:01:42 -0400 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 In-Reply-To: References: Message-ID: Thomas, Alas no. That was something that was lost in 3.0 transition. I haven't looked into it in detail, but if there's sufficient interest, it should not be too hard to resurrect the old code. Utkarsh On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira wrote: > Hi, > > I found on this manual > http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm > that a previous version of ParaView had FlyIn and FlyOut among the controls > for 3D movements. > > Do you if they are available in ParaView 4? > > Best regards, > > Thomas Oliveira > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From stephen.wornom at inria.fr Fri May 22 12:06:56 2015 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Fri, 22 May 2015 18:06:56 +0200 Subject: [Paraview] PV 4.1.0 programmimg the camera position using python Message-ID: <555F5420.1030709@inria.fr> Are there some examples available showing how to programming the camera position using python? The position would be a function (x,y,z,t). Hope my question is clear. Stephen -- stephen.wornom at inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: stephen_wornom.vcf Type: text/x-vcard Size: 187 bytes Desc: not available URL: From sebastien.jourdain at kitware.com Fri May 22 12:30:00 2015 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Fri, 22 May 2015 10:30:00 -0600 Subject: [Paraview] Build ParaViewWeb on windows In-Reply-To: References: Message-ID: Glad it works and thanks for sharing your success on having ParaViewWeb on Windows. Seb On Fri, May 22, 2015 at 4:03 AM, Yu Yu wrote: > Thanks Sebastien for the suggestion ! Yes, it works now. The final setting > that make it works is this: > > set PYTHONPATH=C:\Python27\Lib\site-packages\win32; > C:\Python27\Lib\site-packages\win32\lib; > > Thanks for your help > > > On Tue, May 19, 2015 at 9:49 PM, Sebastien Jourdain < > sebastien.jourdain at kitware.com> wrote: > >> Try to add that path to the following environment variable: >> >> set PATH=%PATH%;C:\Python27\Lib\site-packages\win32 >> set PYTHONPATH=C:\Python27\Lib\site-packages\win32 >> >> If that doesn't work, you will have to search on the net on how to make >> Twisted works on Windows. >> >> Good luck, >> >> Seb >> >> On Tue, May 19, 2015 at 5:16 AM, Yu Yu wrote: >> >>> Hi Sebastien, >>> >>> Sorry, please ignore the previous error. I finally found the correct >>> combination in cmake and successfully build ParaViewWeb without error. >>> >>> However, when I launch ParaViewWeb with the following command: >>> >>> pvpython.exe >>> ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py >>> --content ..\share\www --port 8088 --data-dir \data >>> >>> The following error occur. >>> >>> Traceback (most recent call last): >>> File >>> "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line >>> 78, in >>> from vtk.web import server >>> File >>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >>> vtk\web\server.py", line 27, in >>> from twisted.internet.endpoints import serverFromString >>> File >>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >>> twisted\internet\endpoints.py", line 44, in >>> from twisted.internet import stdio >>> File >>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >>> twisted\internet\stdio.py", line 28, in >>> from twisted.internet import _win32stdio >>> File >>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\ >>> twisted\internet\_win32stdio.py", line 7, in >>> import win32api >>> ImportError: No module named win32api >>> >>> Can I know how to point it to win32api I installed ? The file for >>> win32api.pyd is in >>> C:\Python27\Lib\site-packages\win32 >>> >>> Thanks for your help. >>> >>> >>> On Tue, May 19, 2015 at 5:59 PM, Yu Yu wrote: >>> >>>> Thanks for the info. I make the change (comment out that line) and >>>> rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and >>>> etc in the Solution Explorer in VS 2013. And when I build all solutions, >>>> everything compile properly except 2 errors: >>>> >>>> Error 7064 error LNK2019: unresolved external symbol >>>> "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl >>>> vtkAVIWriter::New(void)" (__imp_?New at vtkAVIWriter@@SAPEAV1 at XZ) >>>> referenced in function "protected: bool __cdecl >>>> vtkSMAnimationSceneImageWriter::CreateWriter(void)" >>>> (?CreateWriter at vtkSMAnimationSceneImageWriter@@IEAA_NXZ) >>>> D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj >>>> vtkPVAnimation >>>> Error 7065 error LNK1120: 1 unresolved externals >>>> D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll >>>> vtkPVAnimation >>>> >>>> Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I >>>> turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation). >>>> >>>> Thanks for your help. >>>> >>>> On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain < >>>> sebastien.jourdain at kitware.com> wrote: >>>> >>>>> Replace the following CMake lines >>>>> >>>>> # ParaViewWeb on Windows needs win32api which is not provided by >>>>> default >>>>> # For now the default behavior would be to disable it on Windows build >>>>> if (WIN32) >>>>> set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>>>> else() >>>>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>>>> support" ON >>>>> "PARAVIEW_ENABLE_PYTHON" OFF) >>>>> endif() >>>>> >>>>> with the following ===== >>>>> >>>>> # ParaViewWeb on Windows needs win32api which is not provided by >>>>> default >>>>> # For now the default behavior would be to disable it on Windows build >>>>> if (WIN32) >>>>> # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE) >>>>> else() >>>>> cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web >>>>> support" ON >>>>> "PARAVIEW_ENABLE_PYTHON" OFF) >>>>> endif() >>>>> >>>>> Then you should be good to go. >>>>> >>>>> Seb >>>>> >>>>> On Mon, May 18, 2015 at 3:09 AM, Yu Yu wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I want to build ParaViewWeb on windows (64-but), I have install >>>>>> win32api for python in my machine. I am using cmake-gui, and every time I >>>>>> click ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake >>>>>> will turn ParaView_Enable_Web to off. Is there a way to make it on ? >>>>>> >>>>>> I found this in the cmake text: >>>>>> # ParaViewWeb on Windows needs win32api which is not provided by >>>>>> default >>>>>> # For now the default behavior would be to disable it on Windows build >>>>>> >>>>>> Can I know how to enable ParaViewWeb for windows build ? >>>>>> >>>>>> Thanks for your help. >>>>>> >>>>>> _______________________________________________ >>>>>> Powered by www.kitware.com >>>>>> >>>>>> Visit other Kitware open-source projects at >>>>>> http://www.kitware.com/opensource/opensource.html >>>>>> >>>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>>> http://paraview.org/Wiki/ParaView >>>>>> >>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>>> >>>>>> Follow this link to subscribe/unsubscribe: >>>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>>> >>>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.wornom at inria.fr Fri May 22 12:30:06 2015 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Fri, 22 May 2015 18:30:06 +0200 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 In-Reply-To: References: Message-ID: <555F598E.6080107@inria.fr> Utkarsh Ayachit wrote: > Thomas, > > Alas no. That was something that was lost in 3.0 transition. I haven't > looked into it in detail, but if there's sufficient interest, it > should not be too hard to resurrect the old code. Yes it would be very useful. Thanks, Stephen > > Utkarsh > > On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira > wrote: >> Hi, >> >> I found on this manual >> http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm >> that a previous version of ParaView had FlyIn and FlyOut among the controls >> for 3D movements. >> >> Do you if they are available in ParaView 4? >> >> Best regards, >> >> Thomas Oliveira >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -- stephen.wornom at inria.fr 2004 route des lucioles - BP93 Sophia Antipolis 06902 CEDEX Tel: 04 92 38 50 54 Fax: 04 97 15 53 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: stephen_wornom.vcf Type: text/x-vcard Size: 187 bytes Desc: not available URL: From patrick.oleary at kitware.com Fri May 22 12:54:37 2015 From: patrick.oleary at kitware.com (Patrick O'Leary) Date: Fri, 22 May 2015 10:54:37 -0600 Subject: [Paraview] Call for papers: ISAV: In Situ Infrastructures for Enabling Extreme-Scale Message-ID: === Call for papers: ISAV: In Situ Infrastructures for Enabling Extreme-Scale Analysis and Visualization === an SC15 Workshop, Monday afternoon 16 November 2015 Event web page: http://vis.lbl.gov/Events/ISAV-2015/ This workshop brings together researchers, developers and practitioners from industry, academia, and government laboratories who use in situ methods in extreme-scale, high performance computing. The goal is to present existing in-situ infrastructures, reference examples in a range of science and engineering applications, to discuss topics like opportunities presented by new architectures; existing infrastructure needs, requirements, and gaps; and experiences to foster and enable in situ analysis and visualization. The considerable interest in the HPC community regarding in situ analysis and visualization is due to several factors. First is an I/O cost savings, where data is analyzed/visualized while being generated, without first storing to a filesystem. Second is the potential for increased accuracy, where fine temporal sampling of transient analysis might expose some complex behavior missed in coarse temporal sampling. Third is the ability to use all available resources, CPU?s and accelerators, in the computation of analysis products. In Situ processing is still a relatively new idea, and up until recently, most implementations have been ad hoc, proof-of-concept prototypes. However, several in situ infrastructure implementations have emerged. ParaView and VisIt both provide tools for in situ analysis and visualization. ParaView Catalyst can be linked to a simulation, allowing the simulation to share data with Catalyst for visualization. Similar capabilities are available within VisIt with the libsim library. Both Catalyst (through Live) and libsim enable the opposite flow of information, sending data from the client to the simulation, enabling the possibility of simulation steering. ADIOS and GLEAN allow simulations to adopt in situ techniques by leveraging their advanced I/O infrastructures that enable co-analysis pipelines rather than changing the simulator. The non-intrusive integration provide resilience to third party library bugs and possible jitter in the simulation. Participation/Call for Papers We invite short (4-page) papers that identify opportunities, challenges and case studies/best practices for in situ analysis and visualization. These papers could propose actions, or provide position, or experience reports on in situ analysis and visualization. Areas of interest for ISAV, include, but are not limited to: * In situ infrastructures - Current Systems: production quality, research prototypes - Opportunities - Gaps * System resources, hardware, and emerging architectures - Enabling Hardware - Hardware and architectures that provide opportunities for In situ processing, such as burst buffers, staging computations on I/O nodes, sharing cores within a node for both simulation and in situ processing * Examples/Case studies - Best practices - Analysis: feature detection, statistical methods, temporal methods, geometric methods - Visualization: information visualization, scientific visualization, time-varying methods - Data reduction/compression * Simulation - Integration:data modeling, software-engineering - Resilience: error detection, fault recovery - Workflows for supporting complex in situ processing pipelines * Requirements - Preserve important elements - Significantly reduce the data size - Flexibility for post-processing exploration == Submitting Papers == Submissions are limited to 4 pages in the ACM format (see http://www.acm.org/sigs/publications/proceedings-templates). The 4-page limit includes figures, tables, and appendices, but does not include references, for which you may use up to one additional page. Please submit your paper via the ISAV 2015 EasyChair submission page at https://easychair.org/conferences/?conf=isav2015. == Timelines/Important Dates: == 1 August 2015 Paper submission deadline 1 September 2015 Author notification 15 September 2015 Camera ready copy due mid-October 2015 Final program posted to ISAV web page 16 November 2015 ISAV workshop == Organizers/Program Committee == Organizers E. Wes Bethel, ewbethel at lbl.gov, Lawrence Berkeley National Laboratory, USA Venkatram Vishwanath, venkat at anl.gov, Argonne National Laboratory, USA Gunther H. Weber, ghweber at lbl.gov, Lawrence Berkeley National Laboratory, USA Matthew Wolf, mwolf at cc.gatech.edu, Georgia Institute of Technology, USA Program Committee Utkarsh Ayachit, Kitware Inc., USA Earl P.N. Duque, Intelligent Light, USA Nicola Ferrier, Argonne National Laboratory, USA Burlen Loring, Lawrence Berkeley National Laboratory, USA Dmitriy Morozov, Lawrence Berkeley National Laboratory, USA Patrick O?Leary, Kitware Inc., USA Manish Parashar, Rutgers, USA Karsten Schwan, Georgia Institute of Technology, USA Alex Sim, Lawrence Berkeley National Laboratory, USA Brad Whitlock, Intelligent Light, USA Kesheng (John) Wu, Lawrence Berkeley National Laboratory, USA -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Fri May 22 13:40:48 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Fri, 22 May 2015 13:40:48 -0400 Subject: [Paraview] PV 4.1.0 programmimg the camera position using python In-Reply-To: <555F5420.1030709@inria.fr> References: <555F5420.1030709@inria.fr> Message-ID: Stephen, See ParaView User Guide section 4.4.3, section Interactions. Dan On Fri, May 22, 2015 at 12:06 PM, Stephen Wornom wrote: > Are there some examples available showing how to programming the camera > position using python? > The position would be a function (x,y,z,t). > Hope my question is clear. > Stephen > > -- > stephen.wornom at 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Fri May 22 14:19:43 2015 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Fri, 22 May 2015 15:19:43 -0300 Subject: [Paraview] Maximize CUDA processors usage by Paraview Message-ID: Hi, I would like to know how can i set Paraview to make the most use of my nvidia graphic cards Only by compiling with the properly CUDA libraries will i achieve that? I've tried to compile but it seems that windows is having some trouble finding the toolkit root dir, executables and libs Can someone give me some tips? Thanks in advance! Leonardo Pessanha UFRJ-GRVa-LAMCE-COPPE -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.c.becker at nasa.gov Fri May 22 15:10:26 2015 From: jeffrey.c.becker at nasa.gov (Jeff Becker) Date: Fri, 22 May 2015 12:10:26 -0700 Subject: [Paraview] ParaView 4.3.1 client runs X out of memory In-Reply-To: References: <555E45ED.70702@nasa.gov> Message-ID: <555F7F22.5030702@nasa.gov> On 05/22/2015 07:28 AM, Utkarsh Ayachit wrote: > Jeff, > > Can you make sure the "Remote Render Threshold" is set to 0? It is > > Also, do you have an X server running (and accessible) on the backend > nodes? You're not using "ssh -X" to login to the backend nodes, right? I do start an X server on the backend (and I don't use ssh -X). However, when I test the configuration using glxgears, I see the window with the gears but they don't turn even though the app tells me how many frames it rendered every 5 seconds. My setup goes from my desktop (with GPU) through a front-end node (without GPU) to the backend (with GPU). Maybe some additional configuration is needed. It seems like I need to get glxgears working properly before I try Paraview. What should I try? Thanks. -jeff > > On Thu, May 21, 2015 at 4:54 PM, Jeff Becker wrote: >> Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 by 500 >> point data set. In order to visualize it, I fire up 8 pvservers on my GPU >> multicore backend node using: >> >> mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering >> >> and connect to the root server from my ParaView client. I then open my vtu >> file and hit apply, I can see the file gets read in, and then nothing much >> else happens except X on my client grows to fill all of memory, and my >> client system (my desktop) becomes unusable. I'm guessing that the client is >> getting overwhelmed with X requests. >> >> What am I doing wrong, and how to fix? >> >> Thanks. >> >> -jeff >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview From robert.maynard at kitware.com Fri May 22 15:42:47 2015 From: robert.maynard at kitware.com (Robert Maynard) Date: Fri, 22 May 2015 15:42:47 -0400 Subject: [Paraview] Maximize CUDA processors usage by Paraview In-Reply-To: References: Message-ID: By default ParaView doesn't have CUDA support built-in. Only a couple of plugins support CUDA and only for the features provided in those plugins. The plugins that can use CUDA are: Piston, SciberQuest, and Dax. On Fri, May 22, 2015 at 2:19 PM, L?o Pessanha wrote: > Hi, > > I would like to know how can i set Paraview to make the most use of my > nvidia graphic cards > > Only by compiling with the properly CUDA libraries will i achieve that? > > I've tried to compile but it seems that windows is having some trouble > finding the toolkit root dir, executables and libs > > Can someone give me some tips? > > Thanks in advance! > > Leonardo Pessanha > UFRJ-GRVa-LAMCE-COPPE > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Fri May 22 16:38:40 2015 From: burlen.loring at gmail.com (Burlen Loring) Date: Fri, 22 May 2015 13:38:40 -0700 Subject: [Paraview] ParaView 4.3.1 client runs X out of memory In-Reply-To: <555F7F22.5030702@nasa.gov> References: <555E45ED.70702@nasa.gov> <555F7F22.5030702@nasa.gov> Message-ID: <555F93D0.7060609@gmail.com> Hi Jeff, It really sounds like you are unintentionally using X forwarding. It could be baked into your ssh config or a bash alias. > I see the window with the gears if you are really doing remote rendering, you won't see the window. you may be able to confirm accidental X forward using ssh with -vv option. there would be a bunch of X connection messages if it was in use. also output of glxinfo may have some useful info. When I have remote rendering setup I see name of display: :0.0 display: :0 screen: 0 direct rendering: Yes with ssh -X name of display: localhost:10.0 display: localhost:10 screen: 0 direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) Burlen On 05/22/2015 12:10 PM, Jeff Becker wrote: > On 05/22/2015 07:28 AM, Utkarsh Ayachit wrote: >> Jeff, >> >> Can you make sure the "Remote Render Threshold" is set to 0? > It is >> >> Also, do you have an X server running (and accessible) on the backend >> nodes? You're not using "ssh -X" to login to the backend nodes, right? > > I do start an X server on the backend (and I don't use ssh -X). > However, when I test the configuration using glxgears, > I see the window with the gears but they don't turn even though the > app tells me how many frames > it rendered every 5 seconds. > > My setup goes from my desktop (with GPU) through a front-end node > (without GPU) to the backend (with GPU). Maybe some additional > configuration is needed. > > It seems like I need to get glxgears working properly before I try > Paraview. What should I try? Thanks. > > -jeff >> >> On Thu, May 21, 2015 at 4:54 PM, Jeff Becker >> wrote: >>> Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 >>> by 500 >>> point data set. In order to visualize it, I fire up 8 pvservers on >>> my GPU >>> multicore backend node using: >>> >>> mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering >>> >>> and connect to the root server from my ParaView client. I then open >>> my vtu >>> file and hit apply, I can see the file gets read in, and then >>> nothing much >>> else happens except X on my client grows to fill all of memory, and my >>> client system (my desktop) becomes unusable. I'm guessing that the >>> client is >>> getting overwhelmed with X requests. >>> >>> What am I doing wrong, and how to fix? >>> >>> Thanks. >>> >>> -jeff >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeffrey.c.becker at nasa.gov Fri May 22 17:20:26 2015 From: jeffrey.c.becker at nasa.gov (Jeff Becker) Date: Fri, 22 May 2015 14:20:26 -0700 Subject: [Paraview] ParaView 4.3.1 client runs X out of memory In-Reply-To: <555F93D0.7060609@gmail.com> References: <555E45ED.70702@nasa.gov> <555F7F22.5030702@nasa.gov> <555F93D0.7060609@gmail.com> Message-ID: <555F9D9A.7010209@nasa.gov> On 05/22/2015 01:38 PM, Burlen Loring wrote: > Hi Jeff, > > It really sounds like you are unintentionally using X forwarding. It > could be baked into your ssh config or a bash alias. After some digging, it appears X forwarding is configured on in our ssh config. I got it to work by explicitly using ssh -x. Thanks for your help. -jeff >> I see the window with the gears > if you are really doing remote rendering, you won't see the window. > > you may be able to confirm accidental X forward using ssh with -vv > option. there would be a bunch of X connection messages if it was in use. > > also output of glxinfo may have some useful info. When I have remote > rendering setup I see > > name of display: :0.0 > display: :0 screen: 0 > direct rendering: Yes > > with ssh -X > > name of display: localhost:10.0 > display: localhost:10 screen: 0 > direct rendering: No (If you want to find out why, try setting > LIBGL_DEBUG=verbose) > > Burlen > > On 05/22/2015 12:10 PM, Jeff Becker wrote: >> On 05/22/2015 07:28 AM, Utkarsh Ayachit wrote: >>> Jeff, >>> >>> Can you make sure the "Remote Render Threshold" is set to 0? >> It is >>> >>> Also, do you have an X server running (and accessible) on the backend >>> nodes? You're not using "ssh -X" to login to the backend nodes, right? >> >> I do start an X server on the backend (and I don't use ssh -X). >> However, when I test the configuration using glxgears, >> I see the window with the gears but they don't turn even though the >> app tells me how many frames >> it rendered every 5 seconds. >> >> My setup goes from my desktop (with GPU) through a front-end node >> (without GPU) to the backend (with GPU). Maybe some additional >> configuration is needed. >> >> It seems like I need to get glxgears working properly before I try >> Paraview. What should I try? Thanks. >> >> -jeff >>> >>> On Thu, May 21, 2015 at 4:54 PM, Jeff Becker >>> wrote: >>>> Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 >>>> by 500 >>>> point data set. In order to visualize it, I fire up 8 pvservers on >>>> my GPU >>>> multicore backend node using: >>>> >>>> mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering >>>> >>>> and connect to the root server from my ParaView client. I then open >>>> my vtu >>>> file and hit apply, I can see the file gets read in, and then >>>> nothing much >>>> else happens except X on my client grows to fill all of memory, and my >>>> client system (my desktop) becomes unusable. I'm guessing that the >>>> client is >>>> getting overwhelmed with X requests. >>>> >>>> What am I doing wrong, and how to fix? >>>> >>>> Thanks. >>>> >>>> -jeff >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Sat May 23 12:03:12 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Sat, 23 May 2015 10:03:12 -0600 Subject: [Paraview] SWKey: Definitions of 'Q-Criterion' and the calculator's mag(*) operator? Revised w/ Answers Message-ID: <5560A4C0.9000004@bresnan.net> An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Sat May 23 13:27:24 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Sat, 23 May 2015 11:27:24 -0600 Subject: [Paraview] SWKey: EnSight reader support for non-symmetric 2nd-order tensors??? Message-ID: <5560B87C.7000800@bresnan.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fmaego.hist.1st6 Type: application/octet-stream Size: 4708 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fmaego.hist.2st9 Type: application/octet-stream Size: 4840 bytes Desc: not available URL: -------------- next part -------------- FORMAT type: ensight gold GEOMETRY model: 1 1 fmaego.hist.geom change_coords_only VARIABLE tensor symm per element: 1 1 Test-1st6 fmaego.hist.1st6 tensor asym per element: 1 1 Test-2st9 fmaego.hist.2st9 TIME time set: 1 number of steps: 11 time values: 1.000000000000E-06 2.010000000000E-04 4.000000000000E-04 6.000000000000E-04 8.000000000000E-04 1.000000000000E-03 1.201000000000E-03 1.401000000000E-03 1.601000000000E-03 1.801000000000E-03 2.001000000000E-03 FILE file set: 1 number of steps: 11 -------------- next part -------------- A non-text attachment was scrubbed... Name: fmaego.hist.geom Type: application/octet-stream Size: 9936 bytes Desc: not available URL: From dmitry.ew at gmail.com Sun May 24 15:05:44 2015 From: dmitry.ew at gmail.com (Dmitry Grebennikov) Date: Sun, 24 May 2015 22:05:44 +0300 Subject: [Paraview] XDMF and Lookup Tables Message-ID: <55622108.3000200@gmail.com> An HTML attachment was scrubbed... URL: From dmitry.ew at gmail.com Sun May 24 15:18:58 2015 From: dmitry.ew at gmail.com (Dmitry Grebennikov) Date: Sun, 24 May 2015 22:18:58 +0300 Subject: [Paraview] Number of cells don't match error Message-ID: <55622422.5020005@gmail.com> An HTML attachment was scrubbed... URL: From dmitry.ew at gmail.com Sun May 24 15:27:06 2015 From: dmitry.ew at gmail.com (Dmitry Grebennikov) Date: Sun, 24 May 2015 22:27:06 +0300 Subject: [Paraview] Fwd: XDMF and Lookup Tables In-Reply-To: <55622108.3000200@gmail.com> References: <55622108.3000200@gmail.com> Message-ID: <5562260A.7070106@gmail.com> An HTML attachment was scrubbed... URL: From dmitry.ew at gmail.com Sun May 24 15:58:16 2015 From: dmitry.ew at gmail.com (Dmitry Grebennikov) Date: Sun, 24 May 2015 22:58:16 +0300 Subject: [Paraview] Fwd: Fwd: XDMF and Lookup Tables In-Reply-To: <5562260A.7070106@gmail.com> References: <5562260A.7070106@gmail.com> Message-ID: <55622D58.9000704@gmail.com> An HTML attachment was scrubbed... URL: From 22csnyder at gmail.com Sun May 24 17:27:33 2015 From: 22csnyder at gmail.com (Christopher Snyder) Date: Sun, 24 May 2015 16:27:33 -0500 Subject: [Paraview] PV 4.1.0 programmimg the camera position using python In-Reply-To: References: <555F5420.1030709@inria.fr> Message-ID: Steven, Not sure if your question has been answered. Why not try turning on the trace (tools>trace) then moving the camera, then turning off the trace? I think that'll get you want you want and is a generally helpful technique. -Chris On Fri, May 22, 2015 at 12:40 PM, Dan Lipsa wrote: > Stephen, > > See ParaView User Guide section 4.4.3, section Interactions. > > Dan > > > On Fri, May 22, 2015 at 12:06 PM, Stephen Wornom > wrote: > >> Are there some examples available showing how to programming the camera >> position using python? >> The position would be a function (x,y,z,t). >> Hope my question is clear. >> Stephen >> >> -- >> stephen.wornom at 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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.oliveira at gmail.com Sun May 24 23:26:50 2015 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Mon, 25 May 2015 04:26:50 +0100 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 In-Reply-To: References: Message-ID: Dear Utkarsh, It would be great to have this functionality back. This way of navigating through the model is needed by everyone who simulates flow inside object with (many) channels, e.g., porous media. Thanks, Thomas On Fri, May 22, 2015 at 5:01 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Thomas, > > Alas no. That was something that was lost in 3.0 transition. I haven't > looked into it in detail, but if there's sufficient interest, it > should not be too hard to resurrect the old code. > > Utkarsh > > On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira > wrote: > > Hi, > > > > I found on this manual > > > http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm > > that a previous version of ParaView had FlyIn and FlyOut among the > controls > > for 3D movements. > > > > Do you if they are available in ParaView 4? > > > > Best regards, > > > > Thomas Oliveira > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dingxyan at 163.com Sun May 24 23:30:41 2015 From: dingxyan at 163.com (dxy) Date: Mon, 25 May 2015 11:30:41 +0800 (CST) Subject: [Paraview] [paraview] out of memory In-Reply-To: References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> Message-ID: <321bedb8.7a44.14d891f532d.Coremail.dingxyan@163.com> Utkarsh, Thank you very much for your help! I tried as you said, but still the error. Did i lack of some settings? Traceback (most recent call last): File "", line 19, in File "", line 6, in RequestData NameError: global name 'vtkPLYReader' is not defined Thanks, dxy At 2015-05-22 22:18:34, "Utkarsh Ayachit" wrote: >Dxy, > >ParaView has certain overhead when a new source/filter is created. It >will need some more profiling, but creating 500+ readers would indeed >push things closer to that limit. ParaView/VTK typically uses >composite datasets/multiblock datasets for handling multiple parts of >the same dataset. Here's a "Script" for the Python programmable filter >that can open all the PLY files as a single multblock dataset. > ># 0. Create the "Programmable Source" from the Sources menu. >====================================================== ># 1. Set the Output DataSet Type to "vtkMultiBlockDataSet". >====================================================== ># 2. Set as the "Script" >====================================================== >output = self.GetOutput() >cc = 0 >for i in range(1, 538): > filename = "/tmp/data/%03d.ply" % i > reader = vtkPLYReader() > reader.SetFileName(filename) > reader.Update() > output.SetBlock(cc, reader.GetOutputDataObject(0)) > del reader > cc = cc + 1 >====================================================== > >Utkarsh > > >On Wed, May 20, 2015 at 10:37 AM, Utkarsh Ayachit > wrote: >> Not sure what exactly are you seeing. If you have a sample dataset to >> share, that'll make it easier. >> >> Thanks >> Utkarsh >> >> On Wed, May 20, 2015 at 10:32 AM, dxy wrote: >>> Thanks for your reply. I tried as you said, it doesn't work. I use a >>> computer of 16G of memory, it can render out. Then I use 538 ply files, they >>> are 11.9MB altogether, but when renderd, it will use 6G memory, either the >>> display lists turned on or off. Why it is this? >>> Thanks for your help. >>> >>> dxy >>> >>> At 2015-05-20 20:22:42, "Utkarsh Ayachit" >>> wrote: >>>>Try turning of display lists. In ParaView4.1 it was setting named >>>>"Immediate mode rendering" under the Settings dialog. You'll need to >>>>enable the checkbox. >>>> >>>>Utkarsh >>>> >>>>On Wed, May 20, 2015 at 4:34 AM, ??? wrote: >>>>> Dear, >>>>> I use the paraview of Version4.1, and the memory of my computer >>>>> is >>>>> 4G. When I load about 190 ply files at the same time, there will be >>>>> errors >>>>> about out of memory, but it runs normally when the number of the file is >>>>> less than 190. >>>>> >>>>> The error message as shown below: >>>>> ERROR: In >>>>> >>>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, >>>>> line 176 >>>>> vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after >>>>> RenderShiftZBuffer 1 OpenGL errors detected >>>>> 0 : (1285) Out of memory >>>>> ERROR: In >>>>> >>>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, >>>>> line 188 >>>>> vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 >>>>> OpenGL >>>>> errors detected >>>>> 0 : (1285) Out of memory >>>>> >>>>> Thanks for your help. >>>>> Yours truly, >>>>> dxy >>>>> >>> >>> >>> >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.png Type: image/png Size: 122070 bytes Desc: not available URL: From samuelkey at bresnan.net Mon May 25 09:02:31 2015 From: samuelkey at bresnan.net (Samuel Key) Date: Mon, 25 May 2015 07:02:31 -0600 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 In-Reply-To: References: Message-ID: <55631D67.1020508@bresnan.net> An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Mon May 25 10:16:05 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Mon, 25 May 2015 10:16:05 -0400 Subject: [Paraview] Number of cells don't match error In-Reply-To: <55622422.5020005@gmail.com> References: <55622422.5020005@gmail.com> Message-ID: Your grid has 2x2x2 points which means it has 1x1x1 cells. You'll need 3x3x3 points to get 2x2x2 cells. Dan On Sun, May 24, 2015 at 3:18 PM, Dmitry Grebennikov wrote: > Hello! > > What I want to be displayed as an illustration of LUT usage is the cube > composed of 8 multicolored cubes... > Could you please explain me the following error, which I get trying to > load the corresponding vtk file? > > > ERROR: In > /home/coincoin/build/paraview/src/ParaView-v4.3.1-source/VTK/IO/Legacy/vtkStructuredGridReader.cxx, > line 285 > > vtkStructuredGridReader (0x4d0f700): Number of cells don't match! > > The file in ASCII format is the following: > > # vtk DataFile Version 2.0 > header > ASCII > DATASET STRUCTURED_GRID > DIMENSIONS 2 2 2 > POINTS 8 int > 0 0 0 > 1 0 0 > 0 1 0 > 1 1 0 > 0 0 1 > 1 0 1 > 0 1 1 > 1 1 1 > CELL_DATA 8 > SCALARS scalars int 1 > LOOKUP_TABLE mytable > 1 2 3 4 5 6 7 8 > LOOKUP_TABLE mytable 8 > 0 0 0 1 > 1 0 0 1 > 0 1 0 1 > 1 1 0 1 > 0 0 1 1 > 1 0 1 1 > 0 1 1 1 > 1 1 1 1 > > Thank you in advance! > > Dmitry Grebennikov > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.oliveira at gmail.com Tue May 26 07:29:12 2015 From: thomas.oliveira at gmail.com (Thomas Oliveira) Date: Tue, 26 May 2015 12:29:12 +0100 Subject: [Paraview] Fwd: Problems in rendering when raw image is resized In-Reply-To: References: Message-ID: Hi, I have two problems that happen when setting the size of the voxels of a raw image. Do you have any idea about it, please? 1) When I import a 3D raw image, if I set the data spacing, i.e., the size of each voxel, to 1,1,1, I can correctly visualize and rotate the image. However, if I set the voxel size to the values I need (5.549E-6,5.549E-6,5.549E-6), the image is rendered as if clipped when turned to certain angles (please see picture thisShouldBeCuboid.png attached). 2) Another problem for the same image is that, if the data spacing is set to 1,1,1, I get a certain contrast between grey and white (size1.png). If it it set to 0.1,0.1,0.1, the grey color becomes whiter (size01.png). Finally, when it is set to the correct small size, it is completely white. Thank you for your help, Thomas Oliveira -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: size1.png Type: image/png Size: 99039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: size01.png Type: image/png Size: 65019 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: thisShouldBeACuboid.png Type: image/png Size: 72390 bytes Desc: not available URL: From Guillaume.Duclaux at uib.no Tue May 26 08:07:55 2015 From: Guillaume.Duclaux at uib.no (Guillaume Duclaux) Date: Tue, 26 May 2015 12:07:55 +0000 Subject: [Paraview] Extract the dimensions (or extent) of a structured grid within a python script Message-ID: <939C321C-F7F0-4746-A566-11AA37E39523@geo.uib.no> Hi, I?ve been using a python script to post-process and visualise large structured grid files. It works great but the grids I am visualising are of different dimensions (let say either 512x128x512, or 1024x256x1024). In the script pipeline - see snippet below - I extract a subset (top cell layer in the Y direction) from the whole dataset, using ExtractSubset filter. At this stage for the 2 input files dimensions above, I need to modify the script and correctly set extractSubset1.VOI values manually. Is there a method that I could use in the script to get the dimensions (or extent) of the structured grid, so I can make the script extract the top layer I?m interested in for any grid dimension? from paraview.simple import * inputPvts = XMLPartitionedStructuredGridReader(FileName=[fname]) inputPvts.PointArrayStatus = ['velocity'] # get active view renderView1 = GetActiveViewOrCreate('RenderView') renderView1.ResetCamera() #get the 4 uppermost cells extractSubset1 = ExtractSubset(Input=inputPvts) extractSubset1.VOI = [0, 512, 127, 128, 0, 512] extractSubset1.SampleRateI = 1 extractSubset1.SampleRateJ = 1 extractSubset1.SampleRateK = 1 extractSubset1.IncludeBoundary = 0 doCoolStuff... So far, I?ve tried reading the VOI from the extractSubsetFilter, but the indexing of the extent is not showing the grid dimensions: dimensions = extractSubset1.GetPropertyValue('VOI') print dimensions But that returns an array [0, -1, 0, -1, 0, -1]. And I can?t seem to be able to use relative indexes in the filter like: extractSubset1.VOI = [0, -1, -2, -1, 0, -1]. Any thoughts? Cheers Guillaume From berk.geveci at kitware.com Tue May 26 08:19:32 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Tue, 26 May 2015 08:19:32 -0400 Subject: [Paraview] CFP: SC '15 Scientific Visualization Showcase Message-ID: Hi folks, The Call for Participation for the SC '15 Scientific Visualization Showcase is out. This is a great opportunity for the community to highlight the wonderful visualization work going on. Please consider submitting an entry (or more). http://sc15.supercomputing.org/program/scientific-visualization-showcase SC15?s Visualization and Data Analytics Showcase Program provides a forum for the year's most instrumental movies in HPC. Six finalists will compete for the Best Visualization Award, and each finalist will present his or her movie during a dedicated session at SC15 in a 15-minute presentation. Movies are judged based on how their movie illuminates science, by the quality of the movie, and for innovations in the process used for creating the movie. Best, -berk -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue May 26 09:37:36 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 26 May 2015 09:37:36 -0400 Subject: [Paraview] Extract the dimensions (or extent) of a structured grid within a python script In-Reply-To: <939C321C-F7F0-4746-A566-11AA37E39523@geo.uib.no> References: <939C321C-F7F0-4746-A566-11AA37E39523@geo.uib.no> Message-ID: Guillaume, Use data information [1] as follows: UpdatePIpeline(inputPvts) extent = inputPvts.GetDataInformation().GetExtent() See Section 3.3 from the ParView Guide[2] for more details. Utkarsh [1] http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classvtkPVDataInformation.html [2] http://www.paraview.org/paraview-guide/ On Tue, May 26, 2015 at 8:07 AM, Guillaume Duclaux wrote: > Hi, > > I?ve been using a python script to post-process and visualise large structured grid files. It works great but the grids I am visualising are of different dimensions (let say either 512x128x512, or 1024x256x1024). > > In the script pipeline - see snippet below - I extract a subset (top cell layer in the Y direction) from the whole dataset, using ExtractSubset filter. > > At this stage for the 2 input files dimensions above, I need to modify the script and correctly set extractSubset1.VOI values manually. > > Is there a method that I could use in the script to get the dimensions (or extent) of the structured grid, so I can make the script extract the top layer I?m interested in for any grid dimension? > > > > from paraview.simple import * > > inputPvts = XMLPartitionedStructuredGridReader(FileName=[fname]) > inputPvts.PointArrayStatus = ['velocity'] > > # get active view > renderView1 = GetActiveViewOrCreate('RenderView') > renderView1.ResetCamera() > > #get the 4 uppermost cells > extractSubset1 = ExtractSubset(Input=inputPvts) > extractSubset1.VOI = [0, 512, 127, 128, 0, 512] > extractSubset1.SampleRateI = 1 > extractSubset1.SampleRateJ = 1 > extractSubset1.SampleRateK = 1 > extractSubset1.IncludeBoundary = 0 > doCoolStuff... > > > So far, I?ve tried reading the VOI from the extractSubsetFilter, but the indexing of the extent is not showing the grid dimensions: > > dimensions = extractSubset1.GetPropertyValue('VOI') > print dimensions > > But that returns an array [0, -1, 0, -1, 0, -1]. And I can?t seem to be able to use relative indexes in the filter like: extractSubset1.VOI = [0, -1, -2, -1, 0, -1]. > > Any thoughts? > > Cheers > > Guillaume > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From jm.lucas at gantha.com Tue May 26 08:39:52 2015 From: jm.lucas at gantha.com (Jean-Michel) Date: Tue, 26 May 2015 14:39:52 +0200 Subject: [Paraview] Import h5py in python shell Message-ID: <000001d097b1$107bf8b0$3173ea10$@lucas@gantha.com> Dear all, I am currently trying to use the h5py module in the Python Shell in ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of python-xy and works fine outside of ParaView. I tried to import the module by providing the path to the package, using mainly two methods: - append the path to the package with sys.path.append before doing the import - import the module using the imp package and providing the full path to imp.load_source However, both methods failed to load h5py, returing the following error : "ImportError: DLL load failed: %1 is not a valid win32 application". Thank you for your help. Jean-Michel --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Guillaume.Duclaux at uib.no Tue May 26 10:11:02 2015 From: Guillaume.Duclaux at uib.no (Guillaume Duclaux) Date: Tue, 26 May 2015 14:11:02 +0000 Subject: [Paraview] Extract the dimensions (or extent) of a structured grid within a python script In-Reply-To: References: <939C321C-F7F0-4746-A566-11AA37E39523@geo.uib.no> Message-ID: <32513902-839C-4D4B-8FE3-96B7769A14DE@geo.uib.no> Thanks a lot Utkarsh for your assistance! I've added the following to my python script, and it worked smoothly: inputPvts.UpdatePipeline() extent = inputPvts.GetDataInformation().GetExtent() print extent returns: (0, 512, 0, 128, 0, 512) Cheers Guillaume On 26 May 2015, at 15:37, Utkarsh Ayachit > wrote: Guillaume, Use data information [1] as follows: UpdatePIpeline(inputPvts) extent = inputPvts.GetDataInformation().GetExtent() See Section 3.3 from the ParView Guide[2] for more details. Utkarsh [1] http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classvtkPVDataInformation.html [2] http://www.paraview.org/paraview-guide/ On Tue, May 26, 2015 at 8:07 AM, Guillaume Duclaux > wrote: Hi, I?ve been using a python script to post-process and visualise large structured grid files. It works great but the grids I am visualising are of different dimensions (let say either 512x128x512, or 1024x256x1024). In the script pipeline - see snippet below - I extract a subset (top cell layer in the Y direction) from the whole dataset, using ExtractSubset filter. At this stage for the 2 input files dimensions above, I need to modify the script and correctly set extractSubset1.VOI values manually. Is there a method that I could use in the script to get the dimensions (or extent) of the structured grid, so I can make the script extract the top layer I?m interested in for any grid dimension? from paraview.simple import * inputPvts = XMLPartitionedStructuredGridReader(FileName=[fname]) inputPvts.PointArrayStatus = ['velocity'] # get active view renderView1 = GetActiveViewOrCreate('RenderView') renderView1.ResetCamera() #get the 4 uppermost cells extractSubset1 = ExtractSubset(Input=inputPvts) extractSubset1.VOI = [0, 512, 127, 128, 0, 512] extractSubset1.SampleRateI = 1 extractSubset1.SampleRateJ = 1 extractSubset1.SampleRateK = 1 extractSubset1.IncludeBoundary = 0 doCoolStuff... So far, I?ve tried reading the VOI from the extractSubsetFilter, but the indexing of the extent is not showing the grid dimensions: dimensions = extractSubset1.GetPropertyValue('VOI') print dimensions But that returns an array [0, -1, 0, -1, 0, -1]. And I can?t seem to be able to use relative indexes in the filter like: extractSubset1.VOI = [0, -1, -2, -1, 0, -1]. Any thoughts? Cheers Guillaume _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Tue May 26 10:16:46 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 26 May 2015 10:16:46 -0400 Subject: [Paraview] [paraview] out of memory In-Reply-To: <321bedb8.7a44.14d891f532d.Coremail.dingxyan@163.com> References: <54191183.25108.14d70758d70.Coremail.dingxyan@163.com> <46418ba8.2a594.14d71bdc563.Coremail.dingxyan@163.com> <321bedb8.7a44.14d891f532d.Coremail.dingxyan@163.com> Message-ID: Oops my bad. You need to add the following to the start of the script: from paraview.vtk.vtkIOPLY import vtkPLYReader Thanks Utkarsh On Sun, May 24, 2015 at 11:30 PM, dxy wrote: > Utkarsh, > Thank you very much for your help! I tried as you said, but still the error. > Did i lack of some settings? > > Traceback (most recent call last): > > File "", line 19, in > > File "", line 6, in RequestData > > NameError: global name 'vtkPLYReader' is not defined > > Thanks, > dxy > > At 2015-05-22 22:18:34, "Utkarsh Ayachit" > wrote: >>Dxy, >> >>ParaView has certain overhead when a new source/filter is created. It >>will need some more profiling, but creating 500+ readers would indeed >>push things closer to that limit. ParaView/VTK typically uses >>composite datasets/multiblock datasets for handling multiple parts of >>the same dataset. Here's a "Script" for the Python programmable filter >>that can open all the PLY files as a single multblock dataset. >> >># 0. Create the "Programmable Source" from the Sources menu. >>====================================================== >># 1. Set the Output DataSet Type to "vtkMultiBlockDataSet". >>====================================================== >># 2. Set as the "Script" >>====================================================== >>output = self.GetOutput() >>cc = 0 >>for i in range(1, 538): >> filename = "/tmp/data/%03d.ply" % i >> reader = vtkPLYReader() >> reader.SetFileName(filename) >> reader.Update() >> output.SetBlock(cc, reader.GetOutputDataObject(0)) >> del reader >> cc = cc + 1 >>====================================================== >> >>Utkarsh >> >> >>On Wed, May 20, 2015 at 10:37 AM, Utkarsh Ayachit >> wrote: >>> Not sure what exactly are you seeing. If you have a sample dataset to >>> share, that'll make it easier. >>> >>> Thanks >>> Utkarsh >>> >>> On Wed, May 20, 2015 at 10:32 AM, dxy wrote: >>>> Thanks for your reply. I tried as you said, it doesn't work. I use a >>>> computer of 16G of memory, it can render out. Then I use 538 ply files, >>>> they >>>> are 11.9MB altogether, but when renderd, it will use 6G memory, either >>>> the >>>> display lists turned on or off. Why it is this? >>>> Thanks for your help. >>>> >>>> dxy >>>> >>>> At 2015-05-20 20:22:42, "Utkarsh Ayachit" >>>> wrote: >>>>>Try turning of display lists. In ParaView4.1 it was setting named >>>>>"Immediate mode rendering" under the Settings dialog. You'll need to >>>>>enable the checkbox. >>>>> >>>>>Utkarsh >>>>> >>>>>On Wed, May 20, 2015 at 4:34 AM, ??? wrote: >>>>>> Dear, >>>>>> I use the paraview of Version4.1, and the memory of my >>>>>> computer >>>>>> is >>>>>> 4G. When I load about 190 ply files at the same time, there will be >>>>>> errors >>>>>> about out of memory, but it runs normally when the number of the file >>>>>> is >>>>>> less than 190. >>>>>> >>>>>> The error message as shown below: >>>>>> ERROR: In >>>>>> >>>>>> >>>>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx, >>>>>> line 176 >>>>>> vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after >>>>>> RenderShiftZBuffer 1 OpenGL errors detected >>>>>> 0 : (1285) Out of memory >>>>>> ERROR: In >>>>>> >>>>>> >>>>>> C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, >>>>>> line 188 >>>>>> vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 >>>>>> OpenGL >>>>>> errors detected >>>>>> 0 : (1285) Out of memory >>>>>> >>>>>> Thanks for your help. >>>>>> Yours truly, >>>>>> dxy >>>>>> >>>> >>>> >>>> >>>> >>>> > > > From bruce.david.jones at gmail.com Tue May 26 11:29:00 2015 From: bruce.david.jones at gmail.com (Bruce Jones) Date: Tue, 26 May 2015 15:29:00 +0000 Subject: [Paraview] Paraview Python Multiprocessing Message-ID: Hi, I am trying to do some parallel programming within paraviews python shell and have encountered a problem. If I run the following two lines of code in the python shell, the result is that a whole bunch of new paraview sessions will be started... from multiprocessing import Pool pool = Pool(); It appears that a new paraview session is being created for each thread of the thread pool. Unfortunately, I am not able to then use the thread pool to run functions assynchronously. Regards, Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Tue May 26 11:50:01 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Tue, 26 May 2015 11:50:01 -0400 Subject: [Paraview] PV 4.1.0 programmimg the camera position using python In-Reply-To: References: <555F5420.1030709@inria.fr> Message-ID: Stephen, Here is another cool feature added recently (thanks Utkarsh for the tip) that allows one to add a custom Python animation to time-dependent data: Open the animation view: View > Animation View Next to the + sign, choose Python and then click + Double-click on the timeline to the right of Pyton. You'll get a skeleton script that you can fill in. Here is a sample script that just moves the camera closer and father from the data. from paraview.simple import * from math import * def start_cue(self): self.camera = GetActiveView().GetActiveCamera() self.start = 0 pass def tick(self): self.camera.Dolly(1 + sin(self.start * pi / 6) / 2) self.start = self.start + 1 pass def end_cue(self): pass On Sun, May 24, 2015 at 5:27 PM, Christopher Snyder <22csnyder at gmail.com> wrote: > Steven, > > Not sure if your question has been answered. Why not try turning on the > trace (tools>trace) then moving the camera, then turning off the trace? I > think that'll get you want you want and is a generally helpful technique. > > -Chris > > On Fri, May 22, 2015 at 12:40 PM, Dan Lipsa wrote: > >> Stephen, >> >> See ParaView User Guide section 4.4.3, section Interactions. >> >> Dan >> >> >> On Fri, May 22, 2015 at 12:06 PM, Stephen Wornom > > wrote: >> >>> Are there some examples available showing how to programming the camera >>> position using python? >>> The position would be a function (x,y,z,t). >>> Hope my question is clear. >>> Stephen >>> >>> -- >>> stephen.wornom at 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue May 26 12:00:40 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 26 May 2015 12:00:40 -0400 Subject: [Paraview] Paraview Python Multiprocessing In-Reply-To: References: Message-ID: Bruce, Try the attached patch. You'll need to apply it to the VTK subdir under ParaView. Utkarsh On Tue, May 26, 2015 at 11:29 AM, Bruce Jones wrote: > Hi, > > I am trying to do some parallel programming within paraviews python shell > and have encountered a problem. If I run the following two lines of code in > the python shell, the result is that a whole bunch of new paraview sessions > will be started... > > from multiprocessing import Pool > pool = Pool(); > > It appears that a new paraview session is being created for each thread of > the thread pool. Unfortunately, I am not able to then use the thread pool to > run functions assynchronously. > > Regards, > Bruce > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: FixStdStream.patch Type: text/x-patch Size: 1955 bytes Desc: not available URL: From bruce.david.jones at gmail.com Tue May 26 13:16:11 2015 From: bruce.david.jones at gmail.com (Bruce Jones) Date: Tue, 26 May 2015 17:16:11 +0000 Subject: [Paraview] Paraview Python Multiprocessing In-Reply-To: References: Message-ID: Thanks for the quick response Utkarsh. However, I am using the windows binaries and have not built paraview from scratch. Cheers, Bruce On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit wrote: > Bruce, > > Try the attached patch. You'll need to apply it to the VTK subdir > under ParaView. > > Utkarsh > > On Tue, May 26, 2015 at 11:29 AM, Bruce Jones > wrote: > > Hi, > > > > I am trying to do some parallel programming within paraviews python shell > > and have encountered a problem. If I run the following two lines of code > in > > the python shell, the result is that a whole bunch of new paraview > sessions > > will be started... > > > > from multiprocessing import Pool > > pool = Pool(); > > > > It appears that a new paraview session is being created for each thread > of > > the thread pool. Unfortunately, I am not able to then use the thread > pool to > > run functions assynchronously. > > > > Regards, > > Bruce > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue May 26 13:20:37 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 26 May 2015 13:20:37 -0400 Subject: [Paraview] Paraview Python Multiprocessing In-Reply-To: References: Message-ID: Bruce, Alas, you'll need to build from source (or wait till the changes land in ParaView nightly binaries). It's indeed a bug in the code that needs to be compiled. Utkarsh On Tue, May 26, 2015 at 1:16 PM, Bruce Jones wrote: > Thanks for the quick response Utkarsh. However, I am using the windows > binaries and have not built paraview from scratch. > > Cheers, > Bruce > > On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit > wrote: >> >> Bruce, >> >> Try the attached patch. You'll need to apply it to the VTK subdir >> under ParaView. >> >> Utkarsh >> >> On Tue, May 26, 2015 at 11:29 AM, Bruce Jones >> wrote: >> > Hi, >> > >> > I am trying to do some parallel programming within paraviews python >> > shell >> > and have encountered a problem. If I run the following two lines of code >> > in >> > the python shell, the result is that a whole bunch of new paraview >> > sessions >> > will be started... >> > >> > from multiprocessing import Pool >> > pool = Pool(); >> > >> > It appears that a new paraview session is being created for each thread >> > of >> > the thread pool. Unfortunately, I am not able to then use the thread >> > pool to >> > run functions assynchronously. >> > >> > Regards, >> > Bruce >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > From bruce.david.jones at gmail.com Tue May 26 13:29:13 2015 From: bruce.david.jones at gmail.com (Bruce Jones) Date: Tue, 26 May 2015 17:29:13 +0000 Subject: [Paraview] Paraview Python Multiprocessing In-Reply-To: References: Message-ID: Ok thanks Utkarsh On Tue, 26 May 2015 at 13:20 Utkarsh Ayachit wrote: > Bruce, > > Alas, you'll need to build from source (or wait till the changes land > in ParaView nightly binaries). It's indeed a bug in the code that > needs to be compiled. > > Utkarsh > > On Tue, May 26, 2015 at 1:16 PM, Bruce Jones > wrote: > > Thanks for the quick response Utkarsh. However, I am using the windows > > binaries and have not built paraview from scratch. > > > > Cheers, > > Bruce > > > > On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> > > wrote: > >> > >> Bruce, > >> > >> Try the attached patch. You'll need to apply it to the VTK subdir > >> under ParaView. > >> > >> Utkarsh > >> > >> On Tue, May 26, 2015 at 11:29 AM, Bruce Jones > >> wrote: > >> > Hi, > >> > > >> > I am trying to do some parallel programming within paraviews python > >> > shell > >> > and have encountered a problem. If I run the following two lines of > code > >> > in > >> > the python shell, the result is that a whole bunch of new paraview > >> > sessions > >> > will be started... > >> > > >> > from multiprocessing import Pool > >> > pool = Pool(); > >> > > >> > It appears that a new paraview session is being created for each > thread > >> > of > >> > the thread pool. Unfortunately, I am not able to then use the thread > >> > pool to > >> > run functions assynchronously. > >> > > >> > Regards, > >> > Bruce > >> > > >> > _______________________________________________ > >> > Powered by www.kitware.com > >> > > >> > Visit other Kitware open-source projects at > >> > http://www.kitware.com/opensource/opensource.html > >> > > >> > Please keep messages on-topic and check the ParaView Wiki at: > >> > http://paraview.org/Wiki/ParaView > >> > > >> > Search the list archives at: http://markmail.org/search/?q=ParaView > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > http://public.kitware.com/mailman/listinfo/paraview > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From M.Schlottke at aia.rwth-aachen.de Tue May 26 15:56:25 2015 From: M.Schlottke at aia.rwth-aachen.de (Schlottke, Michael) Date: Tue, 26 May 2015 19:56:25 +0000 Subject: [Paraview] Status of Qt5 development Message-ID: Hi folks, The last official email I can find regarding the state of Qt5 within ParaView is from February 2014: http://public.kitware.com/pipermail/paraview/2014-February/030629.html Could anyone enlighten me what the current state is with respect to making Qt5 the default for building ParaView? Or is qt-4.8.2 still the recommended default? Thanks a lot in advance, Michael -- Michael Schlottke SimLab Highly Scalable Fluids & Solids Engineering J?lich Aachen Research Alliance (JARA-HPC) RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke at aia.rwth-aachen.de Web: http://www.jara.org/jara-hpc -------------- next part -------------- An HTML attachment was scrubbed... URL: From haonrolyat at gmail.com Wed May 27 16:16:53 2015 From: haonrolyat at gmail.com (Noah Taylor) Date: Wed, 27 May 2015 14:16:53 -0600 Subject: [Paraview] Installing ParaView 4.0.1 on Nodes For Rendering Frames -Slow Rendering w/ Python In-Reply-To: References: Message-ID: Utkarsh, I appreciate your response. I spent this past week first trying to get the X Server running and it seems it never worked so I gave up on that and have turned to building ParaView with the Llvm CPU Rendering option enabled. It's taken me a while but I believe I have all the dependencies installed including OSMesa 9.2.2 but I don't know what to make of the CMakeLists.txt file. The wiki isn't too clear on this part and I have no experience with CMake. I copied the CMakesList.txt that comes with the source files for ParaView4.0.1 to a new source directory and have also created a new directory for my build and followed the advice to point the ccmake to the source while in my new build directory. I get a EMPTY CACHE message The following ling under the Configuring ParaView for use with OSMesa, there is a script but I don't know what to do with that. I assumed I would need to apply it to the CMakeList.txt but the variables seem different than what I am seeing in the second link below in the Configure ParaView With CMake on Unix - the image in that section shows different variables and no description on how to apply the Llvm stuff or it may and it's going over my head. http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D http://www.paraview.org/Wiki/ParaView:Build_And_Install Could you give me some advice on how to use CMake so I can get a version of Paraview with OSMesa Llvm as the source for rendering? Appreciate any advice! Thanks! Noah On Wed, May 20, 2015 at 8:07 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Are you using x forwarding when you connect to these machines? What is > localhost:10.0 display to? Try running some other X-based application > like gvim, or glxgears etc. and see where that window pops up. If it's > popping up on your laptop, you're using X forwarding. Every render on > the server will then be forwarding X calls to your laptop and that > would explain the slow down. > > If there an X server running on the "remote site"? If so, check with > your sysadmin to get access to that X if possible. If not, you'll need > to recoming with OSMesa, I am afraid. > > Utkarsh > > On Wed, May 20, 2015 at 1:07 AM, Noah Taylor wrote: > > Hello, > > > > I am using ParaView 4.0.1 since I developed a python script for > > interpretation on this version. I am able to run ParaView fine on my > local > > Ubuntu Desktop. I have setup an EC2 AWS instance both a GPU and a CPU > > instance both running Ubuntu but they both are giving me the same > problem of > > very very slow rendering for each time step with the offscreen rendering > > option turned on. I also run into this problem on a Unix supercomputer I > am > > trying to run my code on. On my local machine it takes less than a second > > for each time step I am rendering to be outputted with the same settings > and > > I am not spinning anything up like pvserver - on the node instances I > have, > > it is taking well around a minute or probably more for each frame. > > > > I have read through a lot of similar issues and the documentation for X > > connections but I am not having any luck. The default DISPLAY is set to > the > > localhost:10.0 and I have tried changing that to the localhost:0.0 but it > > gives me the bad -X connection error. From there, I followed previous > > mailing list instructions and tried spinning up the pvserver (I don't > know > > why since I am not trying to serve anything just render frames) but I > get an > > error with the shared libraries that they're too short. I am using the > > default downloadable version of 4.0.1 since I want to try and keep this > as > > simple as possible but I don't know if these have the mpi turned on by > > default. Has anybody ran into this Bad X Connection issue and found an > easy > > way around it besides messing with the OSMesa and recompiling? I'd really > > appreciate any pointers :) > > > > Thanks, > > Noah > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Wed May 27 16:35:33 2015 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Wed, 27 May 2015 17:35:33 -0300 Subject: [Paraview] SEG-Y seismic data loading In-Reply-To: References: Message-ID: Google summer of code accepted a project that may add the seismic data import. http://www.google-melange.com/gsoc/project/details/google/gsoc2015/jiac5/5707702298738688 Let's wait! 2015-03-16 17:12 GMT-03:00 Berk Geveci : > A quick Google search yields a few Python libraries such as > > http://segymat.sourceforge.net/segypy/ > > Has anyone experimented with any of those? Once someone can figure out how > to bring the data in, we can figure out how to visualize it. > > -berk > > On Sun, Mar 8, 2015 at 9:50 AM, Lester Anderson > wrote: > >> The other workaround is to have an image of the seismic line that can be >> georeferenced for loading into Paraview. However, this requires a seismic >> viewer capable of exporting a good quality image and not all do (SeiSee is >> quite good). Obviously things get a little complex when having to convert >> from time to depth, but not so if you are dealing with Z as the time >> coordinate. >> >> Is there a georeference filter/tool in ParaView? >> >> Cheers >> >> On 6 March 2015 at 20:55, L?o Pessanha >> wrote: >> >>> Putting a SEG-Y data in a more direct way is still in the escope of one >>> of the projects that i am working on. I did some research not a long time >>> ago and i found that Richard Strelitz wrote a paraview plugin for reading >>> SEG-Y data at LANL but he gave up since there was no easy way of retaining >>> the concept of a trace that is so essential to seismic data at the time he >>> was still trying. He said that would for some of the files he created but >>> we lost contact. >>> >>> Maybe he could help, and instead of starting from zero, maybe there`s a >>> way to continue his work and save some time. >>> >>> For me it would be a really really great tool to have in paraview! >>> >>> With the proper guidance, i would really like to help(or try to help) ! >>> >>> 2015-03-06 11:58 GMT-03:00 David E DeMarle : >>> >>> +1, this would be great to have in ParaView. >>>> >>>> Just need someone out there to find the time and or funding to >>>> implement it. >>>> >>>> It could make a nice google summer of code effort if there is a student >>>> who is interested in the topic. >>>> http://www.kitware.com/blog/home/post/857 >>>> >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> R&D Engineer >>>> 21 Corporate Drive >>>> Clifton Park, NY 12065-8662 >>>> Phone: 518-881-4909 >>>> >>>> On Fri, Mar 6, 2015 at 7:21 AM, Lester Anderson >>>> wrote: >>>> >>>>> This is definitely an import filter that would make ParaView more >>>>> widely used, particularly in industry. Even doing as suggested by Leo, of >>>>> reading the coordinates and extracting the amplitude would still be useful >>>>> when viewing the data in 3D. >>>>> >>>>> Perhaps this will be addressed in a future release, but I know this >>>>> has been asked for some years back I believe. >>>>> >>>>> On 5 March 2015 at 22:14, Lester Anderson >>>>> wrote: >>>>> >>>>>> Hi Leo, >>>>>> >>>>>> Thanks for the suggestions. What software did you use to export the >>>>>> data? >>>>>> >>>>>> Cheers >>>>>> Lester >>>>>> >>>>>> On 5 March 2015 at 19:18, L?o Pessanha >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I would like to apologize, i do not know how to answer a question in >>>>>>> the mailing list correctly, i think the way i am doing it right now is >>>>>>> going to appear as a new question >>>>>>> >>>>>>> There is no easy way of doing it, to see SEG-Y data in paraview, i >>>>>>> used another software to export the data to ASCII txt >>>>>>> >>>>>>> So i exported to a 4 collumn text file with "X" "Y" "Z" "AMPLITUDE", >>>>>>> imported in paraview, table to structured grid points filter, and used the >>>>>>> scalar variable amplitude to color the object >>>>>>> >>>>>>> Hope it helped! >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/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 >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.dean at decisionsciencescorp.com Wed May 27 17:49:51 2015 From: kevin.dean at decisionsciencescorp.com (Dean, Kevin) Date: Wed, 27 May 2015 14:49:51 -0700 Subject: [Paraview] Utilizing ParaView Server Message-ID: Hey what's up? I have a couple questions about using ParaView server? 1. I have figured out how to connect to the localhost as an example. I am trying to understand/figure out how paraview can actually update live images once data is being published to whatever port is specified? Is there any documentation that you can lead me to? I'd appreciate it. 2. Also, I have to deal with CoreDX DDS socket communication. Is there any support with that from ParaView or is there a way to create a plugin that can manipulate the "middleground" between my types and paraview's types over the server? Thanks again Guys! Kevin E. Dean -- This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Wed May 27 22:21:55 2015 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Wed, 27 May 2015 22:21:55 -0400 Subject: [Paraview] Utilizing ParaView Server In-Reply-To: References: Message-ID: On Wed, May 27, 2015 at 5:49 PM, Dean, Kevin < kevin.dean at decisionsciencescorp.com> wrote: > Hey what's up? > > I have a couple questions about using ParaView server? > > 1. I have figured out how to connect to the localhost as an example. I am > trying to understand/figure out how paraview can actually update live > images once data is being published to whatever port is specified? Is there > any documentation that you can lead me to? I'd appreciate it. > Not sure I understand your question. Data generation or reading and data processing happens on the server and images (or open gl commands) are sent back to the client. For documentation check out: http://www.paraview.org/paraview-guide/ > 2. Also, I have to deal with CoreDX DDS socket communication. Is there any > support with that from ParaView or is there a way to create a plugin that > can manipulate the "middleground" between my types and paraview's types > over the server? > I am not familiar with CoreDX DDS. ParaView uses TCP sockets and MPI. You can re-implement a few classes make ParaView use any communication protocol. > Thanks again Guys! > > Kevin E. Dean > > This email and its contents are confidential. If you are not the intended > recipient, please do not disclose or use the information within this email > or its attachments. If you have received this email in error, please report > the error to the sender by return email and delete this communication from > your records. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajphysics.mon at gmail.com Thu May 28 03:56:15 2015 From: rajphysics.mon at gmail.com (Raj Kumar Manna) Date: Thu, 28 May 2015 13:26:15 +0530 Subject: [Paraview] Latex text and python shell in Paraview git hub version Message-ID: Hi, Since I want to use axes grid, I have just install the latest version of paraview from github. Axes grid is working properly but latex text with '$ $' and python shell is not working. Is there any work-around to enable these in the git hub version. Thanks Raj -- ################################################################## Raj Kumar Manna Complex Fluid & Biological Physics Lab IIT Madras Ph. No. 8144637401 alternate email: raj at physics.iitm.ac.in #################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu May 28 07:03:27 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 28 May 2015 07:03:27 -0400 Subject: [Paraview] Latex text and python shell in Paraview git hub version In-Reply-To: References: Message-ID: I am assuming you built your own version of ParaView. You'll need to install matplotlib in the Python you used to build ParaView. Utkarsh On Thu, May 28, 2015 at 3:56 AM, Raj Kumar Manna wrote: > Hi, > > Since I want to use axes grid, I have just install the latest version of > paraview from github. Axes grid is working properly but latex text with '$ > $' and python shell is not working. Is there any work-around to enable > these in the git hub version. > > Thanks > Raj > > -- > ################################################################## > Raj Kumar Manna > Complex Fluid & Biological Physics Lab > IIT Madras > > Ph. No. 8144637401 > > alternate email: raj at physics.iitm.ac.in > #################################################################### > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From Jim.Eliot at awe.co.uk Thu May 28 11:12:10 2015 From: Jim.Eliot at awe.co.uk (Jim.Eliot at awe.co.uk) Date: Thu, 28 May 2015 15:12:10 +0000 Subject: [Paraview] Running regression tests Message-ID: <201505281512.t4SFCGSt000736@msw2.awe.co.uk> Good afternoon, I was wondering whether anyone could give me some guidance on how to run/create regression tests for ParaView. I build/install each release of ParaView on a number of platforms, so I am looking for a way to validate correct build and installation, and also to check correct performance of our own plugins etc. A subset of the standard regression tests would probably be sufficient for validating correct installation. Step-by-step instructions would be awesome - if available. Many thanks, Jim Jim Eliot High Performance Computing Group AWE, Aldermaston, Reading, RG7 4PR ___________________________________________________ ____________________________ The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu May 28 12:13:45 2015 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 28 May 2015 16:13:45 +0000 Subject: [Paraview] [EXTERNAL] Running regression tests In-Reply-To: <201505281512.t4SFCGSt000736@msw2.awe.co.uk> References: <201505281512.t4SFCGSt000736@msw2.awe.co.uk> Message-ID: Jim, Very likely not what you are looking for (i.e., not automatic), but there is a list of tests that I run (manually) every time we release. They are on the wiki, bottom right. http://www.paraview.org/Wiki/Release_Testing Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Jim.Eliot at awe.co.uk Sent: Thursday, May 28, 2015 9:12 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Running regression tests Good afternoon, I was wondering whether anyone could give me some guidance on how to run/create regression tests for ParaView. I build/install each release of ParaView on a number of platforms, so I am looking for a way to validate correct build and installation, and also to check correct performance of our own plugins etc. A subset of the standard regression tests would probably be sufficient for validating correct installation. Step-by-step instructions would be awesome - if available. Many thanks, Jim Jim Eliot High Performance Computing Group AWE, Aldermaston, Reading, RG7 4PR ___________________________________________________ ____________________________ The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewh0 at uw.edu Thu May 28 13:20:23 2015 From: andrewh0 at uw.edu (Andrew Ho) Date: Thu, 28 May 2015 10:20:23 -0700 Subject: [Paraview] [Catalyst] true time information instead of time step Message-ID: I am using Paraview Catalyst (v. 4.2 since 4.3 doesn't seem to work with Catalyst generated scripts) and I have data which has uneven true times: 0 0.1 0.15 0.18 0.25 ... When I output data from Catalyst's generated scripts, it outputs a series of files using the time step (0, 1, 2, 3, ...), but the true time information appears to be gone. How can I get this information back so I can properly annotate and view my data? I am using vtkImagaData and the outputted files are *.pvti and *.vti files of the full dataset. -- Andrew Ho -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu May 28 14:09:00 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 28 May 2015 14:09:00 -0400 Subject: [Paraview] [Catalyst] true time information instead of time step In-Reply-To: References: Message-ID: Hi Andrew, In your Python script the data description (called datadescription usually) object has the time and time step information in it. You can get that with datadescription.GetTime(). I think your best bet would be to create a pvd file ( http://www.paraview.org/Wiki/ParaView/Data_formats#PVD_File_Format) that contains the actual time step information to use that for animations, etc. What was the specific issue that you had with the Catalyst generated script? If it's a bug I'd like to try and get it fixed. Note though that the generated scripts may not always work between versions of ParaView (i.e. a script generated in PV 4.3 may not work with a simulation code linked to ParaView Catalyst 4.2). Regards, Andy On Thu, May 28, 2015 at 1:20 PM, Andrew Ho wrote: > I am using Paraview Catalyst (v. 4.2 since 4.3 doesn't seem to work with > Catalyst generated scripts) and I have data which has uneven true times: > > 0 0.1 0.15 0.18 0.25 ... > > When I output data from Catalyst's generated scripts, it outputs a series > of files using the time step (0, 1, 2, 3, ...), but the true time > information appears to be gone. > > How can I get this information back so I can properly annotate and view my > data? > > I am using vtkImagaData and the outputted files are *.pvti and *.vti files > of the full dataset. > > > -- > Andrew Ho > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu May 28 22:11:04 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 28 May 2015 22:11:04 -0400 Subject: [Paraview] Fwd: Fwd: XDMF and Lookup Tables In-Reply-To: <55622D58.9000704@gmail.com> References: <5562260A.7070106@gmail.com> <55622D58.9000704@gmail.com> Message-ID: Hi Dmitry, What is wrong with the lookup tables that ParaView makes for you with the xdmf file? Regardless of the file format, once ParaView opens the data it just sees sets of arrays really and the GUI lets you create and assign lookup tables. The .vtk file format's ability to store a lookup table near the data values is an anachronism in my opinion. I would be surprised if ParaView respects it actually. Instead ParaView's approach is to treat the data as data and give you ways to save off an restore lookup tables and other visualization parameters independently of the data (state files for example). cheers David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sun, May 24, 2015 at 3:58 PM, Dmitry Grebennikov wrote: > Sorry for several messages in a row. > Maybe you could also point me to another format which would support color > lookup tables, time-steps with unchanged grid. > > > -------- Forwarded Message -------- Subject: Fwd: XDMF and Lookup Tables Date: > Sun, 24 May 2015 22:27:06 +0300 From: Dmitry Grebennikov > To: paraview at paraview.org > > > Or maybe there is a way to program such a filter, which would color the > cells of the grid in a 'proper' way? > Instead of usage of LUT and categorical colormaps... > > > -------- Forwarded Message -------- Subject: XDMF and Lookup Tables Date: > Sun, 24 May 2015 22:05:44 +0300 From: Dmitry Grebennikov > To: paraview at paraview.org > > Hello! > Could you please help me with the following problem: > > For my purposes I need to store unchanged Unstructured Grid across several > time steps. > At each time step the Scalars array for CellData is modified. > I found out that if I can use the XDMF format in order not to have to > write the same Grid at each time step into new .vtk file. > > But unfortunately it seems to be that in XDMF it is impossible to use > Lookup Tables to color the Scalars array in the proper way to build the > desired animation... > Am I right or may be I missed this possibility?.. > > I think also that I might try to use the manually specify color lookup > table in Paraview using "Interpret Values as Categories" in Color Map > Editor. > It would be brilliant if it worked, but I also need to specify the alpha > (transparency) for colors of categories, which seems to be unavailable > feature... > > Could you please give me a hint on either 1) how to specify Lookup Tables > when using XDMF or 2) how to add transparency for categorical colormaps in > Paraview? > > Thanks in advance! > > Dmitry Grebennikov > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu May 28 23:20:35 2015 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 28 May 2015 23:20:35 -0400 Subject: [Paraview] XDMF Set In-Reply-To: References: Message-ID: Responses in line. On Thu, May 14, 2015 at 4:47 AM, Chris Richardson wrote: > > I guess that leads to the following questions: > > 1) When will Xdmf3 be used by ParaView? > > I want to deprecate Xdmf2 and make Xdmf3 the default the next release. Because Xdmf3 adds a dependency on boost Xdmf will have to become optional in ParaView. The Kitware binaries will have it on because we already Superbuild in boost for the VisItBridge, but other versions could easily drop it. > 2) Does 2D work properly? > > I don't think I tested that particular path in Xdmf3. If you can make a small test dataset which disproves its working, I'll likely be able to fix it and add it to the regression test suite for Xdmf3 in VTK. > 3) What about Attributes which are not in a "Set". The XDMF pages say > this:- > > "A Grid centered Attribute might be something like "Material Type" where > the value is constant everywhere in the grid. Edge and Face centered values > are defined, but do not map well to many visualization systems." > > But how do you define Edge and Face centered values for the whole mesh, > anyway? > > Not sure I understand the question, much less the answer, but lets have a go shall we? Set's can have their own attributes and those attributes can be grid centered. So if the set has all the edges, then the set's grid centered attributes apply to all of the edges in the mesh. > 4) Finally, is there any real need (in the case below) to go via the > Faces? Maybe, before the standard gets more widespread, this could be > eliminated, > and just go direct from Cell->Edge... OK, this is just a suggestion... > > Could do. I can't think of a reason off the top of my head why vtk's cell->GetEdge is any less well defined than cell->GetFace()->GetEdge() and it is probably faster. Maybe that is why the "bug" is there in xdmf1/2. > Chris Richardson > BP Institute > Madingley Road > Cambridge CB3 0EZ > > > On 14/05/2015 01:28, David E DeMarle wrote: > >> I believe in this case the intent was to get the edge'th edge out of >> the face'th face out of the cell'th cell. >> >> So in your example we get four edges out. >> >> cell 0's 0'th face's 0'th edge, >> cell 0's 1'st face's 1'st edge, >> cell 1's 2'nd face's 0'th edge, >> and >> cell 1's 3'rd face's 2'nd edge. >> The ordering in each case is defined by VTK. >> >> However, in the code (specifically vtkXdmfHeavyData.cxx:1507) it looks >> like it does exactly as you say. >> This appears to be a bug. >> >> In the Xdmf3 version we do it properly (see >> vtkXdmf3DataSet.cxx:2205). >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> On Fri, Apr 17, 2015 at 5:39 AM, Chris Richardson >> wrote: >> >> I would like to be able to specify data, or subsets of data in the >>> XDMF >>> format with Edge or Facet sets. >>> >>> According to the header file of XdmfSet.h: >>> >>> XdmfSet is a Class that handles sets of nodes,cells,faces, and >>> edges >>> on an XdmfGrid. They may be centered on the Node, Edge, >>> Face, Cell. An XdmfSet can have from 1 to 3 DataItems. The >>> last DataItem >>> is always the "Ids" or the indexes into Nodes, Cells, etc. >>> If SetType is >>> "Face" or "Edge", the First DataItem defines the CellIds. >>> If SetType is >>> "Edge" second DataItem defines FaceIds >>> >>> I have two questions: >>> >>> 1) What is the purpose of the FaceIds for a set of Edges? >>> >>> From what I can tell, using ParaView, the three dataitems provide: >>> global CellIDs, unused FaceIDs, cell-local EdgeIds >>> >>> e.g. in this case, the first DataItem "0 0 1 1" lists the cells, >>> the second DataItem "0 1 2 3" is ignored, and the third >>> DataItem "0 1 0 2" >>> lists the cell-local Edges which have data attached? >>> >>> >>> >>> 0 0 1 1 >>> >>> >>> 0 1 2 3 >>> >>> >>> 0 1 0 2 >>> >>> >>> >>> 100 200 400 600 >>> >>> >>> >>> >>> Is that correct? >>> >>> 2) How can I specify an Edge set in 2D? Nothing seems to work in >>> this case, >>> as ParaView complains that the cells have invalid Faces. >>> >>> -- >>> Chris Richardson >>> BP Institute >>> Madingley Road >>> Cambridge CB3 0EZ >>> _______________________________________________ >>> Powered by www.kitware.com [1] >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html [2] >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView [3] >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> [4] >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview [5] >>> >> >> >> >> Links: >> ------ >> [1] http://www.kitware.com >> [2] http://www.kitware.com/opensource/opensource.html >> [3] http://paraview.org/Wiki/ParaView >> [4] http://markmail.org/search/?q=ParaView >> [5] http://public.kitware.com/mailman/listinfo/paraview >> > > -- > Chris Richardson > BP Institute > Madingley Road > Cambridge CB3 0EZ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at bpi.cam.ac.uk Fri May 29 04:21:40 2015 From: chris at bpi.cam.ac.uk (Chris Richardson) Date: Fri, 29 May 2015 09:21:40 +0100 Subject: [Paraview] XDMF Set In-Reply-To: References: Message-ID: On 29/05/2015 04:20, David E DeMarle wrote: > Responses in line. > > On Thu, May 14, 2015 at 4:47 AM, Chris Richardson > wrote: > >> I guess that leads to the following questions: >> >> 1) When will Xdmf3 be used by ParaView? > > I want to deprecate Xdmf2 and make Xdmf3 the default the next release. > Because Xdmf3 adds a dependency on boost Xdmf will have to become > optional in ParaView. The Kitware binaries will have it on because we > already Superbuild in boost for the VisItBridge, but other versions > could easily drop it. > >> 2) Does 2D work properly? > > I don't think I tested that particular path in Xdmf3. If you can make > a small test dataset which disproves its working, I'll likely be able > to fix it and add it to the regression test suite for Xdmf3 in VTK. > I guess this should work... 0 1 2 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 >> 3) What about Attributes which are not in a "Set". The XDMF pages >> say this:- >> >> "A Grid centered Attribute might be something like "Material Type" >> where the value is constant everywhere in the grid. Edge and Face >> centered values are defined, but do not map well to many >> visualization systems." > >> But how do you define Edge and Face centered values for the whole >> mesh, anyway? > > Not sure I understand the question, much less the answer, but lets > have a go shall we? > Set's can have their own attributes and those attributes can be grid > centered. So if the set has all the edges, then the set's grid > centered attributes apply to all of the edges in the mesh. OK, I probably confused things by mixing this in. I'll ask it as a separate question. >> 4) Finally, is there any real need (in the case below) to go via the >> Faces? Maybe, before the standard gets more widespread, this could >> be eliminated, >> and just go direct from Cell->Edge... OK, this is just a >> suggestion... > > Could do. I can't think of a reason off the top of my head why vtk's > cell->GetEdge is any less well defined than cell->GetFace()->GetEdge() > and it is probably faster. Maybe that is why the "bug" is there in > xdmf1/2. > Yes, and this should also help to fix point (2) above, since Triangles don't have Faces, only Edges. Chris R. From joicecarrara at poli.ufrj.br Fri May 29 10:00:24 2015 From: joicecarrara at poli.ufrj.br (Joice Fernandes Carrara) Date: Fri, 29 May 2015 11:00:24 -0300 Subject: [Paraview] How to automaticaly generate probe location points? Message-ID: Hi, I need to generate a wide variety of probe location points and plot selection over time, in 4 models. This demand a significant amount of time to do manualy. I would like to know if it is possible to automaticaly generate the probe location points. And if it is possible to automatically plot selection over time to this same generated points. I found this explanation: http://www.paraview.org/pipermail/paraview/2011-May/021311.html , but It is not clear to me how to do it. I prefer to do it without programming. Thank you. Best regards, -- *Joice Fernandes Carrara* Graduanda em Engenharia Naval e oce?nica -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Fri May 29 10:50:11 2015 From: berk.geveci at kitware.com (Berk Geveci) Date: Fri, 29 May 2015 10:50:11 -0400 Subject: [Paraview] ANNOUNCE: Kitware is hiring Message-ID: Hi folks, We are looking to hire visualization developers to our Scientific Computing team. If you are a talented visualization researcher and developer with strong C++ skills, please consider applying. You will join a great team and work on many interesting and challenging technical problems - always aiming to deliver robust and widely used software solutions. For the full posting see: http://tinyurl.com/l8sgvzw JOB DESCRIPTION Kitware is seeking to hire highly skilled Research and Development Engineers (R&D Engineers) to join our Scientific Computing team and contribute to our scientific and information visualization efforts. Candidates will work to develop and improve leading visualization software solutions. Kitware collaborates on a multitude of basic and applied research and development projects. Our collaborators include the top universities from around the world, national research labs, medical device manufacturers, car manufacturers, oil and gas companies, financial institutes, and many others. The projects range from extending our open source C++ libraries and applications, such as VTK, ParaView, and CMake, to developing proprietary domain-specific vertical applications for a wide array of platforms including web and mobile devices. By joining our team you will participate in a dynamic work environment with exceptionally talented and friendly coworkers who are committed to high-quality development practices. You will collaborate with esteemed researchers from around the world by: * Designing and developing scalable data analysis and visualization tools for use by researchers and professionals from various domains; * Solving a wide array of problems ranging from developing distributed memory parallel algorithms for data analysis, optimizing distributed parallel codes to compiling and maintaining software on supercomputers. * Designing and developing tools to improve scientific data analysis workflows; * Contributing to and supporting our dynamic open source communities built around several of our open source tools. -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 29 13:55:18 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 29 May 2015 17:55:18 +0000 Subject: [Paraview] How to automaticaly generate probe location points? In-Reply-To: References: Message-ID: Joice, First question do you want "probe location" or select a cell/point? If you can describe the workflow you'd use to do this manually for 1 point, I'll know better what approach might work for you. Thanks Utkarsh On Fri, May 29, 2015 at 10:00 AM Joice Fernandes Carrara < joicecarrara at poli.ufrj.br> wrote: > Hi, > > I need to generate a wide variety of probe location points and plot > selection over time, in 4 models. > This demand a significant amount of time to do manualy. > I would like to know if it is possible to automaticaly generate the probe > location points. > And if it is possible to automatically plot selection over time to this > same generated points. > > I found this explanation: > http://www.paraview.org/pipermail/paraview/2011-May/021311.html , but It > is not clear to me how to do it. > > I prefer to do it without programming. > > Thank you. > > Best regards, > > > -- > *Joice Fernandes Carrara* > Graduanda em Engenharia Naval e oce?nica > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 29 13:57:21 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 29 May 2015 17:57:21 +0000 Subject: [Paraview] Running regression tests In-Reply-To: <201505281512.t4SFCGSt000736@msw2.awe.co.uk> References: <201505281512.t4SFCGSt000736@msw2.awe.co.uk> Message-ID: Jim, Look at what we do for ParaViewSuperbuild [1, 2]. That may give you pointers. You can potentially setup a simple cmake project that simply runs your test suite. Utkarsh [1] https://gitlab.kitware.com/paraview/paraview-superbuild/tree/master/Testing [2] https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/Testing/tests.cmake On Thu, May 28, 2015 at 11:19 AM wrote: > > > Good afternoon, > > > > I was wondering whether anyone could give me some guidance on how to > run/create regression tests for ParaView. > > > > I build/install each release of ParaView on a number of platforms, so I am > looking for a way to validate correct build and installation, and also to > check correct performance of our own plugins etc. A subset of the standard > regression tests would probably be sufficient for validating correct > installation. > > > > Step-by-step instructions would be awesome ? if available. > > > > Many thanks, > > Jim > > > > *Jim Eliot* > *High Performance Computing Group* > AWE, Aldermaston, Reading, RG7 4PR > > > > ___________________________________________________ > ____________________________ The information in this email and in any > attachment(s) is commercial in confidence. If you are not the named > addressee(s) or if you receive this email in error then any distribution, > copying or use of this communication or the information in it is strictly > prohibited. Please notify us immediately by email at admin.internet(at) > awe.co.uk, and then delete this message from your computer. While > attachments are virus checked, AWE plc does not accept any liability in > respect of any virus which is not detected. AWE Plc Registered in England > and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 29 14:00:26 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 29 May 2015 18:00:26 +0000 Subject: [Paraview] Import h5py in python shell In-Reply-To: <55647c01.e5e7b60a.36dc.ffffdd49SMTPIN_ADDED_BROKEN@mx.google.com> References: <55647c01.e5e7b60a.36dc.ffffdd49SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: ParaView packages its own Python. You'll either need to build ParaView from source using the Python installation you have or install h5py in the Python packaged with ParaView. Utkarsh On Tue, May 26, 2015 at 9:58 AM Jean-Michel wrote: > Dear all, > > > > I am currently trying to use the h5py module in the Python Shell in > ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of > python-xy and works fine outside of ParaView. > > > > I tried to import the module by providing the path to the package, using > mainly two methods: > > - append the path to the package with sys.path.append before doing the > import > > - import the module using the imp package and providing the full path to > imp.load_source > > However, both methods failed to load h5py, returing the following error : > "ImportError: DLL load failed: %1 is not a valid win32 application". > > > > Thank you for your help. > > > > Jean-Michel > > > ------------------------------ > [image: Avast logo] > > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > www.avast.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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adlinds3 at ncsu.edu Fri May 29 14:05:28 2015 From: adlinds3 at ncsu.edu (Alex Lindsay) Date: Fri, 29 May 2015 11:05:28 -0700 Subject: [Paraview] File in pipeline browser has changed; best way to reload In-Reply-To: References: <5547EDC4.9060604@ncsu.edu> <55486D6C.9080606@ovgu.de> Message-ID: <5568AA68.9020705@ncsu.edu> Michael & Christian, Thanks for your emails. I've been doing some other things, but am returning to this question. Michael, I am attempting to use the solution you proposed: http://public.kitware.com/pipermail/paraview/2013-June/028596.html However, when I try to adapt this to use ExodusII instead of Xdmf, I crash Paraview. I copied the code from the above link, and simply replaced 'Xdmf' with 'ExodusII'. When I try to load my xml file into paraview using the plug-in manager, that's when I cause the crash. I've successfully loaded the plugin in its un-modified form (e.g. the Xdmf form), so I must not be modifying the code correctly. I'm sure it's something exceedingly simple (I've tried replacing class=vtkExodusIIReader with class=vtkExodusReader for example), but I don't know what I'm doing wrong. Here is my code: Any help from anyone would be appreciated! Alex On 05/05/2015 01:07 AM, Schlottke, Michael wrote: > Hi Alex, > > there is a thread from around 2 years ago that proposed a couple of > solutions. Especially if you are using a custom reader plugin this > provides for a clean and user-friendly approach: > > http://public.kitware.com/pipermail/paraview/2013-June/028588.html > http://public.kitware.com/pipermail/paraview/2013-June/028596.html (this > is the solution we use) > > Regards, > > Michael > >> On 05 May 2015, at 09:12 , Christian Richter >> > wrote: >> >> Hi Alex, >> >> I'm using a little python macro to refresh the fileNames Property of >> all readers in the Pipeline. It is located here: >> https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/python_macros/update.py >> >> Feel free to use this as a starting point. >> >> Best, >> Christian. >> >> Am 5/5/2015 um 12:08 AM schrieb Alex Lindsay: >>> Hi all, >>> >>> I am doing something that most other modellers do: I am visualizing >>> a file in my pipeline browser, but I ran a new simulation and now >>> the file I am viewing should have changed. What is the best way to >>> reload the file/get the new data from the file? So far my google >>> searches have yielded this >>> >>> as the best result, but it seems quite clumsy. >>> >>> I've seen in other places people recommend clicking on "update gui", >>> but I don't see that button available anywhere in my version of >>> paraview. >>> >>> Refresh times also doesn't seem to work. >>> >>> As you can tell, I'm a new paraview user! >>> >>> Thanks, >>> Alex >>> >>> >>> _______________________________________________ >>> Powered bywww.kitware.com >>> >>> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at:http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at:http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >> >> -- >> >> >> >> Dipl.-Ing. Christian Richter >> Lehrstuhl f?r Materialflusstechnik >> Institut f?r Logistik und Materialflusstechnik (ILM) >> Fakult?t f?r Maschinenbau (FMB) >> >> Otto-von-Guericke-Universit?t Magdeburg >> Universit?tsplatz 2 >> D-39106 Magdeburg >> Geb?ude 10, Raum 213 >> >> University Magdeburg ?Otto-von-Guericke? >> Department of Material Handling >> Institute of Logistics and Material Handling Systems (ILM) >> Faculty for Mechanical Engineering (FMB) >> >> E-Mail: christian.richter at ovgu.de >> Tel.: +49 (0)391/5976687-4 >> Fax: +49 (0)391/5976687-5 >> URL: http://www.ilm.ovgu.de >> Der Inhalt dieser E-Mail ist vertraulich und ausschlie?lich f?r den >> bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene >> Adressat dieser E-Mail oder dessen Vertreter sein sollten, so >> beachten Sie bitte, dass jede Form der Kenntnisnahme, >> Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser >> E-Mail unzul?ssig ist. Wir bitten Sie, sich in diesem Fall mit dem >> Absender der E-Mail in Verbindung zu setzen. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Fri May 29 14:08:28 2015 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 29 May 2015 14:08:28 -0400 Subject: [Paraview] SWKey: Definitions of 'Q-Criterion' and the calculator's mag(*) operator? Revised w/ Answers In-Reply-To: <5560A4C0.9000004@bresnan.net> References: <5560A4C0.9000004@bresnan.net> Message-ID: Hi Samuel, The issue with the symmetric tensor magnitude calculation is that ParaView doesn't know it's a symmetric tensor so it doesn't know that it needs to sum the off-diagonal values twice. All that is know for these arrays are how many components there are. A three-component array could be representing either a 3D vector or a 3D anti-symmetrix, second order tensor so it's the user's responsibility to compute the magnitude properly where "shortened" representations of tensors are used. Regards, Andy On Sat, May 23, 2015 at 12:03 PM, Samuel Key wrote: > Reference: ParaView Version 4.3.1 > > I have two technical questions: > > (Q1) In the PV filter 'Gradient Of Unstructured Data Set' is the > "QCriterion" function, the Q-Criterion defined by J. C. R. Hunt, A. Wray, > and P. Moin (1988) "Eddies, stream, and convergence zones in turbulent > flows," Center for Turbulence Research Report CTR-S88, and referenced by G. > Haller in "*An objective definition of a vortex*," J. Fluid Mech. (2005), > vol. 525, pp.1?26? > > (Answer to Q1) Courtesy of Don Simons of Egility Corp., Yes, the formula > being > Q=-0.5*(Vx,x*Vx,x + Vy,y*Vy,y + Vz,z*Vz,z) - (Vx,y*Vy,x + Vx,z*Vz,x + > Vy,z*Vz,y) > > (Q2) In the PV filter 'Calculator' what is the formula used by the "mag" > function to calculate mag(*S*) where *S* is a symmetric 2nd-order tensor? > Using matrix notation, the tensor *S* would have the following components: > > --------------- > | Sxx Sxy Sxz | > | Sxy Syy Syz | > | Sxz Syz Szz | > --------------- > > (Answer to Q2) The PV formula for mag(*S*) is the square root of the sum > of the squares of the 6-tuple (Sxx, Syy, Szz, Sxy, Sxz, Syz). > > For consistency with a three-component vector, I would have expected it to > be the 6-tuple (Sxx, Syy, Szz, 2Sxy, 2Sxz, 2Syz)? > > > Samuel W Key > FMA Development, LLC > 1005 39th Ave NE > Great Falls, Montana 59404 > USA > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri May 29 20:17:48 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 30 May 2015 00:17:48 +0000 Subject: [Paraview] FlyIn and FlyOut in ParaView 4 In-Reply-To: <55631D67.1020508@bresnan.net> References: <55631D67.1020508@bresnan.net> Message-ID: Noted. I've reported a feature request ( http://www.paraview.org/Bug/view.php?id=15497). Utkarsh On Mon, May 25, 2015 at 9:02 AM Samuel Key wrote: > Utkarsh-- > > This functionality in ParaView would also be very helpful for examining > the structural stability of underground openings (transportation tunnels, > mining tunnels, penstocks, large sewage transfer tunnels, ...). > > Sam-- > > > On 5/24/2015 9:26 PM, Thomas Oliveira wrote: > > Dear Utkarsh, > > It would be great to have this functionality back. This way of navigating > through the model is needed by everyone who simulates flow inside object > with (many) channels, e.g., porous media. > > Thanks, > > Thomas > > > On Fri, May 22, 2015 at 5:01 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Thomas, >> >> Alas no. That was something that was lost in 3.0 transition. I haven't >> looked into it in detail, but if there's sufficient interest, it >> should not be too hard to resurrect the old code. >> >> Utkarsh >> >> On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira >> wrote: >> > Hi, >> > >> > I found on this manual >> > >> http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm >> > that a previous version of ParaView had FlyIn and FlyOut among the >> controls >> > for 3D movements. >> > >> > Do you if they are available in ParaView 4? >> > >> > Best regards, >> > >> > Thomas Oliveira >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkandes at gmail.com Sat May 30 04:34:01 2015 From: mkandes at gmail.com (Marty Kandes) Date: Sat, 30 May 2015 01:34:01 -0700 Subject: [Paraview] Filters applied immediately? Message-ID: I'm having a problem with Paraview immediately applying a filter once I select it to be used before I can adjust the parameters I want it to use when applied to the data. Is there some setting that I need to change? I'd like to avoid this unnecessary computation time. And I'm not sure why it started doing it this way. Previously, I had to acknowledge the application of the filer by clicking the 'apply' button before it would do so. Any help would be much appreciated. Sent from my iPhone From utkarsh.ayachit at kitware.com Sat May 30 09:42:48 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 30 May 2015 13:42:48 +0000 Subject: [Paraview] Filters applied immediately? In-Reply-To: References: Message-ID: You've accidentally enabled "Auto Apply". You can turn it off from the "Settings" dialog (General Tab). Utkarsh On Sat, May 30, 2015 at 4:34 AM Marty Kandes wrote: > I'm having a problem with Paraview immediately applying a filter once I > select it to be used before I can adjust the parameters I want it to use > when applied to the data. Is there some setting that I need to change? I'd > like to avoid this unnecessary computation time. And I'm not sure why it > started doing it this way. Previously, I had to acknowledge the application > of the filer by clicking the 'apply' button before it would do so. Any help > would be much appreciated. > > Sent from my iPhone > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat May 30 09:51:04 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 30 May 2015 13:51:04 +0000 Subject: [Paraview] Fwd: Problems in rendering when raw image is resized In-Reply-To: References: Message-ID: I am not entirely sure what 1 is. However, for 2, try changing the "Scalar Opacity Unit Distance" from the "Properties" panel. ParaView will set it to a value based on the data spacing after the first "Apply". If you change the spacing after that, you can use the "Reset using current data values" button next the option on the "Properties" panel to recompute using the current data values. Utkarsh On Tue, May 26, 2015 at 7:29 AM Thomas Oliveira wrote: > Hi, > > I have two problems that happen when setting the size of the voxels of a > raw image. > Do you have any idea about it, please? > > 1) When I import a 3D raw image, if I set the data spacing, i.e., the size > of each voxel, to 1,1,1, I can correctly visualize and rotate the image. > However, if I set the voxel size to the values I need > (5.549E-6,5.549E-6,5.549E-6), the image is rendered as if clipped when > turned to certain angles (please see picture thisShouldBeCuboid.png > attached). > > 2) Another problem for the same image is that, if the data spacing is set > to 1,1,1, I get a certain contrast between grey and white (size1.png). If > it it set to 0.1,0.1,0.1, the grey color becomes whiter (size01.png). > Finally, when it is set to the correct small size, it is completely white. > > Thank you for your help, > > Thomas Oliveira > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat May 30 10:10:45 2015 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 30 May 2015 14:10:45 +0000 Subject: [Paraview] Troubles with exporting selection labels from current ParaView render view In-Reply-To: References: Message-ID: Nenad, DataLabelRepresentation is a subproxy of the GeometryRepresentation and that has been the case since as long as I remember. That means that when you iterate over representations in the view, you'll never see a separate DataLabelRepresentation proxy. Each source proxy has a GetSelectionOutput method that you can use to get the source proxy which is doing the "extracting" tasks to extract selected points. To see if the source proxy has a "selection" set, you can use the vtkSMSourceProxy::GetSelectionInput() method. Hope that helps. Utkarsh On Fri, May 22, 2015 at 7:15 AM Nenad Vujicic wrote: > Utkarsh, > > Thank you very much for answers about creating and initializing > DataLabelRepresentation. Now my source plugin works perfectly. > > But, my exporting plugin (my first message) is still unable to export > labels which I get when try selecting several points. Here is what I > do: > > 1. Create Sphere and apply Elevation filter on it (I turn OFF 3d widget), > 2. I select several points and in Selection Manager I select Elevation > for Point Labels, > 3. In following code snippet I get only 2 message boxes (one of Sphere > and one for Elevation - both GeometryRepresentation),, but, there is > no DataLabelRepresentation. > 4. I know how to extract labels parameters at this level (Selection* > parameters from representation), but not set of points over which are > generated labels, > > // for all sources > for(i = 0; i < sources.size(); i++) > { > // get source > pqPipelineSource* source = sources.at(i); > > // for every source's output port, process it > for(output_port = 0; output_port < > source->getNumberOfOutputPorts(); output_port++) > { > // traverse all representations > for(j = 0; j < source->getRepresentations(output_port, > active_view).count(); j++) > { > QMessageBox::about(NULL, "", > GetCurrentSourceRepresentationSMName()); > } > } > } > > Should I try to catch > pqSelectionManager::selectionChanged(pqOutputPort*) to get data > structure over which are points which I can compare with data > structures extracted from vtkRenderWindow to generate labels? > > Thanks for help in advance! > > Nenad. > > On Mon, May 18, 2015 at 3:49 PM, Utkarsh Ayachit > wrote: > >> - Strange 1: I don't have anymore instance in > >> DataLabelRepresentation for Elevation pipeline source (btw, during > >> this traversing I get only one actor), > > > > I don't follow. DataLableRepresentation is indeed created for every > > representation shown in the render view. > > > > > >> - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors > >> (sphere mesh and actor with selected points), but, I'm unable to > >> connect selection label properties (which are tied with Elevation > >> pipeline source actor - sphere mesh) and mesh with selected points / > >> cells. > > > > Remember that label actors are added to the 2D / non-composited > > renderer, not the same as the 3D renderer. Which renderer are you > > looking at? > > > >> Q1: How to identify actor from vtkRenderer which contains selection > >> points / cells and get selection properties from this actor or > >> > >> Q2: How to identify actor from pqPipeline source on which are selected > >> points and how from appropriate representations to get actor which > >> contains selected points / cells? > > > > Neither of these are really supported. Look at > > vtkSelectionRepresentation. If you can think of ways of "tagging" the > > actors added by the representations used internally by this class, I > > am all ears. > -------------- next part -------------- An HTML attachment was scrubbed... URL: