From allison.vacanti at kitware.com Tue Jan 2 11:00:45 2018 From: allison.vacanti at kitware.com (Allie Vacanti) Date: Tue, 2 Jan 2018 11:00:45 -0500 Subject: [Paraview] Updated OpenFOAMReader supporting OpenFOAM 5.x In-Reply-To: <9ad21887-9ef8-365b-57e3-df63de5ea28c@gmail.com> References: <9ad21887-9ef8-365b-57e3-df63de5ea28c@gmail.com> Message-ID: It looks like there are some issues preventing us from reviewing/merging this patch, as I mentioned on the merge request here: https://gitlab.kitware.com/vtk/vtk/merge_requests/3750 Once those are addressed we can do a more thorough code review/testing cycle. Thanks! Allie On Wed, Dec 27, 2017 at 11:36 AM, SeongMo wrote: > Hi, All > > > I made a merge request for modified OpenFOAMReader classes for OpenFOAM > 5.x. > > The classes are tested in ascii and binary formatted dictionary files and > working well. > > I found that the reader has some problems when the dictionary file is > gzipped either in ascii or binary formats. > > It looks like gzipped files are not read correctly because the > GetFieldNames member function failed to find out field files. I tried to > fix that problem but could not. > > The classes are uploaded in VTK gitlab repository but attached also so > that you can freely test the classes and find out the problem. > > > Regards. > > SeongMo > > > -- > SeongMo Yeon, Ph.D, Senior Engineer > Offshore Hydrodynamics Research > SAMSUNG HEAVY INDUSTRIES CO., LTD. > Central Research Institute > E-mail : seongmo.yeon at gmail.com > Tel : > -------------------------------------------------------- > Fluctuat nec mergitur > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kayarre at gmail.com Tue Jan 2 11:53:00 2018 From: kayarre at gmail.com (Kurt Sansom) Date: Tue, 2 Jan 2018 08:53:00 -0800 Subject: [Paraview] How to plot selection over time of slice Message-ID: Hi all, I have a simulation where I have exported the inlets and outlets of a domain. I was able to use a box clip for each inlet/outlet, calculate the flux through each face, integrate, and then plot selection over time. I was able to plot flow overt time. (this worked) steps that work: 1) box clip the portion of the slice of interest 2) calculator to get flux 3) integrate variables 4) plot selection overtime However, the problem I am having now, is that I want to take multiple slice locations and do the same thing, however when i do the following. 1) create slice 2) box clip the portion of the slice of interest 3) calculator to get flux 4) integrate variables 5) plot selection overtime There is no output. It's clear that the slice operation is doing something different or I am missing a step such that I can't select the entity of interest. Regards, ~Kurt -- Kurt Sansom -------------- next part -------------- An HTML attachment was scrubbed... URL: From bloring at lbl.gov Tue Jan 2 14:22:21 2018 From: bloring at lbl.gov (Burlen Loring) Date: Tue, 2 Jan 2018 11:22:21 -0800 Subject: [Paraview] Confirming that pvserver runs with OSMesa + OpenSWR driver on cpu only compute nodes In-Reply-To: <3F987627-6816-4466-8EDB-BC3C4DBDF9D4@gmail.com> References: <3F987627-6816-4466-8EDB-BC3C4DBDF9D4@gmail.com> Message-ID: <0e676fdf-c0df-848b-9382-ccb6b0cbce06@lbl.gov> Hi Fabrizio, in the shell where you launch your pvserver you could set the following environment variables: export LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=swr this is bash syntax, your shell may be different. When I do that I see "SWR detected AVX" print in that shell when the connection to paraview client is made. Burlen On 12/21/2017 08:02 AM, Fabrizio Bisetti wrote: > Hello there: > > I've successfully built and installed the following OSMesa rendering stack (from source) for use on CPU only compute nodes of a small cluster > > I've then built Paraview 5.4.0 (from source). The pvserver runs on a compute node and we connect to it from a remote Paraview client via forward connection with SSH tunneling. > > I am having trouble confirming which driver the pvserver uses for rendering. My understanding is that OSMesa gets compiled with various cpu-based driver options, i.e. soft pipe (classic OSMesa), llvmpipe, and swr. > > I would like to ensure that swr (OpenSWR) is being used. > > Note that one complicating factor is that the CPU-based compute nodes do not have any X installed and I've compiled only OSMesa (see below). Thus, I cannot compile the GLUT based utility glinfo or gears, which could possibly tell me how the rendering is done. > > Finally, while it seems that one can invoke paraview with a switch --mesa-swr-avx2, I am not sure that can be done with pvserver. > > Also, even then, how would I confirm this is which driver is being used? > > Thank you for any help/pointers. > > Fabrizio > > > > > **HARDWARE** > > Each compute node features two (x2) Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz for a total of 28 cores. The compute nodes do not have a GPU. > > **SOFTWARE STACK** > > Everything is compiled with gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) on a Linux 3.10.0-514.el7.x86_64 (Centos 7). > > Here is the cpu-based rendering stack > > 1) LLVM 5.0.0 > > cmake3 -G "Unix Makefiles" \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_TARGETS_TO_BUILD=X86 \ > -DLLVM_INSTALL_UTILS=TRUE \ > -DLLVM_ENABLE_RTTI=TRUE \ > -DBUILD_SHARED_LIBS=TRUE \ > -DCMAKE_INSTALL_PREFIX=$INSTALLDIR \ > ../llvm-5.0.0.src > > 2) Mesa3D 17.3.0 > > Note that the compute nodes do not have any X servers (X11) nor any other OpenGL implementation (e.g. repo based from a yum install) > > ./configure \ > --disable-xvmc \ > --disable-glx \ > --disable-dri \ > --with-dri-drivers= \ > --with-gallium-drivers=swrast,swr \ > --enable-texture-float \ > --disable-egl \ > --disable-gbm \ > --with-platforms= \ > --enable-gallium-osmesa \ > --enable-llvm \ > --prefix=$INSTALLDIR > > 3) GLU 9.0.0 > > SITE_MESA_LIB=/path/to/mesa/install/above > > PKG_CONFIG_PATH="$SITE_MESA_LIB/pkgconfig" \ > OSMESA_LIBS="-L$SITE_MESA_LIB -lOSMesa" \ > ./configure --prefix=$INSTALLDIR \ > --enable-osmesa \ > --enable-shared > > 4) ParaView 5.4.0 > > I've configured the basic ParaView build as recommended. > I am using OpenMPI 2.1.0 compiled with the system gcc. > > The additional OSMesa options are as below: > > VTK_USE_X=OFF > VTK_USE_OFFSCREEN:BOOL=ON > > OPENGL_INCLUDE_DIR=/path/to/mesa/install/above/include > OPENGL_gl_LIBRARY:FILEPATH=/path/to/mesa/install/above/lib/libOSMesa.so > OPENGL_glu_LIBRARY:FILEPATH=/path/to/glu/install/above/lib/libGLU.so > > VTK_OPENGL_HAS_OSMESA:BOOL=ON > OSMESA_INCLUDE_DIR:PATH=/path/to/mesa/install/above/include > OSMESA_LIBRARY:FILEPATH=/path/to/mesa/install/above/lib/libOSMesa.so > > Note that I've set everything to point to the OSMesa install directory. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric.greenwade at gmail.com Wed Jan 3 17:39:12 2018 From: eric.greenwade at gmail.com (eric greenwade) Date: Wed, 3 Jan 2018 14:39:12 -0800 Subject: [Paraview] n-D reader wanted Message-ID: Prior to writing one, I?m interested to see if someone has done this previously. I have n-D rectilinear, structured data (usually 4-10D) with a small number of dependent variables. We?re adding output code to our apps that will create vtkTable files for the results. What I would like is a paraview source object to read the data, allow the user to select which n<=3 dimensions are of interest and then output the appropriate subset in the rectilinear structured form consumable within paraview. This seems like a straightforward object, so I assuming there is a chance someone has already written one. Thanks for pointers, thoughts, comments. -eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Wed Jan 3 21:25:46 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Wed, 3 Jan 2018 18:25:46 -0800 Subject: [Paraview] Error about reading .pvtk file Message-ID: Hi, I am trying to read a pvtk file with data store in vtk file. when I read it on my own local computer, paraview will always crash. but when I read it by using paraview on remote supercomputer, it works. May I ask why? I used a MPI supported version in my local computer. did I miss something in my build? -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jan 3 21:27:48 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 4 Jan 2018 02:27:48 +0000 Subject: [Paraview] [EXTERNAL] Error about reading .pvtk file In-Reply-To: References: Message-ID: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> Overflowing memory? Try looking at the amount of memory you are using on the cluster, then again on your local computer. View/ Memory Inspector. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Yangguang Liao Sent: Wednesday, January 3, 2018 7:26 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Error about reading .pvtk file Hi, I am trying to read a pvtk file with data store in vtk file. when I read it on my own local computer, paraview will always crash. but when I read it by using paraview on remote supercomputer, it works. May I ask why? I used a MPI supported version in my local computer. did I miss something in my build? -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Wed Jan 3 21:52:29 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Wed, 3 Jan 2018 18:52:29 -0800 Subject: [Paraview] [EXTERNAL] Error about reading .pvtk file In-Reply-To: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> References: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> Message-ID: I don't think so. the test file is not big. and I check the memory usage of paraview on remote machine, it is only 500MB. and My local machine should have enough memory space. On Wed, Jan 3, 2018 at 6:27 PM, Scott, W Alan wrote: > Overflowing memory? Try looking at the amount of memory you are using on > the cluster, then again on your local computer. View/ Memory Inspector. > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Yangguang > Liao > *Sent:* Wednesday, January 3, 2018 7:26 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Error about reading .pvtk file > > > > Hi, > > > > I am trying to read a pvtk file with data store in vtk file. when I read > it on my own local computer, paraview will always crash. but when I read it > by using paraview on remote supercomputer, it works. May I ask why? I used > a MPI supported version in my local computer. did I miss something in my > build? > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jan 3 21:53:35 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 4 Jan 2018 02:53:35 +0000 Subject: [Paraview] [EXTERNAL] Error about reading .pvtk file In-Reply-To: References: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> Message-ID: <5983a1a4f62c435c9147c7bebc31cb1d@ES01AMSNLNT.srn.sandia.gov> Is the ParaView a kitware download? What OS? Alan From: Yangguang Liao [mailto:ygliao at ucdavis.edu] Sent: Wednesday, January 3, 2018 7:52 PM To: Scott, W Alan Cc: paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] Error about reading .pvtk file I don't think so. the test file is not big. and I check the memory usage of paraview on remote machine, it is only 500MB. and My local machine should have enough memory space. On Wed, Jan 3, 2018 at 6:27 PM, Scott, W Alan > wrote: Overflowing memory? Try looking at the amount of memory you are using on the cluster, then again on your local computer. View/ Memory Inspector. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Yangguang Liao Sent: Wednesday, January 3, 2018 7:26 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Error about reading .pvtk file Hi, I am trying to read a pvtk file with data store in vtk file. when I read it on my own local computer, paraview will always crash. but when I read it by using paraview on remote supercomputer, it works. May I ask why? I used a MPI supported version in my local computer. did I miss something in my build? -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Wed Jan 3 22:23:15 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Wed, 3 Jan 2018 19:23:15 -0800 Subject: [Paraview] [EXTERNAL] Error about reading .pvtk file In-Reply-To: <5983a1a4f62c435c9147c7bebc31cb1d@ES01AMSNLNT.srn.sandia.gov> References: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> <5983a1a4f62c435c9147c7bebc31cb1d@ES01AMSNLNT.srn.sandia.gov> Message-ID: I tried kitware download and my own build. both get crash. and I use windows. On Wed, Jan 3, 2018 at 6:53 PM, Scott, W Alan wrote: > Is the ParaView a kitware download? What OS? > > > > Alan > > > > *From:* Yangguang Liao [mailto:ygliao at ucdavis.edu] > *Sent:* Wednesday, January 3, 2018 7:52 PM > *To:* Scott, W Alan > *Cc:* paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] Error about reading .pvtk file > > > > I don't think so. the test file is not big. and I check the memory usage > of paraview on remote machine, it is only 500MB. and My local machine > should have enough memory space. > > > > On Wed, Jan 3, 2018 at 6:27 PM, Scott, W Alan wrote: > > Overflowing memory? Try looking at the amount of memory you are using on > the cluster, then again on your local computer. View/ Memory Inspector. > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Yangguang > Liao > *Sent:* Wednesday, January 3, 2018 7:26 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] Error about reading .pvtk file > > > > Hi, > > > > I am trying to read a pvtk file with data store in vtk file. when I read > it on my own local computer, paraview will always crash. but when I read it > by using paraview on remote supercomputer, it works. May I ask why? I used > a MPI supported version in my local computer. did I miss something in my > build? > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > > > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Jan 4 00:08:32 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 4 Jan 2018 05:08:32 +0000 Subject: [Paraview] [EXTERNAL] Error about reading .pvtk file In-Reply-To: References: <0bcfa2ece6e74820aa05ec38fb327bda@ES01AMSNLNT.srn.sandia.gov> <5983a1a4f62c435c9147c7bebc31cb1d@ES01AMSNLNT.srn.sandia.gov> Message-ID: Yangguang, If the file size is not too big and you are using the Kitware build of ParaView, here are 2 other things you might want to check (although they seem less likely than what you already checked). Corrupt files. Make sure the files did not get corrupted when you copied them to your local computer. Check that the file sizes are the same. Also, try running a hash function (like md5) at each location and make sure they are the same. Bad filenames. Windows file systems are a bit more restrictive than Linux file systems when it comes to allowable characters. If you have a strange character in a filename, that might be enough to crash the program when it tries to open it. If you can verify that the files are identical on both systems and all files have ordinary names, then I have no idea what the problem could be. -Ken From: ParaView on behalf of Yangguang Liao Date: Wednesday, January 3, 2018 at 8:23 PM To: Walter Scott Cc: "paraview at paraview.org" Subject: Re: [Paraview] [EXTERNAL] Error about reading .pvtk file I tried kitware download and my own build. both get crash. and I use windows. On Wed, Jan 3, 2018 at 6:53 PM, Scott, W Alan > wrote: Is the ParaView a kitware download? What OS? Alan From: Yangguang Liao [mailto:ygliao at ucdavis.edu] Sent: Wednesday, January 3, 2018 7:52 PM To: Scott, W Alan > Cc: paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] Error about reading .pvtk file I don't think so. the test file is not big. and I check the memory usage of paraview on remote machine, it is only 500MB. and My local machine should have enough memory space. On Wed, Jan 3, 2018 at 6:27 PM, Scott, W Alan > wrote: Overflowing memory? Try looking at the amount of memory you are using on the cluster, then again on your local computer. View/ Memory Inspector. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Yangguang Liao Sent: Wednesday, January 3, 2018 7:26 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Error about reading .pvtk file Hi, I am trying to read a pvtk file with data store in vtk file. when I read it on my own local computer, paraview will always crash. but when I read it by using paraview on remote supercomputer, it works. May I ask why? I used a MPI supported version in my local computer. did I miss something in my build? -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Thu Jan 4 01:10:12 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Wed, 3 Jan 2018 22:10:12 -0800 Subject: [Paraview] About Paraview on TACC Maverick Message-ID: Hi, Does anyone use paraview on TACC Maverick before. Can we have access to the paraview build so we can add our own plugin to it? or I can download paraview source and build my own version on Maverick? There are two version of paraview on Maverick, 4.3.1 and 5.4.1, I only use 4.3.1 to run paraview in parallel mode, anyone know if there is a way to run 5.4.1 in parallel mode? Thanks. -- Yangguang Liao -------------- next part -------------- An HTML attachment was scrubbed... URL: From bravo.loic at gmail.com Thu Jan 4 15:11:29 2018 From: bravo.loic at gmail.com (LB) Date: Thu, 4 Jan 2018 21:11:29 +0100 Subject: [Paraview] Paraview crashes with XDMF3 Reader Message-ID: Hi, When I try to open XDMF files, ParaView crashes when I use the XDMF3 Reader. It seems to load fine with the classical "XDMF Reader". I've had this issue with the following version of ParaView : - Paraview 5.4.1 under Windows 7 - Paraview 5.0.1 under Linux 64 I've open a ticket in the bug tracker with a test case to reproduce this problem: https://gitlab.kitware.com/paraview/paraview/issues/17871 Could you clarify which limitations come with the new XDMF3 reader ? Thanks. -- Lo?c -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Jan 4 15:41:53 2018 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 4 Jan 2018 15:41:53 -0500 Subject: [Paraview] About Paraview on TACC Maverick In-Reply-To: References: Message-ID: Best place to ask would be TACC's helpdesk. https://portal.tacc.utexas.edu login and then open a consulting ticket on the top right. They won't necessarily see/answer questions on this paraview mailing list, will be the intimately familiar with the installs and resources at TACC, and will generally be quite helpful. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 <(518)%20881-4909> On Thu, Jan 4, 2018 at 1:10 AM, Yangguang Liao wrote: > Hi, > > Does anyone use paraview on TACC Maverick before. Can we have access to > the paraview build so we can add our own plugin to it? or I can download > paraview source and build my own version on Maverick? > > There are two version of paraview on Maverick, 4.3.1 and 5.4.1, I only use > 4.3.1 to run paraview in parallel mode, anyone know if there is a way to > run 5.4.1 in parallel mode? > Thanks. > > -- > Yangguang Liao > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertsawko at gmail.com Fri Jan 5 14:05:08 2018 From: robertsawko at gmail.com (Robert Sawko) Date: Fri, 5 Jan 2018 19:05:08 +0000 Subject: [Paraview] PV client-server: browsing remote files In-Reply-To: <20171201191840.GA24911@avignon> References: <20171201191840.GA24911@avignon> Message-ID: <20180105190508.GA20966@avignon> Hi, I will bump my own post from a month back (see below) and just will answer the question in case anyone else was looking for something similar. I haven't found a way to remotely navigate the file system through ParaView Python API objects, but of course there are other Python packages which can achieve that. I used paramiko. Below is my minimal example. from paraview.simple import LegacyVTKReader, RenameSource, Connect from paramiko import SSHClient, AutoAddPolicy ''' This script extracts the output of a remote ls command with to feed into a LegacyVTKReader. The main use is it to make a collection of VTK files into a time sequence inside PV. ''' # Inputs: host = 'remote.host.com' port = 22 username = 'me' key_filename = '/path/to/private/key' pvhost = 'localhost' # I typically run pvserver through an ssh tunnel so pvport = 22227 # these are the parameters for local port forward data_dir = '/path/to/data/on/remote' # SSH part # to get a list of files to open client = SSHClient() client.set_missing_host_key_policy(AutoAddPolicy()) client.connect( host, port=port, username=username, key_filename=key_filename) stdin, stdout, stderr = client.exec_command( 'ls -1 {0}'.format(data_dir)) lslines = stdout.readlines() client.close() # ParaView part Connect('localhost', 22227) reader = LegacyVTKReader(FileNames=[ 'data/{0}'.format(l.strip()) for l in lslines]) RenameSource('source', reader) Hope this helps someone! Robert On 12/01/17 at 07:18pm, Robert Sawko wrote: > Dear ParaViewers, > > > I am trying to use Python shell in Client-Server mode, but I am running into > some difficulties. How can I actually browse the remote directories. I tried > to use the `os` module, but that obviously ends up being all local. Here's a > minimal example of what I am trying to achieve. > > > from paraview.simple import Connect, LegacyVTKReader > from os import listdir > > Connect('my_server', port) > location = '/my/remote/location/' > > file_names = listdir(location).sort() > reader = LegacyVTKReader(FileNames=file_names) > > > Please let me know if it's at all possible to query the directory on the remote > side through an established connection. > > Many thanks, > Robert > -- > Seems like the famous poem of turbulence comes from Jonathan Swift > http://en.wikipedia.org/wiki/The_Siphonaptera -- Playing possum, opposable digit, climbing, swimming, omnivores... Is there nothing they can't do? http://en.wikipedia.org/wiki/Opossum From hero.jairaj at gmail.com Fri Jan 5 18:52:40 2018 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Fri, 5 Jan 2018 17:52:40 -0600 Subject: [Paraview] Plot selection over time for threshold Message-ID: Dear all How can I plot the average over time of only the threshold cells? It should only average the cells that are within the threshold. Thanks a lot! -- Jairaj Mathur, Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat Jan 6 14:03:34 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 6 Jan 2018 14:03:34 -0500 Subject: [Paraview] PV client-server: browsing remote files In-Reply-To: <20180105190508.GA20966@avignon> References: <20171201191840.GA24911@avignon> <20180105190508.GA20966@avignon> Message-ID: Robert, Sorry I missed the email earlier. What you have as an alternative is indeed a reasonable approach. Once can also use ParaView's infrastructure used by the file dialog, but it's a little clunky currently, since it needs to be pythonified for easier user. Here's how you'd do this with 5.4.1. from paraview import servermanager as sm helper = sm.misc.FileInformationHelper() helper.DirectoryListing = 1 helper.WorkingDirecotry = "'/path/to/data/on/remote" pvinfo = servermanager.vtkPVFileInformation() helper.GatherInformation(pvinfo) for a_pvinfo in pvinfo.GetConents(): if a_pvinfo.GetType() == a_pvinfo.FILE_GROUP: for b_pvinfo in a_pvinfo.GetContents(): assert b_pvinfo.GetType() == b_pvinfo.SINGLE_FILE print (b_pvinfo.GetName(), b_pvinfo.GetFullPath()) elif a_pvinfo.GetType() == a_pvinfo.SINGLE_FILE print (a_pvinfo.GetName(), a_pvinfo.GetFullPath()) This will print all files in the directory. See vtkPVFileInformation docs (https://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classvtkPVFileInformation.html) for more API details. Hope that helps. Utkarsh On Fri, Jan 5, 2018 at 2:05 PM, Robert Sawko wrote: > Hi, > > I will bump my own post from a month back (see below) and just will answer the > question in case anyone else was looking for something similar. I haven't found > a way to remotely navigate the file system through ParaView Python API objects, > but of course there are other Python packages which can achieve that. I used > paramiko. Below is my minimal example. > > > from paraview.simple import LegacyVTKReader, RenameSource, Connect > from paramiko import SSHClient, AutoAddPolicy > > ''' > This script extracts the output of a remote ls command with to feed into > a LegacyVTKReader. The main use is it to make a collection of VTK files > into a time sequence inside PV. > ''' > > # Inputs: > host = 'remote.host.com' > port = 22 > username = 'me' > key_filename = '/path/to/private/key' > > pvhost = 'localhost' # I typically run pvserver through an ssh tunnel so > pvport = 22227 # these are the parameters for local port forward > > data_dir = '/path/to/data/on/remote' > > # SSH part > # to get a list of files to open > client = SSHClient() > client.set_missing_host_key_policy(AutoAddPolicy()) > > client.connect( > host, port=port, > username=username, > key_filename=key_filename) > > stdin, stdout, stderr = client.exec_command( > 'ls -1 {0}'.format(data_dir)) > lslines = stdout.readlines() > client.close() > > # ParaView part > Connect('localhost', 22227) > reader = LegacyVTKReader(FileNames=[ > 'data/{0}'.format(l.strip()) for l in lslines]) > RenameSource('source', reader) > > Hope this helps someone! > Robert > > On 12/01/17 at 07:18pm, Robert Sawko wrote: >> Dear ParaViewers, >> >> >> I am trying to use Python shell in Client-Server mode, but I am running into >> some difficulties. How can I actually browse the remote directories. I tried >> to use the `os` module, but that obviously ends up being all local. Here's a >> minimal example of what I am trying to achieve. >> >> >> from paraview.simple import Connect, LegacyVTKReader >> from os import listdir >> >> Connect('my_server', port) >> location = '/my/remote/location/' >> >> file_names = listdir(location).sort() >> reader = LegacyVTKReader(FileNames=file_names) >> >> >> Please let me know if it's at all possible to query the directory on the remote >> side through an established connection. >> >> Many thanks, >> Robert >> -- >> Seems like the famous poem of turbulence comes from Jonathan Swift >> http://en.wikipedia.org/wiki/The_Siphonaptera > > -- > Playing possum, opposable digit, climbing, swimming, omnivores... > Is there nothing they can't do? > http://en.wikipedia.org/wiki/Opossum > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview From sebastien.jourdain at kitware.com Sat Jan 6 17:15:04 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Sat, 6 Jan 2018 15:15:04 -0700 Subject: [Paraview] PV client-server: browsing remote files In-Reply-To: References: <20171201191840.GA24911@avignon> <20180105190508.GA20966@avignon> Message-ID: You can find another way to do it here as well: https://github.com/Kitware/ParaView/blob/master/Web/Python/paraview/web/protocols.py#L2692-L2695 https://github.com/Kitware/ParaView/blob/master/Web/Python/paraview/web/protocols.py#L2715-L2716 [...] On Sat, Jan 6, 2018 at 12:03 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Robert, > > Sorry I missed the email earlier. What you have as an alternative is > indeed a reasonable approach. Once can also use ParaView's > infrastructure used by the file dialog, but it's a little clunky > currently, since it needs to be pythonified for easier user. > > Here's how you'd do this with 5.4.1. > > from paraview import servermanager as sm > > helper = sm.misc.FileInformationHelper() > helper.DirectoryListing = 1 > helper.WorkingDirecotry = "'/path/to/data/on/remote" > > pvinfo = servermanager.vtkPVFileInformation() > helper.GatherInformation(pvinfo) > for a_pvinfo in pvinfo.GetConents(): > if a_pvinfo.GetType() == a_pvinfo.FILE_GROUP: > for b_pvinfo in a_pvinfo.GetContents(): > assert b_pvinfo.GetType() == b_pvinfo.SINGLE_FILE > print (b_pvinfo.GetName(), b_pvinfo.GetFullPath()) > elif a_pvinfo.GetType() == a_pvinfo.SINGLE_FILE > print (a_pvinfo.GetName(), a_pvinfo.GetFullPath()) > > This will print all files in the directory. > > See vtkPVFileInformation docs > (https://www.paraview.org/ParaView3/Doc/Nightly/www/cxx- > doc/classvtkPVFileInformation.html) > for more API details. > > Hope that helps. > > Utkarsh > > On Fri, Jan 5, 2018 at 2:05 PM, Robert Sawko > wrote: > > Hi, > > > > I will bump my own post from a month back (see below) and just will > answer the > > question in case anyone else was looking for something similar. I > haven't found > > a way to remotely navigate the file system through ParaView Python API > objects, > > but of course there are other Python packages which can achieve that. I > used > > paramiko. Below is my minimal example. > > > > > > from paraview.simple import LegacyVTKReader, RenameSource, Connect > > from paramiko import SSHClient, AutoAddPolicy > > > > ''' > > This script extracts the output of a remote ls command with to feed > into > > a LegacyVTKReader. The main use is it to make a collection of VTK > files > > into a time sequence inside PV. > > ''' > > > > # Inputs: > > host = 'remote.host.com' > > port = 22 > > username = 'me' > > key_filename = '/path/to/private/key' > > > > pvhost = 'localhost' # I typically run pvserver through an ssh > tunnel so > > pvport = 22227 # these are the parameters for local port > forward > > > > data_dir = '/path/to/data/on/remote' > > > > # SSH part > > # to get a list of files to open > > client = SSHClient() > > client.set_missing_host_key_policy(AutoAddPolicy()) > > > > client.connect( > > host, port=port, > > username=username, > > key_filename=key_filename) > > > > stdin, stdout, stderr = client.exec_command( > > 'ls -1 {0}'.format(data_dir)) > > lslines = stdout.readlines() > > client.close() > > > > # ParaView part > > Connect('localhost', 22227) > > reader = LegacyVTKReader(FileNames=[ > > 'data/{0}'.format(l.strip()) for l in lslines]) > > RenameSource('source', reader) > > > > Hope this helps someone! > > Robert > > > > On 12/01/17 at 07:18pm, Robert Sawko wrote: > >> Dear ParaViewers, > >> > >> > >> I am trying to use Python shell in Client-Server mode, but I am running > into > >> some difficulties. How can I actually browse the remote directories. I > tried > >> to use the `os` module, but that obviously ends up being all local. > Here's a > >> minimal example of what I am trying to achieve. > >> > >> > >> from paraview.simple import Connect, LegacyVTKReader > >> from os import listdir > >> > >> Connect('my_server', port) > >> location = '/my/remote/location/' > >> > >> file_names = listdir(location).sort() > >> reader = LegacyVTKReader(FileNames=file_names) > >> > >> > >> Please let me know if it's at all possible to query the directory on > the remote > >> side through an established connection. > >> > >> Many thanks, > >> Robert > >> -- > >> Seems like the famous poem of turbulence comes from Jonathan Swift > >> http://en.wikipedia.org/wiki/The_Siphonaptera > > > > -- > > Playing possum, opposable digit, climbing, swimming, omnivores... > > Is there nothing they can't do? > > http://en.wikipedia.org/wiki/Opossum > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Sun Jan 7 00:20:57 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Sat, 6 Jan 2018 21:20:57 -0800 Subject: [Paraview] About CmakeLists.txt for paraview plugin Message-ID: Hi, I used some vtkOpenGL class in my plugin. When I developed in my own machine, I have paraview source which has vtkOpenGL.cmake that I can use to include header file I need. but when I try to compile my plugin on Maverick, it only has release paraview, which doesn't have such .cmake file. but Maverick does have VTK installed. How should I modify my cmakelists.txt to include vtkOpengl lib. Thanks. -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sun Jan 7 09:56:39 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 7 Jan 2018 09:56:39 -0500 Subject: [Paraview] About CmakeLists.txt for paraview plugin In-Reply-To: References: Message-ID: Doesn't your plugin need other classes from VTK/ParaView? If so, you can't mix and match. I am afraid you'll have to build ParaView from source and then compile the plugin against it. On Sun, Jan 7, 2018 at 12:20 AM, Yangguang Liao wrote: > Hi, > > I used some vtkOpenGL class in my plugin. When I developed in my own > machine, I have paraview source which has vtkOpenGL.cmake that I can use to > include header file I need. but when I try to compile my plugin on Maverick, > it only has release paraview, which doesn't have such .cmake file. but > Maverick does have VTK installed. How should I modify my cmakelists.txt to > include vtkOpengl lib. > Thanks. > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > From ygliao at ucdavis.edu Sun Jan 7 23:59:17 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Sun, 7 Jan 2018 20:59:17 -0800 Subject: [Paraview] About CmakeLists.txt for paraview plugin In-Reply-To: References: Message-ID: I see, yes, I will use some classes in Paraview/VTK, which mean if your plugin use inside source you will need to build your own paraview to run it? Thanks, Yangguang On Sun, Jan 7, 2018 at 6:56 AM, Utkarsh Ayachit wrote: > Doesn't your plugin need other classes from VTK/ParaView? If so, you > can't mix and match. I am afraid you'll have to build ParaView from > source and then compile the plugin against it. > > On Sun, Jan 7, 2018 at 12:20 AM, Yangguang Liao > wrote: > > Hi, > > > > I used some vtkOpenGL class in my plugin. When I developed in my own > > machine, I have paraview source which has vtkOpenGL.cmake that I can use > to > > include header file I need. but when I try to compile my plugin on > Maverick, > > it only has release paraview, which doesn't have such .cmake file. but > > Maverick does have VTK installed. How should I modify my cmakelists.txt > to > > include vtkOpengl lib. > > Thanks. > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Mon Jan 8 00:17:07 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Sun, 7 Jan 2018 21:17:07 -0800 Subject: [Paraview] Question about build paraview Message-ID: Hi, Anyone has experience build paraview on TACC Maverick or other clusters before? I need to build my own paraview. I use superbuild to build paraview. but everytime it stop at the step of configure paraview due to GCC version is lower than 4.6. Maverick does have GCC 4.9 and 5.4 installed and also have intel icc and icpc installed. When I try to change CMAKE_CXX_COMPILER to high verion GCC it still detect GCC is lower than 4.6. Even when I try to use icc to compile it still detects GCC lower version error. No idea how to fix. I know I should probably ask Maverick system admin. Just wonder if anybody happen to know this issue. Thanks. -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From segalemb at usp.br Mon Jan 8 06:55:35 2018 From: segalemb at usp.br (Sergio Emanuel Galembeck) Date: Mon, 8 Jan 2018 09:55:35 -0200 Subject: [Paraview] error when compiling Paraview 5.4 macOS 10.13 Message-ID: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> Hello, I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using software from MacPorts 2.4.2. After a successful configuration, the make -j 4 command give the following error: /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18: error: ordered comparison between pointer and zero ('void *' and 'int') if(Msg->Data <= 0 ){ How can I solve this problem? Best regards, Sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 8 09:22:46 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 8 Jan 2018 09:22:46 -0500 Subject: [Paraview] Question about build paraview In-Reply-To: References: Message-ID: It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by the initial CMake configuration, you can't change it. So what should you do? The solution is to set an environment variable named CMAKE_CXX_COMPILER in your shell prior to running CMake for the first time. Set that variable to the path of version of gcc or icc you want to use, and that should do it. You may also need to set CMAKE_C_COMPILER as well. HTH, Cory On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao wrote: > Hi, > > Anyone has experience build paraview on TACC Maverick or other clusters > before? I need to build my own paraview. I use superbuild to build paraview. > but everytime it stop at the step of configure paraview due to GCC version > is lower than 4.6. Maverick does have GCC 4.9 and 5.4 installed and also > have intel icc and icpc installed. When I try to change CMAKE_CXX_COMPILER > to high verion GCC it still detect GCC is lower than 4.6. Even when I try to > use icc to compile it still detects GCC lower version error. No idea how to > fix. I know I should probably ask Maverick system admin. Just wonder if > anybody happen to know this issue. > Thanks. > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Mon Jan 8 09:38:25 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 8 Jan 2018 09:38:25 -0500 Subject: [Paraview] error when compiling Paraview 5.4 macOS 10.13 In-Reply-To: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> References: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> Message-ID: Sergio, This problem was fixed in November 2016, so I am surprised you are running into it. Current ParaView master includes VTK that contains the commit commit 33631146a85dfa64433c3997f166cbaa96bedee9 Author: gnzlbg Date: Wed Nov 23 05:29:14 2016 -0500 [bugfix] Invalid pointer comparisons. The code was performing a null pointer check using (void*)Data <= 0 instead of Data == NULL (or nullptr). This results in a compilation error with clang trunk (future clang 4.0). diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx index 1e88f08..e89e153 100644 --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){ XdmfErrorMessage("Cannot Receive Message of Length = " << Msg->Length); return(XDMF_FAIL); } - if(Msg->Data <= 0 ){ + if(Msg->Data == NULL){ XdmfErrorMessage("Cannot Receive Message into Data Buffer = " << Msg->Length); return(XDMF_FAIL); } @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){ XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length); return(XDMF_FAIL); } - if(Msg->Data <= 0 ){ + if(Msg->Data == NULL) { XdmfErrorMessage("Cannot Send Message from Data Buffer = " << Msg->Length); return(XDMF_FAIL); } Make sure you have run `git submodule update` to ensure your VTK is up to date. HTH, Cory On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck wrote: > Hello, > > I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using > software from MacPorts 2.4.2. After a successful configuration, > the make -j 4 command give the following error: > > /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18: > error: > ordered comparison between pointer and zero ('void *' and 'int') > if(Msg->Data <= 0 ){ > > How can I solve this problem? > > Best regards, > > Sergio > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From robertsawko at gmail.com Mon Jan 8 11:04:27 2018 From: robertsawko at gmail.com (Robert Sawko) Date: Mon, 8 Jan 2018 16:04:27 +0000 Subject: [Paraview] PV client-server: browsing remote files In-Reply-To: References: <20171201191840.GA24911@avignon> <20180105190508.GA20966@avignon> Message-ID: <20180108160427.GA20937@avignon> Sebastien and Utkarsh, Thanks for both of your suggestions. I have now looked at them and they both look pretty good to me. I'll practice with these solutions and see which one I like best. Kind Regards, Robert -- Science personalities series: calculus and charity http://en.wikipedia.org/wiki/Maria_Gaetana_Agnesi From kmorel at sandia.gov Mon Jan 8 11:29:29 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 8 Jan 2018 16:29:29 +0000 Subject: [Paraview] Question about build paraview Message-ID: Actually I find the easiest way to do it is, assuming you have icc in your path, to set the CC and CXX environment variables on the command of the first run of cmake (or ccmake or cmake-gui, whichever one you are using). So the start of your build would be something like this: mkdir paraview-build cd paraview-build CC=icc CXX=icc cmake ../paraview That should ignore gcc. (Remember, you have to delete all of any build files you have created so far and start over. Once CMake picks a compiler, you cannot change it without starting over.) -Ken -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Cory Quammen Sent: Monday, January 8, 2018 7:23 AM To: Yangguang Liao Cc: ParaView Subject: [EXTERNAL] Re: [Paraview] Question about build paraview It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by the initial CMake configuration, you can't change it. So what should you do? The solution is to set an environment variable named CMAKE_CXX_COMPILER in your shell prior to running CMake for the first time. Set that variable to the path of version of gcc or icc you want to use, and that should do it. You may also need to set CMAKE_C_COMPILER as well. HTH, Cory On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao wrote: > Hi, > > Anyone has experience build paraview on TACC Maverick or other > clusters before? I need to build my own paraview. I use superbuild to build paraview. > but everytime it stop at the step of configure paraview due to GCC > version is lower than 4.6. Maverick does have GCC 4.9 and 5.4 > installed and also have intel icc and icpc installed. When I try to > change CMAKE_CXX_COMPILER to high verion GCC it still detect GCC is > lower than 4.6. Even when I try to use icc to compile it still detects > GCC lower version error. No idea how to fix. I know I should probably > ask Maverick system admin. Just wonder if anybody happen to know this issue. > Thanks. > > -- > Yangguang Liao > PhD. student of Computer Science Department University of California, > Davis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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: https://paraview.org/mailman/listinfo/paraview From cory.quammen at kitware.com Mon Jan 8 11:48:33 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 8 Jan 2018 11:48:33 -0500 Subject: [Paraview] Question about build paraview In-Reply-To: References: Message-ID: Ah, that's right, Ken. It has been a while since I have done this, but you are right that setting CC and CXX is the way to do it. On Mon, Jan 8, 2018 at 11:29 AM, Moreland, Kenneth wrote: > Actually I find the easiest way to do it is, assuming you have icc in your path, to set the CC and CXX environment variables on the command of the first run of cmake (or ccmake or cmake-gui, whichever one you are using). So the start of your build would be something like this: > > mkdir paraview-build > cd paraview-build > CC=icc CXX=icc cmake ../paraview > > That should ignore gcc. (Remember, you have to delete all of any build files you have created so far and start over. Once CMake picks a compiler, you cannot change it without starting over.) > > -Ken > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Cory Quammen > Sent: Monday, January 8, 2018 7:23 AM > To: Yangguang Liao > Cc: ParaView > Subject: [EXTERNAL] Re: [Paraview] Question about build paraview > > It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by the initial CMake configuration, you can't change it. So what should you do? > > The solution is to set an environment variable named CMAKE_CXX_COMPILER in your shell prior to running CMake for the first time. Set that variable to the path of version of gcc or icc you want to use, and that should do it. You may also need to set CMAKE_C_COMPILER as well. > > HTH, > Cory > > On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao wrote: >> Hi, >> >> Anyone has experience build paraview on TACC Maverick or other >> clusters before? I need to build my own paraview. I use superbuild to build paraview. >> but everytime it stop at the step of configure paraview due to GCC >> version is lower than 4.6. Maverick does have GCC 4.9 and 5.4 >> installed and also have intel icc and icpc installed. When I try to >> change CMAKE_CXX_COMPILER to high verion GCC it still detect GCC is >> lower than 4.6. Even when I try to use icc to compile it still detects >> GCC lower version error. No idea how to fix. I know I should probably >> ask Maverick system admin. Just wonder if anybody happen to know this issue. >> Thanks. >> >> -- >> Yangguang Liao >> PhD. student of Computer Science Department University of California, >> Davis >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. From super_achie at hotmail.com Mon Jan 8 12:01:53 2018 From: super_achie at hotmail.com (Ahmad .) Date: Mon, 8 Jan 2018 17:01:53 +0000 Subject: [Paraview] Scaling cylinder glyph's radius and height individually Message-ID: Dear community, When I try to scale cylindrical glyph objects by a 'Scalar', it scales both the radius and height of the glyphs. Is there a way to scale the radius by a Scalar1, and the height be a Scalar2? I have an unstructured grid, and for each point I want to create a cylinder that can have an arbitrary radius and height. I thought Glyphs would be the way to go, but I'm kind of stuck with this issue. Any help is much appreciated; or if you can recommend a different way to achieve the above-mentioned please let me know! Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From salazardetro1 at llnl.gov Mon Jan 8 14:12:34 2018 From: salazardetro1 at llnl.gov (Salazar De Troya, Miguel) Date: Mon, 8 Jan 2018 19:12:34 +0000 Subject: [Paraview] Glyphs and spreadsheets Message-ID: <1015A82C-A0C9-45BA-B85C-DA5884A846AC@llnl.gov> Hello, I want to extract the output from a Glyph filter into a spreadsheet. I want the coordinates of the origin of each glyph and its components so I can plot the same vectors using matplotlib.quiver capability. I tried to do this using the Spreadsheet view, but I ran into some issues: - First, even that the Glyph only shows a subset of all points (using the Masking option), the spreadsheet view actually contains the entire data set. - Second, the scaling is not reflected in the components of the field GlyphVector in the spreadsheet view, but it is reflected in the field Points, in a way that is not easy to reason. How could I get around these two issues to get to my goal? What is the meaning of the field Points in the Glyph filter? Thanks Miguel -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From salazardetro1 at llnl.gov Mon Jan 8 14:38:55 2018 From: salazardetro1 at llnl.gov (Salazar De Troya, Miguel) Date: Mon, 8 Jan 2018 19:38:55 +0000 Subject: [Paraview] Glyphs and spreadsheets Message-ID: <4119510A-911F-40ED-896D-3CA2A8F2439B@llnl.gov> Ok, I see that the Points field represent the points of the Glyph object. For instance, if we are using 2D Glyph as the Glyph type, there will be 4 entries in the Spreadsheet view with the same GlyphVector field, but different Point values. These 4 points represent the points used to draw the arrow (2 for the shaft and 2 for the head). There are more points for the regular arrow (it?s a 3D object). -- From: ParaView on behalf of "Salazar De Troya, Miguel" Date: Monday, January 8, 2018 at 11:13 AM To: "paraview at paraview.org" Subject: [Paraview] Glyphs and spreadsheets Hello, I want to extract the output from a Glyph filter into a spreadsheet. I want the coordinates of the origin of each glyph and its components so I can plot the same vectors using matplotlib.quiver capability. I tried to do this using the Spreadsheet view, but I ran into some issues: - First, even that the Glyph only shows a subset of all points (using the Masking option), the spreadsheet view actually contains the entire data set. - Second, the scaling is not reflected in the components of the field GlyphVector in the spreadsheet view, but it is reflected in the field Points, in a way that is not easy to reason. How could I get around these two issues to get to my goal? What is the meaning of the field Points in the Glyph filter? Thanks Miguel -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From super_achie at hotmail.com Mon Jan 8 14:52:11 2018 From: super_achie at hotmail.com (Ahmad .) Date: Mon, 8 Jan 2018 19:52:11 +0000 Subject: [Paraview] Scaling cylinder glyph's radius and height individually In-Reply-To: References: Message-ID: Following up on my own question, I found out that if I scale by "Vector Components" it is possible to change the length of the cylinders with the second vector index, and the radius with the first and third. I need to rearrange my attribute data as such: [radius_x, length, radius_z]. If I keep radius_x == radius_z, then the cylinder will not deform, and the cross section stays a perfect circle. See the image in the attachment please. BUT the problem here is that "vector components" also affects the orientation of my cylindrical glyphs. I can turn this off in the properties menu, but I need to orient my cylinders based on another vector attribute data... I feel I'm getting somewhere, but if someone could give me an idea on how to now orient my glyphs with another vector data than the one I use now for scaling, that would be much appreciated! Best, Ahmad ________________________________ Van: Ahmad . Verzonden: maandag 8 januari 2018 18:01 Aan: paraview at paraview.org Onderwerp: Scaling cylinder glyph's radius and height individually Dear community, When I try to scale cylindrical glyph objects by a 'Scalar', it scales both the radius and height of the glyphs. Is there a way to scale the radius by a Scalar1, and the height be a Scalar2? I have an unstructured grid, and for each point I want to create a cylinder that can have an arbitrary radius and height. I thought Glyphs would be the way to go, but I'm kind of stuck with this issue. Any help is much appreciated; or if you can recommend a different way to achieve the above-mentioned please let me know! Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paraview_scaling_question.png Type: image/png Size: 228803 bytes Desc: paraview_scaling_question.png URL: From kmorel at sandia.gov Mon Jan 8 15:23:23 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 8 Jan 2018 20:23:23 +0000 Subject: [Paraview] Plot selection over time for threshold Message-ID: <2d33eeb478504c768129e6cac9ad377f@ES08AMSNLNT.srn.sandia.gov> Jairaj, I?m not sure what exactly you mean by ?the threshold,? but there are many ways to plot the average of a threshold-selection of cells over time. The most straightforward way is to open up the Find Data dialog box, select the cells you want to plot, and then create a Plot Selection Over Time filter. Specifically, here are steps that will do such a plot: 1. Open your data in ParaView. Apply. 2. Open the Find Data dialog box (Edit ? Find Data or click the toolbar button on the top toolbar). 3. In the top row, set the left combo box to either ?Cell(s)? or ?Point(s)? depending on whether your data is cell or point data. In the longer combo box to the right, make sure that your data is selected. 4. In the second row, set the left combo box to the field you want to threshold on. Change the next combo box to say ?is between?. This will create to text edit boxes where you enter the minimum and maximum values of your threshold range. 5. Click the ?Run Selection Query? button. This will select all cells or points matching your threshold. 6. Click the ?Plot Selection Over Time? at the bottom of the Find Data dialog box. This will create a filter in the pipeline browser. 7. Close the Find Data dialog box and click the Apply button. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Jairaj Mathur Sent: Friday, January 5, 2018 4:53 PM To: paraview Subject: [EXTERNAL] [Paraview] Plot selection over time for threshold Dear all How can I plot the average over time of only the threshold cells? It should only average the cells that are within the threshold. Thanks a lot! -- Jairaj Mathur, Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From omid.mahabadi at geomechanica.com Mon Jan 8 16:29:36 2018 From: omid.mahabadi at geomechanica.com (Omid Mahabadi) Date: Mon, 8 Jan 2018 16:29:36 -0500 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Message-ID: Hi, I use ParaView to visualize data of our simulations using the Unstructured Grid data format. Up until ParaView 4.x everything worked fine: we typically visualize one set of data files as Surfaces and another as Wireframe. The Wireframe dataset refers to "fracture lines" in our simulations. See below how the simulation looked like in PV version 4.x. You could clearly see the line around the boundaries of the model. [image: Inline image 1] However, in PV 5.x the lines are not fully visualized as if they're hidden below the other data object: [image: Inline image 2] I've tried a few versions of 5.x but they all behave similarly. Does anyone know what might be going on here? Is this a bug / removed featured from the new version or should I do something different with 5.x? I've noticed that this issue does not happen consistently. I've seen the issue on both Linux Mint 17.3 (64 bit) and Ubuntu I've attached two example VTU files. Please visualize the second file as Wireframe (_broken_joint). Below are two large VTU files. https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 Can someone else reproduce this issue? I'd really hope to start using ParaView 5 since it finally has the long-missing Reload Files options! Thank you, Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PV4.x.png Type: image/png Size: 5737 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PV5.4.png Type: image/png Size: 7262 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ucs_basic_0.vtu Type: application/octet-stream Size: 70991 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ucs_broken_joint_0.vtu Type: application/octet-stream Size: 6706 bytes Desc: not available URL: From kmorel at sandia.gov Mon Jan 8 17:56:33 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 8 Jan 2018 22:56:33 +0000 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Message-ID: <8e62d5a74dfe45e7bbf29dba5535cb29@ES08AMSNLNT.srn.sandia.gov> Omid, I am unable to replicate your issue in ParaView 5.4.1. When I loaded your data and showed the broken_joint data in wireframe, I was clearly able to see the lines of broken_joint over the polygons of basic. (See the attached image.) The problem you are getting is likely caused by z-buffer fighting in the rendering. This happens when two objects are the exact same distance from the viewer, as I believe is the case in your data. Wanting to draw lines on top of polygons is common enough that there are some corrections to help the rendering determine what to draw in front. Perhaps by changing the settings on resolving coincident topology will resolve your issue. You can find them by opening the ParaView settings dialog (Edit ? Settings), clicking on the Render View tab, and turning on the advanced options. The options you are looking for are ?Resolve Coincident Topology,? ?Polygon Offset Parameters?, and ?Z Shift.? Another, possibly easier, solution it to simply move the lines of the broken_joint data closer to the camera. Click the broken_joint object and add the Transform filter. Change the Translate parameter to 0, 0, 1 and apply. That should shift the wireframe forward enough to see it properly. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Omid Mahabadi Sent: Monday, January 8, 2018 2:30 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi, I use ParaView to visualize data of our simulations using the Unstructured Grid data format. Up until ParaView 4.x everything worked fine: we typically visualize one set of data files as Surfaces and another as Wireframe. The Wireframe dataset refers to "fracture lines" in our simulations. See below how the simulation looked like in PV version 4.x. You could clearly see the line around the boundaries of the model. [Inline image 1] However, in PV 5.x the lines are not fully visualized as if they're hidden below the other data object: [Inline image 2] I've tried a few versions of 5.x but they all behave similarly. Does anyone know what might be going on here? Is this a bug / removed featured from the new version or should I do something different with 5.x? I've noticed that this issue does not happen consistently. I've seen the issue on both Linux Mint 17.3 (64 bit) and Ubuntu I've attached two example VTU files. Please visualize the second file as Wireframe (_broken_joint). Below are two large VTU files. https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 Can someone else reproduce this issue? I'd really hope to start using ParaView 5 since it finally has the long-missing Reload Files options! Thank you, Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2964 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 2607 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.png Type: image/png Size: 104535 bytes Desc: Capture.png URL: From super_achie at hotmail.com Tue Jan 9 07:43:47 2018 From: super_achie at hotmail.com (Ahmad .) Date: Tue, 9 Jan 2018 12:43:47 +0000 Subject: [Paraview] Scaling cylinder glyph's radius and height individually In-Reply-To: References: , Message-ID: Just want to add that a programmatic (C++) solution is preferred rather than using the GUI I have a C++ pipeline where I can set the properties of the cylinder glyph with vtkSMPropertyHelper. I have looked in filters.xml under vtkPVGlyphFilter source proxy (file located in /ParaViewCore/ServerManager/SMApplication/Resources) to see what my options are, but there is only one "SetInputArrayToProcess" that takes a vector attribute as input; nothing about a vector specifically for orientation.. Suggestions on how to handle this issue, are very welcome; other approaches than mine as well! ________________________________ Van: Ahmad . Verzonden: maandag 8 januari 2018 20:52 Aan: paraview at paraview.org Onderwerp: Re: Scaling cylinder glyph's radius and height individually Following up on my own question, I found out that if I scale by "Vector Components" it is possible to change the length of the cylinders with the second vector index, and the radius with the first and third. I need to rearrange my attribute data as such: [radius_x, length, radius_z]. If I keep radius_x == radius_z, then the cylinder will not deform, and the cross section stays a perfect circle. See the image in the attachment please. BUT the problem here is that "vector components" also affects the orientation of my cylindrical glyphs. I can turn this off in the properties menu, but I need to orient my cylinders based on another vector attribute data... I feel I'm getting somewhere, but if someone could give me an idea on how to now orient my glyphs with another vector data than the one I use now for scaling, that would be much appreciated! Best, Ahmad ________________________________ Van: Ahmad . Verzonden: maandag 8 januari 2018 18:01 Aan: paraview at paraview.org Onderwerp: Scaling cylinder glyph's radius and height individually Dear community, When I try to scale cylindrical glyph objects by a 'Scalar', it scales both the radius and height of the glyphs. Is there a way to scale the radius by a Scalar1, and the height be a Scalar2? I have an unstructured grid, and for each point I want to create a cylinder that can have an arbitrary radius and height. I thought Glyphs would be the way to go, but I'm kind of stuck with this issue. Any help is much appreciated; or if you can recommend a different way to achieve the above-mentioned please let me know! Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From super_achie at hotmail.com Tue Jan 9 08:27:00 2018 From: super_achie at hotmail.com (Ahmad .) Date: Tue, 9 Jan 2018 13:27:00 +0000 Subject: [Paraview] Reading group of pvti files: vtkImageData is static over time In-Reply-To: References: Message-ID: Was about to create a new question about this, but I remembered I had asked it already a few months back ;-) However I didn't receive a reply unfortunately. Does anyone have a clue? I also opened an issue about this on gitlab: https://gitlab.kitware.com/paraview/paraview/issues/17698 There are also the files that demonstrate the issue. Cheers! ________________________________ Van: A . Verzonden: donderdag 14 september 2017 17:41 Aan: paraview at paraview.org Onderwerp: Reading group of pvti files: vtkImageData is static over time Hello, I have a vtkImageData object that I write (with a XMLPImageDataWriter) every time step to a pvti file. When I open the group of output_*.pvti files, properties like X, Y, Z extent and range do not change as I animate over time. But when I open the actual files I can see that these values in fact are different. And if I open the files individually (for example output_99.pvti) these properties are displayed correctly in ParaView. The problem appears when I open them as a group; it then keeps the properties of the first file. Does anyone else has this issue, and is there a way to solve this? Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From super_achie at hotmail.com Tue Jan 9 08:30:06 2018 From: super_achie at hotmail.com (Ahmad .) Date: Tue, 9 Jan 2018 13:30:06 +0000 Subject: [Paraview] Reading group of pvti files: vtkImageData is static over time In-Reply-To: References: , Message-ID: Sorry wrong link in my last e-mail. This is the correct one: https://gitlab.kitware.com/paraview/paraview/issues/17732 ________________________________ Van: Ahmad . Verzonden: dinsdag 9 januari 2018 14:27 Aan: paraview at paraview.org Onderwerp: Re: Reading group of pvti files: vtkImageData is static over time Was about to create a new question about this, but I remembered I had asked it already a few months back ;-) However I didn't receive a reply unfortunately. Does anyone have a clue? I also opened an issue about this on gitlab: https://gitlab.kitware.com/paraview/paraview/issues/17698 There are also the files that demonstrate the issue. Cheers! ________________________________ Van: A . Verzonden: donderdag 14 september 2017 17:41 Aan: paraview at paraview.org Onderwerp: Reading group of pvti files: vtkImageData is static over time Hello, I have a vtkImageData object that I write (with a XMLPImageDataWriter) every time step to a pvti file. When I open the group of output_*.pvti files, properties like X, Y, Z extent and range do not change as I animate over time. But when I open the actual files I can see that these values in fact are different. And if I open the files individually (for example output_99.pvti) these properties are displayed correctly in ParaView. The problem appears when I open them as a group; it then keeps the properties of the first file. Does anyone else has this issue, and is there a way to solve this? Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Jan 9 09:30:22 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Jan 2018 09:30:22 -0500 Subject: [Paraview] Scaling cylinder glyph's radius and height individually In-Reply-To: References: Message-ID: Hi Ahmad, Alas, reading the code of vtkGlyph3D, you cannot orient by a vector array different from the vector array used to do the scaling using the functionality in ParaView. You would have to modify either vtkPVGlyphFilter or its parent class vtkGlyph3D, to do this, and expose the new VTK class through a ParaView plugin [1]. A simple modification would be to add a ScaleMode, say VTK_SCALE_BY_NORMAL, to vtkGlyph3D, and then set the active normals in your data set to the vector by which you wish to scale. Then the "vectors" property could control the orientation and the active normals would control the scale. That's kind of kludgey, but it would be a fairly fast modification to make. HTH, Cory [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo On Tue, Jan 9, 2018 at 7:43 AM, Ahmad . wrote: > Just want to add that a programmatic (C++) solution is preferred rather than > using the GUI > > > I have a C++ pipeline where I can set the properties of the cylinder glyph > with vtkSMPropertyHelper. > > I have looked in filters.xml under vtkPVGlyphFilter source proxy (file > located in > /ParaViewCore/ServerManager/SMApplication/Resources) to see > what my options are, but there is only one "SetInputArrayToProcess" that > takes a vector attribute as input; nothing about a vector specifically for > orientation.. > > Suggestions on how to handle this issue, are very welcome; other approaches > than mine as well! > > ________________________________ > Van: Ahmad . > Verzonden: maandag 8 januari 2018 20:52 > Aan: paraview at paraview.org > Onderwerp: Re: Scaling cylinder glyph's radius and height individually > > > Following up on my own question, I found out that if I scale by "Vector > Components" it is possible to change the length of the cylinders with the > second vector index, and the radius with the first and third. I need to > rearrange my attribute data as such: [radius_x, length, radius_z]. If I keep > radius_x == radius_z, then the cylinder will not deform, and the cross > section stays a perfect circle. See the image in the attachment please. > > > BUT the problem here is that "vector components" also affects the > orientation of my cylindrical glyphs. I can turn this off in the properties > menu, but I need to orient my cylinders based on another vector attribute > data... > > > I feel I'm getting somewhere, but if someone could give me an idea on how to > now orient my glyphs with another vector data than the one I use now for > scaling, that would be much appreciated! > > > Best, > Ahmad > > ________________________________ > Van: Ahmad . > Verzonden: maandag 8 januari 2018 18:01 > Aan: paraview at paraview.org > Onderwerp: Scaling cylinder glyph's radius and height individually > > > Dear community, > > > When I try to scale cylindrical glyph objects by a 'Scalar', it scales both > the radius and height of the glyphs. > > Is there a way to scale the radius by a Scalar1, and the height be a > Scalar2? > > > I have an unstructured grid, and for each point I want to create a cylinder > that can have an arbitrary radius and height. > > I thought Glyphs would be the way to go, but I'm kind of stuck with this > issue. > > > Any help is much appreciated; or if you can recommend a different way to > achieve the above-mentioned please let me know! > > > Best, > > Ahmad > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From sdavyd at gmail.com Tue Jan 9 11:21:55 2018 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Tue, 9 Jan 2018 10:21:55 -0600 Subject: [Paraview] Glyph type options Message-ID: Hello, I wonder if there is any option to change SIZE of the glyphs (arrows or spheres)? They look enormously large and tend block each other on my scalar data set while using Glyph option. I will appreciate any tip. Sonya Davydycheva (713)498-6139 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Jan 9 11:32:10 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Jan 2018 11:32:10 -0500 Subject: [Paraview] Glyph type options In-Reply-To: References: Message-ID: Reduce the value of the "Scale Factor" property in the Glyph filter to reduce the glyph size. On Tue, Jan 9, 2018 at 11:21 AM, Sonya Davydycheva wrote: > Hello, > > I wonder if there is any option to change SIZE of the glyphs (arrows or > spheres)? They look enormously large and tend block each other on my scalar > data set while using Glyph option. > > I will appreciate any tip. > > Sonya Davydycheva > (713)498-6139 > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Tue Jan 9 13:53:05 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Jan 2018 13:53:05 -0500 Subject: [Paraview] Glyph type options In-Reply-To: References: Message-ID: On Tue, Jan 9, 2018 at 1:40 PM, Sonya Davydycheva wrote: > Thank you Cory, > > It works for me. > Is it possible to change the direction of arrows or cones: from x, as is > default for scalar data sets, to some other direction (say, negative z)? Yes, modify the Rotate property of the Glyph filter. Setting the Rotation to [0, 90, 0] should point the glyphs down the negative z axis. HTH, Cory > I appreciate your help! > > Sonya Davydycheva > (713)498-6139 > > > On Tue, Jan 9, 2018 at 10:32 AM, Cory Quammen > wrote: >> >> Reduce the value of the "Scale Factor" property in the Glyph filter to >> reduce the glyph size. >> >> On Tue, Jan 9, 2018 at 11:21 AM, Sonya Davydycheva >> wrote: >> > Hello, >> > >> > I wonder if there is any option to change SIZE of the glyphs (arrows or >> > spheres)? They look enormously large and tend block each other on my >> > scalar >> > data set while using Glyph option. >> > >> > I will appreciate any tip. >> > >> > Sonya Davydycheva >> > (713)498-6139 >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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: >> > https://paraview.org/mailman/listinfo/paraview >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From chaztikov at gmail.com Tue Jan 9 14:02:22 2018 From: chaztikov at gmail.com (Charlie Talbot) Date: Tue, 9 Jan 2018 14:02:22 -0500 Subject: [Paraview] Given 2D Displacement Field, Visualize Stretch as Geometric Change in Mesh Message-ID: Hi, this is my first time posting to paraview-users, and I am wondering how to visualize displacements by changes in the mesh rather than field quantities (for attached file, px and py, displacements in x and y coordinates). Is this possible in paraview? How so? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: out_980_0.vtu Type: application/octet-stream Size: 644511 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Jan 9 14:48:13 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Jan 2018 14:48:13 -0500 Subject: [Paraview] Given 2D Displacement Field, Visualize Stretch as Geometric Change in Mesh In-Reply-To: References: Message-ID: Charlie, You can use the Warp by Vector filter to warp the points in your data set according to a vector field. To get that vector field from your p_x and p_y scalar arrays, it is convenient to use the Python Calculator with the expression make_vector(p_x, p_y, np.zeros(p_x.shape)) Apply the Python Calculator filter to your data set, then add a Warp by Vector filter off the Python Calculator filter. Set the Vectors property to "result", the default name of the array produced by the Python Calculator. Hope that helps, Cory On Tue, Jan 9, 2018 at 2:02 PM, Charlie Talbot wrote: > Hi, this is my first time posting to paraview-users, and I am wondering how > to visualize displacements by changes in the mesh rather than field > quantities (for attached file, px and py, displacements in x and y > coordinates). > > Is this possible in paraview? How so? 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Tue Jan 9 16:03:14 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 9 Jan 2018 16:03:14 -0500 Subject: [Paraview] Glyph type options In-Reply-To: References: Message-ID: Replying back to the list so that others may benefit from and contribute to the conversation. Rotate is an advanced property. To show advanced properties, look in the Properties panel. Click the gear icon to the right of the text box that says "Search ...". You can also search for "Rotate" in that text box. HTH, Cory On Tue, Jan 9, 2018 at 3:54 PM, Sonya Davydycheva wrote: > Thanks, Cory, > > So far, I have a problem to find the Rotate property. Not in Orientation, > not in Scaling... where is it? > > Sonya Davydycheva > (713)498-6139 > > > On Tue, Jan 9, 2018 at 12:53 PM, Cory Quammen > wrote: >> >> On Tue, Jan 9, 2018 at 1:40 PM, Sonya Davydycheva >> wrote: >> > Thank you Cory, >> > >> > It works for me. >> > Is it possible to change the direction of arrows or cones: from x, as is >> > default for scalar data sets, to some other direction (say, negative z)? >> >> Yes, modify the Rotate property of the Glyph filter. Setting the >> Rotation to [0, 90, 0] should point the glyphs down the negative z >> axis. >> >> HTH, >> Cory >> >> > I appreciate your help! >> > >> > Sonya Davydycheva >> > (713)498-6139 >> > >> > >> > On Tue, Jan 9, 2018 at 10:32 AM, Cory Quammen >> > wrote: >> >> >> >> Reduce the value of the "Scale Factor" property in the Glyph filter to >> >> reduce the glyph size. >> >> >> >> On Tue, Jan 9, 2018 at 11:21 AM, Sonya Davydycheva >> >> wrote: >> >> > Hello, >> >> > >> >> > I wonder if there is any option to change SIZE of the glyphs (arrows >> >> > or >> >> > spheres)? They look enormously large and tend block each other on my >> >> > scalar >> >> > data set while using Glyph option. >> >> > >> >> > I will appreciate any tip. >> >> > >> >> > Sonya Davydycheva >> >> > (713)498-6139 >> >> > >> >> > >> >> > _______________________________________________ >> >> > Powered by www.kitware.com >> >> > >> >> > Visit other Kitware open-source projects 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: >> >> > https://paraview.org/mailman/listinfo/paraview >> >> > >> >> >> >> >> >> >> >> -- >> >> Cory Quammen >> >> Staff R&D Engineer >> >> Kitware, Inc. >> > >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From ygliao at ucdavis.edu Wed Jan 10 00:28:42 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Tue, 9 Jan 2018 23:28:42 -0600 Subject: [Paraview] Compile Error of Paraview on Maverick Message-ID: Hi, Trying to compile Paraview but get such error. I have no idea what is the reason. Here is terminal output: [ 3%] Built target protobuf [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o [ 3%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o [ 4%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o [ 4%] Building CXX object ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o [ 4%] Linking CXX executable ../../../../bin/protoc [ 4%] Built target protoc_compiler make: *** [all] Error 2 Mu compiler is using icc and icpc. have Qt5 installed. Thanks! -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From carolin.helbig at ufz.de Wed Jan 10 04:56:59 2018 From: carolin.helbig at ufz.de (Carolin Helbig) Date: Wed, 10 Jan 2018 10:56:59 +0100 Subject: [Paraview] ParaView - Variables and different Time Steps Message-ID: Dear ParaView team, I read a post at the ParaView website concerning variables and different time steps (see https://public.kitware.com/pipermail/paraview/2014-May/031054.html). I have a similar problem and I want to access values from different time steps using the programmable filter with multiple inputs. I unfortunately have no idea how to access other time steps using the programmable filter. Could you give me some advice or a hint where I can find detailed information about that issue? I would be very happy if you could help me. Best regards, Carolin. -- Dr. Carolin Helbig Department Umweltinformatik Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ Permoserstra?e 15 I 04318 Leipzig Tel.: +49 341 235 - 1032 Email: carolin.helbig at ufz.de WWW: http://www.ufz.de https://www.ufz.de/index.php?en=31616 Sitz der Gesellschaft Registergericht: Amtsgericht Leipzig Handelsregister Nr.: B 4703 Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Dr. h.c. Georg Teutsch Administrative Gesch?ftsf?hrerin: Prof. Dr. Heike Gra?mann From cory.quammen at kitware.com Wed Jan 10 09:02:07 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 10 Jan 2018 09:02:07 -0500 Subject: [Paraview] Compile Error of Paraview on Maverick In-Reply-To: References: Message-ID: I don't see any errors in the terminal output you've posted. Are there errors further back in the terminal output history? Thanks, Cory On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao wrote: > Hi, > > Trying to compile Paraview but get such error. I have no idea what is the > reason. > > Here is terminal output: > [ 3%] Built target protobuf > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o > [ 3%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o > [ 4%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o > [ 4%] Building CXX object > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o > [ 4%] Linking CXX executable ../../../../bin/protoc > [ 4%] Built target protoc_compiler > make: *** [all] Error 2 > > Mu compiler is using icc and icpc. have Qt5 installed. > Thanks! > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From utkarsh.ayachit at kitware.com Wed Jan 10 10:06:52 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 10 Jan 2018 10:06:52 -0500 Subject: [Paraview] ParaView - Variables and different Time Steps In-Reply-To: References: Message-ID: The easiest way to do such a thing is as follows: 1. Apply Extract TimeSteps filter to your reader/source to choose the timesteps of interest. 2. Apply Group TimeSteps filter to it to group the timesteps extracted in (1) into a mutliblock dataset with 1 block for each selected timestep in order. 3. Now add your programmable filter to (2) and you can access all timesteps of interest as blocks in your input. You can skip (1) if you want to use all timesteps, and not just a subset. Utkarsh On Wed, Jan 10, 2018 at 4:56 AM, Carolin Helbig wrote: > Dear ParaView team, > > I read a post at the ParaView website concerning variables and different > time steps (see > https://public.kitware.com/pipermail/paraview/2014-May/031054.html). I have > a similar problem and I want to access values from different time steps > using the programmable filter with multiple inputs. I unfortunately have no > idea how to access other time steps using the programmable filter. Could you > give me some advice or a hint where I can find detailed information about > that issue? I would be very happy if you could help me. > > Best regards, > Carolin. > > -- > Dr. Carolin Helbig > Department Umweltinformatik > Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ > Permoserstra?e 15 I 04318 Leipzig > Tel.: +49 341 235 - 1032 > Email: carolin.helbig at ufz.de > WWW: http://www.ufz.de > https://www.ufz.de/index.php?en=31616 > > > Sitz der Gesellschaft > Registergericht: Amtsgericht Leipzig > Handelsregister Nr.: B 4703 > Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus > Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Dr. h.c. Georg Teutsch > Administrative Gesch?ftsf?hrerin: Prof. Dr. Heike Gra?mann > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview From cory.quammen at kitware.com Wed Jan 10 11:10:23 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 10 Jan 2018 11:10:23 -0500 Subject: [Paraview] Given 2D Displacement Field, Visualize Stretch as Geometric Change in Mesh In-Reply-To: References: Message-ID: Great, thanks for the follow up. Cory On Wed, Jan 10, 2018 at 10:58 AM, Charlie Talbot wrote: > That seems to work, thank you very much! I had some issues with Paraview 5.0 > (crashed upon python calculation) but this did indeed work after upgrading > to Paraview 5.4 > > On Tue, Jan 9, 2018 at 4:02 PM, Charlie Talbot wrote: >> >> Thanks Cory! >> >> Knowing the procedure is very helpful. >> >> I am not well-versed in paraview, so I am referring to the wiki to see how >> to use the Python Calculator and execute the other steps. Will update. >> Thanks again >> >> On Tue, Jan 9, 2018 at 2:48 PM, Cory Quammen >> wrote: >>> >>> Charlie, >>> >>> You can use the Warp by Vector filter to warp the points in your data >>> set according to a vector field. To get that vector field from your >>> p_x and p_y scalar arrays, it is convenient to use the Python >>> Calculator with the expression >>> >>> make_vector(p_x, p_y, np.zeros(p_x.shape)) >>> >>> Apply the Python Calculator filter to your data set, then add a Warp >>> by Vector filter off the Python Calculator filter. Set the Vectors >>> property to "result", the default name of the array produced by the >>> Python Calculator. >>> >>> Hope that helps, >>> Cory >>> >>> On Tue, Jan 9, 2018 at 2:02 PM, Charlie Talbot >>> wrote: >>> > Hi, this is my first time posting to paraview-users, and I am wondering >>> > how >>> > to visualize displacements by changes in the mesh rather than field >>> > quantities (for attached file, px and py, displacements in x and y >>> > coordinates). >>> > >>> > Is this possible in paraview? How so? 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: >>> > https://paraview.org/mailman/listinfo/paraview >>> > >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >> >> > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From omid.mahabadi at geomechanica.com Wed Jan 10 11:20:58 2018 From: omid.mahabadi at geomechanica.com (Omid Mahabadi) Date: Wed, 10 Jan 2018 11:20:58 -0500 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser In-Reply-To: <8e62d5a74dfe45e7bbf29dba5535cb29@ES08AMSNLNT.srn.sandia.gov> References: <8e62d5a74dfe45e7bbf29dba5535cb29@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Ken, Thanks for the detailed reply. I could not get anything out of the settings dialog as per your suggestion. Did you have a combination of those settings that might work for my files? I can also see the image you sent; that's usually fine. However, I typically apply a Threshold filter to the _basic_ files (Scalar: alive; min: 0.1; max: 1). In this case, the _basic_ object is always drawn in front of the _broken_joint_ object. In addition, I visualize dozens of these files every day so Transforming every single object is a bit tedious. Thank you, Omid On Mon, Jan 8, 2018 at 5:56 PM, Moreland, Kenneth wrote: > Omid, > > > > I am unable to replicate your issue in ParaView 5.4.1. When I loaded your > data and showed the broken_joint data in wireframe, I was clearly able to > see the lines of broken_joint over the polygons of basic. (See the attached > image.) > > > > The problem you are getting is likely caused by z-buffer fighting in the > rendering. This happens when two objects are the exact same distance from > the viewer, as I believe is the case in your data. Wanting to draw lines on > top of polygons is common enough that there are some corrections to help > the rendering determine what to draw in front. Perhaps by changing the > settings on resolving coincident topology will resolve your issue. You can > find them by opening the ParaView settings dialog (Edit ? Settings), > clicking on the Render View tab, and turning on the advanced options. The > options you are looking for are ?Resolve Coincident Topology,? ?Polygon > Offset Parameters?, and ?Z Shift.? > > > > Another, possibly easier, solution it to simply move the lines of the > broken_joint data closer to the camera. Click the broken_joint object and > add the Transform filter. Change the Translate parameter to 0, 0, 1 and > apply. That should shift the wireframe forward enough to see it properly. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Omid > Mahabadi > *Sent:* Monday, January 8, 2018 2:30 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi, > > I use ParaView to visualize data of our simulations using the Unstructured > Grid data format. Up until ParaView 4.x everything worked fine: we > typically visualize one set of data files as Surfaces and another as > Wireframe. The Wireframe dataset refers to "fracture lines" in our > simulations. > > See below how the simulation looked like in PV version 4.x. You could > clearly see the line around the boundaries of the model. > > [image: Inline image 1] > > However, in PV 5.x the lines are not fully visualized as if they're hidden > below the other data object: > > [image: Inline image 2] > > I've tried a few versions of 5.x but they all behave similarly. > > Does anyone know what might be going on here? Is this a bug / removed > featured from the new version or should I do something different with 5.x? > I've noticed that this issue does not happen consistently. I've seen the > issue on both Linux Mint 17.3 (64 bit) and Ubuntu > > I've attached two example VTU files. Please visualize the second file as > Wireframe (_broken_joint). Below are two large VTU files. > > https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 > > > > Can someone else reproduce this issue? > > > > I'd really hope to start using ParaView 5 since it finally has the > long-missing Reload Files options! > > Thank you, > > Omid > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 2607 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2964 bytes Desc: not available URL: From wascott at sandia.gov Wed Jan 10 12:32:55 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 10 Jan 2018 17:32:55 +0000 Subject: [Paraview] [EXTERNAL] ParaView - Variables and different Time Steps In-Reply-To: References: Message-ID: <3b1d284582bd445faceec3b7ea1a2a22@ES01AMSNLNT.srn.sandia.gov> Here is an answer from Cory last summer, off list, to one of my customers: On Tue, Jul 11, 2017 at 2:50 PM, Cory Quammen wrote: > Dear , > > I think the Force Time filter will come in handy here for this use > case. It can be used to "freeze" a dataset at a certain timestep. > > * Load can.ex2 > * Add a Force Time filter. Set the timestep to the one whose > displacement you want to be zero. The output of this filter is the > can.ex2 dataset "frozen" at the chosen timestep. It will not change as > you advance through time. > * Select both can.ex2 and the ForceTime1 sources in the Pipeline > Browser. Note that the original can.ex2 source will update as the > timestep changes, but the ForceTime1 source will not change. > * Add a Python Calculator filter to subtract the displacement in the > "frozen" data set from the current timestep in can.ex2. Set the > expression to > > inputs[0].PointData['DISPL'] - inputs[1].PointData['DISPL'] > > The order of inputs into the Python Calculator is not well defined, so > you may need to swap the indices in inputs[0] and inputs[1] to get the > correct sign on the result, but this should work. > * Finally, add a Plot Selection over Time filter. This filter will run > over all time steps, subtracting the data from the current timestep > from the data in the "frozen" timestep produced by the Force Time > filter, and plot the result in a graph. The first timestep should have > a value of 0. > > Please let me know if this approach isn't clear or doesn't work. > > Best regards, > Cory > > > On Tue, Jul 11, 2017 at 1:27 PM, Scott, W Alan wrote: >> Morning team, >> >> , one of my customers, has been working on an issue for a while. >> Ken and Andy have replied, but I don?t think we understood, or >> answered, problem. Here is what he is trying to do, using can.exo as an example. >> >> >> >> I assume this will require the Programmable Filter ? if so, mind >> voodooing up the source? >> >> >> >> I believe that basically wants to be able to subtract two >> timesteps from each other. I thought I had an example from a >> previous thread, but can?t find it. >> >> >> >> Thanks! >> >> >> >> Alan >> >> >> >> >> >> > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Carolin Helbig > Sent: Wednesday, January 10, 2018 2:57 AM > To: paraview at paraview.org > Subject: [EXTERNAL] [Paraview] ParaView - Variables and different Time > Steps > > Dear ParaView team, > > I read a post at the ParaView website concerning variables and different time > steps (see https://public.kitware.com/pipermail/paraview/2014- > May/031054.html). I have a similar problem and I want to access values from > different time steps using the programmable filter with multiple inputs. I > unfortunately have no idea how to access other time steps using the > programmable filter. Could you give me some advice or a hint where I can > find detailed information about that issue? I would be very happy if you > could help me. > > Best regards, > Carolin. > > -- > Dr. Carolin Helbig > > Department Umweltinformatik > Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ Permoserstra?e 15 I > 04318 Leipzig > Tel.: +49 341 235 - 1032 > Email: carolin.helbig at ufz.de > WWW: http://www.ufz.de > https://www.ufz.de/index.php?en=31616 > > > > Sitz der Gesellschaft > Registergericht: Amtsgericht Leipzig > Handelsregister Nr.: B 4703 > Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus Wissenschaftlicher > Gesch?ftsf?hrer: Prof. Dr. Dr. h.c. Georg Teutsch > Administrative Gesch?ftsf?hrerin: Prof. Dr. Heike Gra?mann > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview From kmorel at sandia.gov Wed Jan 10 12:45:21 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Wed, 10 Jan 2018 17:45:21 +0000 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Message-ID: <5494570b5c884d07be092207a852d00c@ES08AMSNLNT.srn.sandia.gov> Omid, Even after applying the Threshold filter, I cannot replicate your problem. I?ve tried on both ParaView 5.2 and 5.4. Both work fine for me. My settings are the default. ?Resolve Coincident Topology? is set to ?Shift z-buffer when rendering lines and points?. ?Z Shift? is set to 0.002. (Polygon offset should not matter in this mode.) You could try increasing the Z Shift to fix the problem. Note that you have to restart ParaView in order for these options to take effect. It is possible that there is some quirk with the rendering system on your computer that does not implement the topology resolution. Do you happen to have another computer on which you can try to run this? I also noted that if I turn on OSPRay rendering, I do get the missing line issue you describe. There might be other display/rendering parameters that cause issues. But the defaults should be fine, so unless you have done some tinkering you should be OK. -Ken From: Omid Mahabadi [mailto:omid.mahabadi at geomechanica.com] Sent: Wednesday, January 10, 2018 9:21 AM To: Moreland, Kenneth Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi Ken, Thanks for the detailed reply. I could not get anything out of the settings dialog as per your suggestion. Did you have a combination of those settings that might work for my files? I can also see the image you sent; that's usually fine. However, I typically apply a Threshold filter to the _basic_ files (Scalar: alive; min: 0.1; max: 1). In this case, the _basic_ object is always drawn in front of the _broken_joint_ object. In addition, I visualize dozens of these files every day so Transforming every single object is a bit tedious. Thank you, Omid On Mon, Jan 8, 2018 at 5:56 PM, Moreland, Kenneth > wrote: Omid, I am unable to replicate your issue in ParaView 5.4.1. When I loaded your data and showed the broken_joint data in wireframe, I was clearly able to see the lines of broken_joint over the polygons of basic. (See the attached image.) The problem you are getting is likely caused by z-buffer fighting in the rendering. This happens when two objects are the exact same distance from the viewer, as I believe is the case in your data. Wanting to draw lines on top of polygons is common enough that there are some corrections to help the rendering determine what to draw in front. Perhaps by changing the settings on resolving coincident topology will resolve your issue. You can find them by opening the ParaView settings dialog (Edit ? Settings), clicking on the Render View tab, and turning on the advanced options. The options you are looking for are ?Resolve Coincident Topology,? ?Polygon Offset Parameters?, and ?Z Shift.? Another, possibly easier, solution it to simply move the lines of the broken_joint data closer to the camera. Click the broken_joint object and add the Transform filter. Change the Translate parameter to 0, 0, 1 and apply. That should shift the wireframe forward enough to see it properly. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Omid Mahabadi Sent: Monday, January 8, 2018 2:30 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi, I use ParaView to visualize data of our simulations using the Unstructured Grid data format. Up until ParaView 4.x everything worked fine: we typically visualize one set of data files as Surfaces and another as Wireframe. The Wireframe dataset refers to "fracture lines" in our simulations. See below how the simulation looked like in PV version 4.x. You could clearly see the line around the boundaries of the model. [Inline image 1] However, in PV 5.x the lines are not fully visualized as if they're hidden below the other data object: [Inline image 2] I've tried a few versions of 5.x but they all behave similarly. Does anyone know what might be going on here? Is this a bug / removed featured from the new version or should I do something different with 5.x? I've noticed that this issue does not happen consistently. I've seen the issue on both Linux Mint 17.3 (64 bit) and Ubuntu I've attached two example VTU files. Please visualize the second file as Wireframe (_broken_joint). Below are two large VTU files. https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 Can someone else reproduce this issue? I'd really hope to start using ParaView 5 since it finally has the long-missing Reload Files options! Thank you, Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2964 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2607 bytes Desc: image002.jpg URL: From Alexander.Straub at visus.uni-stuttgart.de Thu Jan 11 07:51:00 2018 From: Alexander.Straub at visus.uni-stuttgart.de (Alexander Straub) Date: Thu, 11 Jan 2018 12:51:00 +0000 Subject: [Paraview] CS Wrapper for plugins ignores preprocessor variable Message-ID: Hello ParaView community, while programming a ParaView filter I encountered a problem with the CS wrapping. In the following I will describe the problem. The ParaView version I am currently using is 5.3.0. In my project I created a filter that has one of two possible outputs, depending on a preprocessor variable. The idea behind this is, that there is a define "_DETAILED" that can be set via cmake. If it is not defined, a vtkRectilinearGrid is created. It it is defined, the plugin outputs a multiblock data set with an additional polydata object. The problem now is that the generation of the MyPluginClientServer.cxx doesn't account for the preprocessor variable and just takes the last defined algorithm. In my case, this means that in the MyPluginClientServer.cxx file the line is always written as const char* commandName = "vtkRectilinearGridAlgorithm"; This leads to a runtime error when applying the filter because it erroneously tries to downcast the plugin to the wrong algorithm data type. Here the error message: ERROR: In T:\paraview\source\ParaView-v5.3.0\ParaViewCore\ServerImplementation\Core\vtkPVSessionCore.cxx, line 371 vtkPVSessionCore (000001D0D3633550): Cannot cast MyPlugin object to vtkRectilinearGridAlgorithm. This probably means the class specifies the incorrect superclass in vtkTypeMacro. while processing Message 0 = Invoke Argument 0 = vtk_object_pointer {MyPlugin (000001D080685680)} Argument 1 = string_value {SetInputConnection} Argument 2 = vtk_object_pointer {vtkAlgorithmOutput (000001D0E3D49AB0)} The following is how I create the plugin class: [...] #ifdef _DETAILED // Create multi block data set for additional output as polydata #include "vtkMultiBlockDataSetAlgorithm.h" class VTK_EXPORT MyPlugin : public vtkMultiBlockDataSetAlgorithm { public: static MyPlugin* New(); vtkTypeMacro(MyPlugin, vtkMultiBlockDataSetAlgorithm); #else // Create rectilinear grid #include "vtkRectilinearGridAlgorithm.h" class VTK_EXPORT MyPlugin : public vtkRectilinearGridAlgorithm { public: static MyPlugin* New(); vtkTypeMacro(MyPlugin, vtkRectilinearGridAlgorithm); #endif [...] The work-around so far is to manually edit the MyPluginClientServer.cxx file to use the correct algorithm base class. This however is very unpractical as the code is supposed to be distributed to others. As I don't have enough knowledge of the inner workings of ParaView, especially the wrapping that is done, I don't know where or how to fix this. I would be glad if someone was able to help me with this issue. Kind regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Jan 11 08:29:26 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 11 Jan 2018 08:29:26 -0500 Subject: [Paraview] CS Wrapper for plugins ignores preprocessor variable In-Reply-To: References: Message-ID: Two approaches: 1. put the two is separate headers and pick the approach header based on if _DETAILED was defined at cmake configure time. 2. change header as follows: #ifndef __VTK_WRAP__ #ifdef __DETAILED #define vtkAlgorithm vtkMultiBlockDataSetAlgorithm #else #define vtkAlgorithm vtkRectilinearGridAlgorithm #endif #endif class ... MyPlugin: public vtkAlgorithm { static MyPlugin* New(); vtkTypeMacro(MyPlugin, vtkRectilinearGridAlgorithm); #ifndef __VTK_WRAP__ #undef vtkAlgorithm #endif }; Here, the wrapper will not provide any API on the the real superclass but most likely, you only care about API in vtkAlgorithm to be wrapped. See vtkFloatArray as an example on how this is done. Utkarsh On Thu, Jan 11, 2018 at 7:51 AM, Alexander Straub wrote: > Hello ParaView community, > > > > while programming a ParaView filter I encountered a problem with the CS > wrapping. In the following I will describe the problem. The ParaView version > I am currently using is 5.3.0. > > > > In my project I created a filter that has one of two possible outputs, > depending on a preprocessor variable. The idea behind this is, that there is > a define ?_DETAILED? that can be set via cmake. If it is not defined, a > vtkRectilinearGrid is created. It it is defined, the plugin outputs a > multiblock data set with an additional polydata object. > > > > The problem now is that the generation of the MyPluginClientServer.cxx > doesn?t account for the preprocessor variable and just takes the last > defined algorithm. In my case, this means that in the > MyPluginClientServer.cxx file the line is always written as > > const char* commandName = "vtkRectilinearGridAlgorithm"; > > This leads to a runtime error when applying the filter because it > erroneously tries to downcast the plugin to the wrong algorithm data type. > > > > Here the error message: > > ERROR: In > T:\paraview\source\ParaView-v5.3.0\ParaViewCore\ServerImplementation\Core\vtkPVSessionCore.cxx, > line 371 > > vtkPVSessionCore (000001D0D3633550): Cannot cast MyPlugin object to > vtkRectilinearGridAlgorithm. This probably means the class specifies the > incorrect superclass in vtkTypeMacro. > > while processing > > Message 0 = Invoke > > Argument 0 = vtk_object_pointer {MyPlugin (000001D080685680)} > > Argument 1 = string_value {SetInputConnection} > > Argument 2 = vtk_object_pointer {vtkAlgorithmOutput (000001D0E3D49AB0)} > > > > The following is how I create the plugin class: > > [?] > > #ifdef _DETAILED > > // Create multi block data set for additional output as polydata > > #include "vtkMultiBlockDataSetAlgorithm.h" > > > > class VTK_EXPORT MyPlugin : public vtkMultiBlockDataSetAlgorithm > > { > > public: > > static MyPlugin* New(); > > vtkTypeMacro(MyPlugin, vtkMultiBlockDataSetAlgorithm); > > #else > > // Create rectilinear grid > > #include "vtkRectilinearGridAlgorithm.h" > > > > class VTK_EXPORT MyPlugin : public vtkRectilinearGridAlgorithm > > { > > public: > > static MyPlugin* New(); > > vtkTypeMacro(MyPlugin, vtkRectilinearGridAlgorithm); > > #endif > > [?] > > > > The work-around so far is to manually edit the MyPluginClientServer.cxx file > to use the correct algorithm base class. This however is very unpractical as > the code is supposed to be distributed to others. As I don?t have enough > knowledge of the inner workings of ParaView, especially the wrapping that is > done, I don?t know where or how to fix this. I would be glad if someone was > able to help me with this issue. > > > > Kind regards, > > 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: > https://paraview.org/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Thu Jan 11 11:32:17 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 11 Jan 2018 11:32:17 -0500 Subject: [Paraview] ParaView - Variables and different Time Steps In-Reply-To: <1af95986-5dfa-f3f3-9d37-17981d03f376@ufz.de> References: <1af95986-5dfa-f3f3-9d37-17981d03f376@ufz.de> Message-ID: Carolin, Check this post out: https://blog.kitware.com/improved-vtk-numpy-integration-part-5/ The input to your filter as a vtkMultiBlockDataSet with each block being a timestep, you can access individual arrays as described in the post or you can use the following approach: from paraview.vtk.numpy_interface import dataset_adapter as dsa dataset_time0 = dsa.WrapDataObject(inputs[0].GetBlock(0)) dataset_time1 = dsa.WrapDataObject(inputs[0].GetBlock(1)) etc. Utkarsh On Thu, Jan 11, 2018 at 5:34 AM, Carolin Helbig wrote: > Dear Utkarsh, > > thank you very much for your help. It looks like it would work for my case, > but I have some more question. How can I access the different time steps in > the programmable filter? I thought they are the inputs (inputs[0], > inputs[1], ...), but that doesn't work. > > Thanks again! > > Carolin. > > > > Am 10.01.2018 um 16:06 schrieb Utkarsh Ayachit: >> >> The easiest way to do such a thing is as follows: >> >> 1. Apply Extract TimeSteps filter to your reader/source to choose the >> timesteps of interest. >> 2. Apply Group TimeSteps filter to it to group the timesteps extracted >> in (1) into a mutliblock dataset with 1 block for each selected >> timestep in order. >> 3. Now add your programmable filter to (2) and you can access all >> timesteps of interest as blocks in your input. >> >> You can skip (1) if you want to use all timesteps, and not just a subset. >> >> Utkarsh >> >> On Wed, Jan 10, 2018 at 4:56 AM, Carolin Helbig >> wrote: >>> >>> Dear ParaView team, >>> >>> I read a post at the ParaView website concerning variables and different >>> time steps (see >>> https://public.kitware.com/pipermail/paraview/2014-May/031054.html). I >>> have >>> a similar problem and I want to access values from different time steps >>> using the programmable filter with multiple inputs. I unfortunately have >>> no >>> idea how to access other time steps using the programmable filter. Could >>> you >>> give me some advice or a hint where I can find detailed information about >>> that issue? I would be very happy if you could help me. >>> >>> Best regards, >>> Carolin. >>> >>> -- >>> Dr. Carolin Helbig >>> Department Umweltinformatik >>> Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ >>> Permoserstra?e 15 I 04318 Leipzig >>> Tel.: +49 341 235 - 1032 >>> Email: carolin.helbig at ufz.de >>> WWW: http://www.ufz.de >>> https://www.ufz.de/index.php?en=31616 >>> >>> >>> Sitz der Gesellschaft >>> Registergericht: Amtsgericht Leipzig >>> Handelsregister Nr.: B 4703 >>> Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus >>> Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Dr. h.c. Georg Teutsch >>> Administrative Gesch?ftsf?hrerin: Prof. Dr. Heike Gra?mann >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects 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: >>> https://paraview.org/mailman/listinfo/paraview > > > -- > Dr. Carolin Helbig > Department Umweltinformatik > Helmholtz-Zentrum f?r Umweltforschung GmbH - UFZ > Permoserstra?e 15 I 04318 Leipzig > Tel.: +49 341 235 - 1032 > Email: carolin.helbig at ufz.de > WWW: http://www.ufz.de > https://www.ufz.de/index.php?en=31616 > > > Sitz der Gesellschaft > Registergericht: Amtsgericht Leipzig > Handelsregister Nr.: B 4703 > Vorsitzender des Aufsichtsrats: MinDirig Wilfried Kraus > Wissenschaftlicher Gesch?ftsf?hrer: Prof. Dr. Dr. h.c. Georg Teutsch > Administrative Gesch?ftsf?hrerin: Prof. Dr. Heike Gra?mann > From hero.jairaj at gmail.com Thu Jan 11 19:47:17 2018 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Thu, 11 Jan 2018 18:47:17 -0600 Subject: [Paraview] Plot selection over time for threshold In-Reply-To: <2d33eeb478504c768129e6cac9ad377f@ES08AMSNLNT.srn.sandia.gov> References: <2d33eeb478504c768129e6cac9ad377f@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Ken This is EXACTLY what I wanted! Thank you so much. Is it possible to create a custom filter to do this, so that I dont have to follow these steps? Jairaj Mathur Mechanical Engineering Washington University in St Louis On Jan 8, 2018 2:23 PM, "Moreland, Kenneth" wrote: > Jairaj, > > > > I?m not sure what exactly you mean by ?the threshold,? but there are many > ways to plot the average of a threshold-selection of cells over time. > > > > The most straightforward way is to open up the Find Data dialog box, > select the cells you want to plot, and then create a Plot Selection Over > Time filter. Specifically, here are steps that will do such a plot: > > > > 1. Open your data in ParaView. Apply. > 2. Open the Find Data dialog box (Edit ? Find Data or click the > toolbar button on the top toolbar). > 3. In the top row, set the left combo box to either ?Cell(s)? or > ?Point(s)? depending on whether your data is cell or point data. In the > longer combo box to the right, make sure that your data is selected. > 4. In the second row, set the left combo box to the field you want to > threshold on. Change the next combo box to say ?is between?. This will > create to text edit boxes where you enter the minimum and maximum values of > your threshold range. > 5. Click the ?Run Selection Query? button. This will select all cells > or points matching your threshold. > 6. Click the ?Plot Selection Over Time? at the bottom of the Find Data > dialog box. This will create a filter in the pipeline browser. > 7. Close the Find Data dialog box and click the Apply button. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Jairaj > Mathur > *Sent:* Friday, January 5, 2018 4:53 PM > *To:* paraview > *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold > > > > Dear all > > > > How can I plot the average over time of only the threshold cells? It > should only average the cells that are within the threshold. > > > > Thanks a lot! > > > > -- > > Jairaj Mathur, > Mechanical Engineering > > Washington University in St Louis > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aron.helser at kitware.com Fri Jan 12 10:31:17 2018 From: aron.helser at kitware.com (Aron Helser) Date: Fri, 12 Jan 2018 10:31:17 -0500 Subject: [Paraview] Plot selection over time for threshold In-Reply-To: References: <2d33eeb478504c768129e6cac9ad377f@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Jairaj, This is exactly what the 'trace' and python macro functions are for. Take a look in the Tools menu, and choose Start Trace. If you check the 'show incremental trace' button you can see it's recording a python script as you take actions in the GUI. When you've completed your steps, you can choose 'save as python macro' and you'll get a button that can repeat the steps. To go more in-depth, look for information on python scripting in Paraview! Regards, Aron On Thu, Jan 11, 2018 at 7:47 PM, Jairaj Mathur wrote: > Hi Ken > > This is EXACTLY what I wanted! Thank you so much. Is it possible to create > a custom filter to do this, so that I dont have to follow these steps? > > Jairaj Mathur > Mechanical Engineering > Washington University in St Louis > > On Jan 8, 2018 2:23 PM, "Moreland, Kenneth" wrote: > >> Jairaj, >> >> >> >> I?m not sure what exactly you mean by ?the threshold,? but there are many >> ways to plot the average of a threshold-selection of cells over time. >> >> >> >> The most straightforward way is to open up the Find Data dialog box, >> select the cells you want to plot, and then create a Plot Selection Over >> Time filter. Specifically, here are steps that will do such a plot: >> >> >> >> 1. Open your data in ParaView. Apply. >> 2. Open the Find Data dialog box (Edit ? Find Data or click the >> toolbar button on the top toolbar). >> 3. In the top row, set the left combo box to either ?Cell(s)? or >> ?Point(s)? depending on whether your data is cell or point data. In the >> longer combo box to the right, make sure that your data is selected. >> 4. In the second row, set the left combo box to the field you want to >> threshold on. Change the next combo box to say ?is between?. This will >> create to text edit boxes where you enter the minimum and maximum values of >> your threshold range. >> 5. Click the ?Run Selection Query? button. This will select all cells >> or points matching your threshold. >> 6. Click the ?Plot Selection Over Time? at the bottom of the Find >> Data dialog box. This will create a filter in the pipeline browser. >> 7. Close the Find Data dialog box and click the Apply button. >> >> >> >> -Ken >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Jairaj >> Mathur >> *Sent:* Friday, January 5, 2018 4:53 PM >> *To:* paraview >> *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold >> >> >> >> Dear all >> >> >> >> How can I plot the average over time of only the threshold cells? It >> should only average the cells that are within the threshold. >> >> >> >> Thanks a lot! >> >> >> >> -- >> >> Jairaj Mathur, >> Mechanical Engineering >> >> Washington University in St Louis >> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From segalemb at usp.br Fri Jan 12 13:15:11 2018 From: segalemb at usp.br (Sergio Emanuel Galembeck) Date: Fri, 12 Jan 2018 16:15:11 -0200 Subject: [Paraview] error when compiling Paraview 5.4 macOS 10.13 In-Reply-To: References: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> Message-ID: <79A9FEE9-268F-40F4-984B-54765E96877B@usp.br> Cory, Sorry, I am trying to install Paraview 5.2.0. Even doing 'git submodule update ?init? the error that I noticed continues. What do you suggest? Thanks, Sergio > On 8 Jan 2018, at 12:38, Cory Quammen wrote: > > Sergio, > > This problem was fixed in November 2016, so I am surprised you are > running into it. Current ParaView master includes VTK that contains > the commit > > commit 33631146a85dfa64433c3997f166cbaa96bedee9 > Author: gnzlbg > Date: Wed Nov 23 05:29:14 2016 -0500 > > [bugfix] Invalid pointer comparisons. > > The code was performing a null pointer check > using (void*)Data <= 0 instead of Data == NULL > (or nullptr). This results in a compilation > error with clang trunk (future clang 4.0). > > diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx > b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx > index 1e88f08..e89e153 100644 > --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx > +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx > @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){ > XdmfErrorMessage("Cannot Receive Message of Length = " << Msg->Length); > return(XDMF_FAIL); > } > - if(Msg->Data <= 0 ){ > + if(Msg->Data == NULL){ > XdmfErrorMessage("Cannot Receive Message into Data Buffer = " > << Msg->Length); > return(XDMF_FAIL); > } > @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){ > XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length); > return(XDMF_FAIL); > } > - if(Msg->Data <= 0 ){ > + if(Msg->Data == NULL) { > XdmfErrorMessage("Cannot Send Message from Data Buffer = " << > Msg->Length); > return(XDMF_FAIL); > } > > Make sure you have run `git submodule update` to ensure your VTK is up to date. > > HTH, > Cory > > On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck > wrote: >> Hello, >> >> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using >> software from MacPorts 2.4.2. After a successful configuration, >> the make -j 4 command give the following error: >> >> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18: >> error: >> ordered comparison between pointer and zero ('void *' and 'int') >> if(Msg->Data <= 0 ){ >> >> How can I solve this problem? >> >> Best regards, >> >> Sergio >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From Nicholas.Stegmeier at sdstate.edu Fri Jan 12 13:31:16 2018 From: Nicholas.Stegmeier at sdstate.edu (Stegmeier, Nicholas) Date: Fri, 12 Jan 2018 18:31:16 +0000 Subject: [Paraview] Generating Surface Plot from 2D rectilinear grid + scalar value (x, y, f(x, y)) Message-ID: Hello, I have 2D rectilinear data and associated scalar values at each grid point. I can generate a colorplot in Paraview but would like to make a surface plot that has color and height, where the height represents the magnitude of the scalar. MATLAB's surface plot function surf(x,y,f) is a good example. I have attached some of my data files as an example. Any help would be appreciated. Thank you, Nick Stegmeier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: data_ex.zip Type: application/zip Size: 2471 bytes Desc: data_ex.zip URL: From cory.quammen at kitware.com Fri Jan 12 13:37:05 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 12 Jan 2018 13:37:05 -0500 Subject: [Paraview] error when compiling Paraview 5.4 macOS 10.13 In-Reply-To: <79A9FEE9-268F-40F4-984B-54765E96877B@usp.br> References: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> <79A9FEE9-268F-40F4-984B-54765E96877B@usp.br> Message-ID: Alas, this fix was made after ParaView 5.2 was released. If you really need ParaView 5.2 instead of 5.3 or 5.4.1, you can apply the patch in my previous email to the VTK subdirectory in the ParaView source code. As you can see, just two lines need to be modified, so you could easily do this manually. Hope that helps, Cory On Fri, Jan 12, 2018 at 1:15 PM, Sergio Emanuel Galembeck wrote: > Cory, > > Sorry, I am trying to install Paraview 5.2.0. Even doing 'git submodule update ?init? > the error that I noticed continues. > > What do you suggest? > > Thanks, > > Sergio > >> On 8 Jan 2018, at 12:38, Cory Quammen wrote: >> >> Sergio, >> >> This problem was fixed in November 2016, so I am surprised you are >> running into it. Current ParaView master includes VTK that contains >> the commit >> >> commit 33631146a85dfa64433c3997f166cbaa96bedee9 >> Author: gnzlbg >> Date: Wed Nov 23 05:29:14 2016 -0500 >> >> [bugfix] Invalid pointer comparisons. >> >> The code was performing a null pointer check >> using (void*)Data <= 0 instead of Data == NULL >> (or nullptr). This results in a compilation >> error with clang trunk (future clang 4.0). >> >> diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >> b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >> index 1e88f08..e89e153 100644 >> --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >> +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >> @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){ >> XdmfErrorMessage("Cannot Receive Message of Length = " << Msg->Length); >> return(XDMF_FAIL); >> } >> - if(Msg->Data <= 0 ){ >> + if(Msg->Data == NULL){ >> XdmfErrorMessage("Cannot Receive Message into Data Buffer = " >> << Msg->Length); >> return(XDMF_FAIL); >> } >> @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){ >> XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length); >> return(XDMF_FAIL); >> } >> - if(Msg->Data <= 0 ){ >> + if(Msg->Data == NULL) { >> XdmfErrorMessage("Cannot Send Message from Data Buffer = " << >> Msg->Length); >> return(XDMF_FAIL); >> } >> >> Make sure you have run `git submodule update` to ensure your VTK is up to date. >> >> HTH, >> Cory >> >> On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck >> wrote: >>> Hello, >>> >>> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using >>> software from MacPorts 2.4.2. After a successful configuration, >>> the make -j 4 command give the following error: >>> >>> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18: >>> error: >>> ordered comparison between pointer and zero ('void *' and 'int') >>> if(Msg->Data <= 0 ){ >>> >>> How can I solve this problem? >>> >>> Best regards, >>> >>> Sergio >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects 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: >>> https://paraview.org/mailman/listinfo/paraview >>> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Fri Jan 12 13:39:28 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 12 Jan 2018 13:39:28 -0500 Subject: [Paraview] Generating Surface Plot from 2D rectilinear grid + scalar value (x, y, f(x, y)) In-Reply-To: References: Message-ID: Nick, Use the filter "Warp by Scalar" to do this. Best, Cory On Fri, Jan 12, 2018 at 1:31 PM, Stegmeier, Nicholas wrote: > Hello, > > > I have 2D rectilinear data and associated scalar values at each grid point. > I can generate a colorplot in Paraview but would like to make a surface plot > that has color and height, where the height represents the magnitude of the > scalar. MATLAB's surface plot function surf(x,y,f) is a good example. > > > I have attached some of my data files as an example. Any help would be > appreciated. > > > Thank you, > > Nick Stegmeier > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From hero.jairaj at gmail.com Fri Jan 12 13:57:45 2018 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Fri, 12 Jan 2018 12:57:45 -0600 Subject: [Paraview] Plot selection over time for threshold In-Reply-To: References: <2d33eeb478504c768129e6cac9ad377f@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Aron I tried your method and created the trace. When I go to the python shell and run that python macro, it says that the custom filter I had created does not exist. My custom filter consists of 2 calculator filters, each calculating different things. To create that custom filter, I selected both the calculators on the pipeline browser, right click-> create custom filter->finish. To create my python macro, I first load up my .vtu files in the pipeline browser, hit apply, then I start trace. I add my custom filter, follow Kenneth's procedure to obtain the plot over time, then I hit Stop trace. Then in the script generated, file->save as macro. On Fri, Jan 12, 2018 at 9:31 AM, Aron Helser wrote: > Hi Jairaj, > This is exactly what the 'trace' and python macro functions are for. Take > a look in the Tools menu, and choose Start Trace. If you check the 'show > incremental trace' button you can see it's recording a python script as you > take actions in the GUI. When you've completed your steps, you can choose > 'save as python macro' and you'll get a button that can repeat the steps. > > To go more in-depth, look for information on python scripting in Paraview! > Regards, > Aron > > On Thu, Jan 11, 2018 at 7:47 PM, Jairaj Mathur > wrote: > >> Hi Ken >> >> This is EXACTLY what I wanted! Thank you so much. Is it possible to >> create a custom filter to do this, so that I dont have to follow these >> steps? >> >> Jairaj Mathur >> Mechanical Engineering >> Washington University in St Louis >> >> On Jan 8, 2018 2:23 PM, "Moreland, Kenneth" wrote: >> >>> Jairaj, >>> >>> >>> >>> I?m not sure what exactly you mean by ?the threshold,? but there are >>> many ways to plot the average of a threshold-selection of cells over time. >>> >>> >>> >>> The most straightforward way is to open up the Find Data dialog box, >>> select the cells you want to plot, and then create a Plot Selection Over >>> Time filter. Specifically, here are steps that will do such a plot: >>> >>> >>> >>> 1. Open your data in ParaView. Apply. >>> 2. Open the Find Data dialog box (Edit ? Find Data or click the >>> toolbar button on the top toolbar). >>> 3. In the top row, set the left combo box to either ?Cell(s)? or >>> ?Point(s)? depending on whether your data is cell or point data. In the >>> longer combo box to the right, make sure that your data is selected. >>> 4. In the second row, set the left combo box to the field you want >>> to threshold on. Change the next combo box to say ?is between?. This will >>> create to text edit boxes where you enter the minimum and maximum values of >>> your threshold range. >>> 5. Click the ?Run Selection Query? button. This will select all >>> cells or points matching your threshold. >>> 6. Click the ?Plot Selection Over Time? at the bottom of the Find >>> Data dialog box. This will create a filter in the pipeline browser. >>> 7. Close the Find Data dialog box and click the Apply button. >>> >>> >>> >>> -Ken >>> >>> >>> >>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Jairaj >>> Mathur >>> *Sent:* Friday, January 5, 2018 4:53 PM >>> *To:* paraview >>> *Subject:* [EXTERNAL] [Paraview] Plot selection over time for threshold >>> >>> >>> >>> Dear all >>> >>> >>> >>> How can I plot the average over time of only the threshold cells? It >>> should only average the cells that are within the threshold. >>> >>> >>> >>> Thanks a lot! >>> >>> >>> >>> -- >>> >>> Jairaj Mathur, >>> Mechanical Engineering >>> >>> Washington University in St Louis >>> >>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> >> > -- Jairaj Mathur, Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Fri Jan 12 15:27:11 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Fri, 12 Jan 2018 12:27:11 -0800 Subject: [Paraview] Compile Error of Paraview on Maverick In-Reply-To: References: Message-ID: Hi, Cory, Sorry for the late reply, no clue why this email came to my trash. I tried to builld paraview. and the problem is that paraview failed on qt compile step due to low version of glibc.(which in Maverick is 2.13 and the minimum is 2.14). So I also try to get ride of GUI first, and then I successfully build paraview. but when I want to start a pvserver, the error comes with low glibcxx version which I think is the same problem with low version glibc in build. Do you know how can I fixed this? Thanks, Yangguang On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen wrote: > I don't see any errors in the terminal output you've posted. Are there > errors further back in the terminal output history? > > Thanks, > Cory > > On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao > wrote: > > Hi, > > > > Trying to compile Paraview but get such error. I have no idea what is the > > reason. > > > > Here is terminal output: > > [ 3%] Built target protobuf > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/dynamic_message.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/message.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/reflection_ops.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/service.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/text_format.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/wire_format.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/io/printer.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o > > [ 3%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o > > [ 4%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/compiler/importer.cc.o > > [ 4%] Building CXX object > > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/ > protoc_compiler.dir/google/protobuf/compiler/parser.cc.o > > [ 4%] Linking CXX executable ../../../../bin/protoc > > [ 4%] Built target protoc_compiler > > make: *** [all] Error 2 > > > > Mu compiler is using icc and icpc. have Qt5 installed. > > Thanks! > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Jan 12 15:38:35 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 12 Jan 2018 15:38:35 -0500 Subject: [Paraview] Compile Error of Paraview on Maverick In-Reply-To: References: Message-ID: Sorry, I was thinking you were building on a Mac with Mavericks installed, but now I think that is not right. Are you trying to build on Maverick Meerkat (Ubuntu 10.10)? On Fri, Jan 12, 2018 at 3:27 PM, Yangguang Liao wrote: > Hi, Cory, > > Sorry for the late reply, no clue why this email came to my trash. I tried > to builld paraview. and the problem is that paraview failed on qt compile > step due to low version of glibc.(which in Maverick is 2.13 and the minimum > is 2.14). > So I also try to get ride of GUI first, and then I successfully build > paraview. but when I want to start a pvserver, the error comes with low > glibcxx version which I think is the same problem with low version glibc in > build. > Do you know how can I fixed this? > > Thanks, > Yangguang > > On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen > wrote: >> >> I don't see any errors in the terminal output you've posted. Are there >> errors further back in the terminal output history? >> >> Thanks, >> Cory >> >> On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao >> wrote: >> > Hi, >> > >> > Trying to compile Paraview but get such error. I have no idea what is >> > the >> > reason. >> > >> > Here is terminal output: >> > [ 3%] Built target protobuf >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o >> > [ 3%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o >> > [ 4%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o >> > [ 4%] Building CXX object >> > >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o >> > [ 4%] Linking CXX executable ../../../../bin/protoc >> > [ 4%] Built target protoc_compiler >> > make: *** [all] Error 2 >> > >> > Mu compiler is using icc and icpc. have Qt5 installed. >> > Thanks! >> > -- >> > Yangguang Liao >> > PhD. student of Computer Science Department >> > University of California, Davis >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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: >> > https://paraview.org/mailman/listinfo/paraview >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > > > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis -- Cory Quammen Staff R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Fri Jan 12 16:08:22 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 12 Jan 2018 16:08:22 -0500 Subject: [Paraview] Compile Error of Paraview on Maverick In-Reply-To: References: Message-ID: Ah, I see. Make sure the same compiler module is loaded when you compile pvserver as when you run it. That should ensure a consistent glibc version. Your local user support or system administrators should also be able to help with the module system usage on Maverick. Thanks, Cory On Fri, Jan 12, 2018 at 3:51 PM, Yangguang Liao wrote: > Oops, Sorry I didn?t make it clear. I am trying to build on TACC cluster > Maverick > > On Fri, Jan 12, 2018 at 12:38 PM Cory Quammen > wrote: >> >> Sorry, I was thinking you were building on a Mac with Mavericks >> installed, but now I think that is not right. Are you trying to build >> on Maverick Meerkat (Ubuntu 10.10)? >> >> On Fri, Jan 12, 2018 at 3:27 PM, Yangguang Liao >> wrote: >> > Hi, Cory, >> > >> > Sorry for the late reply, no clue why this email came to my trash. I >> > tried >> > to builld paraview. and the problem is that paraview failed on qt >> > compile >> > step due to low version of glibc.(which in Maverick is 2.13 and the >> > minimum >> > is 2.14). >> > So I also try to get ride of GUI first, and then I successfully build >> > paraview. but when I want to start a pvserver, the error comes with low >> > glibcxx version which I think is the same problem with low version glibc >> > in >> > build. >> > Do you know how can I fixed this? >> > >> > Thanks, >> > Yangguang >> > >> > On Wed, Jan 10, 2018 at 6:02 AM, Cory Quammen >> > wrote: >> >> >> >> I don't see any errors in the terminal output you've posted. Are there >> >> errors further back in the terminal output history? >> >> >> >> Thanks, >> >> Cory >> >> >> >> On Wed, Jan 10, 2018 at 12:28 AM, Yangguang Liao >> >> wrote: >> >> > Hi, >> >> > >> >> > Trying to compile Paraview but get such error. I have no idea what is >> >> > the >> >> > reason. >> >> > >> >> > Here is terminal output: >> >> > [ 3%] Built target protobuf >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/dynamic_message.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/extension_set_heavy.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/generated_message_reflection.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/message.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/reflection_ops.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/service.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/text_format.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/unknown_field_set.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/wire_format.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/printer.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/zero_copy_stream_impl.cc.o >> >> > [ 3%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/io/tokenizer.cc.o >> >> > [ 4%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/importer.cc.o >> >> > [ 4%] Building CXX object >> >> > >> >> > >> >> > ThirdParty/protobuf/vtkprotobuf/src/CMakeFiles/protoc_compiler.dir/google/protobuf/compiler/parser.cc.o >> >> > [ 4%] Linking CXX executable ../../../../bin/protoc >> >> > [ 4%] Built target protoc_compiler >> >> > make: *** [all] Error 2 >> >> > >> >> > Mu compiler is using icc and icpc. have Qt5 installed. >> >> > Thanks! >> >> > -- >> >> > Yangguang Liao >> >> > PhD. student of Computer Science Department >> >> > University of California, Davis >> >> > >> >> > _______________________________________________ >> >> > Powered by www.kitware.com >> >> > >> >> > Visit other Kitware open-source projects 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: >> >> > https://paraview.org/mailman/listinfo/paraview >> >> > >> >> >> >> >> >> >> >> -- >> >> Cory Quammen >> >> Staff R&D Engineer >> >> Kitware, Inc. >> > >> > >> > >> > >> > -- >> > Yangguang Liao >> > PhD. student of Computer Science Department >> > University of California, Davis >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis -- Cory Quammen Staff R&D Engineer Kitware, Inc. From stephen.wornom at inria.fr Sun Jan 14 07:54:12 2018 From: stephen.wornom at inria.fr (Stephen Wornom) Date: Sun, 14 Jan 2018 13:54:12 +0100 (CET) Subject: [Paraview] PV4.1.0 multiple rulers In-Reply-To: <213470522.39632884.1515934059166.JavaMail.zimbra@inria.fr> Message-ID: <1567152222.39634592.1515934452473.JavaMail.zimbra@inria.fr> I have a slice plane with 2 cylinders separated. I use rule to measure the length of the re-circulation zone after each cylinder. Independently, the ruler shows the distance. When I save the jpg I would like to see both distances on the figure. At the moment I can only see one not both. Is there away to see both? Hope my question is clear, Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sun Jan 14 10:21:35 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sun, 14 Jan 2018 10:21:35 -0500 Subject: [Paraview] PV4.1.0 multiple rulers In-Reply-To: <1567152222.39634592.1515934452473.JavaMail.zimbra@inria.fr> References: <213470522.39632884.1515934059166.JavaMail.zimbra@inria.fr> <1567152222.39634592.1515934452473.JavaMail.zimbra@inria.fr> Message-ID: Not in 4.1.0. I believe this was fixed in 5.2. 5.2 onwards, you can create and show multiple rulers. Utkarsh On Sun, Jan 14, 2018 at 7:54 AM, Stephen Wornom wrote: > I have a slice plane with 2 cylinders separated. > > I use rule to measure the length of the re-circulation zone after each > cylinder. > Independently, the ruler shows the distance. When I save the jpg I would > like to see both distances on the figure. At the moment I can only see one > not both. > Is there away to see both? > Hope my question is clear, > Stephen > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 47524 bytes Desc: not available URL: From petersenkolja at gmail.com Sun Jan 14 11:05:37 2018 From: petersenkolja at gmail.com (Kolja Petersen) Date: Sun, 14 Jan 2018 17:05:37 +0100 Subject: [Paraview] custom view plugin - minimal example needed Message-ID: Dear plugin developers, I need to implement a custom view to present datasets in a detailed editable format. This link says that the plugin tutorial is obsolete for the view part: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a_custom_view_.2A_obsolete_.2A The Examples/Plugins/GUIView suggested in the link doesn't exist. The Plugins/MantaView is rather complex and doesn't compile due to other bugs as reported elsewhere, so that I can't get a clue how the MantaView plugin is supposed to work. Could some kind developer upload a minimal working view plugin example, which needs to display only a simple QButton or any other widget? This will help to allow users build their custom views for ParaView 5.x.y. Thank you Kolja -------------- next part -------------- An HTML attachment was scrubbed... URL: From khaafra at gmail.com Sun Jan 14 19:24:20 2018 From: khaafra at gmail.com (Dale Braden) Date: Sun, 14 Jan 2018 16:24:20 -0800 Subject: [Paraview] Fwd: multivariate transfer function? In-Reply-To: References: Message-ID: Hello, Having looked at the docs and explored the UI, I can't tell whether Paraview can do what I want. I have some scalar field data on a regular grid. I import that into Paraview and then use the Gradient filter to calculate the gradient of this data. Now what I want to do is query both of these data sets and plot the scalar field data only if it falls within a certain range of values AND its gradient also falls within a certain range. I can imagine doing this either by writing a filter to create a third data set which contains only those points which pass the test, but neither the Calculator nor the Custom Filter seem to let me do that. Or I could create the plot more directly by creating a multivariate transfer function, but I can't find any way to do that in the UI. Can Paraview do this kind of thing from within the UI? Eventually I will want to add the Laplacian and be able to query all 3 field properties in order to determine what to plot, but for now I thought I would work on the simpler 2-variable case. Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuelkey at bresnan.net Mon Jan 15 08:51:53 2018 From: samuelkey at bresnan.net (Samuel Key) Date: Mon, 15 Jan 2018 06:51:53 -0700 Subject: [Paraview] Fwd: multivariate transfer function? In-Reply-To: References: Message-ID: <4b9ed27c-876f-051a-9715-53c39af8e836@bresnan.net> Dale-- Try typing "v" This should pop-up a panel that will let you select a datum subset. Hope this helps. --Sam On 1/14/2018 5:24 PM, Dale Braden wrote: > Hello, > > Having looked at the docs and explored the UI, I can't tell whether > Paraview can do what I want.? I have some scalar field data on a > regular grid.? I import that into Paraview and then use the Gradient > filter to calculate the gradient of this data.? Now what I want to do > is query both of these data sets and plot the scalar field data only > if it falls within a certain range of values AND its gradient also > falls within a certain range.? I can imagine doing this either by > writing a filter to create a third data set which contains only those > points which pass the test, but neither the Calculator nor the Custom > Filter seem to let me do that.? Or I could create the plot more > directly by creating a multivariate transfer function, but I can't > find any way to do that in the UI.? Can Paraview do this kind of thing > from within the UI? > > Eventually I will want to add the Laplacian and be able to query all 3 > field properties in order to determine what to plot, but for now I > thought I would work on the simpler 2-variable case. > > Dale > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From felipebordeu at gmail.com Mon Jan 15 10:18:50 2018 From: felipebordeu at gmail.com (Felipe Bordeu) Date: Mon, 15 Jan 2018 16:18:50 +0100 Subject: [Paraview] xml keywords Message-ID: Hi to all, I have a user that use intensively xml files to deploy and customise his python programmable filters. He would like to know if there is a list with all the xml keyword available (for filters, readers,writers). He uses the files in "./ParaViewCore/ServerManager/SMApplication/Resources/*.xml" for inspiration but not actually sure about the potential and limits of the xml customization. for info: We use also the wiki ( https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_Categories_to_the_Filters_Menu ) for inspiration Felipe -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 15 10:41:43 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 15 Jan 2018 10:41:43 -0500 Subject: [Paraview] xml keywords In-Reply-To: References: Message-ID: Felipe, Unfortunately, there is no one place that documents all the XML elements and attributes. There is some documentation on property attributes in [1], but I'm not sure this is an exhaustive list. Your user is doing one of the most effective things already, looking for desired functionality in an existing source/filter and looking at how it is done in the .xml files. Digging deeper, one can view the code in the methods ReadXMLAttributes in the various vtkSM*Proxy classes in ParaView, e.g., vtkSMProxy::ReadXMLAttributes [2]., to understand which attributes are available in different proxies. Hope that helps, Cory [1] https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkSMProperty.html#details [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/Core/vtkSMProxy.cxx#L1439 On Mon, Jan 15, 2018 at 10:18 AM, Felipe Bordeu wrote: > Hi to all, > > I have a user that use intensively xml files to deploy and customise his > python programmable filters. > He would like to know if there is a list with all the xml keyword available > (for filters, readers,writers). > He uses the files in > "./ParaViewCore/ServerManager/SMApplication/Resources/*.xml" for > inspiration but not actually sure about the potential and limits of the xml > customization. > > for info: We use also the wiki > (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_Categories_to_the_Filters_Menu) > for inspiration > > Felipe > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From sebastien.jourdain at kitware.com Mon Jan 15 10:50:20 2018 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 15 Jan 2018 08:50:20 -0700 Subject: [Paraview] xml keywords In-Reply-To: References: Message-ID: Some more XML doc here too: https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/Core/vtkSMSessionProxyManager.h#L40-111 https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/Core/vtkSMProxy.h#L55-124 On Mon, Jan 15, 2018 at 8:41 AM, Cory Quammen wrote: > Felipe, > > Unfortunately, there is no one place that documents all the XML > elements and attributes. There is some documentation on property > attributes in [1], but I'm not sure this is an exhaustive list. Your > user is doing one of the most effective things already, looking for > desired functionality in an existing source/filter and looking at how > it is done in the .xml files. > > Digging deeper, one can view the code in the methods ReadXMLAttributes > in the various vtkSM*Proxy classes in ParaView, e.g., > vtkSMProxy::ReadXMLAttributes [2]., to understand which attributes are > available in different proxies. > > Hope that helps, > Cory > > [1] https://www.paraview.org/ParaView/Doc/Nightly/www/cxx- > doc/classvtkSMProperty.html#details > > [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ > ParaViewCore/ServerManager/Core/vtkSMProxy.cxx#L1439 > > On Mon, Jan 15, 2018 at 10:18 AM, Felipe Bordeu > wrote: > > Hi to all, > > > > I have a user that use intensively xml files to deploy and customise his > > python programmable filters. > > He would like to know if there is a list with all the xml keyword > available > > (for filters, readers,writers). > > He uses the files in > > "./ParaViewCore/ServerManager/SMApplication/Resources/*.xml" for > > inspiration but not actually sure about the potential and limits of the > xml > > customization. > > > > for info: We use also the wiki > > (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo# > Adding_Categories_to_the_Filters_Menu) > > for inspiration > > > > Felipe > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Mon Jan 15 13:32:28 2018 From: petersenkolja at gmail.com (Kolja Petersen) Date: Mon, 15 Jan 2018 19:32:28 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: I have stripped down Plugin/MantaView until all compilation problems disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. The code, consisting of only two minimal classes, is attached and can be built using: unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make (tested with ParaView 5.4.1) This brings me back to my initial question. I'd like to show a custom view, made of a number of Qt widgets (buttons and text) to show important statistics. In SnippetView.xml, the view is declared as: wrote: > Dear plugin developers, > I need to implement a custom view to present datasets in a detailed > editable format. > > This link says that the plugin tutorial is obsolete for the view part: > https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_ > a_custom_view_.2A_obsolete_.2A > > The Examples/Plugins/GUIView suggested in the link doesn't exist. The > Plugins/MantaView is rather complex and doesn't compile due to other bugs > as reported elsewhere, so that I can't get a clue how the MantaView plugin > is supposed to work. > > Could some kind developer upload a minimal working view plugin example, > which needs to display only a simple QButton or any other widget? This will > help to allow users build their custom views for ParaView 5.x.y. > Thank you > Kolja > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snippet-viewplugin.zip Type: application/zip Size: 2919 bytes Desc: not available URL: From wascott at sandia.gov Mon Jan 15 15:17:56 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 15 Jan 2018 20:17:56 +0000 Subject: [Paraview] [EXTERNAL] Re: xml keywords In-Reply-To: References: Message-ID: I wrote up a feature request. https://gitlab.kitware.com/paraview/paraview/issues/17936 Alan > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Cory > Quammen > Sent: Monday, January 15, 2018 8:42 AM > To: Felipe Bordeu > Cc: paraview > Subject: [EXTERNAL] Re: [Paraview] xml keywords > > Felipe, > > Unfortunately, there is no one place that documents all the XML elements > and attributes. There is some documentation on property attributes in [1], > but I'm not sure this is an exhaustive list. Your user is doing one of the most > effective things already, looking for desired functionality in an existing > source/filter and looking at how it is done in the .xml files. > > Digging deeper, one can view the code in the methods ReadXMLAttributes in > the various vtkSM*Proxy classes in ParaView, e.g., > vtkSMProxy::ReadXMLAttributes [2]., to understand which attributes are > available in different proxies. > > Hope that helps, > Cory > > [1] https://www.paraview.org/ParaView/Doc/Nightly/www/cxx- > doc/classvtkSMProperty.html#details > > [2] > https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ > ServerManager/Core/vtkSMProxy.cxx#L1439 > > On Mon, Jan 15, 2018 at 10:18 AM, Felipe Bordeu > wrote: > > Hi to all, > > > > I have a user that use intensively xml files to deploy and customise > > his python programmable filters. > > He would like to know if there is a list with all the xml keyword > > available (for filters, readers,writers). > > He uses the files in > > "./ParaViewCore/ServerManager/SMApplication/Resources/*.xml" for > > inspiration but not actually sure about the potential and limits of > > the xml customization. > > > > for info: We use also the wiki > > > (https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_Categori > es > > _to_the_Filters_Menu) > > for inspiration > > > > Felipe > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview From omid.mahabadi at geomechanica.com Tue Jan 16 09:58:00 2018 From: omid.mahabadi at geomechanica.com (Omid Mahabadi) Date: Tue, 16 Jan 2018 09:58:00 -0500 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser In-Reply-To: <5494570b5c884d07be092207a852d00c@ES08AMSNLNT.srn.sandia.gov> References: <5494570b5c884d07be092207a852d00c@ES08AMSNLNT.srn.sandia.gov> Message-ID: Hi Ken, Thanks for your feedback and sorry for my late reply. Somehow I didn't get this message and only found your reply after searching in my mailbox. I tried various values for the Z Shift, increasing it by one order of magnitude until reaching a value of 200, restarting in between changes. This didn't help. I haven't really made any other changes in ParaView settings. I even restored to defaults a couple of times. I've been using Linux Mint 17 and have also experienced the same issue on Ubuntu 14.04 both 64 bit. Thanks Best regards, Omid On Wed, Jan 10, 2018 at 12:45 PM, Moreland, Kenneth wrote: > Omid, > > > > Even after applying the Threshold filter, I cannot replicate your problem. > I?ve tried on both ParaView 5.2 and 5.4. Both work fine for me. > > > > My settings are the default. ?Resolve Coincident Topology? is set to > ?Shift z-buffer when rendering lines and points?. ?Z Shift? is set to > 0.002. (Polygon offset should not matter in this mode.) You could try > increasing the Z Shift to fix the problem. Note that you have to restart > ParaView in order for these options to take effect. > > > > It is possible that there is some quirk with the rendering system on your > computer that does not implement the topology resolution. Do you happen to > have another computer on which you can try to run this? I also noted that > if I turn on OSPRay rendering, I do get the missing line issue you > describe. There might be other display/rendering parameters that cause > issues. But the defaults should be fine, so unless you have done some > tinkering you should be OK. > > > > -Ken > > > > *From:* Omid Mahabadi [mailto:omid.mahabadi at geomechanica.com] > *Sent:* Wednesday, January 10, 2018 9:21 AM > *To:* Moreland, Kenneth > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi Ken, > > Thanks for the detailed reply. I could not get anything out of the > settings dialog as per your suggestion. Did you have a combination of those > settings that might work for my files? > > I can also see the image you sent; that's usually fine. However, I > typically apply a Threshold filter to the _basic_ files (Scalar: alive; > min: 0.1; max: 1). In this case, the _basic_ object is always drawn in > front of the _broken_joint_ object. > > In addition, I visualize dozens of these files every day so Transforming > every single object is a bit tedious. > > Thank you, > > Omid > > > > > > On Mon, Jan 8, 2018 at 5:56 PM, Moreland, Kenneth > wrote: > > Omid, > > > > I am unable to replicate your issue in ParaView 5.4.1. When I loaded your > data and showed the broken_joint data in wireframe, I was clearly able to > see the lines of broken_joint over the polygons of basic. (See the attached > image.) > > > > The problem you are getting is likely caused by z-buffer fighting in the > rendering. This happens when two objects are the exact same distance from > the viewer, as I believe is the case in your data. Wanting to draw lines on > top of polygons is common enough that there are some corrections to help > the rendering determine what to draw in front. Perhaps by changing the > settings on resolving coincident topology will resolve your issue. You can > find them by opening the ParaView settings dialog (Edit ? Settings), > clicking on the Render View tab, and turning on the advanced options. The > options you are looking for are ?Resolve Coincident Topology,? ?Polygon > Offset Parameters?, and ?Z Shift.? > > > > Another, possibly easier, solution it to simply move the lines of the > broken_joint data closer to the camera. Click the broken_joint object and > add the Transform filter. Change the Translate parameter to 0, 0, 1 and > apply. That should shift the wireframe forward enough to see it properly. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Omid > Mahabadi > *Sent:* Monday, January 8, 2018 2:30 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi, > > I use ParaView to visualize data of our simulations using the Unstructured > Grid data format. Up until ParaView 4.x everything worked fine: we > typically visualize one set of data files as Surfaces and another as > Wireframe. The Wireframe dataset refers to "fracture lines" in our > simulations. > > See below how the simulation looked like in PV version 4.x. You could > clearly see the line around the boundaries of the model. > > [image: Inline image 1] > > However, in PV 5.x the lines are not fully visualized as if they're hidden > below the other data object: > > [image: Inline image 2] > > I've tried a few versions of 5.x but they all behave similarly. > > Does anyone know what might be going on here? Is this a bug / removed > featured from the new version or should I do something different with 5.x? > I've noticed that this issue does not happen consistently. I've seen the > issue on both Linux Mint 17.3 (64 bit) and Ubuntu > > I've attached two example VTU files. Please visualize the second file as > Wireframe (_broken_joint). Below are two large VTU files. > > https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 > > > > Can someone else reproduce this issue? > > > > I'd really hope to start using ParaView 5 since it finally has the > long-missing Reload Files options! > > Thank you, > > Omid > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2607 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2964 bytes Desc: not available URL: From kmorel at sandia.gov Tue Jan 16 10:31:53 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 16 Jan 2018 15:31:53 +0000 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Message-ID: <01074D32-6C66-40A5-9FCE-41AB3A69D7DA@sandia.gov> Omid, The only other thing I can think of is that there is something odd about the OpenGL driver/hardware on your system that for some reason is not supporting the coincident topology resolution in ParaView. ParaView changed its rendering system from OpenGL 1.3 to OpenGL 3.1 in version 5, the version that you report seeing the issue. Once again, I recommend trying to run ParaView on a completely different computer if you can find access to one. You might also try updating the OpenGL drivers on your computer. Beyond that, I am out of ideas. -Ken From: Omid Mahabadi Date: Tuesday, January 16, 2018 at 7:58 AM To: "Moreland, Kenneth" Cc: "paraview at paraview.org" Subject: [EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi Ken, Thanks for your feedback and sorry for my late reply. Somehow I didn't get this message and only found your reply after searching in my mailbox. I tried various values for the Z Shift, increasing it by one order of magnitude until reaching a value of 200, restarting in between changes. This didn't help. I haven't really made any other changes in ParaView settings. I even restored to defaults a couple of times. I've been using Linux Mint 17 and have also experienced the same issue on Ubuntu 14.04 both 64 bit. Thanks Best regards, Omid On Wed, Jan 10, 2018 at 12:45 PM, Moreland, Kenneth > wrote: Omid, Even after applying the Threshold filter, I cannot replicate your problem. I?ve tried on both ParaView 5.2 and 5.4. Both work fine for me. My settings are the default. ?Resolve Coincident Topology? is set to ?Shift z-buffer when rendering lines and points?. ?Z Shift? is set to 0.002. (Polygon offset should not matter in this mode.) You could try increasing the Z Shift to fix the problem. Note that you have to restart ParaView in order for these options to take effect. It is possible that there is some quirk with the rendering system on your computer that does not implement the topology resolution. Do you happen to have another computer on which you can try to run this? I also noted that if I turn on OSPRay rendering, I do get the missing line issue you describe. There might be other display/rendering parameters that cause issues. But the defaults should be fine, so unless you have done some tinkering you should be OK. -Ken From: Omid Mahabadi [mailto:omid.mahabadi at geomechanica.com] Sent: Wednesday, January 10, 2018 9:21 AM To: Moreland, Kenneth > Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi Ken, Thanks for the detailed reply. I could not get anything out of the settings dialog as per your suggestion. Did you have a combination of those settings that might work for my files? I can also see the image you sent; that's usually fine. However, I typically apply a Threshold filter to the _basic_ files (Scalar: alive; min: 0.1; max: 1). In this case, the _basic_ object is always drawn in front of the _broken_joint_ object. In addition, I visualize dozens of these files every day so Transforming every single object is a bit tedious. Thank you, Omid On Mon, Jan 8, 2018 at 5:56 PM, Moreland, Kenneth > wrote: Omid, I am unable to replicate your issue in ParaView 5.4.1. When I loaded your data and showed the broken_joint data in wireframe, I was clearly able to see the lines of broken_joint over the polygons of basic. (See the attached image.) The problem you are getting is likely caused by z-buffer fighting in the rendering. This happens when two objects are the exact same distance from the viewer, as I believe is the case in your data. Wanting to draw lines on top of polygons is common enough that there are some corrections to help the rendering determine what to draw in front. Perhaps by changing the settings on resolving coincident topology will resolve your issue. You can find them by opening the ParaView settings dialog (Edit ? Settings), clicking on the Render View tab, and turning on the advanced options. The options you are looking for are ?Resolve Coincident Topology,? ?Polygon Offset Parameters?, and ?Z Shift.? Another, possibly easier, solution it to simply move the lines of the broken_joint data closer to the camera. Click the broken_joint object and add the Transform filter. Change the Translate parameter to 0, 0, 1 and apply. That should shift the wireframe forward enough to see it properly. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Omid Mahabadi Sent: Monday, January 8, 2018 2:30 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser Hi, I use ParaView to visualize data of our simulations using the Unstructured Grid data format. Up until ParaView 4.x everything worked fine: we typically visualize one set of data files as Surfaces and another as Wireframe. The Wireframe dataset refers to "fracture lines" in our simulations. See below how the simulation looked like in PV version 4.x. You could clearly see the line around the boundaries of the model. [nline image 1] However, in PV 5.x the lines are not fully visualized as if they're hidden below the other data object: [nline image 2] I've tried a few versions of 5.x but they all behave similarly. Does anyone know what might be going on here? Is this a bug / removed featured from the new version or should I do something different with 5.x? I've noticed that this issue does not happen consistently. I've seen the issue on both Linux Mint 17.3 (64 bit) and Ubuntu I've attached two example VTU files. Please visualize the second file as Wireframe (_broken_joint). Below are two large VTU files. https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 Can someone else reproduce this issue? I'd really hope to start using ParaView 5 since it finally has the long-missing Reload Files options! Thank you, Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2965 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2608 bytes Desc: image002.jpg URL: From wascott at sandia.gov Tue Jan 16 13:32:28 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 16 Jan 2018 18:32:28 +0000 Subject: [Paraview] Material Interface Filter Message-ID: I have a user that wants to use the equivalent of the Material Interface Filter on VTK files. Is there a way to do this? I did find the Connectivity filter, that gets me half way. I then want to find the mass of these individual fragments. To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then ran the connectivity filter. Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Tue Jan 16 14:38:52 2018 From: petersenkolja at gmail.com (Kolja Petersen) Date: Tue, 16 Jan 2018 20:38:52 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: Is it possible to write a plugin that derives from vtkPVView instead of vtkPVRenderView? I don't know how I can further shorten my question. The answer is quite important to decide whether we can continue our ParaView developments. Thank you Kolja Virenfrei. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen wrote: > I have stripped down Plugin/MantaView until all compilation problems > disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. > The code, consisting of only two minimal classes, is attached and can be > built using: > unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make > (tested with ParaView 5.4.1) > > This brings me back to my initial question. I'd like to show a custom > view, made of a number of Qt widgets (buttons and text) to show important > statistics. > In SnippetView.xml, the view is declared as: > base_proxyname="RenderView" ... > > How can I replace 'base_proxyname="RenderView"' by some generic view, to > be filled with widgets? "View" or "ViewBase" are not recognized as base > proxies. > Thank you > Kolja > > > On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen > wrote: > >> Dear plugin developers, >> I need to implement a custom view to present datasets in a detailed >> editable format. >> >> This link says that the plugin tutorial is obsolete for the view part: >> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a >> _custom_view_.2A_obsolete_.2A >> >> The Examples/Plugins/GUIView suggested in the link doesn't exist. The >> Plugins/MantaView is rather complex and doesn't compile due to other bugs >> as reported elsewhere, so that I can't get a clue how the MantaView plugin >> is supposed to work. >> >> Could some kind developer upload a minimal working view plugin example, >> which needs to display only a simple QButton or any other widget? This will >> help to allow users build their custom views for ParaView 5.x.y. >> Thank you >> Kolja >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jensdahlkunoy at gmail.com Wed Jan 17 01:37:18 2018 From: jensdahlkunoy at gmail.com (Jens Dahl Kunoy) Date: Wed, 17 Jan 2018 07:37:18 +0100 Subject: [Paraview] issue with savescreenshot in pvpython when having two renderviews Message-ID: Hi, I want to compare two vtk files by having two render views and dump these two renderviews into a single image file. The py script recorded by trace works from GUI but not from the command line using pvpython. Using pvpython the second renderview has no data and there is also other artefacts. You can see the difference in the attached two files. I put it up as an issue here: https://gitlab.kitware.com/paraview/paraview/issues/17938 Any ideas? BR Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fromCommandLine.png Type: image/png Size: 17838 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fromGUI.png Type: image/png Size: 11652 bytes Desc: not available URL: From mathieu.westphal at kitware.com Wed Jan 17 03:55:07 2018 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Wed, 17 Jan 2018 09:55:07 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: Hi Kolja I have a simple view plugin project ongoing that I should be able to scale down for your needs. I will try to find the time to do it before the end fo the week. Best, Mathieu Westphal On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen wrote: > Is it possible to write a plugin that derives from vtkPVView instead of > vtkPVRenderView? > > I don't know how I can further shorten my question. The answer is quite > important to decide whether we can continue our ParaView developments. > Thank you > Kolja > > > Virenfrei. > www.avast.com > > <#m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen > wrote: > >> I have stripped down Plugin/MantaView until all compilation problems >> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. >> The code, consisting of only two minimal classes, is attached and can be >> built using: >> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make >> (tested with ParaView 5.4.1) >> >> This brings me back to my initial question. I'd like to show a custom >> view, made of a number of Qt widgets (buttons and text) to show important >> statistics. >> In SnippetView.xml, the view is declared as: >> > base_proxyname="RenderView" ... >> >> How can I replace 'base_proxyname="RenderView"' by some generic view, to >> be filled with widgets? "View" or "ViewBase" are not recognized as base >> proxies. >> Thank you >> Kolja >> >> >> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen >> wrote: >> >>> Dear plugin developers, >>> I need to implement a custom view to present datasets in a detailed >>> editable format. >>> >>> This link says that the plugin tutorial is obsolete for the view part: >>> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a >>> _custom_view_.2A_obsolete_.2A >>> >>> The Examples/Plugins/GUIView suggested in the link doesn't exist. The >>> Plugins/MantaView is rather complex and doesn't compile due to other bugs >>> as reported elsewhere, so that I can't get a clue how the MantaView plugin >>> is supposed to work. >>> >>> Could some kind developer upload a minimal working view plugin example, >>> which needs to display only a simple QButton or any other widget? This will >>> help to allow users build their custom views for ParaView 5.x.y. >>> Thank you >>> Kolja >>> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From seongmo.yeon at gmail.com Wed Jan 17 09:56:44 2018 From: seongmo.yeon at gmail.com (SeongMo) Date: Wed, 17 Jan 2018 23:56:44 +0900 Subject: [Paraview] filename_%t is not expanded to current time in Catalyst Message-ID: <8bd0e10d-db57-b2dc-a944-2cbe609e4192@gmail.com> Hi, I wrote a OpenFOAM adaptor for Catalyst. In the ParaView, the connection is made good and shows filtered flow field as written in the python script. However, filename_%t and image_%t is not expanded as time marching but just write filename_0 and image_0.png. As far as I know, %t should be replaced with current time as given in dataDescription->SetTimeData. Any help would be appreciated. snippet of my OpenFOAM Adaptor code for Catalyst is as follows: // icoFoam.C #ifdef USE_CATALYST ??? Foam::HashTable options = args.options(); ??? IStringStream is(options["scriptList"]); ??? wordList scriptList = readList(is); ??? OFAdaptor::Initialize(scriptList, mesh); #endif ??? while (runTime.loop()) ??? { ??????? runTime.write(); #ifdef USE_CATALYST ??????? OFAdaptor::CoProcess(mesh, runTime); #endif ??? } #ifdef USE_CATALYST ??? OFAdaptor::Finalize(); #endif // OFAdaptor.C void CoProcess(Foam::fvMesh& mesh, Foam::Time& runTime) { ?????? vtkNew dataDescription; ?????? dataDescription->AddInput("input"); ?????? dataDescription->SetTimeData(runTime.value(), runTime.deltaTValue()); ?????? if (runTime.end()) ?????? { ?????????? // assume that we want to all the pipelines to execute ?????????? // if it is the last time step ?????????? dataDescription->ForceOutputOn(); ?????? } ?????? if (Processor->RequestDataDescription(dataDescription.GetPointer()) != 0) ?????? { ?????????? Foam::polyMesh::readUpdateState meshState = mesh.readUpdate(); ?????????? if(meshState != Foam::polyMesh::UNCHANGED) ?????????? { ?????????????? BuildVTKGrid(mesh); ?????????? } ?????????? UpdateVTKAttributes(mesh); dataDescription->GetInputDescriptionByName("input")->SetGrid(multiBlockDataSet); ?????????? Processor->CoProcess(dataDescription.GetPointer()); ?????? } } -- SeongMo Yeon, Ph.D, Senior Engineer Offshore Hydrodynamics Research SAMSUNG HEAVY INDUSTRIES CO., LTD. Central Research Institute E-mail : seongmo.yeon at gmail.com Tel : -------------------------------------------------------- Fluctuat nec mergitur -------------- next part -------------- A non-text attachment was scrubbed... Name: script2.py Type: text/x-python Size: 13055 bytes Desc: not available URL: From seongmo.yeon at gmail.com Wed Jan 17 09:57:09 2018 From: seongmo.yeon at gmail.com (SeongMo) Date: Wed, 17 Jan 2018 23:57:09 +0900 Subject: [Paraview] filename_%t is not expanded to current time in Catalyst Message-ID: <792b3386-97e3-6d8e-a2b3-108641a66ee4@gmail.com> Hi, I wrote a OpenFOAM adaptor for Catalyst. In the ParaView, the connection is made good and shows filtered flow field as written in the python script. However, filename_%t and image_%t is not expanded as time marching but just write filename_0 and image_0.png. As far as I know, %t should be replaced with current time as given in dataDescription->SetTimeData. Any help would be appreciated. FYI, python script is attached and snippet of my OpenFOAM Adaptor code for Catalyst is as follows: // icoFoam.C #ifdef USE_CATALYST ??? Foam::HashTable options = args.options(); ??? IStringStream is(options["scriptList"]); ??? wordList scriptList = readList(is); ??? OFAdaptor::Initialize(scriptList, mesh); #endif ??? while (runTime.loop()) ??? { ??????? runTime.write(); #ifdef USE_CATALYST ??????? OFAdaptor::CoProcess(mesh, runTime); #endif ??? } #ifdef USE_CATALYST ??? OFAdaptor::Finalize(); #endif // OFAdaptor.C void CoProcess(Foam::fvMesh& mesh, Foam::Time& runTime) { ?????? vtkNew dataDescription; ?????? dataDescription->AddInput("input"); ?????? dataDescription->SetTimeData(runTime.value(), runTime.deltaTValue()); ?????? if (runTime.end()) ?????? { ?????????? // assume that we want to all the pipelines to execute ?????????? // if it is the last time step ?????????? dataDescription->ForceOutputOn(); ?????? } ?????? if (Processor->RequestDataDescription(dataDescription.GetPointer()) != 0) ?????? { ?????????? Foam::polyMesh::readUpdateState meshState = mesh.readUpdate(); ?????????? if(meshState != Foam::polyMesh::UNCHANGED) ?????????? { ?????????????? BuildVTKGrid(mesh); ?????????? } ?????????? UpdateVTKAttributes(mesh); dataDescription->GetInputDescriptionByName("input")->SetGrid(multiBlockDataSet); ?????????? Processor->CoProcess(dataDescription.GetPointer()); ?????? } } -- SeongMo Yeon, Ph.D, Senior Engineer Offshore Hydrodynamics Research SAMSUNG HEAVY INDUSTRIES CO., LTD. Central Research Institute E-mail : seongmo.yeon at gmail.com Tel : -------------------------------------------------------- Fluctuat nec mergitur -------------- next part -------------- A non-text attachment was scrubbed... Name: script2.py Type: text/x-python Size: 13055 bytes Desc: not available URL: From seongmo.yeon at gmail.com Wed Jan 17 09:57:17 2018 From: seongmo.yeon at gmail.com (SeongMo) Date: Wed, 17 Jan 2018 23:57:17 +0900 Subject: [Paraview] filename_%t is not expanded to current time in Catalyst Message-ID: <3a6e23d3-5982-74db-4c77-ab62a03eec16@gmail.com> Hi, I wrote a OpenFOAM adaptor for Catalyst. In the ParaView, the connection is made good and shows filtered flow field as written in the python script. However, filename_%t and image_%t is not expanded as time marching but just write filename_0 and image_0.png. As far as I know, %t should be replaced with current time as given in dataDescription->SetTimeData. Any help would be appreciated. FYI, python script is attached and snippet of my OpenFOAM Adaptor code for Catalyst is as follows: // icoFoam.C #ifdef USE_CATALYST ??? Foam::HashTable options = args.options(); ??? IStringStream is(options["scriptList"]); ??? wordList scriptList = readList(is); ??? OFAdaptor::Initialize(scriptList, mesh); #endif ??? while (runTime.loop()) ??? { ??????? runTime.write(); #ifdef USE_CATALYST ??????? OFAdaptor::CoProcess(mesh, runTime); #endif ??? } #ifdef USE_CATALYST ??? OFAdaptor::Finalize(); #endif // OFAdaptor.C void CoProcess(Foam::fvMesh& mesh, Foam::Time& runTime) { ?????? vtkNew dataDescription; ?????? dataDescription->AddInput("input"); ?????? dataDescription->SetTimeData(runTime.value(), runTime.deltaTValue()); ?????? if (runTime.end()) ?????? { ?????????? // assume that we want to all the pipelines to execute ?????????? // if it is the last time step ?????????? dataDescription->ForceOutputOn(); ?????? } ?????? if (Processor->RequestDataDescription(dataDescription.GetPointer()) != 0) ?????? { ?????????? Foam::polyMesh::readUpdateState meshState = mesh.readUpdate(); ?????????? if(meshState != Foam::polyMesh::UNCHANGED) ?????????? { ?????????????? BuildVTKGrid(mesh); ?????????? } ?????????? UpdateVTKAttributes(mesh); dataDescription->GetInputDescriptionByName("input")->SetGrid(multiBlockDataSet); ?????????? Processor->CoProcess(dataDescription.GetPointer()); ?????? } } -- SeongMo Yeon, Ph.D, Senior Engineer Offshore Hydrodynamics Research SAMSUNG HEAVY INDUSTRIES CO., LTD. Central Research Institute E-mail : seongmo.yeon at gmail.com Tel : -------------------------------------------------------- Fluctuat nec mergitur -------------- next part -------------- A non-text attachment was scrubbed... Name: script2.py Type: text/x-python Size: 13055 bytes Desc: not available URL: From andy.bauer at kitware.com Wed Jan 17 11:17:30 2018 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 17 Jan 2018 11:17:30 -0500 Subject: [Paraview] filename_%t is not expanded to current time in Catalyst In-Reply-To: <3a6e23d3-5982-74db-4c77-ab62a03eec16@gmail.com> References: <3a6e23d3-5982-74db-4c77-ab62a03eec16@gmail.com> Message-ID: Hi, My guess is that the TimeStep isn't getting set properly in the adaptor (though it looks like it should be in "dataDescription->SetTimeData(runTime.value(), runTime.deltaTValue());"). My suggestion would be to add in the following to either the RequestDataDescription() or DoCoProcessing() methods in the python script to see what Catalyst thinks the time step is: print("In script2.py, the data time step is ", datadescription.GetTimeStep()) On Wed, Jan 17, 2018 at 9:57 AM, SeongMo wrote: > Hi, > > I wrote a OpenFOAM adaptor for Catalyst. > > In the ParaView, the connection is made good and shows filtered flow field > as written in the python script. > > However, filename_%t and image_%t is not expanded as time marching but > just write filename_0 and image_0.png. > > As far as I know, %t should be replaced with current time as given in > dataDescription->SetTimeData. > > Any help would be appreciated. > > > FYI, python script is attached and snippet of my OpenFOAM Adaptor code for > Catalyst is as follows: > > // icoFoam.C > > #ifdef USE_CATALYST > Foam::HashTable options = args.options(); > IStringStream is(options["scriptList"]); > wordList scriptList = readList(is); > OFAdaptor::Initialize(scriptList, mesh); > #endif > while (runTime.loop()) > { > runTime.write(); > #ifdef USE_CATALYST > OFAdaptor::CoProcess(mesh, runTime); > #endif > } > #ifdef USE_CATALYST > OFAdaptor::Finalize(); > #endif > > > // OFAdaptor.C > > void CoProcess(Foam::fvMesh& mesh, Foam::Time& runTime) > { > vtkNew dataDescription; > dataDescription->AddInput("input"); > dataDescription->SetTimeData(runTime.value(), > runTime.deltaTValue()); > if (runTime.end()) > { > // assume that we want to all the pipelines to execute > // if it is the last time step > dataDescription->ForceOutputOn(); > } > if (Processor->RequestDataDescription(dataDescription.GetPointer()) > != 0) > { > Foam::polyMesh::readUpdateState meshState = mesh.readUpdate(); > > if(meshState != Foam::polyMesh::UNCHANGED) > { > BuildVTKGrid(mesh); > } > UpdateVTKAttributes(mesh); > dataDescription->GetInputDescriptionByName("input")-> > SetGrid(multiBlockDataSet); > Processor->CoProcess(dataDescription.GetPointer()); > } > } > > > -- > SeongMo Yeon, Ph.D, Senior Engineer > Offshore Hydrodynamics Research > SAMSUNG HEAVY INDUSTRIES CO., LTD. > Central Research Institute > E-mail : seongmo.yeon at gmail.com > Tel : > -------------------------------------------------------- > Fluctuat nec mergitur > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Jan 17 11:24:02 2018 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 17 Jan 2018 11:24:02 -0500 Subject: [Paraview] Material Interface Filter In-Reply-To: References: Message-ID: The best way I can think of is to then use the threshold filter to isolate each of the pieces and then use the cell size filter on each piece. This would be fairly easy to automate in a Python script to just print out the values. Alternatively, I don't see a reason why the Connectivity filter couldn't have an option added to output a field data array with the summed sizes of each piece. Since Cory just made the connectivity filter work correctly in parallel it would surprise me that he may be familiar enough with the code to do the change in a couple of hours. On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan wrote: > I have a user that wants to use the equivalent of the Material Interface > Filter on VTK files. Is there a way to do this? I did find the > Connectivity filter, that gets me half way. I then want to find the mass > of these individual fragments. > > > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then > ran the connectivity filter. > > > > 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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hero.jairaj at gmail.com Wed Jan 17 15:30:31 2018 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Wed, 17 Jan 2018 14:30:31 -0600 Subject: [Paraview] Fitting ellipse to a cell In-Reply-To: References: Message-ID: Hey Paraview community! I have unstructured grid type data, which consists of a network of polygons. Is there a direct way to fit an ellipse and find the properties like major axis/minor axis? Thanking you Jairaj Mathur Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From manoch at iris.washington.edu Wed Jan 17 18:27:23 2018 From: manoch at iris.washington.edu (Manochehr Bahavar) Date: Wed, 17 Jan 2018 15:27:23 -0800 Subject: [Paraview] Reading netCDF files Earth models Message-ID: <1CE2C3C3-874B-4080-99B1-E6D30B4F16D2@iris.washington.edu> Hello, I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? Thank you, ?manoch From kmorel at sandia.gov Wed Jan 17 18:57:50 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Wed, 17 Jan 2018 23:57:50 +0000 Subject: [Paraview] Reading netCDF files Earth models Message-ID: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> Manochehr, If you uncheck the ?Spherical Coordiantes? option, then the longitude, latitude, and depth values will be preserved as x, y, and z coordinates. (Instead of translated to a sphere, the data will appear in a rectangle.) -Ken On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" wrote: Hello, I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? Thank you, ?manoch _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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: https://paraview.org/mailman/listinfo/paraview From manoch at iris.washington.edu Wed Jan 17 19:12:06 2018 From: manoch at iris.washington.edu (Manochehr Bahavar) Date: Wed, 17 Jan 2018 16:12:06 -0800 Subject: [Paraview] Reading netCDF files Earth models In-Reply-To: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> References: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> Message-ID: <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> Ken, Thanks for your reply. The problem with that approach is that all the features I am interested in make sense if they are plotted on a sphere (they approximate the Earth surface). So, there is no builtin solution for that? One more question: How can I access the actual latitude, longitude and depth parameter values using Python. I can see their extent and bounds, but I can not see how I can access the individual values: temp.GetBounds() (0.0, 359.0, -89.0, 89.0, -2750.0, 50.0) temp.GetDimensions() (360, 179, 57) temp.GetExtent() (0, 359, 0, 178, 0, 56) temp.GetCenter() (179.5, 0.0, -1350.0) temp.GetNumberOfPoints() 3673080L Really appreciate your help ?manoch > On Jan 17, 2018, at 3:57 PM, Moreland, Kenneth wrote: > > Manochehr, > > If you uncheck the ?Spherical Coordiantes? option, then the longitude, latitude, and depth values will be preserved as x, y, and z coordinates. (Instead of translated to a sphere, the data will appear in a rectangle.) > > -Ken > > > On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" wrote: > > Hello, > > I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? > > Thank you, > > ?manoch > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Jan 17 21:42:03 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 18 Jan 2018 02:42:03 +0000 Subject: [Paraview] [EXTERNAL] Re: Material Interface Filter In-Reply-To: References: Message-ID: Thanks Andy! Although I will take a round about method, I would love a real solution. Cory? Thoughts? Alan From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, January 17, 2018 9:24 AM To: Scott, W Alan ; Quammen, Cory (External Contacts) Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter The best way I can think of is to then use the threshold filter to isolate each of the pieces and then use the cell size filter on each piece. This would be fairly easy to automate in a Python script to just print out the values. Alternatively, I don't see a reason why the Connectivity filter couldn't have an option added to output a field data array with the summed sizes of each piece. Since Cory just made the connectivity filter work correctly in parallel it would surprise me that he may be familiar enough with the code to do the change in a couple of hours. On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan > wrote: I have a user that wants to use the equivalent of the Material Interface Filter on VTK files. Is there a way to do this? I did find the Connectivity filter, that gets me half way. I then want to find the mass of these individual fragments. To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then ran the connectivity filter. 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: https://paraview.org/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From adershowitz at exponent.com Wed Jan 17 23:05:25 2018 From: adershowitz at exponent.com (Adam Dershowitz) Date: Thu, 18 Jan 2018 04:05:25 +0000 Subject: [Paraview] Scaling View Question Message-ID: I have a view with a number of different objects in it. For example, assume that there are a number of cylinders sitting on a plane. I want to increase the scale in the Z-axis so that I can better compare the objects. Is there any way to increase the scale for the whole view? I know that for each object I can increase the z-scale in the Transforming Properties box. And that is exactly what I want to do, except I just would like to be able to do it for the whole view, instead of having to do it for each object separately, one by one. I want everything in the view to be scaled in the Z-axis by the same amount. So, it would look the same as if I were to go to each object and put in that new scale value. I have searched around but haven?t been able to find a way to do that. Any suggestions? Did I miss an option somewhere? Thanks, -- Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Thu Jan 18 01:29:40 2018 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Thu, 18 Jan 2018 06:29:40 +0000 Subject: [Paraview] Reading netCDF files Earth models In-Reply-To: <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> References: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> Message-ID: Hi Manoch, I think what you want is not possible right now but let us get back to you on it as something we might want to look into before we can say it for sure. One workaround would be you load the data (uncheck the sphere coordinate system), apply the filter, and then write the data back as NetCDF. It is not ideal by any means. You can also look into vtkSphericalTransform (if you want to convert data back to spherical coordinate system) but you will not get the exact shape of earth which is a ellipsoid (which I am not sure if you would be interested in anyways). Hope this helps. On Wed, Jan 17, 2018 at 7:12 PM Manochehr Bahavar < manoch at iris.washington.edu> wrote: > Ken, > > Thanks for your reply. The problem with that approach is that all the > features I am interested in make sense if they are plotted on a sphere > (they approximate the Earth surface). So, there is no builtin solution for > that? > > One more question: How can I access the actual latitude, longitude and > depth parameter values using Python. I can see their extent and bounds, but > I can not see how I can access the individual values: > > temp.GetBounds() > (0.0, 359.0, -89.0, 89.0, -2750.0, 50.0) > temp.GetDimensions() > (360, 179, 57) > temp.GetExtent() > (0, 359, 0, 178, 0, 56) > temp.GetCenter() > (179.5, 0.0, -1350.0) > temp.GetNumberOfPoints() > 3673080L > > Really appreciate your help > > ?manoch > > > On Jan 17, 2018, at 3:57 PM, Moreland, Kenneth wrote: > > Manochehr, > > If you uncheck the ?Spherical Coordiantes? option, then the longitude, > latitude, and depth values will be preserved as x, y, and z coordinates. > (Instead of translated to a sphere, the data will appear in a rectangle.) > > -Ken > > > On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" < > paraview-bounces at paraview.org on behalf of manoch at iris.washington.edu> > wrote: > > Hello, > > I am trying to see if I can visualize my netCDF Earth models > (longitude, latitude,depth) using ParaView. I have been able to load the > models, with the "Spherical Coordinates" option selected. However it > appears that I now lose my coordinates and depth values and as a result to > extract a subset, I have to use the depth index (not the actual depth > value). Is there a way to preserve the latitude, longitude and depth values > and work with ParaView using the actual values (not their index) directly? > > Thank you, > > ?manoch > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From manoch at iris.washington.edu Thu Jan 18 09:06:12 2018 From: manoch at iris.washington.edu (Manochehr Bahavar) Date: Thu, 18 Jan 2018 06:06:12 -0800 Subject: [Paraview] Reading netCDF files Earth models In-Reply-To: References: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> Message-ID: <721E97F9-276F-4BA0-AD4F-6F184ABA0486@iris.washington.edu> Hi Aashish, Thank you for your reply. That will be great if it gets looked into:) Going back and forth between coordinate systems may be a little confusing, but I will give it a try and see how it works out. Could you also point me in the right direction for getting the latitude, longitude and depth arrays? As I mentioned in my reply to Ken (below), using Python, I go as far as getting the extents and bounds but cannot get the actual values. Thank you again for your quick reply and useful suggestions. Best, ?manoch > On Jan 17, 2018, at 10:29 PM, Aashish Chaudhary wrote: > > Hi Manoch, > > I think what you want is not possible right now but let us get back to you on it as something we might want to look into before we can say it for sure. One workaround would be you load the data (uncheck the sphere coordinate system), apply the filter, and then write the data back as NetCDF. It is not ideal by any means. You can also look into vtkSphericalTransform (if you want to convert data back to spherical coordinate system) but you will not get the exact shape of earth which is a ellipsoid (which I am not sure if you would be interested in anyways). > > Hope this helps. > > On Wed, Jan 17, 2018 at 7:12 PM Manochehr Bahavar > wrote: > Ken, > > Thanks for your reply. The problem with that approach is that all the features I am interested in make sense if they are plotted on a sphere (they approximate the Earth surface). So, there is no builtin solution for that? > > One more question: How can I access the actual latitude, longitude and depth parameter values using Python. I can see their extent and bounds, but I can not see how I can access the individual values: > > temp.GetBounds() > (0.0, 359.0, -89.0, 89.0, -2750.0, 50.0) > temp.GetDimensions() > (360, 179, 57) > temp.GetExtent() > (0, 359, 0, 178, 0, 56) > temp.GetCenter() > (179.5, 0.0, -1350.0) > temp.GetNumberOfPoints() > 3673080L > > Really appreciate your help > > ?manoch > > >> On Jan 17, 2018, at 3:57 PM, Moreland, Kenneth > wrote: >> >> Manochehr, >> >> If you uncheck the ?Spherical Coordiantes? option, then the longitude, latitude, and depth values will be preserved as x, y, and z coordinates. (Instead of translated to a sphere, the data will appear in a rectangle.) >> >> -Ken >> >> >> On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" on behalf of manoch at iris.washington.edu > wrote: >> >> Hello, >> >> I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? >> >> Thank you, >> >> ?manoch >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Thu Jan 18 09:07:44 2018 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Thu, 18 Jan 2018 14:07:44 +0000 Subject: [Paraview] Image Filter plugin - making output larger than input Message-ID: Hello, I have been writing a plugin that takes in ImageData as input and outputs ImageData. The problem is that the ImageData output can be larger than the input. If I use output->SetExtent() to the correct output extents, the information panel in ParaView shows the correct extents but the actual rendering is the size of the input, which is smaller in every dimension. My data shows correctly, but is clipped due to this. I have tried using outInfo->Set( vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), DataExtent, 6 ); and outInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), DataExtent, 6 ); instead of output->SetExtent() but these do not help. I have also tried implementing RequestInformation and RequestUpdateExtent, and if I set outInfo->Set( vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), DataExtent, 6 ); in RequestInformation the output renders to the correct size, however my algorithm calculates the dimensions non-trivially so I'd be having to repeat work in RequestInformation and RequestData. Is there a way to set the correct output extent/dimensions in RequestData? Any help would be appreciated. Kind Regards, Louise Davies -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Thu Jan 18 09:32:48 2018 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Thu, 18 Jan 2018 14:32:48 +0000 Subject: [Paraview] Reading netCDF files Earth models In-Reply-To: <721E97F9-276F-4BA0-AD4F-6F184ABA0486@iris.washington.edu> References: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> , <721E97F9-276F-4BA0-AD4F-6F184ABA0486@iris.washington.edu> Message-ID: Manochehr, ParaView always renders in a Cartesian space. So if you want the lat/lon/depth values to look like a sphere, the coordinates have to be converted and you will loose the original values. I can see the point of your use case. It just never came up before. It seems reasonable to be able to save the original lat/lon values in a field, so I raised a bug for it. https://gitlab.kitware.com/paraview/paraview/issues/17943 As far as getting the coordinates in a script, it is possible but not recommended. If you need to access field or coordinate values directly, it is usually best to do so in a programmable filter. -Ken Sent from my iPad On Jan 18, 2018, at 7:06 AM, Manochehr Bahavar > wrote: Hi Aashish, Thank you for your reply. That will be great if it gets looked into:) Going back and forth between coordinate systems may be a little confusing, but I will give it a try and see how it works out. Could you also point me in the right direction for getting the latitude, longitude and depth arrays? As I mentioned in my reply to Ken (below), using Python, I go as far as getting the extents and bounds but cannot get the actual values. Thank you again for your quick reply and useful suggestions. Best, ?manoch On Jan 17, 2018, at 10:29 PM, Aashish Chaudhary > wrote: Hi Manoch, I think what you want is not possible right now but let us get back to you on it as something we might want to look into before we can say it for sure. One workaround would be you load the data (uncheck the sphere coordinate system), apply the filter, and then write the data back as NetCDF. It is not ideal by any means. You can also look into vtkSphericalTransform (if you want to convert data back to spherical coordinate system) but you will not get the exact shape of earth which is a ellipsoid (which I am not sure if you would be interested in anyways). Hope this helps. On Wed, Jan 17, 2018 at 7:12 PM Manochehr Bahavar > wrote: Ken, Thanks for your reply. The problem with that approach is that all the features I am interested in make sense if they are plotted on a sphere (they approximate the Earth surface). So, there is no builtin solution for that? One more question: How can I access the actual latitude, longitude and depth parameter values using Python. I can see their extent and bounds, but I can not see how I can access the individual values: temp.GetBounds() (0.0, 359.0, -89.0, 89.0, -2750.0, 50.0) temp.GetDimensions() (360, 179, 57) temp.GetExtent() (0, 359, 0, 178, 0, 56) temp.GetCenter() (179.5, 0.0, -1350.0) temp.GetNumberOfPoints() 3673080L Really appreciate your help ?manoch On Jan 17, 2018, at 3:57 PM, Moreland, Kenneth > wrote: Manochehr, If you uncheck the ?Spherical Coordiantes? option, then the longitude, latitude, and depth values will be preserved as x, y, and z coordinates. (Instead of translated to a sphere, the data will appear in a rectangle.) -Ken On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" on behalf of manoch at iris.washington.edu> wrote: Hello, I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? Thank you, ?manoch _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects 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: https://paraview.org/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://paraview.org/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From manoch at iris.washington.edu Thu Jan 18 09:45:25 2018 From: manoch at iris.washington.edu (Manochehr Bahavar) Date: Thu, 18 Jan 2018 06:45:25 -0800 Subject: [Paraview] Reading netCDF files Earth models In-Reply-To: References: <8F0CC206-52D7-478E-8E2E-970F8F9B0457@sandia.gov> <36FD5D02-972A-4D22-B292-F204B8CBABE0@iris.washington.edu> <721E97F9-276F-4BA0-AD4F-6F184ABA0486@iris.washington.edu> Message-ID: Ken, Your comments helped me a lot to see the issue and I appreciate you raising a bug on this. Thanks again for your prompt replies. Best, ?manoch > On Jan 18, 2018, at 6:32 AM, Moreland, Kenneth wrote: > > Manochehr, > > ParaView always renders in a Cartesian space. So if you want the lat/lon/depth values to look like a sphere, the coordinates have to be converted and you will loose the original values. I can see the point of your use case. It just never came up before. It seems reasonable to be able to save the original lat/lon values in a field, so I raised a bug for it. > > https://gitlab.kitware.com/paraview/paraview/issues/17943 > > As far as getting the coordinates in a script, it is possible but not recommended. If you need to access field or coordinate values directly, it is usually best to do so in a programmable filter. > > -Ken > > Sent from my iPad > > On Jan 18, 2018, at 7:06 AM, Manochehr Bahavar > wrote: > >> Hi Aashish, >> >> Thank you for your reply. That will be great if it gets looked into:) Going back and forth between coordinate systems may be a little confusing, but I will give it a try and see how it works out. >> >> >> Could you also point me in the right direction for getting the latitude, longitude and depth arrays? As I mentioned in my reply to Ken (below), using Python, I go as far as getting the extents and bounds but cannot get the actual values. >> >> Thank you again for your quick reply and useful suggestions. >> >> Best, >> >> ?manoch >> >> >> >>> On Jan 17, 2018, at 10:29 PM, Aashish Chaudhary > wrote: >>> >>> Hi Manoch, >>> >>> I think what you want is not possible right now but let us get back to you on it as something we might want to look into before we can say it for sure. One workaround would be you load the data (uncheck the sphere coordinate system), apply the filter, and then write the data back as NetCDF. It is not ideal by any means. You can also look into vtkSphericalTransform (if you want to convert data back to spherical coordinate system) but you will not get the exact shape of earth which is a ellipsoid (which I am not sure if you would be interested in anyways). >>> >>> Hope this helps. >>> >>> On Wed, Jan 17, 2018 at 7:12 PM Manochehr Bahavar > wrote: >>> Ken, >>> >>> Thanks for your reply. The problem with that approach is that all the features I am interested in make sense if they are plotted on a sphere (they approximate the Earth surface). So, there is no builtin solution for that? >>> >>> One more question: How can I access the actual latitude, longitude and depth parameter values using Python. I can see their extent and bounds, but I can not see how I can access the individual values: >>> >>> temp.GetBounds() >>> (0.0, 359.0, -89.0, 89.0, -2750.0, 50.0) >>> temp.GetDimensions() >>> (360, 179, 57) >>> temp.GetExtent() >>> (0, 359, 0, 178, 0, 56) >>> temp.GetCenter() >>> (179.5, 0.0, -1350.0) >>> temp.GetNumberOfPoints() >>> 3673080L >>> >>> Really appreciate your help >>> >>> ?manoch >>> >>> >>>> On Jan 17, 2018, at 3:57 PM, Moreland, Kenneth > wrote: >>>> >>>> Manochehr, >>>> >>>> If you uncheck the ?Spherical Coordiantes? option, then the longitude, latitude, and depth values will be preserved as x, y, and z coordinates. (Instead of translated to a sphere, the data will appear in a rectangle.) >>>> >>>> -Ken >>>> >>>> >>>> On 1/17/18, 4:34 PM, "ParaView on behalf of Manochehr Bahavar" on behalf of manoch at iris.washington.edu > wrote: >>>> >>>> Hello, >>>> >>>> I am trying to see if I can visualize my netCDF Earth models (longitude, latitude,depth) using ParaView. I have been able to load the models, with the "Spherical Coordinates" option selected. However it appears that I now lose my coordinates and depth values and as a result to extract a subset, I have to use the depth index (not the actual depth value). Is there a way to preserve the latitude, longitude and depth values and work with ParaView using the actual values (not their index) directly? >>>> >>>> Thank you, >>>> >>>> ?manoch >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects 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: >>>> https://paraview.org/mailman/listinfo/paraview >>>> >>>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> https://paraview.org/mailman/listinfo/paraview >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From omid.mahabadi at geomechanica.com Thu Jan 18 13:22:03 2018 From: omid.mahabadi at geomechanica.com (Omid Mahabadi) Date: Thu, 18 Jan 2018 13:22:03 -0500 Subject: [Paraview] ParaView 5.x not showing all objects available in Pipeline Browser In-Reply-To: <01074D32-6C66-40A5-9FCE-41AB3A69D7DA@sandia.gov> References: <01074D32-6C66-40A5-9FCE-41AB3A69D7DA@sandia.gov> Message-ID: Thanks Ken. I will try this on other machines. BTW I have version 3.0 of OpenGL: $ glxinfo | grep "OpenGL version" OpenGL version string: 3.0 Mesa 10.5.9 Best regards, Omid -- Omid Mahabadi, Ph.D., P.Eng. President & Geomechanics Specialist Geomechanica Inc Suite 900 ? 390 Bay Street, Toronto, On, M5H 2Y2 Canada http://www.geomechanica.com/ Tel: +1-647-478-9767 Cell: +1-416-824-2408 Skype: omid82 Standalone licenses and cloud subscriptions for Irazu 2D/3D geomechanics simulation software are now available: http://irazu.geomechanica.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify me immediately by email if you have received this email by mistake and delete this email from your system. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required, please request a hard-copy version. Geomechanica Inc. On Tue, Jan 16, 2018 at 10:31 AM, Moreland, Kenneth wrote: > Omid, > > > > The only other thing I can think of is that there is something odd about > the OpenGL driver/hardware on your system that for some reason is not > supporting the coincident topology resolution in ParaView. ParaView changed > its rendering system from OpenGL 1.3 to OpenGL 3.1 in version 5, the > version that you report seeing the issue. > > > > Once again, I recommend trying to run ParaView on a completely different > computer if you can find access to one. You might also try updating the > OpenGL drivers on your computer. Beyond that, I am out of ideas. > > > > -Ken > > > > *From: *Omid Mahabadi > *Date: *Tuesday, January 16, 2018 at 7:58 AM > *To: *"Moreland, Kenneth" > *Cc: *"paraview at paraview.org" > > *Subject: *[EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi Ken, > > Thanks for your feedback and sorry for my late reply. Somehow I didn't get > this message and only found your reply after searching in my mailbox. > > > > I tried various values for the Z Shift, increasing it by one order of > magnitude until reaching a value of 200, restarting in between changes. > This didn't help. > > > > I haven't really made any other changes in ParaView settings. I even > restored to defaults a couple of times. I've been using Linux Mint 17 and > have also experienced the same issue on Ubuntu 14.04 both 64 bit. > > > > Thanks > > > Best regards, > > Omid > > > > > > > > On Wed, Jan 10, 2018 at 12:45 PM, Moreland, Kenneth > wrote: > > Omid, > > > > Even after applying the Threshold filter, I cannot replicate your problem. > I?ve tried on both ParaView 5.2 and 5.4. Both work fine for me. > > > > My settings are the default. ?Resolve Coincident Topology? is set to > ?Shift z-buffer when rendering lines and points?. ?Z Shift? is set to > 0.002. (Polygon offset should not matter in this mode.) You could try > increasing the Z Shift to fix the problem. Note that you have to restart > ParaView in order for these options to take effect. > > > > It is possible that there is some quirk with the rendering system on your > computer that does not implement the topology resolution. Do you happen to > have another computer on which you can try to run this? I also noted that > if I turn on OSPRay rendering, I do get the missing line issue you > describe. There might be other display/rendering parameters that cause > issues. But the defaults should be fine, so unless you have done some > tinkering you should be OK. > > > > -Ken > > > > *From:* Omid Mahabadi [mailto:omid.mahabadi at geomechanica.com] > *Sent:* Wednesday, January 10, 2018 9:21 AM > *To:* Moreland, Kenneth > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi Ken, > > Thanks for the detailed reply. I could not get anything out of the > settings dialog as per your suggestion. Did you have a combination of those > settings that might work for my files? > > I can also see the image you sent; that's usually fine. However, I > typically apply a Threshold filter to the _basic_ files (Scalar: alive; > min: 0.1; max: 1). In this case, the _basic_ object is always drawn in > front of the _broken_joint_ object. > > In addition, I visualize dozens of these files every day so Transforming > every single object is a bit tedious. > > Thank you, > > Omid > > > > > > On Mon, Jan 8, 2018 at 5:56 PM, Moreland, Kenneth > wrote: > > Omid, > > > > I am unable to replicate your issue in ParaView 5.4.1. When I loaded your > data and showed the broken_joint data in wireframe, I was clearly able to > see the lines of broken_joint over the polygons of basic. (See the attached > image.) > > > > The problem you are getting is likely caused by z-buffer fighting in the > rendering. This happens when two objects are the exact same distance from > the viewer, as I believe is the case in your data. Wanting to draw lines on > top of polygons is common enough that there are some corrections to help > the rendering determine what to draw in front. Perhaps by changing the > settings on resolving coincident topology will resolve your issue. You can > find them by opening the ParaView settings dialog (Edit ? Settings), > clicking on the Render View tab, and turning on the advanced options. The > options you are looking for are ?Resolve Coincident Topology,? ?Polygon > Offset Parameters?, and ?Z Shift.? > > > > Another, possibly easier, solution it to simply move the lines of the > broken_joint data closer to the camera. Click the broken_joint object and > add the Transform filter. Change the Translate parameter to 0, 0, 1 and > apply. That should shift the wireframe forward enough to see it properly. > > > > -Ken > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Omid > Mahabadi > *Sent:* Monday, January 8, 2018 2:30 PM > *To:* paraview at paraview.org > *Subject:* [EXTERNAL] [Paraview] ParaView 5.x not showing all objects > available in Pipeline Browser > > > > Hi, > > I use ParaView to visualize data of our simulations using the Unstructured > Grid data format. Up until ParaView 4.x everything worked fine: we > typically visualize one set of data files as Surfaces and another as > Wireframe. The Wireframe dataset refers to "fracture lines" in our > simulations. > > See below how the simulation looked like in PV version 4.x. You could > clearly see the line around the boundaries of the model. > > [image: nline image 1] > > However, in PV 5.x the lines are not fully visualized as if they're hidden > below the other data object: > > [image: nline image 2] > > I've tried a few versions of 5.x but they all behave similarly. > > Does anyone know what might be going on here? Is this a bug / removed > featured from the new version or should I do something different with 5.x? > I've noticed that this issue does not happen consistently. I've seen the > issue on both Linux Mint 17.3 (64 bit) and Ubuntu > > I've attached two example VTU files. Please visualize the second file as > Wireframe (_broken_joint). Below are two large VTU files. > > https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0 > > > > Can someone else reproduce this issue? > > > > I'd really hope to start using ParaView 5 since it finally has the > long-missing Reload Files options! > > Thank you, > > Omid > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2965 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2608 bytes Desc: not available URL: From simon.m.su.civ at mail.mil Thu Jan 18 18:29:17 2018 From: simon.m.su.civ at mail.mil (Su, Simon M CIV USARMY RDECOM ARL (US)) Date: Thu, 18 Jan 2018 23:29:17 +0000 Subject: [Paraview] ParaView + OpenVR (UNCLASSIFIED) Message-ID: CLASSIFICATION: UNCLASSIFIED Hello, I am wondering how to build a version of ParaView with OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from https://github.com/ValveSoftware/openvr with just basic/minimal cmake option. I am using the following cmake line for ParaView cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib I am running into the following error C:\Users\one\build\ParaView\b>ninja [47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe? /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc? ?/MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem' U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of 'vr::IVRSystem' [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj ninja: build stopped: subcommand failed. Any help is much appreciated. Thanks -simon CLASSIFICATION: UNCLASSIFIED From benson.muite at ut.ee Thu Jan 18 23:50:28 2018 From: benson.muite at ut.ee (Benson Muite) Date: Fri, 19 Jan 2018 06:50:28 +0200 Subject: [Paraview] ParaView + OpenVR (UNCLASSIFIED) In-Reply-To: References: Message-ID: Hi, Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac. Have you tried build using flags similar to binary release version? https://blog.kitware.com/taking-paraview-into-virtual-reality/ Benson On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: > CLASSIFICATION: UNCLASSIFIED > > Hello, > > I am wondering how to build a version of ParaView with OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from https://github.com/ValveSoftware/openvr with just basic/minimal cmake option. I am using the following cmake line for ParaView > > cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib > > I am running into the following error > > C:\Users\one\build\ParaView\b>ninja > [47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj > FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj > C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe? /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc? ?/MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx > C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem' > U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of 'vr::IVRSystem' > [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj > ninja: build stopped: subcommand failed. > > > Any help is much appreciated. > > Thanks > -simon > > > CLASSIFICATION: UNCLASSIFIED > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > From andy.john.parker at googlemail.com Fri Jan 19 06:27:55 2018 From: andy.john.parker at googlemail.com (Andrew Parker) Date: Fri, 19 Jan 2018 11:27:55 +0000 Subject: [Paraview] [EXTERNAL] Re: Make animation from steady state result In-Reply-To: <9047EE0D4D3C8E43B93980DA10A073809C2FA05B@EXMB04.srn.sandia.gov> References: <9047EE0D4D3C8E43B93980DA10A073809C2FA05B@EXMB04.srn.sandia.gov> Message-ID: Dear all, Sorry to post onto an old thread. I have been reading this thread and the related write up here: https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field This thread (and the tips and tricks post) is really close to what I want to do, but I have a few follow-up questions. I too have a steady-state solution field. I want to trace particles from the inlet of my domain to the exit, following the steady-state velocity field, and report for each particle the temperature-time history (or any other scalar from my simulation) that the particle sees. In additional and crucially, the time the particle has within the domain: a residence time. The residence time would be the maximum value or IntegrationTime each particle attains before it leaves the domain. I see that if I follow the notes I can plot (using Glyphs) the temperature as it varies across my domain as the particles are animated down the streamlines: this is working. What I do not seem to be able to find however, is the IntegrationTime. It appears as point-field data after the streamlines are created, but vanishes after the contour filter is applied. I guess the contour filter is computing a singular value for all values of the IntegrationTime from T=0 to T=N with a specific level of granularity. However, I can't seem to extract the specific value of IntegrationTime (the contour value) when I stop the simulation at any given point. Do you know how to do that? The "time" scale in the VCR window always goes from 0->1 not from 0->(max value of IntegrationTime in seconds). Can the actual value of time be backed out or animated? If so how do I do that, or am I applying the Contour filter wrongly: as per the post, I am only using the default values in the Counter filter panel. Finally, and importantly for me, while the Glyphs move across the screen following the streamlines, and render via the temperature field, how to I actually extract information from this pseudo time series to perform analysis? For example, the min and max temperature seen by a particle as it moved across the streamline for instance? I'm actually hoping to plot offline (as a function of IntegrationTime) the min and max temperature obtained for each particle: I can then take the min and max of that set for the quickest and slowest particles. Using the latest stock version of paraview. Cheers, Andy On 6 June 2014 at 20:30, Scott, W Alan wrote: > Ken and Jean, excellent idea! I liked it so much that I wrote it up in > the SNL ParaView tutorials, tips and tricks page. It is located here: > http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks > > > > Alan > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Moreland, > Kenneth > *Sent:* Friday, June 06, 2014 11:43 AM > *To:* David E DeMarle; minh hien > *Cc:* paraview at paraview.org > > *Subject:* [EXTERNAL] Re: [Paraview] Make animation from steady state > result > > > > Here's a more expanded list of steps outlining the solution David gave in > case you are not very familiar with the contour filter and animation > controls in ParaView. > > > > 1. Create the streamlines as you normally would. > > > > 2. Add a Contour filter to the streamline (third toolbar, second button > from the left). > > 2.a. Change the Contour By property to IntegrationTime. > > 2.b. Press Apply. > > This little trick will create a point on each streamline at a particular > time in the particle advection simulation that created the streamlines. > > > > 3. Open the Animation View (View -> Animation View) > > 3.a. On the bottom row, select the contour filter in the first chooser box > and Isosurfaces in the second chooser box. Then hit the blue plus button at > the left. > > 3.b. Make sure Mode is set to Sequence and change No. Frames to 100. > > 3.c. Hit the play button in the VCR controls (green triangle in the top > toolbar). You will see the dots animate over the streamlines. > > 3.d. You can adjust the speed of the animation by changing the No. Frames. > > > > 4. If you want to see glyphs instead of dots, just add the glyph filter to > the output of the contour filter. > > > > BTW, props to Jean Favre for originally posting this solution to the > ParaView mailing list (http://markmail.org/message/ms57z7jjubh2pzjg). > > > > -Ken > > > > *From: *David E DeMarle > *Date: *Thursday, June 5, 2014 8:07 AM > *To: *minh hien > *Cc: *"paraview at paraview.org" > *Subject: *[EXTERNAL] Re: [Paraview] Make animation from steady state > result > > > > Make an isocontour of the streamlines' integrationTime variable. > > Then in animation view, make a track for the isocontour value. > > > David E DeMarle > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > > > On Thu, Jun 5, 2014 at 9:52 AM, minh hien wrote: > > Hi all, > > > > I got steady state solution for my problem. After plotting streamlines at > steady state, I would like to make animation showing moving of spheres > (resulted from Glyph filter) on the streamlines, the spheres' velocity > should be defined by the flow velocity. How can I make this? > > Any suggestion would be very much appreciated. > > > > Thank you in advance. > > > > Minh > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Jan 19 08:18:18 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 19 Jan 2018 08:18:18 -0500 Subject: [Paraview] [EXTERNAL] Re: Make animation from steady state result In-Reply-To: References: <9047EE0D4D3C8E43B93980DA10A073809C2FA05B@EXMB04.srn.sandia.gov> Message-ID: Andrew, Responses inlined below: On Fri, Jan 19, 2018 at 6:27 AM, Andrew Parker via ParaView wrote: > Dear all, > > Sorry to post onto an old thread. I have been reading this thread and the > related write up here: > https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Animating_a_static_vector_field > > This thread (and the tips and tricks post) is really close to what I want to > do, but I have a few follow-up questions. I too have a steady-state > solution field. I want to trace particles from the inlet of my domain to the > exit, following the steady-state velocity field, and report for each > particle the temperature-time history (or any other scalar from my > simulation) that the particle sees. In additional and crucially, the time > the particle has within the domain: a residence time. The residence time > would be the maximum value or IntegrationTime each particle attains before > it leaves the domain. > > I see that if I follow the notes I can plot (using Glyphs) the temperature > as it varies across my domain as the particles are animated down the > streamlines: this is working. What I do not seem to be able to find > however, is the IntegrationTime. It appears as point-field data after the > streamlines are created, but vanishes after the contour filter is applied. > I guess the contour filter is computing a singular value for all values of > the IntegrationTime from T=0 to T=N with a specific level of granularity. By default, the Contour filter does not copy the scalar field used to determine the contour surface since it will always be the same value. You can tell it to copy the scalar field by enabling the Compute Scalars option. > However, I can't seem to extract the specific value of IntegrationTime (the > contour value) when I stop the simulation at any given point. Do you know > how to do that? The "time" scale in the VCR window always goes from 0->1 > not from 0->(max value of IntegrationTime in seconds). Can the actual value > of time be backed out or animated? If so how do I do that, or am I applying > the Contour filter wrongly: as per the post, I am only using the default > values in the Counter filter panel. Instead of using the Sequence animation mode, use Real Time. Then, set the Start Time to the minimum IntegrationTime value and End Time to the maximum IntegrationTime value. You can see these listed either in the Information tab of the StreamTracer filter in the Pipeline Browser or under the Contour filter's Property tab under the Isosurfaces section (Value Range). To show the current time in the render view, use an Annotate Time source, available in the Sources menu. > Finally, and importantly for me, while the Glyphs move across the screen > following the streamlines, and render via the temperature field, how to I > actually extract information from this pseudo time series to perform > analysis? For example, the min and max temperature seen by a particle as it > moved across the streamline for instance? I'm actually hoping to plot > offline (as a function of IntegrationTime) the min and max temperature > obtained for each particle: I can then take the min and max of that set for > the quickest and slowest particles. You can run the Connectivity filter on the StreamTracer output to assign a unique value to each streamline. This unique value will be called RegionId. It starts at 0 and ends at the number of stream lines minus 1. Selecting each stream line can be done with the Threshold filter in ParaView using the RegionId as the threshold array, then you can see the min/max of your temperature and IntegrationTime variables in the Information tab. Iterating over all stream lines and saving the min/max of the different scalar fields is possible using ParaView's Python scripting capabilities. However, you may find it faster to export the data to a tool with which you are more familiar. To do that, I would suggest saving the Connectivity filter output to a .csv file. The CSV file will contain all the scalar fields in different columns, including the aforementioned RegionId field. Simply filter on the RegionId field using your favorite software/plotting tool to find the min and max temperature and max IntegrationTime of the particle along the stream line. HTH, Cory > Using the latest stock version of paraview. > > Cheers, > Andy > > On 6 June 2014 at 20:30, Scott, W Alan wrote: >> >> Ken and Jean, excellent idea! I liked it so much that I wrote it up in >> the SNL ParaView tutorials, tips and tricks page. It is located here: >> http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks >> >> >> >> Alan >> >> >> >> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of >> Moreland, Kenneth >> Sent: Friday, June 06, 2014 11:43 AM >> To: David E DeMarle; minh hien >> Cc: paraview at paraview.org >> >> >> Subject: [EXTERNAL] Re: [Paraview] Make animation from steady state result >> >> >> >> Here's a more expanded list of steps outlining the solution David gave in >> case you are not very familiar with the contour filter and animation >> controls in ParaView. >> >> >> >> 1. Create the streamlines as you normally would. >> >> >> >> 2. Add a Contour filter to the streamline (third toolbar, second button >> from the left). >> >> 2.a. Change the Contour By property to IntegrationTime. >> >> 2.b. Press Apply. >> >> This little trick will create a point on each streamline at a particular >> time in the particle advection simulation that created the streamlines. >> >> >> >> 3. Open the Animation View (View -> Animation View) >> >> 3.a. On the bottom row, select the contour filter in the first chooser box >> and Isosurfaces in the second chooser box. Then hit the blue plus button at >> the left. >> >> 3.b. Make sure Mode is set to Sequence and change No. Frames to 100. >> >> 3.c. Hit the play button in the VCR controls (green triangle in the top >> toolbar). You will see the dots animate over the streamlines. >> >> 3.d. You can adjust the speed of the animation by changing the No. Frames. >> >> >> >> 4. If you want to see glyphs instead of dots, just add the glyph filter to >> the output of the contour filter. >> >> >> >> BTW, props to Jean Favre for originally posting this solution to the >> ParaView mailing list (http://markmail.org/message/ms57z7jjubh2pzjg). >> >> >> >> -Ken >> >> >> >> From: David E DeMarle >> Date: Thursday, June 5, 2014 8:07 AM >> To: minh hien >> Cc: "paraview at paraview.org" >> Subject: [EXTERNAL] Re: [Paraview] Make animation from steady state result >> >> >> >> Make an isocontour of the streamlines' integrationTime variable. >> >> Then in animation view, make a track for the isocontour value. >> >> >> David E DeMarle >> Kitware, Inc. >> R&D Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> >> >> On Thu, Jun 5, 2014 at 9:52 AM, minh hien wrote: >> >> Hi all, >> >> >> >> I got steady state solution for my problem. After plotting streamlines at >> steady state, I would like to make animation showing moving of spheres >> (resulted from Glyph filter) on the streamlines, the spheres' velocity >> should be defined by the flow velocity. How can I make this? >> >> Any suggestion would be very much appreciated. >> >> >> >> Thank you in advance. >> >> >> >> Minh >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From andrew.parker at cantab.net Fri Jan 19 08:36:55 2018 From: andrew.parker at cantab.net (Andrew Parker) Date: Fri, 19 Jan 2018 13:36:55 +0000 Subject: [Paraview] [EXTERNAL] Re: Make animation from steady state result In-Reply-To: References: <9047EE0D4D3C8E43B93980DA10A073809C2FA05B@EXMB04.srn.sandia.gov> Message-ID: Thank you very much for these comments. I'll give them a go and follow up if need be. Thanks, Andy On 19 January 2018 at 13:18, Cory Quammen wrote: > Andrew, > > Responses inlined below: > > On Fri, Jan 19, 2018 at 6:27 AM, Andrew Parker via ParaView > wrote: > > Dear all, > > > > Sorry to post onto an old thread. I have been reading this thread and the > > related write up here: > > https://www.paraview.org/Wiki/Advanced_Tips_and_Tricks# > Animating_a_static_vector_field > > > > This thread (and the tips and tricks post) is really close to what I > want to > > do, but I have a few follow-up questions. I too have a steady-state > > solution field. I want to trace particles from the inlet of my domain to > the > > exit, following the steady-state velocity field, and report for each > > particle the temperature-time history (or any other scalar from my > > simulation) that the particle sees. In additional and crucially, the > time > > the particle has within the domain: a residence time. The residence time > > would be the maximum value or IntegrationTime each particle attains > before > > it leaves the domain. > > > > I see that if I follow the notes I can plot (using Glyphs) the > temperature > > as it varies across my domain as the particles are animated down the > > streamlines: this is working. What I do not seem to be able to find > > however, is the IntegrationTime. It appears as point-field data after > the > > streamlines are created, but vanishes after the contour filter is > applied. > > I guess the contour filter is computing a singular value for all values > of > > the IntegrationTime from T=0 to T=N with a specific level of granularity. > > By default, the Contour filter does not copy the scalar field used to > determine the contour surface since it will always be the same value. > You can tell it to copy the scalar field by enabling the Compute > Scalars option. > > > However, I can't seem to extract the specific value of IntegrationTime > (the > > contour value) when I stop the simulation at any given point. Do you > know > > how to do that? The "time" scale in the VCR window always goes from 0->1 > > not from 0->(max value of IntegrationTime in seconds). Can the actual > value > > of time be backed out or animated? If so how do I do that, or am I > applying > > the Contour filter wrongly: as per the post, I am only using the default > > values in the Counter filter panel. > > Instead of using the Sequence animation mode, use Real Time. Then, set > the Start Time to the minimum IntegrationTime value and End Time to > the maximum IntegrationTime value. You can see these listed either in > the Information tab of the StreamTracer filter in the Pipeline Browser > or under the Contour filter's Property tab under the Isosurfaces > section (Value Range). To show the current time in the render view, > use an Annotate Time source, available in the Sources menu. > > > Finally, and importantly for me, while the Glyphs move across the screen > > following the streamlines, and render via the temperature field, how to I > > actually extract information from this pseudo time series to perform > > analysis? For example, the min and max temperature seen by a particle > as it > > moved across the streamline for instance? I'm actually hoping to plot > > offline (as a function of IntegrationTime) the min and max temperature > > obtained for each particle: I can then take the min and max of that set > for > > the quickest and slowest particles. > > You can run the Connectivity filter on the StreamTracer output to > assign a unique value to each streamline. This unique value will be > called RegionId. It starts at 0 and ends at the number of stream lines > minus 1. Selecting each stream line can be done with the Threshold > filter in ParaView using the RegionId as the threshold array, then you > can see the min/max of your temperature and IntegrationTime variables > in the Information tab. Iterating over all stream lines and saving the > min/max of the different scalar fields is possible using ParaView's > Python scripting capabilities. However, you may find it faster to > export the data to a tool with which you are more familiar. > > To do that, I would suggest saving the Connectivity filter output to a > .csv file. The CSV file will contain all the scalar fields in > different columns, including the aforementioned RegionId field. Simply > filter on the RegionId field using your favorite software/plotting > tool to find the min and max temperature and max IntegrationTime of > the particle along the stream line. > > HTH, > Cory > > > > Using the latest stock version of paraview. > > > > Cheers, > > Andy > > > > On 6 June 2014 at 20:30, Scott, W Alan wrote: > >> > >> Ken and Jean, excellent idea! I liked it so much that I wrote it up in > >> the SNL ParaView tutorials, tips and tricks page. It is located here: > >> http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks > >> > >> > >> > >> Alan > >> > >> > >> > >> From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > >> Moreland, Kenneth > >> Sent: Friday, June 06, 2014 11:43 AM > >> To: David E DeMarle; minh hien > >> Cc: paraview at paraview.org > >> > >> > >> Subject: [EXTERNAL] Re: [Paraview] Make animation from steady state > result > >> > >> > >> > >> Here's a more expanded list of steps outlining the solution David gave > in > >> case you are not very familiar with the contour filter and animation > >> controls in ParaView. > >> > >> > >> > >> 1. Create the streamlines as you normally would. > >> > >> > >> > >> 2. Add a Contour filter to the streamline (third toolbar, second button > >> from the left). > >> > >> 2.a. Change the Contour By property to IntegrationTime. > >> > >> 2.b. Press Apply. > >> > >> This little trick will create a point on each streamline at a particular > >> time in the particle advection simulation that created the streamlines. > >> > >> > >> > >> 3. Open the Animation View (View -> Animation View) > >> > >> 3.a. On the bottom row, select the contour filter in the first chooser > box > >> and Isosurfaces in the second chooser box. Then hit the blue plus > button at > >> the left. > >> > >> 3.b. Make sure Mode is set to Sequence and change No. Frames to 100. > >> > >> 3.c. Hit the play button in the VCR controls (green triangle in the top > >> toolbar). You will see the dots animate over the streamlines. > >> > >> 3.d. You can adjust the speed of the animation by changing the No. > Frames. > >> > >> > >> > >> 4. If you want to see glyphs instead of dots, just add the glyph filter > to > >> the output of the contour filter. > >> > >> > >> > >> BTW, props to Jean Favre for originally posting this solution to the > >> ParaView mailing list (http://markmail.org/message/ms57z7jjubh2pzjg). > >> > >> > >> > >> -Ken > >> > >> > >> > >> From: David E DeMarle > >> Date: Thursday, June 5, 2014 8:07 AM > >> To: minh hien > >> Cc: "paraview at paraview.org" > >> Subject: [EXTERNAL] Re: [Paraview] Make animation from steady state > result > >> > >> > >> > >> Make an isocontour of the streamlines' integrationTime variable. > >> > >> Then in animation view, make a track for the isocontour value. > >> > >> > >> David E DeMarle > >> Kitware, Inc. > >> R&D Engineer > >> 21 Corporate Drive > >> Clifton Park, NY 12065-8662 > >> Phone: 518-881-4909 > >> > >> > >> > >> On Thu, Jun 5, 2014 at 9:52 AM, minh hien wrote: > >> > >> Hi all, > >> > >> > >> > >> I got steady state solution for my problem. After plotting streamlines > at > >> steady state, I would like to make animation showing moving of spheres > >> (resulted from Glyph filter) on the streamlines, the spheres' velocity > >> should be defined by the flow velocity. How can I make this? > >> > >> Any suggestion would be very much appreciated. > >> > >> > >> > >> Thank you in advance. > >> > >> > >> > >> Minh > >> > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the ParaView Wiki at: > >> http://paraview.org/Wiki/ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://www.paraview.org/mailman/listinfo/paraview > >> > >> > >> > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the ParaView Wiki at: > >> http://paraview.org/Wiki/ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://www.paraview.org/mailman/listinfo/paraview > >> > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > https://paraview.org/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Fri Jan 19 09:41:58 2018 From: ken.martin at kitware.com (Ken Martin) Date: Fri, 19 Jan 2018 09:41:58 -0500 Subject: [Paraview] ParaView + OpenVR (UNCLASSIFIED) In-Reply-To: References: Message-ID: Hi Simon & Benson, I would bet steam has changed their API (again :-) and removed that method. Maybe try downloading/git checkout using the 1.0.10 version of OpenVR. That is what I last tested with and it should build fine against that. Thanks! Ken On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite wrote: > Hi, > > Does binary release version work for you? (At present only Windows is > available), seem to be a few things to fix on Linux & Mac. > > > Have you tried build using flags similar to binary release version? > https://blog.kitware.com/taking-paraview-into-virtual-reality/ > > Benson > > On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: > >> CLASSIFICATION: UNCLASSIFIED >> >> Hello, >> >> I am wondering how to build a version of ParaView with OpenVR plugin? >> Which version of OpenVR shall I use? I used the OpenVR from >> https://github.com/ValveSoftware/openvr with just basic/minimal cmake >> option. I am using the following cmake line for ParaView >> >> cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView >> -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON >> -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON >> -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/bo >> ost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 >> -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON >> -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include >> -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib >> >> I am running into the following error >> >> C:\Users\one\build\ParaView\b>ninja >> [47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFile >> s\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj >> FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/ >> vtkOpenVRRenderWindow.cxx.obj >> C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe >> /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK >> -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE >> -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE >> -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. >> -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR >> -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core >> -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML >> -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys >> -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 >> -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources >> -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\ >> paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel >> -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel >> -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math >> -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc >> -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System >> -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms >> -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\ >> paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core >> -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core >> -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General >> -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image >> -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\ >> paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio >> -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO >> -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib >> -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg >> -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png >> -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff >> -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff >> -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser >> -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core >> -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib >> -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 >> -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 >> -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat >> -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources >> -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core >> -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style >> -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\ >> paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics >> -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics >> -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier >> -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib >> -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core >> -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color >> -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry >> -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\ >> paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid >> -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid >> -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling >> -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color >> -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General >> -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid >> -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\ >> paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType >> -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType >> -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\ >> paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume >> -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML >> -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML >> -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 >> -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew >> -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\ >> paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math >> -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math >> -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 >> /D_WINDOWS /W4 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes >> /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj >> /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c >> C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vt >> kOpenVRRenderWindow.cxx >> C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): >> error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of >> 'vr::IVRSystem' >> U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of >> 'vr::IVRSystem' >> [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi... >> tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj >> ninja: build stopped: subcommand failed. >> >> >> Any help is much appreciated. >> >> Thanks >> -simon >> >> >> CLASSIFICATION: UNCLASSIFIED >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensou > rce/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: > https://paraview.org/mailman/listinfo/paraview > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Fri Jan 19 09:55:15 2018 From: ken.martin at kitware.com (Ken Martin) Date: Fri, 19 Jan 2018 09:55:15 -0500 Subject: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED) In-Reply-To: References: Message-ID: Those flags look reasonable, but last I checked the OpenVR CMake files had some minor issues. I use a small patch file for OpenVR 1.0.10 in the paraview superbuild. The patch file is here https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch I think it mostly fixes install issues and shared library support. On Fri, Jan 19, 2018 at 9:49 AM, Su, Simon M CIV USARMY RDECOM ARL (US) < simon.m.su.civ at mail.mil> wrote: > CLASSIFICATION: UNCLASSIFIED > > Hi Ken, > > I guess that's the price to pay when working with cutting edge technology > :) Thanks for the OpenVR version info. I used the release version of it. > What is your cmake flag for OpenVR? I just used > > cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR > -DCMAKE_BUILD_TYPE=Release > > Any other variable I need to specify? I will try to compile it with OpenVR > version 1.0.10. Thank you > > And Benson, yes the binary version worked ok with our HTC Vive. > > Thanks > -simon > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Ken > Martin > Sent: Friday, January 19, 2018 9:42 AM > To: Benson Muite > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > > ________________________________ > > > > Hi Simon & Benson, > > I would bet steam has changed their API (again :-) and removed that > method. Maybe try downloading/git checkout using the 1.0.10 version of > OpenVR. That is what I last tested with and it should build fine against > that. > > Thanks! > Ken > > On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite Caution-mailto:benson.muite at ut.ee > > wrote: > > > Hi, > > Does binary release version work for you? (At present only Windows > is available), seem to be a few things to fix on Linux & Mac. > > > Have you tried build using flags similar to binary release version? > Caution-https://blog.kitware.com/taking-paraview-into- > virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into- > virtual-reality/ > > > Benson > > On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) > wrote: > > > CLASSIFICATION: UNCLASSIFIED > > Hello, > > I am wondering how to build a version of ParaView with > OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from > Caution-https://github.com/ValveSoftware/openvr < Caution- > https://github.com/ValveSoftware/openvr > with just basic/minimal cmake > option. I am using the following cmake line for ParaView > > cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView > -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON > -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON > -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/ > boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 > -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON > -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include > -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib > > I am running into the following error > > C:\Users\one\build\ParaView\b>ninja > [47/14039] Building CXX object VTK\Rendering\OpenVR\ > CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj > FAILED: VTK/Rendering/OpenVR/ > CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj > C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe > /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK > -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE > -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE > -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. > -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR > -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core > -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML > -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys > -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 > -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources > -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\ > paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel > -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel > -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math > -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc > -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System > -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms > -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\ > paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core > -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core > -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General > -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image > -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\ > paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio > -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO > -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib > -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg > -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png > -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff > -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff > -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser > -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core > -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib > -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 > -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 > -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat > -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources > -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core > -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style > -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\ > paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics > -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics > -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier > -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib > -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core > -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color > -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry > -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\ > paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid > -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid > -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling > -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color > -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General > -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid > -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\ > paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType > -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType > -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\ > paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume > -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML > -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 > -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 > -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew > -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\ > paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math > -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math > -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 > /D_WINDOWS /W4 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes > /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR. > dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\ > CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\ > paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx > C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\ > vtkOpenVRRenderWindow.cxx(281): error C2039: ' > IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem' > U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see > declaration of 'vr::IVRSystem' > [56/14039] Building CXX object > VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\ > vtkConditionVariablePython.cxx.obj > ninja: build stopped: subcommand failed. > > > Any help is much appreciated. > > Thanks > -simon > > > CLASSIFICATION: UNCLASSIFIED > _______________________________________________ > Powered by Caution-www.kitware.com < Caution- > http://www.kitware.com > > > Visit other Kitware open-source projects at Caution- > http://www.kitware.com/opensource/opensource.html < Caution- > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki > at: Caution-http://paraview.org/Wiki/ParaView < Caution- > http://paraview.org/Wiki/ParaView > > > Search the list archives at: Caution-http://markmail.org/ > search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > Caution-https://paraview.org/mailman/listinfo/paraview < > Caution-https://paraview.org/mailman/listinfo/paraview > > > > > > _______________________________________________ > Powered by Caution-www.kitware.com < Caution- > http://www.kitware.com > > > Visit other Kitware open-source projects at Caution- > http://www.kitware.com/opensource/opensource.html < Caution- > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/ > Wiki/ParaView > > > Search the list archives at: Caution-http://markmail.org/ > search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > Caution-https://paraview.org/mailman/listinfo/paraview < Caution- > https://paraview.org/mailman/listinfo/paraview > > > > > > > -- > > Ken Martin PhD > Distinguished Engineer > Kitware Inc. > > 28 Corporate Drive > Clifton Park NY 12065 > > > This communication,including all attachments, contains confidential and > legally privilegedinformation, and it is intended only for the use of the > addressee. Access to this email by anyone else isunauthorized. If you are > not the intended recipient, any disclosure, copying,distribution or any > action taken in reliance on it is prohibited and may beunlawful. If you > received this communication in error please notify usimmediately and > destroy the original message. Thank you. > > > CLASSIFICATION: UNCLASSIFIED > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.m.su.civ at mail.mil Fri Jan 19 09:49:43 2018 From: simon.m.su.civ at mail.mil (Su, Simon M CIV USARMY RDECOM ARL (US)) Date: Fri, 19 Jan 2018 14:49:43 +0000 Subject: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED) In-Reply-To: References: Message-ID: CLASSIFICATION: UNCLASSIFIED Hi Ken, I guess that's the price to pay when working with cutting edge technology :) Thanks for the OpenVR version info. I used the release version of it. What is your cmake flag for OpenVR? I just used cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR -DCMAKE_BUILD_TYPE=Release Any other variable I need to specify? I will try to compile it with OpenVR version 1.0.10. Thank you And Benson, yes the binary version worked ok with our HTC Vive. Thanks -simon -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Ken Martin Sent: Friday, January 19, 2018 9:42 AM To: Benson Muite Cc: ParaView Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Hi Simon & Benson, I would bet steam has changed their API (again :-) and removed that method. Maybe try downloading/git checkout using the 1.0.10 version of OpenVR. That is what I last tested with and it should build fine against that. Thanks! Ken On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite > wrote: Hi, Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac. Have you tried build using flags similar to binary release version? Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > Benson On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: CLASSIFICATION: UNCLASSIFIED Hello, I am wondering how to build a version of ParaView with OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from Caution-https://github.com/ValveSoftware/openvr < Caution-https://github.com/ValveSoftware/openvr > with just basic/minimal cmake option. I am using the following cmake line for ParaView cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib I am running into the following error C:\Users\one\build\ParaView\b>ninja [47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem' U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of 'vr::IVRSystem' [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj ninja: build stopped: subcommand failed. Any help is much appreciated. Thanks -simon CLASSIFICATION: UNCLASSIFIED _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 This communication,including all attachments, contains confidential and legally privilegedinformation, and it is intended only for the use of the addressee. Access to this email by anyone else isunauthorized. If you are not the intended recipient, any disclosure, copying,distribution or any action taken in reliance on it is prohibited and may beunlawful. If you received this communication in error please notify usimmediately and destroy the original message. Thank you. CLASSIFICATION: UNCLASSIFIED From simon.m.su.civ at mail.mil Fri Jan 19 10:02:05 2018 From: simon.m.su.civ at mail.mil (Su, Simon M CIV USARMY RDECOM ARL (US)) Date: Fri, 19 Jan 2018 15:02:05 +0000 Subject: [Paraview] [Non-DoD Source] Re: ParaView + OpenVR (UNCLASSIFIED) In-Reply-To: References: Message-ID: CLASSIFICATION: UNCLASSIFIED Thanks Ken -simon -----Original Message----- From: Ken Martin [mailto:ken.martin at kitware.com] Sent: Friday, January 19, 2018 9:55 AM To: Su, Simon M CIV USARMY RDECOM ARL (US) Cc: Benson Muite ; ParaView Subject: Re: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Those flags look reasonable, but last I checked the OpenVR CMake files had some minor issues. I use a small patch file for OpenVR 1.0.10 in the paraview superbuild. The patch file is here Caution-https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch < Caution-https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/projects/win32/patches/openvr-improve-install.patch > I think it mostly fixes install issues and shared library support. On Fri, Jan 19, 2018 at 9:49 AM, Su, Simon M CIV USARMY RDECOM ARL (US) > wrote: CLASSIFICATION: UNCLASSIFIED Hi Ken, I guess that's the price to pay when working with cutting edge technology :) Thanks for the OpenVR version info. I used the release version of it. What is your cmake flag for OpenVR? I just used cmake ../OpenVR -DCMAKE_INSTALL_PREFIX=/path/to/install/OpenVR -DCMAKE_BUILD_TYPE=Release Any other variable I need to specify? I will try to compile it with OpenVR version 1.0.10. Thank you And Benson, yes the binary version worked ok with our HTC Vive. Thanks -simon -----Original Message----- From: ParaView [Caution-mailto:paraview-bounces at paraview.org < Caution-mailto:paraview-bounces at paraview.org > ] On Behalf Of Ken Martin Sent: Friday, January 19, 2018 9:42 AM To: Benson Muite > Cc: ParaView > Subject: [Non-DoD Source] Re: [Paraview] ParaView + OpenVR (UNCLASSIFIED) All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Hi Simon & Benson, I would bet steam has changed their API (again :-) and removed that method. Maybe try downloading/git checkout using the 1.0.10 version of OpenVR. That is what I last tested with and it should build fine against that. Thanks! Ken On Thu, Jan 18, 2018 at 11:50 PM, Benson Muite < Caution-Caution-mailto:benson.muite at ut.ee < Caution-mailto:benson.muite at ut.ee > > > wrote: Hi, Does binary release version work for you? (At present only Windows is available), seem to be a few things to fix on Linux & Mac. Have you tried build using flags similar to binary release version? Caution-Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > < Caution-Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ < Caution-https://blog.kitware.com/taking-paraview-into-virtual-reality/ > > Benson On 01/19/2018 01:29 AM, Su, Simon M CIV USARMY RDECOM ARL (US) wrote: CLASSIFICATION: UNCLASSIFIED Hello, I am wondering how to build a version of ParaView with OpenVR plugin? Which version of OpenVR shall I use? I used the OpenVR from Caution-Caution-https://github.com/ValveSoftware/openvr < Caution-https://github.com/ValveSoftware/openvr > < Caution-Caution-https://github.com/ValveSoftware/openvr < Caution-https://github.com/ValveSoftware/openvr > > with just basic/minimal cmake option. I am using the following cmake line for ParaView cmake ..\paraview -DCMAKE_INSTALL_PREFIX=U:\tools\ParaView\ParaView -DCMAKE_BUILD_TYPE=Release -G Ninja -DPARAVIEW_ENABLE_PYTHON:BOOL=ON -DBUILD_TESTING:BOOL=OFF -DPARAVIEW_QT_VERSION=5 -DPARAVIEW_USE_MPI:BOOL=ON -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DBOOST_INCLUDEDIR=U:/tools/boost/boost-1.65.1/include/boost-1_65_1 -DBOOST_ROOT=U:/tools/boost/boost-1.65.1 -DModule_vtkAcceleratorsVTKm:BOOL=ON -DModule_vtkRenderingOpenVR:BOOL=ON -DPARAVIEW_BUILD_PLUGIN_OpenVR:BOOL=ON -DOPENVR_INCLUDE_DIR=U:/tools/OpenVR/OpenVR/include -DOPENVR_LIBRARY=U:/tools/OpenVR/OpenVR/lib/openvr_api64.lib I am running into the following error C:\Users\one\build\ParaView\b>ninja [47/14039] Building CXX object VTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj FAILED: VTK/Rendering/OpenVR/CMakeFiles/vtkRenderingOpenVR.dir/vtkOpenVRRenderWindow.cxx.obj C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe /nologo /TP -DMPICH_IGNORE_CXX_SEEK -DVTK_IN_VTK -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DvtkRenderingOpenVR_EXPORTS -I. -IVTK\Rendering\OpenVR -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR -IVTK\Common\Core -IC:\Users\one\build\ParaView\paraview\VTK\Common\Core -IVTK\Utilities\KWIML -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWIML -IVTK\Utilities\KWSys -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\KWSys -IVTK\ThirdParty\utf8 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\utf8 -IVTK\Filters\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Sources -IVTK\Common\ComputationalGeometry -IC:\Users\one\build\ParaView\paraview\VTK\Common\ComputationalGeometry -IVTK\Common\DataModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\DataModel -IVTK\Common\Math -IC:\Users\one\build\ParaView\paraview\VTK\Common\Math -IVTK\Common\Misc -IC:\Users\one\build\ParaView\paraview\VTK\Common\Misc -IVTK\Common\System -IC:\Users\one\build\ParaView\paraview\VTK\Common\System -IVTK\Common\Transforms -IC:\Users\one\build\ParaView\paraview\VTK\Common\Transforms -IVTK\Common\ExecutionModel -IC:\Users\one\build\ParaView\paraview\VTK\Common\ExecutionModel -IVTK\Filters\Core -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Core -IVTK\Filters\General -IC:\Users\one\build\ParaView\paraview\VTK\Filters\General -IVTK\IO\Image -IC:\Users\one\build\ParaView\paraview\VTK\IO\Image -IVTK\Utilities\DICOMParser -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\DICOMParser -IVTK\Utilities\MetaIO\vtkmetaio -IVTK\Utilities\MetaIO -IC:\Users\one\build\ParaView\paraview\VTK\Utilities\MetaIO -IVTK\ThirdParty\zlib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\zlib -IVTK\ThirdParty\jpeg -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\jpeg -IVTK\ThirdParty\png -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\png -IVTK\ThirdParty\tiff\vtktiff\libtiff -IVTK\ThirdParty\tiff -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\tiff -IVTK\IO\XMLParser -IC:\Users\one\build\ParaView\paraview\VTK\IO\XMLParser -IVTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\IO\Core -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4\vtklz4\lib -IVTK\ThirdParty\lz4\vtklz4 -IVTK\ThirdParty\lz4 -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\lz4 -IVTK\ThirdParty\expat -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\expat -IVTK\Imaging\Sources -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Sources -IVTK\Imaging\Core -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Core -IVTK\Interaction\Style -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Style -IVTK\Filters\Extraction -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Extraction -IVTK\Filters\Statistics -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Statistics -IVTK\Imaging\Fourier -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Fourier -IVTK\ThirdParty\alglib -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\alglib -IVTK\Rendering\Core -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Core -IVTK\Common\Color -IC:\Users\one\build\ParaView\paraview\VTK\Common\Color -IVTK\Filters\Geometry -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Geometry -IVTK\Interaction\Widgets -IC:\Users\one\build\ParaView\paraview\VTK\Interaction\Widgets -IVTK\Filters\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Hybrid -IVTK\Filters\Modeling -IC:\Users\one\build\ParaView\paraview\VTK\Filters\Modeling -IVTK\Imaging\Color -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Color -IVTK\Imaging\General -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\General -IVTK\Imaging\Hybrid -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Hybrid -IVTK\Rendering\Annotation -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Annotation -IVTK\Rendering\FreeType -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\FreeType -IVTK\ThirdParty\freetype -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\freetype -IVTK\Rendering\Volume -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\Volume -IVTK\IO\XML -IC:\Users\one\build\ParaView\paraview\VTK\IO\XML -IVTK\Rendering\OpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenGL2 -IVTK\ThirdParty\glew -IC:\Users\one\build\ParaView\paraview\VTK\ThirdParty\glew -IVTK\Rendering\VolumeOpenGL2 -IC:\Users\one\build\ParaView\paraview\VTK\Rendering\VolumeOpenGL2 -IVTK\Imaging\Math -IC:\Users\one\build\ParaView\paraview\VTK\Imaging\Math -IU:\tools\OpenVR\OpenVR\include -IVTK\Utilities\KWSys\vtksys /DWIN32 /D_WINDOWS /W4 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\vtkOpenVRRenderWindow.cxx.obj /FdVTK\Rendering\OpenVR\CMakeFiles\vtkRenderingOpenVR.dir\ /FS -c C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx C:\Users\one\build\ParaView\paraview\VTK\Rendering\OpenVR\vtkOpenVRRenderWindow.cxx(281): error C2039: 'IsInputFocusCapturedByAnotherProcess': is not a member of 'vr::IVRSystem' U:\tools\OpenVR\OpenVR\include\openvr.h(1375): note: see declaration of 'vr::IVRSystem' [56/14039] Building CXX object VTK\Wrapping\Python\CMakeFi...tkCommonCorePythonD.dir\vtkConditionVariablePython.cxx.obj ninja: build stopped: subcommand failed. Any help is much appreciated. Thanks -simon CLASSIFICATION: UNCLASSIFIED _______________________________________________ Powered by Caution-Caution-www.kitware.com < Caution-http://Caution-Caution-www.kitware.com > < Caution-Caution-http://www.kitware.com < Caution-http://www.kitware.com > > Visit other Kitware open-source projects at Caution-Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > < Caution-Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: Caution-Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > < Caution-Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: Caution-Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > < Caution-Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: Caution-Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > < Caution-Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by Caution-Caution-www.kitware.com < Caution-http://Caution-Caution-www.kitware.com > < Caution-Caution-http://www.kitware.com < Caution-http://www.kitware.com > > Visit other Kitware open-source projects at Caution-Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > < Caution-Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: Caution-Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > < Caution-Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: Caution-Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > < Caution-Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: Caution-Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > < Caution-Caution-https://paraview.org/mailman/listinfo/paraview < Caution-https://paraview.org/mailman/listinfo/paraview > > -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 This communication,including all attachments, contains confidential and legally privilegedinformation, and it is intended only for the use of the addressee. Access to this email by anyone else isunauthorized. If you are not the intended recipient, any disclosure, copying,distribution or any action taken in reliance on it is prohibited and may beunlawful. If you received this communication in error please notify usimmediately and destroy the original message. Thank you. CLASSIFICATION: UNCLASSIFIED -- Ken Martin PhD Distinguished Engineer Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 This communication,including all attachments, contains confidential and legally privilegedinformation, and it is intended only for the use of the addressee. Access to this email by anyone else isunauthorized. If you are not the intended recipient, any disclosure, copying,distribution or any action taken in reliance on it is prohibited and may beunlawful. If you received this communication in error please notify usimmediately and destroy the original message. Thank you. CLASSIFICATION: UNCLASSIFIED From cory.quammen at kitware.com Fri Jan 19 10:59:44 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 19 Jan 2018 10:59:44 -0500 Subject: [Paraview] Scaling cylinder glyph's radius and height individually In-Reply-To: References: Message-ID: Ahmad, Please keep replies on the mailing list. Responses are inlined. On Tue, Jan 16, 2018 at 9:25 AM, Ahmad . wrote: > Hi Cory, > > > Thanks for your reply. > > > I am trying to implement your suggestion of extending the vtkGlyph3D with > this additional "scaling by normals". > > The idea seems quite straightforward. I was just wondering how to > incorporate this new class in my C++ pipeline. > > Currently I create the glyph, and set its properties, like this: > > > vtkSmartPointer glyph; > glyph.TakeReference(vtkSMSourceProxy::SafeDownCast( > session_manager_->NewProxy("filters", "Glyph"))); > controller_->PreInitializeProxy(glyph); > > vtkSMPropertyHelper(glyph, "Input").Set(producer); > vtkSMPropertyHelper(glyph, "Source").Set( > GetCylinderSource(glyph)); > vtkSMPropertyHelper(glyph, "ScaleMode", true).Set(0); > vtkSMPropertyHelper(glyph, "ScaleFactor", true).Set(1.0); > vtkSMPropertyHelper(glyph, "GlyphMode", true).Set(0); > > As you can see I am not directly working with vtkGlyph3D or > vtkPVGlyphFilter classes, but I am using the vtkSMPropertyHelper to take > care of the boilerplate code. > > Right. Unfortunately, implementing my suggestion would require creating a subclass of vtkPVGlyphFilter and importing that with a ParaView plugin. See the ParaView Howto on how to add a filter to ParaView. > After I created a new class that has this extra scaling option, how would > I go about using this in such a pipeline? Do I need to 'register' my " > ModifiedGlyph" to the filter proxies to be able to do something like > `NewProxy("filters", "ModifiedGlyph")`? > Yes, that should do it. Your modified glyph class will be available once you've imported the ParaView plugin mentioned above. A quick question about setting the active normals. Is there an existing way > to do this, or would I need to do this myself? I would like to do this the > same way one would set the "Scalars": > > > vtkSMPropertyHelper(glyph, "Normals") > .SetInputArrayToProcess(vtkDataObject::POINT, "ScalingArray"); > I think that should work. Best, Cory > Looking forward to your reply. > > Best, > Ahmad > > > > ------------------------------ > *Van:* Cory Quammen > *Verzonden:* dinsdag 9 januari 2018 15:30 > *Aan:* Ahmad . > *CC:* paraview at paraview.org > *Onderwerp:* Re: [Paraview] Scaling cylinder glyph's radius and height > individually > > Hi Ahmad, > > Alas, reading the code of vtkGlyph3D, you cannot orient by a vector > array different from the vector array used to do the scaling using the > functionality in ParaView. You would have to modify either > vtkPVGlyphFilter or its parent class vtkGlyph3D, to do this, and > expose the new VTK class through a ParaView plugin [1]. A simple > modification would be to add a ScaleMode, say VTK_SCALE_BY_NORMAL, to > vtkGlyph3D, and then set the active normals in your data set to the > vector by which you wish to scale. Then the "vectors" property could > control the orientation and the active normals would control the > scale. That's kind of kludgey, but it would be a fairly fast > modification to make. > > HTH, > Cory > > [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo > ParaView/Plugin HowTo - KitwarePublic > > www.paraview.org > Introduction. ParaView comes with plethora of functionality bundled in: > several readers, multitude of filters, quite a few different types of views > etc. > > > > > On Tue, Jan 9, 2018 at 7:43 AM, Ahmad . wrote: > > Just want to add that a programmatic (C++) solution is preferred rather > than > > using the GUI > > > > > > I have a C++ pipeline where I can set the properties of the cylinder > glyph > > with vtkSMPropertyHelper. > > > > I have looked in filters.xml under vtkPVGlyphFilter source proxy (file > > located in > > /ParaViewCore/ServerManager/SMApplication/Resources) to > see > > what my options are, but there is only one "SetInputArrayToProcess" that > > takes a vector attribute as input; nothing about a vector specifically > for > > orientation.. > > > > Suggestions on how to handle this issue, are very welcome; other > approaches > > than mine as well! > > > > ________________________________ > > Van: Ahmad . > > Verzonden: maandag 8 januari 2018 20:52 > > Aan: paraview at paraview.org > > Onderwerp: Re: Scaling cylinder glyph's radius and height individually > > > > > > Following up on my own question, I found out that if I scale by "Vector > > Components" it is possible to change the length of the cylinders with the > > second vector index, and the radius with the first and third. I need to > > rearrange my attribute data as such: [radius_x, length, radius_z]. If I > keep > > radius_x == radius_z, then the cylinder will not deform, and the cross > > section stays a perfect circle. See the image in the attachment please. > > > > > > BUT the problem here is that "vector components" also affects the > > orientation of my cylindrical glyphs. I can turn this off in the > properties > > menu, but I need to orient my cylinders based on another vector attribute > > data... > > > > > > I feel I'm getting somewhere, but if someone could give me an idea on > how to > > now orient my glyphs with another vector data than the one I use now for > > scaling, that would be much appreciated! > > > > > > Best, > > Ahmad > > > > ________________________________ > > Van: Ahmad . > > Verzonden: maandag 8 januari 2018 18:01 > > Aan: paraview at paraview.org > > Onderwerp: Scaling cylinder glyph's radius and height individually > > > > > > Dear community, > > > > > > When I try to scale cylindrical glyph objects by a 'Scalar', it scales > both > > the radius and height of the glyphs. > > > > Is there a way to scale the radius by a Scalar1, and the height be a > > Scalar2? > > > > > > I have an unstructured grid, and for each point I want to create a > cylinder > > that can have an arbitrary radius and height. > > > > I thought Glyphs would be the way to go, but I'm kind of stuck with this > > issue. > > > > > > Any help is much appreciated; or if you can recommend a different way to > > achieve the above-mentioned please let me know! > > > > > > Best, > > > > Ahmad > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > ParaView - KitwarePublic > paraview.org > ParaView is an open-source, multi-platform application designed to > visualize data sets of varying sizes from small to very large. The goals of > the ParaView project ... > > > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > https://paraview.org/mailman/listinfo/paraview > ParaView Info Page > paraview.org > To see the collection of prior postings to the list, visit the ParaView > Archives. Using ParaView: To post a message to all the list members, send > ... > > > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From segalemb at usp.br Fri Jan 19 12:32:28 2018 From: segalemb at usp.br (Sergio Emanuel Galembeck) Date: Fri, 19 Jan 2018 15:32:28 -0200 Subject: [Paraview] error when compiling Paraview 5.4 macOS 10.13 In-Reply-To: References: <4FB60289-DEBB-43E7-BA10-075BC3D55159@usp.br> <79A9FEE9-268F-40F4-984B-54765E96877B@usp.br> Message-ID: <1122FC4B-D14F-485A-AED2-E5258D1FEE82@usp.br> Dear Cory, Thank you! Paraview is working now! Best regards, Sergio > On 12 Jan 2018, at 16:37, Cory Quammen wrote: > > Alas, this fix was made after ParaView 5.2 was released. > > If you really need ParaView 5.2 instead of 5.3 or 5.4.1, you can apply > the patch in my previous email to the VTK subdirectory in the ParaView > source code. As you can see, just two lines need to be modified, so > you could easily do this manually. > > Hope that helps, > Cory > > On Fri, Jan 12, 2018 at 1:15 PM, Sergio Emanuel Galembeck > wrote: >> Cory, >> >> Sorry, I am trying to install Paraview 5.2.0. Even doing 'git submodule update ?init? >> the error that I noticed continues. >> >> What do you suggest? >> >> Thanks, >> >> Sergio >> >>> On 8 Jan 2018, at 12:38, Cory Quammen wrote: >>> >>> Sergio, >>> >>> This problem was fixed in November 2016, so I am surprised you are >>> running into it. Current ParaView master includes VTK that contains >>> the commit >>> >>> commit 33631146a85dfa64433c3997f166cbaa96bedee9 >>> Author: gnzlbg >>> Date: Wed Nov 23 05:29:14 2016 -0500 >>> >>> [bugfix] Invalid pointer comparisons. >>> >>> The code was performing a null pointer check >>> using (void*)Data <= 0 instead of Data == NULL >>> (or nullptr). This results in a compilation >>> error with clang trunk (future clang 4.0). >>> >>> diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >>> b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >>> index 1e88f08..e89e153 100644 >>> --- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >>> +++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx >>> @@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){ >>> XdmfErrorMessage("Cannot Receive Message of Length = " << Msg->Length); >>> return(XDMF_FAIL); >>> } >>> - if(Msg->Data <= 0 ){ >>> + if(Msg->Data == NULL){ >>> XdmfErrorMessage("Cannot Receive Message into Data Buffer = " >>> << Msg->Length); >>> return(XDMF_FAIL); >>> } >>> @@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){ >>> XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length); >>> return(XDMF_FAIL); >>> } >>> - if(Msg->Data <= 0 ){ >>> + if(Msg->Data == NULL) { >>> XdmfErrorMessage("Cannot Send Message from Data Buffer = " << >>> Msg->Length); >>> return(XDMF_FAIL); >>> } >>> >>> Make sure you have run `git submodule update` to ensure your VTK is up to date. >>> >>> HTH, >>> Cory >>> >>> On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck >>> wrote: >>>> Hello, >>>> >>>> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using >>>> software from MacPorts 2.4.2. After a successful configuration, >>>> the make -j 4 command give the following error: >>>> >>>> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18: >>>> error: >>>> ordered comparison between pointer and zero ('void *' and 'int') >>>> if(Msg->Data <= 0 ){ >>>> >>>> How can I solve this problem? >>>> >>>> Best regards, >>>> >>>> Sergio >>>> >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects 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: >>>> https://paraview.org/mailman/listinfo/paraview >>>> >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From hbuesing at eonerc.rwth-aachen.de Fri Jan 19 15:13:07 2018 From: hbuesing at eonerc.rwth-aachen.de (Buesing, Henrik) Date: Fri, 19 Jan 2018 20:13:07 +0000 Subject: [Paraview] Visualize equdistant cell-centered data Message-ID: Dear all, I have a "Structured (Curvilinear) Grid" (*.vts), which gets read in as 314531 cells and 330000 points. I would like to tell Paraview that this is equidistant cell-centered data (330000 cells). I want every cell to get one color, such that color interpolation becomes correct. Can I somehow convert the data I have? Thank you! Henrik B?sing -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nicholas.Stegmeier at sdstate.edu Sun Jan 21 02:40:19 2018 From: Nicholas.Stegmeier at sdstate.edu (Stegmeier, Nicholas) Date: Sun, 21 Jan 2018 07:40:19 +0000 Subject: [Paraview] Parallel Paraview Large Size Animations Message-ID: Hello, I recently tried to create a large animation using parallel paraview with 40 cores, but I received this error: "ERROR: In paraview/paraview-v5.4.1/VTK/Common/Core/vtkGenericDataArray.txx, line 442 vtkIdTypeArray(0x2aaabc66a8e0): Unable to allocate 131071 elements of size 8 bytes." More details: * I have 500 time steps, 192 files for each timestep (was run on 192 processors), and the total domain is roughly size 60x80x130. * The files rectilinear vtk format (pvtr/vtr) * I made the animation by loading all the data files into Paraview and using "export animation". The resultion was roughly 1200x800 at 8 frames/sec. Is there any way I can make such a large animation? Thank you, Nick Stegmeier -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Mon Jan 22 13:08:27 2018 From: petersenkolja at gmail.com (Kolja Petersen) Date: Mon, 22 Jan 2018 19:08:27 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: Thank you, Mathieu, any update on this? All my research seems to point to a few hardcoded views that are accessible. I simply can't find a solution to implement a new view and open it from a plugin. Thanks Kolja On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal < mathieu.westphal at kitware.com> wrote: > Hi Kolja > > I have a simple view plugin project ongoing that I should be able to scale > down for your needs. > I will try to find the time to do it before the end fo the week. > > Best, > > Mathieu Westphal > > On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen > wrote: > >> Is it possible to write a plugin that derives from vtkPVView instead of >> vtkPVRenderView? >> >> I don't know how I can further shorten my question. The answer is quite >> important to decide whether we can continue our ParaView developments. >> Thank you >> Kolja >> >> >> Virenfrei. >> www.avast.com >> >> <#m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen >> wrote: >> >>> I have stripped down Plugin/MantaView until all compilation problems >>> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. >>> The code, consisting of only two minimal classes, is attached and can be >>> built using: >>> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make >>> (tested with ParaView 5.4.1) >>> >>> This brings me back to my initial question. I'd like to show a custom >>> view, made of a number of Qt widgets (buttons and text) to show important >>> statistics. >>> In SnippetView.xml, the view is declared as: >>> >> base_proxyname="RenderView" ... >>> >>> How can I replace 'base_proxyname="RenderView"' by some generic view, to >>> be filled with widgets? "View" or "ViewBase" are not recognized as base >>> proxies. >>> Thank you >>> Kolja >>> >>> >>> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen >> > wrote: >>> >>>> Dear plugin developers, >>>> I need to implement a custom view to present datasets in a detailed >>>> editable format. >>>> >>>> This link says that the plugin tutorial is obsolete for the view part: >>>> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a >>>> _custom_view_.2A_obsolete_.2A >>>> >>>> The Examples/Plugins/GUIView suggested in the link doesn't exist. The >>>> Plugins/MantaView is rather complex and doesn't compile due to other bugs >>>> as reported elsewhere, so that I can't get a clue how the MantaView plugin >>>> is supposed to work. >>>> >>>> Could some kind developer upload a minimal working view plugin example, >>>> which needs to display only a simple QButton or any other widget? This will >>>> help to allow users build their custom views for ParaView 5.x.y. >>>> Thank you >>>> Kolja >>>> >>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects 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: >> https://paraview.org/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ygliao at ucdavis.edu Mon Jan 22 20:18:45 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Mon, 22 Jan 2018 19:18:45 -0600 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview Message-ID: Hi, I get some segment fault when I try to run my plugin in Linux paraview while there is no error in Windows paraview. I can only run static version of paraview, but I track the segmentation fault. Program received signal SIGSEGV, Segmentation fault. 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 Missing separate debuginfos, use: debuginfo-install paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 (gdb) where #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) () from /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so #3 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 #4 0x00002aaaaf4731ab in vtkCompositeRepresentation::AddToView(vtkView*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 #5 0x00002aaaaf493760 in vtkPVCompositeRepresentation::AddToView(vtkView*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 #6 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*) () from /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) I don't why this only happens in Linux. Anyone could help me figure out? -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From yvan.fournier at free.fr Mon Jan 22 21:16:13 2018 From: yvan.fournier at free.fr (yvan.fournier at free.fr) Date: Tue, 23 Jan 2018 03:16:13 +0100 (CET) Subject: [Paraview] Catalyst dlopen issues with OpenGL2 support for off-screen Mesa In-Reply-To: <1495671484.31674.2.camel@free.fr> Message-ID: <1117834666.2988077.1516673773622.JavaMail.root@zimbra10-e2> Hello, I made further progress on this old thread, so am answering myself to close this issue... With recent versions of OSMesa (17.2 or 17.8), I observed that using LD_PRELOAD with OSMesa.so.8 also avoided the incorrect initialization issue of OSMesa leading to Catalyst complaining aboit OpenGL2 features not being available. On an Arch Linux system, I had also reproduced the reported issue at one time, but do not reproduce it anymore with Mesa 17.3. On a Debian 8 based system, I still reproduce it, but running new tests, instead of LD_PRELOAD, using RTLD_LAZY | RTLD_GLOBAL as dlopen flags solves the issue (either RTLD_LAZY or RTLD_NOW work with RTLD_GLOBAL, none work wth RTLD_LOCAL). I am pretty sure I had run similar tests a few month ago with older versions, with less success. I assume the improvements come from Mesa updates, though as the behavior of dlopen is concerned, it might also be due to lower level patches. In any case, I started building a small test case to reproduce this, but it was not working yet (trying to get the correct libraries to link in a minimal setting, or other options correct while not being familiar with CMake), so as I have a good work, I guess I'll leave it there and hope the issue does not resurfaces. Best regards, Yvan ----- Mail original ----- De: "Yvan Fournier" ?: paraview at paraview.org Envoy?: Jeudi 25 Mai 2017 02:18:04 Objet: Re: [Paraview] Catalyst dlopen issues with OpenGL2 support for off-screen Mesa Hello, I reproduced the issue described 2 months ago relative to detection of OSMesa OpenGL2 support using dynamically loaded shared libraries on another machine. I had reproduced this issue on Debian-9 based systems, but not with the preconfigured Mesa/OSMesa from Arch Linux. Recently, I had other issues with the packaged library on Arch (Mesa 17.1.0, including both off-screen and on-screen drivers), as glGetString and a few other symbols were not found. So I recompiled Mesa for off-screen mode, using the recommendations from the ParaView Wiki (with the packaged LLVM 4.0), and encounter the following error again when starting Catalyst: -------------------------------- ERROR: In /home/yvan/src/ParaView/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 831 vtkOSOpenGLRenderWindow (0x72e3c00): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required fo r the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2. -------------------------------- Trying to force usage of OpenSWR (using "export GALLIUM_DRIVER=swr") I have another error: -------------------------------- SWR detected AVX2 SWR library load failure: /home/yvan/opt/osmesa/lib/libswrAVX2.so: undefined symbol: _glapi_tls_Dispatch -------------------------------- So this seems quite reproducible on various systems, and both with LLVM 3.9 or LLVM 4, Mesa 13 or 17. When linking ParaView (Catalyst) normally (rather than linking them with a smaller module loaded as a plugin with dlopen), both the default LLVMpipe and OpenSwr errors dissapear, and things work fine Does anybody have an idea what I may be missing when loading with dlopen ? Best regards, Yvan From: Yvan Fournier To: paraview at paraview.org Objet: Re: [Paraview] Issues with OpenGL2 support for off-screen Mesa Date: Sat, 11 Mar 2017 00:36:00 +0100 > Hello, > > I made some progress using OpenGL2 for offs-screen Mesa on a Debian 8-based > system: > > I don't need to compile my code or ParaView in static: compiling everything > with > dyanmic libraries works, as long as I link everything together instead of > loading a plugin (consisting of some Code_Saturne libraries, ParaView > Libraries, > and OSMesa/Gallium). > > So it seems some things re not initialized correctly when I load ParaView and > OSMesa as a plugin, so I'm not took sure the problem comes from ParaView, > OSMesa, or LLVM. I tried OSMesa 13.0.3 and 17.0.1, and LLVM 3.5 (packaged with > Debian 8) and 3.9 (local build), with identical results. > > I also tried using RTLD_NOW and even RTLD_NOW | RTLD_GLOBAL instead of the > usual > RTLD_LAZY when using dlopen, with no difference in behavior (I have not tried > RTLD_DEEPBIND). > > Has anyone encountered similar issues or does anyone have an idea what could > be > missing in the initialization stage using dlopen for a plugin linked with > Catalyst ? I do not encounter this issue on an Arch-Linux-based system, but > encounter it on a Debian 8 ("Jessie") system ? > > Using a plugin is not an absolute must, but it would be preferable if I > managed > to get it working again with that build option. > > Best regards, > > Yvan > > > Friday Feb 24 f?vrier 2017 at 18:25 +0100, yvan.fournier at free.fr wrote: > > > Hi Chuck, > > > > here is what I have in /home/D43345/opt/Mesa-13.0/arch/calibre9/lib: > > > > -rwxr-xr-x 1 D43345 rdusers 1098 Feb 22 15:24 libOSMesa.la > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libOSMesa.so -> > > libOSMesa.so.8.0.0 > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libOSMesa.so.8 -> > > libOSMesa.so.8.0.0 > > -rwxr-xr-x 1 D43345 rdusers 47309888 Feb 22 15:24 libOSMesa.so.8.0.0 > > -rwxr-xr-x 1 D43345 rdusers 962 Feb 22 15:24 libglapi.la > > lrwxrwxrwx 1 D43345 rdusers 17 Feb 22 15:24 libglapi.so -> > > libglapi.so.0.0.0 > > lrwxrwxrwx 1 D43345 rdusers 17 Feb 22 15:24 libglapi.so.0 -> > > libglapi.so.0.0.0 > > -rwxr-xr-x 1 D43345 rdusers 1400520 Feb 22 15:24 libglapi.so.0.0.0 > > -rwxr-xr-x 1 D43345 rdusers 1018 Feb 22 15:24 libswrAVX.la > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libswrAVX.so -> > > libswrAVX.so.0.0.0 > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libswrAVX.so.0 -> > > libswrAVX.so.0.0.0 > > -rwxr-xr-x 1 D43345 rdusers 97879312 Feb 22 15:24 libswrAVX.so.0.0.0 > > -rwxr-xr-x 1 D43345 rdusers 1024 Feb 22 15:24 libswrAVX2.la > > lrwxrwxrwx 1 D43345 rdusers 19 Feb 22 15:24 libswrAVX2.so -> > > libswrAVX2.so.0.0.0 > > lrwxrwxrwx 1 D43345 rdusers 19 Feb 22 15:24 libswrAVX2.so.0 -> > > libswrAVX2.so.0.0.0 > > -rwxr-xr-x 1 D43345 rdusers 96655416 Feb 22 15:24 libswrAVX2.so.0.0.0 > > drwxr-xr-x 2 D43345 rdusers 4096 Feb 22 15:24 pkgconfig > > > > > > And here is the summary after configuration of Mesa: > > > > prefix: /home/D43345/opt/Mesa-13.0/arch/calibre9 > > exec_prefix: ${prefix} > > libdir: ${exec_prefix}/lib > > includedir: ${prefix}/include > > > > OpenGL: yes (ES1: no ES2: no) > > > > OSMesa: libOSMesa (Gallium) > > > > GLX: no > > > > EGL: no > > > > Vulkan drivers: no > > > > llvm: yes > > llvm-config: /home/D43345/opt/llvm-3.9/arch/calibre9/bin/llvm- > > config > > llvm-version: 3.9.1 > > > > Gallium drivers: swrast swr > > Gallium st: mesa > > > > HUD extra stats: no > > HUD lmsensors: no > > > > Shader cache: yes > > With SHA1 from: libcrypto > > > > Shared libs: yes > > Static libs: no > > Shared-glapi: yes > > > > CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function- > > declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math > > CXXFLAGS: -g -O2 -Wall -fno-math-errno -fno-trapping-math > > Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS > > -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG > > -DUSE_X86_64_ASM > > -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP > > -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_SHA1 -DMESA_EGL_NO_X11_HEADERS > > -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=1 > > > > LLVM_CFLAGS: -I/home/D43345/opt/llvm- > > 3.9/arch/calibre9/include - > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > LLVM_CXXFLAGS: -I/home/D43345/opt/llvm- > > 3.9/arch/calibre9/include -W -Wno-unused-parameter -Wwrite-strings -Wno- > > missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized > > -Wdelete- > > non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 - > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > LLVM_CPPFLAGS: -I/home/D43345/opt/llvm- > > 3.9/arch/calibre9/include - > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > LLVM_LDFLAGS: -L/home/D43345/opt/llvm-3.9/arch/calibre9/lib > > > > PYTHON2: python2.7 > > > > Run 'make' to build Mesa > > > > > > Best regards, > > > > Yvan > > > > ----- Mail original ----- > > De: "Chuck Atkins" > > ?: "yvan fournier" > > Cc: "ParaView Mailing List" > > Envoy?: Jeudi 23 F?vrier 2017 19:14:03 > > Objet: Re: [Paraview] Issues with OpenGL2 support for off-screen Mesa > > > > > > > > Hi Yvan, > > What are the resulting libraries in /home/D43345/opt/Mesa- > > 13.0/arch/calibre9/lib after the Mesa install? It looks like something has > > gone a bit awry with the Mesa build. Also, what does the summary look like > > that's printed out at the end of ./configure for Mesa? > > > > > > > > > > > > > > > > > > > > ---------- > > Chuck Atkins > > Staff R&D Engineer, Scientific Computing > > Kitware, Inc. > > > > > > > > On Wed, Feb 22, 2017 at 7:00 PM, < yvan.fournier at free.fr > wrote: > > > > > > Hello, > > > > I recently encountered issues related to the OpenGL2 support for off-screen > > Mesa. Up to at least ParaView V5.1.2, I could use ParaView/Catalyst built > > with > > OSMesa with no specific issues (I mostly used OSMesa compiled without LLVM, > > as > > rendering did not represent a huge portion of my compute time. > > > > I'm using Catalyst in the context of the Code_Saturne CFD code. By default, > > the code includes a plugin, linked to both ParaView or a Catalys edition > > (based on the info from the cmake entry in ParaView installs when > > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON is used). On Linux systems, the > > plugin > > is loaded with dlopen(, RTLD_LAZY). > > We use Catalyst Python scripts, so the plugin goes through ParaView's Python > > layer also to render images. > > > > On my personal PC, running Arch Linux I have not encountered any specific > > issue with recent ParaView changes and the move to OpenGL2 (actually, for > > on- > > screen redering, the Intel graphics driver/QT5 rendering issue leading to > > spurious transparencies that I had before seem to have disappeared, so > > things > > are actually better. > > > > On company machines (workstations and clusters using EDF's Debian 8 flavor, > > with gcc version (Debian 4.9.2-10) 4.9.2, things are not working so well, as > > I > > get an error message related to missing OpenGL features starting with > > ParaView > > 5.2 (and up to today's master). > > I switched to Mesa 13.0.1, then 13.0.4, following the new instructions on > > the > > ParaView Wiki, but I still always get the following error: > > > > """ > > ERROR: In > > /home/D43345/src/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, > > line 733 > > vtkOSOpenGLRenderWindow (0x808db80): GL version 2.1 with the gpu_shader4 > > extension is not supported by your graphics driver but is required for the > > new > > OpenGL rendering backend. Please update your OpenGL driver. If you are using > > Mesa please make sure you have version 10.6.5 or later and make sure your > > driver in Mesa supports OpenGL 3.2. > > GL_Version: 3.3 (Core Profile) Mesa 13.0.4. > > """ > > > > My mesa build used the following options (from the ParaView wiki) : > > > > ./configure --prefix=$HOME/opt/Mesa-13.0/arch/calibre9 --enable-opengl -- > > disable-gles1 --disable-gles2 --disable-va --disable-xvmc --disable-vdpau -- > > enable-shared-glapi --disable-texture-float --enable-gallium-llvm --enable- > > llvm-shared-libs --with-gallium-drivers=swrast,swr --disable-dri --with-dri- > > drivers= --disable-egl --with-egl-platforms= --disable-gbm --disable-glx -- > > disable-osmesa --enable-gallium-osmesa --with-llvm-prefix=$HOME/opt/llvm- > > 3.9/arch/calibre9 > > > > I tried both using the local llvm install (v3.5, which worked in part and > > could not compile OpenSwr), and a local build of LLVM 3.9.1 (shown above). I > > also added --enable-debug for my latest tests. > > > > Things work slightly better with LLVM 3.9 than with 3.5, but I still get the > > above error mentioning the gpu_shader4 extension, whether exporting > > GALLIUM_DRIVER=llvmpipe or softpipe. With GALLIUM_DRIVER=swr, I have another > > error: > > > > """ > > Using OpenSWR : > > > > SWR detected AVX2 > > SWR library load failure: /home/D43345/opt/Mesa- > > 13.0/arch/calibre9/lib/libswrAVX2.so: undefined symbol: _glapi_Context > > """ > > > > During my testing, I also built a static version of my code, with a static > > build of ParaView (and the plugin replaced by a static link), but keeping > > the > > same dynamic library for OSMesa. And surprise, that version worked normally, > > producing the expected images (at least with the LLVM 3.9 build; with LLVM > > 3.5, I had the color map labels, but no colored slice...). > > > > So the issue seems to be on the ParaView side more than on the OSMesa side. > > I > > have a debug build of the Code_Saturne/ParaView/OSMesa stack, but although I > > can explore where the final error occurs (in vtkOpenGLRenderWindow.cxx), and > > some GLES querying before that, I don't realy know where to look . > > > > As the error occurs with a dynamic but not static build, is seems to be > > related to initialization issues, but I don't know VTK well enough to > > provide > > more precise info. > > > > Has anybody encounted this issue ? Does anybody have suggestions ? I'm > > planning on trying other options than RTLD_LAZY on my plugin's side, but if > > that does not work, I'll be out of ideas. > > > > Best regards, > > > > Yvan > > > > PS: in case they are useful as a reference, the build options for Mesa used > > by > > Arch Linux (recently switched from 13 to 17), on the system on which I had > > zero issue, are the following: > > > > ./configure --prefix=/usr \ > > --sysconfdir=/etc \ > > --with-dri-driverdir=/usr/lib/xorg/modules/dri \ > > --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \ > > --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ > > --with-egl-platforms=x11,drm,wayland \ > > --with-vulkan-drivers=intel,radeon \ > > --disable-xvmc \ > > --enable-gallium-llvm \ > > --enable-llvm-shared-libs \ > > --enable-shared-glapi \ > > --enable-libglvnd \ > > --enable-egl \ > > --enable-glx \ > > --enable-glx-tls \ > > --enable-gles1 \ > > --enable-gles2 \ > > --enable-gbm \ > > --enable-dri \ > > --enable-osmesa \ > > --enable-texture-float \ > > --enable-xa \ > > --enable-vdpau \ > > --enable-omx \ > > --enable-nine \ > > --enable-opencl \ > > --enable-opencl-icd \ > > --with-clang-libdir=/usr/lib > > > > There is also a patch related to glapi linkage which I might try in case it > > solved my glapi missing symbol issue with OpenSWR... > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at http://www.kitware.com/opensourc > > e/ > > opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: http://paravie > > w. > > 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 steytle1 at illinois.edu Mon Jan 22 23:13:38 2018 From: steytle1 at illinois.edu (Steytler, Louis Louw) Date: Tue, 23 Jan 2018 04:13:38 +0000 Subject: [Paraview] Extracting data on the surface of a block? Message-ID: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> Hi Everyone, I am performing a multiphase CFD computation. Basically I am looking at an oil drop rising buoyantly in water. The output from my computations is in the ExodusII format, which I read into ParaView, and I am using multiple blocks, where mesh nodes coincide with the drop's surface (moving mesh, boundary conforming technique). I would like to extract information on the deformable surface of the drop around the circumference of the surface at specific elevations. How could this be accomplished? I tried some filters, for example extracting the surface of the block forming the oil drop, and then applying a "PlotOnIntersectionCurves" filter, using a planar surface, so that a planar surface would cut the surface of the drop, forming a circular arc with constant elevation. This seemed to produce reasonable looking results, but I was not able to specify the number of points along the arc where data was extracted. Also, upon saving, three files were produced file0.csv, file1.csv, file2.csv, and file3.csv. Not sure why I am not getting just one file? Is there a way to have a bit more control over the resolution used when interpolating and extracting data in this case? Any advice would be very much appreciated. Thanks very much, Louis Steytler Department of Mechanical Science and Engineering University of Illinois at Urbana-Champaign 1206 West Green Street Urbana, Il 61801 steytle1 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jan 22 23:28:50 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 22 Jan 2018 23:28:50 -0500 Subject: [Paraview] [EXTERNAL] Re: Material Interface Filter In-Reply-To: References: Message-ID: On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan wrote: > Thanks Andy! Although I will take a round about method, I would love a real > solution. > > > > Cory? Thoughts? > > > > Alan > > > > From: Andy Bauer [mailto:andy.bauer at kitware.com] > Sent: Wednesday, January 17, 2018 9:24 AM > To: Scott, W Alan ; Quammen, Cory (External Contacts) > > Cc: paraview at paraview.org > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter > > > > The best way I can think of is to then use the threshold filter to isolate > each of the pieces and then use the cell size filter on each piece. This > would be fairly easy to automate in a Python script to just print out the > values. > > Alternatively, I don't see a reason why the Connectivity filter couldn't > have an option added to output a field data array with the summed sizes of > each piece. Since Cory just made the connectivity filter work correctly in > parallel it would surprise me that he may be familiar enough with the code > to do the change in a couple of hours. I'm hesitant to add an option in the Connectivity filter to do this. Instead, I can imagine uses for a volume computation for surfaces/volumes labeled by a RegionId that isn't necessarily assigned as a function of connectivity. Instead, I would prefer to create a separate filter that computes volumes for each RegionId in the input dataset. You would feed the output of the Connectivity filter to this new filter and get the volume-per-region information you want. Cory > > > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan wrote: > > I have a user that wants to use the equivalent of the Material Interface > Filter on VTK files. Is there a way to do this? I did find the > Connectivity filter, that gets me half way. I then want to find the mass of > these individual fragments. > > > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then > ran the connectivity filter. > > > > 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: > https://paraview.org/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From mathieu.westphal at kitware.com Tue Jan 23 04:45:16 2018 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 23 Jan 2018 10:45:16 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: Hello Here is a minimal example for creating a new type of view within a plugin. You actually cannot inherit directly from vtkPVView, you must inherit for a base view, which can be : - vtkPVRenderView - vtkPVContextView - vtkPythonView - vtkSpreadSheetView ( https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkPVView.html ) This choice is also visible in the associated xml files where you precise which kind of proxy you want to create. In the attached example, I demonstrated how to add a clone of the Render View, called Render View 2. Hope it helps, Best, Mathieu Westphal On Mon, Jan 22, 2018 at 7:08 PM, Kolja Petersen wrote: > Thank you, Mathieu, > any update on this? > All my research seems to point to a few hardcoded views that are > accessible. I simply can't find a solution to implement a new view and open > it from a plugin. > Thanks > Kolja > > > On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal < > mathieu.westphal at kitware.com> wrote: > >> Hi Kolja >> >> I have a simple view plugin project ongoing that I should be able to >> scale down for your needs. >> I will try to find the time to do it before the end fo the week. >> >> Best, >> >> Mathieu Westphal >> >> On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen >> wrote: >> >>> Is it possible to write a plugin that derives from vtkPVView instead of >>> vtkPVRenderView? >>> >>> I don't know how I can further shorten my question. The answer is quite >>> important to decide whether we can continue our ParaView developments. >>> Thank you >>> Kolja >>> >>> >>> Virenfrei. >>> www.avast.com >>> >>> <#m_-7533380727799637296_m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>> >>> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen >> > wrote: >>> >>>> I have stripped down Plugin/MantaView until all compilation problems >>>> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. >>>> The code, consisting of only two minimal classes, is attached and can >>>> be built using: >>>> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make >>>> (tested with ParaView 5.4.1) >>>> >>>> This brings me back to my initial question. I'd like to show a custom >>>> view, made of a number of Qt widgets (buttons and text) to show important >>>> statistics. >>>> In SnippetView.xml, the view is declared as: >>>> >>> base_proxyname="RenderView" ... >>>> >>>> How can I replace 'base_proxyname="RenderView"' by some generic view, >>>> to be filled with widgets? "View" or "ViewBase" are not recognized as base >>>> proxies. >>>> Thank you >>>> Kolja >>>> >>>> >>>> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen < >>>> petersenkolja at gmail.com> wrote: >>>> >>>>> Dear plugin developers, >>>>> I need to implement a custom view to present datasets in a detailed >>>>> editable format. >>>>> >>>>> This link says that the plugin tutorial is obsolete for the view part: >>>>> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a >>>>> _custom_view_.2A_obsolete_.2A >>>>> >>>>> The Examples/Plugins/GUIView suggested in the link doesn't exist. The >>>>> Plugins/MantaView is rather complex and doesn't compile due to other bugs >>>>> as reported elsewhere, so that I can't get a clue how the MantaView plugin >>>>> is supposed to work. >>>>> >>>>> Could some kind developer upload a minimal working view plugin >>>>> example, which needs to display only a simple QButton or any other widget? >>>>> This will help to allow users build their custom views for ParaView 5.x.y. >>>>> Thank you >>>>> Kolja >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects 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: >>> https://paraview.org/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pluginView.tgz Type: application/x-gzip Size: 16250 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Jan 23 08:53:09 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 23 Jan 2018 08:53:09 -0500 Subject: [Paraview] [EXTERNAL] Re: Material Interface Filter In-Reply-To: References: Message-ID: As a happy coincidence, Will Schroeder just posted a merge request for a VTK filter that computes the volumes of connected regions in a poly data and stores the volumes in field data: https://gitlab.kitware.com/vtk/vtk/merge_requests/3825. We could expose this in ParaView once it lands in VTK. Cory On Mon, Jan 22, 2018 at 11:28 PM, Cory Quammen wrote: > On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan wrote: >> Thanks Andy! Although I will take a round about method, I would love a real >> solution. >> >> >> >> Cory? Thoughts? >> >> >> >> Alan >> >> >> >> From: Andy Bauer [mailto:andy.bauer at kitware.com] >> Sent: Wednesday, January 17, 2018 9:24 AM >> To: Scott, W Alan ; Quammen, Cory (External Contacts) >> >> Cc: paraview at paraview.org >> Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter >> >> >> >> The best way I can think of is to then use the threshold filter to isolate >> each of the pieces and then use the cell size filter on each piece. This >> would be fairly easy to automate in a Python script to just print out the >> values. >> >> Alternatively, I don't see a reason why the Connectivity filter couldn't >> have an option added to output a field data array with the summed sizes of >> each piece. Since Cory just made the connectivity filter work correctly in >> parallel it would surprise me that he may be familiar enough with the code >> to do the change in a couple of hours. > > I'm hesitant to add an option in the Connectivity filter to do this. > Instead, I can imagine uses for a volume computation for > surfaces/volumes labeled by a RegionId that isn't necessarily assigned > as a function of connectivity. Instead, I would prefer to create a > separate filter that computes volumes for each RegionId in the input > dataset. You would feed the output of the Connectivity filter to this > new filter and get the volume-per-region information you want. > > Cory > >> >> >> On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan wrote: >> >> I have a user that wants to use the equivalent of the Material Interface >> Filter on VTK files. Is there a way to do this? I did find the >> Connectivity filter, that gets me half way. I then want to find the mass of >> these individual fragments. >> >> >> >> To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then >> ran the connectivity filter. >> >> >> >> 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: >> https://paraview.org/mailman/listinfo/paraview >> >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From utkarsh.ayachit at kitware.com Tue Jan 23 10:31:35 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 23 Jan 2018 10:31:35 -0500 Subject: [Paraview] Extracting data on the surface of a block? In-Reply-To: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> Message-ID: Louis, > This seemed to produce reasonable looking results, but I was not able to > specify the number of points along the arc where data was extracted. PlotOnIntersectionCurves essentially slices the dataset using a implicit plane. The points you get are indeed the insection points between your polydata and the plane and hence there's no control over how many points there can be, besides what's determined by your mesh. If you can share the sample data (feel free to do it off the list,if you'd like), I can see what other options may work. >Also, upon saving, three files were produced file0.csv, file1.csv, file2.csv, and > file3.csv. Not sure why I am not getting just one file? Are you using "save data"? I'd suggest selecting the "Chart View" and then using "Export View" option to export the curves. That will give you a since CSV for the fields you've selected. Utkarsh From utkarsh.ayachit at kitware.com Tue Jan 23 10:32:05 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 23 Jan 2018 10:32:05 -0500 Subject: [Paraview] Extracting data on the surface of a block? In-Reply-To: References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> Message-ID: By "Export View", I meant "Export Scene" under the "File" menu. On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit wrote: > Louis, > >> This seemed to produce reasonable looking results, but I was not able to >> specify the number of points along the arc where data was extracted. > > PlotOnIntersectionCurves essentially slices the dataset using a > implicit plane. The points you get are indeed the insection points > between your polydata and the plane and hence there's no control over > how many points there can be, besides what's determined by your mesh. > > If you can share the sample data (feel free to do it off the list,if > you'd like), I can see what other options may work. > >>Also, upon saving, three files were produced file0.csv, file1.csv, file2.csv, and >> file3.csv. Not sure why I am not getting just one file? > > Are you using "save data"? I'd suggest selecting the "Chart View" and > then using "Export View" option to export the curves. That will give > you a since CSV for the fields you've selected. > > Utkarsh From andy.bauer at kitware.com Tue Jan 23 10:46:39 2018 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 23 Jan 2018 10:46:39 -0500 Subject: [Paraview] Catalyst dlopen issues with OpenGL2 support for off-screen Mesa In-Reply-To: <1117834666.2988077.1516673773622.JavaMail.root@zimbra10-e2> References: <1495671484.31674.2.camel@free.fr> <1117834666.2988077.1516673773622.JavaMail.root@zimbra10-e2> Message-ID: Hi Yvan, Thanks for the update. I haven't seen anything like this yet but if I'm able to reproduce it I'll see if I can track down the issue. Best, Andy On Mon, Jan 22, 2018 at 9:16 PM, wrote: > Hello, > > I made further progress on this old thread, so am answering myself to > close this issue... > > With recent versions of OSMesa (17.2 or 17.8), I observed that using > LD_PRELOAD with OSMesa.so.8 also avoided the incorrect initialization issue > of OSMesa leading to Catalyst complaining aboit OpenGL2 features not being > available. > > On an Arch Linux system, I had also reproduced the reported issue at one > time, but do not reproduce it anymore with Mesa 17.3. > On a Debian 8 based system, I still reproduce it, but running new tests, > instead of LD_PRELOAD, using RTLD_LAZY | RTLD_GLOBAL as dlopen flags solves > the issue (either RTLD_LAZY or RTLD_NOW work with RTLD_GLOBAL, none work > wth RTLD_LOCAL). I am pretty sure I had run similar tests a few month ago > with older versions, with less success. > > I assume the improvements come from Mesa updates, though as the behavior > of dlopen is concerned, it might also be due to lower level patches. > > In any case, I started building a small test case to reproduce this, but > it was not working yet (trying to get the > correct libraries to link in a minimal setting, or other options correct > while not being familiar with CMake), so as I have a good work, I guess > I'll leave it there and hope the issue does not resurfaces. > > Best regards, > > Yvan > > ----- Mail original ----- > De: "Yvan Fournier" > ?: paraview at paraview.org > Envoy?: Jeudi 25 Mai 2017 02:18:04 > Objet: Re: [Paraview] Catalyst dlopen issues with OpenGL2 support for > off-screen Mesa > > Hello, > > I reproduced the issue described 2 months ago relative to detection of > OSMesa > OpenGL2 support using dynamically loaded shared libraries on another > machine. > > I had reproduced this issue on Debian-9 based systems, but not with the > preconfigured Mesa/OSMesa from Arch Linux. Recently, I had other issues > with the > packaged library on Arch (Mesa 17.1.0, including both off-screen and > on-screen > drivers), as glGetString and a few other symbols were not found. > > So I recompiled Mesa for off-screen mode, using the recommendations from > the > ParaView Wiki (with the packaged LLVM 4.0), and encounter the following > error > again when starting Catalyst: > > -------------------------------- > ERROR: In > /home/yvan/src/ParaView/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, > line > 831 > > vtkOSOpenGLRenderWindow (0x72e3c00): GL version 2.1 with the gpu_shader4 > extension is not supported by your graphics driver but is required fo > r the new OpenGL rendering backend. Please update your OpenGL driver. If > you are > using Mesa please make sure you have version 10.6.5 or later > and make sure your driver in Mesa supports OpenGL 3.2. > -------------------------------- > > Trying to force usage of OpenSWR (using "export GALLIUM_DRIVER=swr") I have > another error: > > -------------------------------- > SWR detected AVX2 > > SWR library load failure: /home/yvan/opt/osmesa/lib/libswrAVX2.so: > undefined > symbol: _glapi_tls_Dispatch > -------------------------------- > > So this seems quite reproducible on various systems, and both with LLVM > 3.9 or > LLVM 4, Mesa 13 or 17. > > When linking ParaView (Catalyst) normally (rather than linking them with a > smaller module loaded as a plugin with dlopen), both the default LLVMpipe > and > OpenSwr errors dissapear, and things work fine > > Does anybody have an idea what I may be missing when loading with dlopen ? > > Best regards, > > Yvan > > > From: Yvan Fournier > To: paraview at paraview.org > Objet: Re: [Paraview] Issues with OpenGL2 support for off-screen Mesa > Date: Sat, 11 Mar 2017 00:36:00 +0100 > > > Hello, > > > > I made some progress using OpenGL2 for offs-screen Mesa on a Debian > 8-based > > system: > > > > I don't need to compile my code or ParaView in static: compiling > everything > > with > > dyanmic libraries works, as long as I link everything together instead of > > loading a plugin (consisting of some Code_Saturne libraries, ParaView > > Libraries, > > and OSMesa/Gallium). > > > > So it seems some things re not initialized correctly when I load > ParaView and > > OSMesa as a plugin, so I'm not took sure the problem comes from ParaView, > > OSMesa, or LLVM. I tried OSMesa 13.0.3 and 17.0.1, and LLVM 3.5 > (packaged with > > Debian 8) and 3.9 (local build), with identical results. > > > > I also tried using RTLD_NOW and even RTLD_NOW | RTLD_GLOBAL instead of > the > > usual > > RTLD_LAZY when using dlopen, with no difference in behavior (I have not > tried > > RTLD_DEEPBIND). > > > > Has anyone encountered similar issues or does anyone have an idea what > could > > be > > missing in the initialization stage using dlopen for a plugin linked with > > Catalyst ? I do not encounter this issue on an Arch-Linux-based system, > but > > encounter it on a Debian 8 ("Jessie") system ? > > > > Using a plugin is not an absolute must, but it would be preferable if I > > managed > > to get it working again with that build option. > > > > Best regards, > > > > Yvan > > > > > > Friday Feb 24 f?vrier 2017 at 18:25 +0100, yvan.fournier at free.fr wrote: > > > > > Hi Chuck, > > > > > > here is what I have in /home/D43345/opt/Mesa-13.0/arch/calibre9/lib: > > > > > > -rwxr-xr-x 1 D43345 rdusers 1098 Feb 22 15:24 libOSMesa.la > > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libOSMesa.so -> > > > libOSMesa.so.8.0.0 > > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libOSMesa.so.8 -> > > > libOSMesa.so.8.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 47309888 Feb 22 15:24 libOSMesa.so.8.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 962 Feb 22 15:24 libglapi.la > > > lrwxrwxrwx 1 D43345 rdusers 17 Feb 22 15:24 libglapi.so -> > > > libglapi.so.0.0.0 > > > lrwxrwxrwx 1 D43345 rdusers 17 Feb 22 15:24 libglapi.so.0 -> > > > libglapi.so.0.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 1400520 Feb 22 15:24 libglapi.so.0.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 1018 Feb 22 15:24 libswrAVX.la > > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libswrAVX.so -> > > > libswrAVX.so.0.0.0 > > > lrwxrwxrwx 1 D43345 rdusers 18 Feb 22 15:24 libswrAVX.so.0 -> > > > libswrAVX.so.0.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 97879312 Feb 22 15:24 libswrAVX.so.0.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 1024 Feb 22 15:24 libswrAVX2.la > > > lrwxrwxrwx 1 D43345 rdusers 19 Feb 22 15:24 libswrAVX2.so -> > > > libswrAVX2.so.0.0.0 > > > lrwxrwxrwx 1 D43345 rdusers 19 Feb 22 15:24 libswrAVX2.so.0 -> > > > libswrAVX2.so.0.0.0 > > > -rwxr-xr-x 1 D43345 rdusers 96655416 Feb 22 15:24 libswrAVX2.so.0.0.0 > > > drwxr-xr-x 2 D43345 rdusers 4096 Feb 22 15:24 pkgconfig > > > > > > > > > And here is the summary after configuration of Mesa: > > > > > > prefix: /home/D43345/opt/Mesa-13.0/arch/calibre9 > > > exec_prefix: ${prefix} > > > libdir: ${exec_prefix}/lib > > > includedir: ${prefix}/include > > > > > > OpenGL: yes (ES1: no ES2: no) > > > > > > OSMesa: libOSMesa (Gallium) > > > > > > GLX: no > > > > > > EGL: no > > > > > > Vulkan drivers: no > > > > > > llvm: yes > > > llvm-config: /home/D43345/opt/llvm-3.9/ > arch/calibre9/bin/llvm- > > > config > > > llvm-version: 3.9.1 > > > > > > Gallium drivers: swrast swr > > > Gallium st: mesa > > > > > > HUD extra stats: no > > > HUD lmsensors: no > > > > > > Shader cache: yes > > > With SHA1 from: libcrypto > > > > > > Shared libs: yes > > > Static libs: no > > > Shared-glapi: yes > > > > > > CFLAGS: -g -O2 -Wall -std=c99 > -Werror=implicit-function- > > > declaration -Werror=missing-prototypes -fno-math-errno > -fno-trapping-math > > > CXXFLAGS: -g -O2 -Wall -fno-math-errno > -fno-trapping-math > > > Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS > > > -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG > > > -DUSE_X86_64_ASM > > > -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP > > > -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_SHA1 > -DMESA_EGL_NO_X11_HEADERS > > > -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=1 > > > > > > LLVM_CFLAGS: -I/home/D43345/opt/llvm- > > > 3.9/arch/calibre9/include - > > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > > LLVM_CXXFLAGS: -I/home/D43345/opt/llvm- > > > 3.9/arch/calibre9/include -W -Wno-unused-parameter -Wwrite-strings > -Wno- > > > missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized > > > -Wdelete- > > > non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 - > > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > > LLVM_CPPFLAGS: -I/home/D43345/opt/llvm- > > > 3.9/arch/calibre9/include - > > > D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS > > > LLVM_LDFLAGS: -L/home/D43345/opt/llvm-3.9/arch/calibre9/lib > > > > > > PYTHON2: python2.7 > > > > > > Run 'make' to build Mesa > > > > > > > > > Best regards, > > > > > > Yvan > > > > > > ----- Mail original ----- > > > De: "Chuck Atkins" > > > ?: "yvan fournier" > > > Cc: "ParaView Mailing List" > > > Envoy?: Jeudi 23 F?vrier 2017 19:14:03 > > > Objet: Re: [Paraview] Issues with OpenGL2 support for off-screen Mesa > > > > > > > > > > > > Hi Yvan, > > > What are the resulting libraries in /home/D43345/opt/Mesa- > > > 13.0/arch/calibre9/lib after the Mesa install? It looks like something > has > > > gone a bit awry with the Mesa build. Also, what does the summary look > like > > > that's printed out at the end of ./configure for Mesa? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------- > > > Chuck Atkins > > > Staff R&D Engineer, Scientific Computing > > > Kitware, Inc. > > > > > > > > > > > > On Wed, Feb 22, 2017 at 7:00 PM, < yvan.fournier at free.fr > wrote: > > > > > > > > > Hello, > > > > > > I recently encountered issues related to the OpenGL2 support for > off-screen > > > Mesa. Up to at least ParaView V5.1.2, I could use ParaView/Catalyst > built > > > with > > > OSMesa with no specific issues (I mostly used OSMesa compiled without > LLVM, > > > as > > > rendering did not represent a huge portion of my compute time. > > > > > > I'm using Catalyst in the context of the Code_Saturne CFD code. By > default, > > > the code includes a plugin, linked to both ParaView or a Catalys > edition > > > (based on the info from the cmake entry in ParaView installs when > > > -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON is used). On Linux systems, > the > > > plugin > > > is loaded with dlopen(, RTLD_LAZY). > > > We use Catalyst Python scripts, so the plugin goes through ParaView's > Python > > > layer also to render images. > > > > > > On my personal PC, running Arch Linux I have not encountered any > specific > > > issue with recent ParaView changes and the move to OpenGL2 (actually, > for > > > on- > > > screen redering, the Intel graphics driver/QT5 rendering issue leading > to > > > spurious transparencies that I had before seem to have disappeared, so > > > things > > > are actually better. > > > > > > On company machines (workstations and clusters using EDF's Debian 8 > flavor, > > > with gcc version (Debian 4.9.2-10) 4.9.2, things are not working so > well, as > > > I > > > get an error message related to missing OpenGL features starting with > > > ParaView > > > 5.2 (and up to today's master). > > > I switched to Mesa 13.0.1, then 13.0.4, following the new instructions > on > > > the > > > ParaView Wiki, but I still always get the following error: > > > > > > """ > > > ERROR: In > > > /home/D43345/src/paraview/VTK/Rendering/OpenGL2/ > vtkOpenGLRenderWindow.cxx, > > > line 733 > > > vtkOSOpenGLRenderWindow (0x808db80): GL version 2.1 with the > gpu_shader4 > > > extension is not supported by your graphics driver but is required for > the > > > new > > > OpenGL rendering backend. Please update your OpenGL driver. If you are > using > > > Mesa please make sure you have version 10.6.5 or later and make sure > your > > > driver in Mesa supports OpenGL 3.2. > > > GL_Version: 3.3 (Core Profile) Mesa 13.0.4. > > > """ > > > > > > My mesa build used the following options (from the ParaView wiki) : > > > > > > ./configure --prefix=$HOME/opt/Mesa-13.0/arch/calibre9 > --enable-opengl -- > > > disable-gles1 --disable-gles2 --disable-va --disable-xvmc > --disable-vdpau -- > > > enable-shared-glapi --disable-texture-float --enable-gallium-llvm > --enable- > > > llvm-shared-libs --with-gallium-drivers=swrast,swr --disable-dri > --with-dri- > > > drivers= --disable-egl --with-egl-platforms= --disable-gbm > --disable-glx -- > > > disable-osmesa --enable-gallium-osmesa --with-llvm-prefix=$HOME/opt/ > llvm- > > > 3.9/arch/calibre9 > > > > > > I tried both using the local llvm install (v3.5, which worked in part > and > > > could not compile OpenSwr), and a local build of LLVM 3.9.1 (shown > above). I > > > also added --enable-debug for my latest tests. > > > > > > Things work slightly better with LLVM 3.9 than with 3.5, but I still > get the > > > above error mentioning the gpu_shader4 extension, whether exporting > > > GALLIUM_DRIVER=llvmpipe or softpipe. With GALLIUM_DRIVER=swr, I have > another > > > error: > > > > > > """ > > > Using OpenSWR : > > > > > > SWR detected AVX2 > > > SWR library load failure: /home/D43345/opt/Mesa- > > > 13.0/arch/calibre9/lib/libswrAVX2.so: undefined symbol: _glapi_Context > > > """ > > > > > > During my testing, I also built a static version of my code, with a > static > > > build of ParaView (and the plugin replaced by a static link), but > keeping > > > the > > > same dynamic library for OSMesa. And surprise, that version worked > normally, > > > producing the expected images (at least with the LLVM 3.9 build; with > LLVM > > > 3.5, I had the color map labels, but no colored slice...). > > > > > > So the issue seems to be on the ParaView side more than on the OSMesa > side. > > > I > > > have a debug build of the Code_Saturne/ParaView/OSMesa stack, but > although I > > > can explore where the final error occurs (in > vtkOpenGLRenderWindow.cxx), and > > > some GLES querying before that, I don't realy know where to look . > > > > > > As the error occurs with a dynamic but not static build, is seems to be > > > related to initialization issues, but I don't know VTK well enough to > > > provide > > > more precise info. > > > > > > Has anybody encounted this issue ? Does anybody have suggestions ? I'm > > > planning on trying other options than RTLD_LAZY on my plugin's side, > but if > > > that does not work, I'll be out of ideas. > > > > > > Best regards, > > > > > > Yvan > > > > > > PS: in case they are useful as a reference, the build options for Mesa > used > > > by > > > Arch Linux (recently switched from 13 to 17), on the system on which I > had > > > zero issue, are the following: > > > > > > ./configure --prefix=/usr \ > > > --sysconfdir=/etc \ > > > --with-dri-driverdir=/usr/lib/xorg/modules/dri \ > > > --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \ > > > --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ > > > --with-egl-platforms=x11,drm,wayland \ > > > --with-vulkan-drivers=intel,radeon \ > > > --disable-xvmc \ > > > --enable-gallium-llvm \ > > > --enable-llvm-shared-libs \ > > > --enable-shared-glapi \ > > > --enable-libglvnd \ > > > --enable-egl \ > > > --enable-glx \ > > > --enable-glx-tls \ > > > --enable-gles1 \ > > > --enable-gles2 \ > > > --enable-gbm \ > > > --enable-dri \ > > > --enable-osmesa \ > > > --enable-texture-float \ > > > --enable-xa \ > > > --enable-vdpau \ > > > --enable-omx \ > > > --enable-nine \ > > > --enable-opencl \ > > > --enable-opencl-icd \ > > > --with-clang-libdir=/usr/lib > > > > > > There is also a patch related to glapi linkage which I might try in > case it > > > solved my glapi missing symbol issue with OpenSWR... > > > _______________________________________________ > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensourc > > > e/ > > > opensource.html > > > > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paravie > > > w. > > > 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: > https://paraview.org/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nenadus at gmail.com Tue Jan 23 12:00:33 2018 From: nenadus at gmail.com (Nenad Vujicic) Date: Tue, 23 Jan 2018 18:00:33 +0100 Subject: [Paraview] OSPRay ignores transparency Message-ID: Hello everyone, I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but, when I set a surface object opacity to e.g. 0.5, then enable OSPRay, surfaces goes back to fully opaque. Is transparency currently ignored? Thanks, Nenad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Jan 23 12:27:01 2018 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 23 Jan 2018 12:27:01 -0500 Subject: [Paraview] OSPRay ignores transparency In-Reply-To: References: Message-ID: It is a known bug in VTK's interface to OSPRay such that opacity is ignored in some cases dependent on some of the other color controls. https://gitlab.kitware.com/paraview/paraview/issues/17873 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Jan 23, 2018 at 12:00 PM, Nenad Vujicic wrote: > Hello everyone, > > I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but, > when I set a surface object opacity to e.g. 0.5, then enable OSPRay, > surfaces goes back to fully opaque. Is transparency currently ignored? > > Thanks, > Nenad. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nenadus at gmail.com Tue Jan 23 12:40:12 2018 From: nenadus at gmail.com (Nenad Vujicic) Date: Tue, 23 Jan 2018 18:40:12 +0100 Subject: [Paraview] OSPRay ignores transparency In-Reply-To: References: Message-ID: Oh, I understand. Thanks Dave! Nenad. On Tue, Jan 23, 2018 at 6:27 PM, David E DeMarle wrote: > It is a known bug in VTK's interface to OSPRay such that opacity is > ignored in some cases dependent on some of the other color controls. > https://gitlab.kitware.com/paraview/paraview/issues/17873 > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > > Clifton Park, NY 12065 > > -8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Tue, Jan 23, 2018 at 12:00 PM, Nenad Vujicic wrote: > >> Hello everyone, >> >> I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but, >> when I set a surface object opacity to e.g. 0.5, then enable OSPRay, >> surfaces goes back to fully opaque. Is transparency currently ignored? >> >> Thanks, >> Nenad. >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> https://paraview.org/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 23 13:49:13 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 23 Jan 2018 13:49:13 -0500 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview In-Reply-To: References: Message-ID: My guess would be that you're accessing a nullptr in `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build of ParaView, and then attaching a debugger to confirm and fix. Utkarsh On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao wrote: > Hi, > > I get some segment fault when I try to run my plugin in Linux paraview while > there is no error in Windows paraview. > I can only run static version of paraview, but I track the segmentation > fault. > > Program received signal SIGSEGV, Segmentation fault. > 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 > Missing separate debuginfos, use: debuginfo-install > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 > (gdb) where > #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 > #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 > #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) () > from > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so > #3 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*) > () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 > #4 0x00002aaaaf4731ab in vtkCompositeRepresentation::AddToView(vtkView*) () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 > #5 0x00002aaaaf493760 in vtkPVCompositeRepresentation::AddToView(vtkView*) > () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 > #6 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*) > () > from > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 > #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*, > vtkObjectBase*, char const*, vtkClientServerStream const&, > vtkClientServerStream&, void*) > > I don't why this only happens in Linux. Anyone could help me figure out? > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > From ygliao at ucdavis.edu Tue Jan 23 13:53:25 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Tue, 23 Jan 2018 10:53:25 -0800 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview In-Reply-To: References: Message-ID: I run this paraview on TACC Maverick, which I have no access to debug build. But I run the same plugin on my Windows Paraview build and there is no such error. How could I fix it? Thanks On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > My guess would be that you're accessing a nullptr in > `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build > of ParaView, and then attaching a debugger to confirm and fix. > > Utkarsh > > On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao > wrote: > > Hi, > > > > I get some segment fault when I try to run my plugin in Linux paraview > while > > there is no error in Windows paraview. > > I can only run static version of paraview, but I track the segmentation > > fault. > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > > Missing separate debuginfos, use: debuginfo-install > > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 > > (gdb) where > > #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > > #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > > #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) () > > from > > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/ > libLIC3DRepresentation.so > > #3 0x00002aaaafea6a64 in vtkView::AddRepresentation( > vtkDataRepresentation*) > > () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkViewsCore-pv5.4.so.1 > > #4 0x00002aaaaf4731ab in vtkCompositeRepresentation::AddToView(vtkView*) > () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/ > libvtkPVClientServerCoreRendering-pv5.4.so.1 > > #5 0x00002aaaaf493760 in vtkPVCompositeRepresentation:: > AddToView(vtkView*) > > () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/ > libvtkPVClientServerCoreRendering-pv5.4.so.1 > > #6 0x00002aaaafea6a64 in vtkView::AddRepresentation( > vtkDataRepresentation*) > > () > > from > > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkViewsCore-pv5.4.so.1 > > #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*, > > vtkObjectBase*, char const*, vtkClientServerStream const&, > > vtkClientServerStream&, void*) > > > > I don't why this only happens in Linux. Anyone could help me figure out? > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Tue Jan 23 13:55:02 2018 From: petersenkolja at gmail.com (Kolja Petersen) Date: Tue, 23 Jan 2018 19:55:02 +0100 Subject: [Paraview] custom view plugin - minimal example needed In-Reply-To: References: Message-ID: Thanks, Mathieu, unfortunately the RenderView or the other hardcoded views won't work for us. As I described, I need to implement a custom view with a bunch of input fields and buttons to represent data statistics. The corresponding Qt views of the 4 mentioned View classes are created in pqStandardServerManagerModelInterface::CreatePQView using hardcoded tests such as: if (xmlname == pqSpreadSheetView::spreadsheetViewType()) { return new pqSpreadSheetView(group, name, proxy, server, parent); } Is it feasible to create another, generic vtkPVView-derived class besides vtkPVRenderView...vtkSpreadSheetView, which will allow to define the view elements using the plugin mechanism? We can add menus, buttons and toolbars through plugins, why not customize a generic view? Is there a reason that forbids such customization, or is it just one of those topics that hasn't received sufficient interest or funding, but could be implemented in principle? Thanks Kolja On Tue, Jan 23, 2018 at 10:45 AM, Mathieu Westphal < mathieu.westphal at kitware.com> wrote: > Hello > > Here is a minimal example for creating a new type of view within a plugin. > You actually cannot inherit directly from vtkPVView, you must inherit for > a base view, which can be : > - vtkPVRenderView > - vtkPVContextView > - vtkPythonView > - vtkSpreadSheetView > (https://www.paraview.org/ParaView/Doc/Nightly/www/cxx- > doc/classvtkPVView.html) > > This choice is also visible in the associated xml files where you precise > which kind of proxy you want to create. > > In the attached example, I demonstrated how to add a clone of the Render > View, called Render View 2. > > Hope it helps, > > Best, > > > Mathieu Westphal > > On Mon, Jan 22, 2018 at 7:08 PM, Kolja Petersen > wrote: > >> Thank you, Mathieu, >> any update on this? >> All my research seems to point to a few hardcoded views that are >> accessible. I simply can't find a solution to implement a new view and open >> it from a plugin. >> Thanks >> Kolja >> >> >> On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal < >> mathieu.westphal at kitware.com> wrote: >> >>> Hi Kolja >>> >>> I have a simple view plugin project ongoing that I should be able to >>> scale down for your needs. >>> I will try to find the time to do it before the end fo the week. >>> >>> Best, >>> >>> Mathieu Westphal >>> >>> On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen >> > wrote: >>> >>>> Is it possible to write a plugin that derives from vtkPVView instead of >>>> vtkPVRenderView? >>>> >>>> I don't know how I can further shorten my question. The answer is quite >>>> important to decide whether we can continue our ParaView developments. >>>> Thank you >>>> Kolja >>>> >>>> >>>> Virenfrei. >>>> www.avast.com >>>> >>>> <#m_1712022189565304643_m_-7533380727799637296_m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>>> >>>> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen < >>>> petersenkolja at gmail.com> wrote: >>>> >>>>> I have stripped down Plugin/MantaView until all compilation problems >>>>> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer. >>>>> The code, consisting of only two minimal classes, is attached and can >>>>> be built using: >>>>> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && >>>>> make >>>>> (tested with ParaView 5.4.1) >>>>> >>>>> This brings me back to my initial question. I'd like to show a custom >>>>> view, made of a number of Qt widgets (buttons and text) to show important >>>>> statistics. >>>>> In SnippetView.xml, the view is declared as: >>>>> >>>> base_proxyname="RenderView" ... >>>>> >>>>> How can I replace 'base_proxyname="RenderView"' by some generic view, >>>>> to be filled with widgets? "View" or "ViewBase" are not recognized as base >>>>> proxies. >>>>> Thank you >>>>> Kolja >>>>> >>>>> >>>>> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen < >>>>> petersenkolja at gmail.com> wrote: >>>>> >>>>>> Dear plugin developers, >>>>>> I need to implement a custom view to present datasets in a detailed >>>>>> editable format. >>>>>> >>>>>> This link says that the plugin tutorial is obsolete for the view part: >>>>>> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a >>>>>> _custom_view_.2A_obsolete_.2A >>>>>> >>>>>> The Examples/Plugins/GUIView suggested in the link doesn't exist. The >>>>>> Plugins/MantaView is rather complex and doesn't compile due to other bugs >>>>>> as reported elsewhere, so that I can't get a clue how the MantaView plugin >>>>>> is supposed to work. >>>>>> >>>>>> Could some kind developer upload a minimal working view plugin >>>>>> example, which needs to display only a simple QButton or any other widget? >>>>>> This will help to allow users build their custom views for ParaView 5.x.y. >>>>>> Thank you >>>>>> Kolja >>>>>> >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects 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: >>>> https://paraview.org/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 23 13:56:11 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 23 Jan 2018 13:56:11 -0500 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview In-Reply-To: References: Message-ID: Maybe if you share the code for vtkLIC3DRepresentation I may be able to offer suggestions. You could also try getting a access to some other linux machine on which you should be able to reproduce the issue. On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao wrote: > I run this paraview on TACC Maverick, which I have no access to debug build. > But I run the same plugin on my Windows Paraview build and there is no such > error. How could I fix it? > Thanks > > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit > wrote: >> >> My guess would be that you're accessing a nullptr in >> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build >> of ParaView, and then attaching a debugger to confirm and fix. >> >> Utkarsh >> >> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao >> wrote: >> > Hi, >> > >> > I get some segment fault when I try to run my plugin in Linux paraview >> > while >> > there is no error in Windows paraview. >> > I can only run static version of paraview, but I track the segmentation >> > fault. >> > >> > Program received signal SIGSEGV, Segmentation fault. >> > 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 >> > Missing separate debuginfos, use: debuginfo-install >> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 >> > (gdb) where >> > #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 >> > #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1 >> > #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) () >> > from >> > >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so >> > #3 0x00002aaaafea6a64 in >> > vtkView::AddRepresentation(vtkDataRepresentation*) >> > () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 >> > #4 0x00002aaaaf4731ab in >> > vtkCompositeRepresentation::AddToView(vtkView*) () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 >> > #5 0x00002aaaaf493760 in >> > vtkPVCompositeRepresentation::AddToView(vtkView*) >> > () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1 >> > #6 0x00002aaaafea6a64 in >> > vtkView::AddRepresentation(vtkDataRepresentation*) >> > () >> > from >> > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1 >> > #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*, >> > vtkObjectBase*, char const*, vtkClientServerStream const&, >> > vtkClientServerStream&, void*) >> > >> > I don't why this only happens in Linux. Anyone could help me figure out? >> > >> > -- >> > Yangguang Liao >> > PhD. student of Computer Science Department >> > University of California, Davis >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects 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: >> > https://paraview.org/mailman/listinfo/paraview >> > > > > > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis From wascott at sandia.gov Tue Jan 23 14:00:03 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 23 Jan 2018 19:00:03 +0000 Subject: [Paraview] [EXTERNAL] Re: Material Interface Filter In-Reply-To: References: Message-ID: Andy, Wouldn't the upcoming volume filter calculate the volume of fragments coming from the Connectivity filter? Alan > -----Original Message----- > From: Cory Quammen [mailto:cory.quammen at kitware.com] > Sent: Monday, January 22, 2018 9:29 PM > To: Scott, W Alan > Cc: Bauer, Andy (External Contacts) ; > paraview at paraview.org > Subject: Re: [EXTERNAL] Re: [Paraview] Material Interface Filter > > On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan > wrote: > > Thanks Andy! Although I will take a round about method, I would love > > a real solution. > > > > > > > > Cory? Thoughts? > > > > > > > > Alan > > > > > > > > From: Andy Bauer [mailto:andy.bauer at kitware.com] > > Sent: Wednesday, January 17, 2018 9:24 AM > > To: Scott, W Alan ; Quammen, Cory (External > > Contacts) > > Cc: paraview at paraview.org > > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter > > > > > > > > The best way I can think of is to then use the threshold filter to > > isolate each of the pieces and then use the cell size filter on each > > piece. This would be fairly easy to automate in a Python script to > > just print out the values. > > > > Alternatively, I don't see a reason why the Connectivity filter > > couldn't have an option added to output a field data array with the > > summed sizes of each piece. Since Cory just made the connectivity > > filter work correctly in parallel it would surprise me that he may be > > familiar enough with the code to do the change in a couple of hours. > > I'm hesitant to add an option in the Connectivity filter to do this. > Instead, I can imagine uses for a volume computation for surfaces/volumes > labeled by a RegionId that isn't necessarily assigned as a function of > connectivity. Instead, I would prefer to create a separate filter that computes > volumes for each RegionId in the input dataset. You would feed the output > of the Connectivity filter to this new filter and get the volume-per-region > information you want. > > Cory > > > > > > > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan > wrote: > > > > I have a user that wants to use the equivalent of the Material > > Interface Filter on VTK files. Is there a way to do this? I did find > > the Connectivity filter, that gets me half way. I then want to find > > the mass of these individual fragments. > > > > > > > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, > > then ran the connectivity filter. > > > > > > > > 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: > > https://paraview.org/mailman/listinfo/paraview > > > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From andy.bauer at kitware.com Tue Jan 23 14:06:03 2018 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 23 Jan 2018 14:06:03 -0500 Subject: [Paraview] [EXTERNAL] Re: Material Interface Filter In-Reply-To: References: Message-ID: It sounds like it. I believe that the user would have to use the extract surface filter first though. On Tue, Jan 23, 2018 at 2:00 PM, Scott, W Alan wrote: > Andy, > Wouldn't the upcoming volume filter calculate the volume of fragments > coming from the Connectivity filter? > > Alan > > > -----Original Message----- > > From: Cory Quammen [mailto:cory.quammen at kitware.com] > > Sent: Monday, January 22, 2018 9:29 PM > > To: Scott, W Alan > > Cc: Bauer, Andy (External Contacts) ; > > paraview at paraview.org > > Subject: Re: [EXTERNAL] Re: [Paraview] Material Interface Filter > > > > On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan > > wrote: > > > Thanks Andy! Although I will take a round about method, I would love > > > a real solution. > > > > > > > > > > > > Cory? Thoughts? > > > > > > > > > > > > Alan > > > > > > > > > > > > From: Andy Bauer [mailto:andy.bauer at kitware.com] > > > Sent: Wednesday, January 17, 2018 9:24 AM > > > To: Scott, W Alan ; Quammen, Cory (External > > > Contacts) > > > Cc: paraview at paraview.org > > > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter > > > > > > > > > > > > The best way I can think of is to then use the threshold filter to > > > isolate each of the pieces and then use the cell size filter on each > > > piece. This would be fairly easy to automate in a Python script to > > > just print out the values. > > > > > > Alternatively, I don't see a reason why the Connectivity filter > > > couldn't have an option added to output a field data array with the > > > summed sizes of each piece. Since Cory just made the connectivity > > > filter work correctly in parallel it would surprise me that he may be > > > familiar enough with the code to do the change in a couple of hours. > > > > I'm hesitant to add an option in the Connectivity filter to do this. > > Instead, I can imagine uses for a volume computation for surfaces/volumes > > labeled by a RegionId that isn't necessarily assigned as a function of > > connectivity. Instead, I would prefer to create a separate filter that > computes > > volumes for each RegionId in the input dataset. You would feed the output > > of the Connectivity filter to this new filter and get the > volume-per-region > > information you want. > > > > Cory > > > > > > > > > > > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan > > wrote: > > > > > > I have a user that wants to use the equivalent of the Material > > > Interface Filter on VTK files. Is there a way to do this? I did find > > > the Connectivity filter, that gets me half way. I then want to find > > > the mass of these individual fragments. > > > > > > > > > > > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, > > > then ran the connectivity filter. > > > > > > > > > > > > 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: > > > https://paraview.org/mailman/listinfo/paraview > > > > > > > > > > > > > > -- > > Cory Quammen > > Staff R&D Engineer > > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phsiao at cs.unc.edu Tue Jan 23 15:31:13 2018 From: phsiao at cs.unc.edu (Joe Ping-Lin Hsiao) Date: Tue, 23 Jan 2018 15:31:13 -0500 Subject: [Paraview] Unexpected measurement appears in 5.4.1 but not 5.0.1 Message-ID: The attached image shows the unexpected measure with text. I tested two versions of ParaView and it only happens in 5.4.1 but not 5.0.1. 180 stacks are loaded and set to volume rendering by my Python script, which is also attached. Thanks, Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- # For ParaView 5.0.1 folder = "D:\\Joe\\data\\volume_scan\\5_split_channels\\liveCell_with_bead00147_561_primary_first_15_cut\\" import os fileList = os.listdir(folder) step = 1.0 / len(fileList) def loadFile(file, spacing): #file: 'D:\\joe\\a.tif' #spacing: [1, 1, 4] #return: [renderView, reader] # create a new 'TIFF Series Reader' tif = TIFFSeriesReader(FileNames=[file]) tif.UseCustomDataSpacing = 1 tif.CustomDataSpacing = spacing # get active view renderView = GetActiveViewOrCreate('RenderView') # uncomment following to set a specific view size # renderView1.ViewSize = [682, 521] # show data in view display = Show(tif, renderView) # trace defaults for the display properties. #display.Representation = 'Outline' # reset view to fit data display.SetRepresentationType('Volume') renderView.ResetCamera() # update the view to ensure updated data information renderView.Update() Hide(tif, renderView) return [renderView, tif] def applyGaussian(renderView, reader): # create a new 'Gaussian Resampling' gaussianResampling = GaussianResampling(Input=reader) # show data in view gaussianResamplingDisplay = Show(gaussianResampling, renderView) # trace defaults for the display properties. #gaussianResamplingDisplay.Representation = 'Outline' # hide data in view #Hide(reader, renderView) # update the view to ensure updated data information #renderView.Update() # set scalar coloring #ColorBy(gaussianResamplingDisplay, ('POINTS', 'SplatterValues')) # rescale color and/or opacity maps used to include current data range #gaussianResamplingDisplay.RescaleTransferFunctionToDataRange(True, True) # change representation type gaussianResamplingDisplay.SetRepresentationType('Volume') # get color transfer function/color map for 'SplatterValues' #splatterValuesLUT = GetColorTransferFunction('SplatterValues') # hide data in view Hide(gaussianResampling, renderView) for i in range(len(fileList)): out = loadFile(folder + fileList[i], [1, 1, 2.5]) #applyGaussian(*out) k0 = CompositeKeyFrame(Interpolation="Boolean") k0.KeyTime = 0 k0.KeyValues = 0 k1 = CompositeKeyFrame(Interpolation="Boolean") k1.KeyTime = step * i k1.KeyValues = 1 k2 = CompositeKeyFrame(Interpolation="Boolean") k2.KeyTime = step * (i + 1) k2.KeyValues = 0 track = GetAnimationTrack("Visibility") if i == 0: track.KeyFrames = [k1, k2] elif i == len(fileList) - 1: track.KeyFrames = [k0, k1] else: track.KeyFrames = [k0, k1, k2] scene = GetAnimationScene() scene.NumberOfFrames = len(fileList) + 1 scene.GoToFirst() -------------- next part -------------- A non-text attachment was scrubbed... Name: pv_unexpcted_measure.png Type: image/png Size: 427830 bytes Desc: not available URL: From cory.quammen at kitware.com Tue Jan 23 15:47:09 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 23 Jan 2018 15:47:09 -0500 Subject: [Paraview] Unexpected measurement appears in 5.4.1 but not 5.0.1 In-Reply-To: References: Message-ID: Hi Joe, Are you referring to the circular (polar axes) in the image? It says 90.0 deg, 45.0 deg., etc. Thanks, Cory On Tue, Jan 23, 2018 at 3:31 PM, Joe Ping-Lin Hsiao wrote: > The attached image shows the unexpected measure with text. I tested two > versions of ParaView and it only happens in 5.4.1 but not 5.0.1. > > 180 stacks are loaded and set to volume rendering by my Python script, which > is also attached. > > Thanks, > Joe > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From ygliao at ucdavis.edu Tue Jan 23 16:02:28 2018 From: ygliao at ucdavis.edu (Yangguang Liao) Date: Tue, 23 Jan 2018 13:02:28 -0800 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview In-Reply-To: References: Message-ID: ?I'd like to share, the code works well on Paraview version fb13726dbfdcb5479c393720abaf8234edd42609 (version on Dec 1 2017), The latest has changed some source code, and I'm working on fix it. Thanks. ? Paraview3DLICPlugin.zip ? On Tue, Jan 23, 2018 at 10:56 AM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Maybe if you share the code for vtkLIC3DRepresentation I may be able > to offer suggestions. You could also try getting a access to some > other linux machine on which you should be able to reproduce the > issue. > > On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao > wrote: > > I run this paraview on TACC Maverick, which I have no access to debug > build. > > But I run the same plugin on my Windows Paraview build and there is no > such > > error. How could I fix it? > > Thanks > > > > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit > > wrote: > >> > >> My guess would be that you're accessing a nullptr in > >> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build > >> of ParaView, and then attaching a debugger to confirm and fix. > >> > >> Utkarsh > >> > >> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao > >> wrote: > >> > Hi, > >> > > >> > I get some segment fault when I try to run my plugin in Linux paraview > >> > while > >> > there is no error in Windows paraview. > >> > I can only run static version of paraview, but I track the > segmentation > >> > fault. > >> > > >> > Program received signal SIGSEGV, Segmentation fault. > >> > 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > >> > Missing separate debuginfos, use: debuginfo-install > >> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 > >> > (gdb) where > >> > #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > >> > #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkRenderingCore-pv5.4.so.1 > >> > #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) > () > >> > from > >> > > >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/ > libLIC3DRepresentation.so > >> > #3 0x00002aaaafea6a64 in > >> > vtkView::AddRepresentation(vtkDataRepresentation*) > >> > () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkViewsCore-pv5.4.so.1 > >> > #4 0x00002aaaaf4731ab in > >> > vtkCompositeRepresentation::AddToView(vtkView*) () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/ > libvtkPVClientServerCoreRendering-pv5.4.so.1 > >> > #5 0x00002aaaaf493760 in > >> > vtkPVCompositeRepresentation::AddToView(vtkView*) > >> > () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/ > libvtkPVClientServerCoreRendering-pv5.4.so.1 > >> > #6 0x00002aaaafea6a64 in > >> > vtkView::AddRepresentation(vtkDataRepresentation*) > >> > () > >> > from > >> > > >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview- > 5.4/libvtkViewsCore-pv5.4.so.1 > >> > #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*, > >> > vtkObjectBase*, char const*, vtkClientServerStream const&, > >> > vtkClientServerStream&, void*) > >> > > >> > I don't why this only happens in Linux. Anyone could help me figure > out? > >> > > >> > -- > >> > Yangguang Liao > >> > PhD. student of Computer Science Department > >> > University of California, Davis > >> > > >> > _______________________________________________ > >> > Powered by www.kitware.com > >> > > >> > Visit other Kitware open-source projects 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: > >> > https://paraview.org/mailman/listinfo/paraview > >> > > > > > > > > > > > -- > > Yangguang Liao > > PhD. student of Computer Science Department > > University of California, Davis > -- Yangguang Liao PhD. student of Computer Science Department University of California, Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 23 16:26:42 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 23 Jan 2018 16:26:42 -0500 Subject: [Paraview] Segmentation fault when loading representation plugin on Linux paraview In-Reply-To: References: Message-ID: Even with fb13726dbfdcb5479c393720abaf8234edd42609, it fails to build. I'll wait for you to update your code to build with latest ParaView before testing it. A quick look at the "AddToView" method and I don't see anything wrong with it, so it will need some debugging. On Tue, Jan 23, 2018 at 4:02 PM, Yangguang Liao wrote: > ?I'd like to share, the code works well on Paraview version > fb13726dbfdcb5479c393720abaf8234edd42609 (version on Dec 1 2017), The > latest has changed some source code, and I'm working on fix it. > Thanks. > ? > Paraview3DLICPlugin.zip > > ? > > > On Tue, Jan 23, 2018 at 10:56 AM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Maybe if you share the code for vtkLIC3DRepresentation I may be able >> to offer suggestions. You could also try getting a access to some >> other linux machine on which you should be able to reproduce the >> issue. >> >> On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao >> wrote: >> > I run this paraview on TACC Maverick, which I have no access to debug >> build. >> > But I run the same plugin on my Windows Paraview build and there is no >> such >> > error. How could I fix it? >> > Thanks >> > >> > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit >> > wrote: >> >> >> >> My guess would be that you're accessing a nullptr in >> >> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build >> >> of ParaView, and then attaching a debugger to confirm and fix. >> >> >> >> Utkarsh >> >> >> >> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao >> >> wrote: >> >> > Hi, >> >> > >> >> > I get some segment fault when I try to run my plugin in Linux >> paraview >> >> > while >> >> > there is no error in Windows paraview. >> >> > I can only run static version of paraview, but I track the >> segmentation >> >> > fault. >> >> > >> >> > Program received signal SIGSEGV, Segmentation fault. >> >> > 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkRenderingCore-pv5.4.so.1 >> >> > Missing separate debuginfos, use: debuginfo-install >> >> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64 >> >> > (gdb) where >> >> > #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkRenderingCore-pv5.4.so.1 >> >> > #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkRenderingCore-pv5.4.so.1 >> >> > #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) >> () >> >> > from >> >> > >> >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libL >> IC3DRepresentation.so >> >> > #3 0x00002aaaafea6a64 in >> >> > vtkView::AddRepresentation(vtkDataRepresentation*) >> >> > () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkViewsCore-pv5.4.so.1 >> >> > #4 0x00002aaaaf4731ab in >> >> > vtkCompositeRepresentation::AddToView(vtkView*) () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkPVClientServerCoreRendering-pv5.4.so.1 >> >> > #5 0x00002aaaaf493760 in >> >> > vtkPVCompositeRepresentation::AddToView(vtkView*) >> >> > () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkPVClientServerCoreRendering-pv5.4.so.1 >> >> > #6 0x00002aaaafea6a64 in >> >> > vtkView::AddRepresentation(vtkDataRepresentation*) >> >> > () >> >> > from >> >> > >> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5 >> .4/libvtkViewsCore-pv5.4.so.1 >> >> > #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServer >> Interpreter*, >> >> > vtkObjectBase*, char const*, vtkClientServerStream const&, >> >> > vtkClientServerStream&, void*) >> >> > >> >> > I don't why this only happens in Linux. Anyone could help me figure >> out? >> >> > >> >> > -- >> >> > Yangguang Liao >> >> > PhD. student of Computer Science Department >> >> > University of California, Davis >> >> > >> >> > _______________________________________________ >> >> > Powered by www.kitware.com >> >> > >> >> > Visit other Kitware open-source projects 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: >> >> > https://paraview.org/mailman/listinfo/paraview >> >> > >> > >> > >> > >> > >> > -- >> > Yangguang Liao >> > PhD. student of Computer Science Department >> > University of California, Davis >> > > > > -- > Yangguang Liao > PhD. student of Computer Science Department > University of California, Davis > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phsiao at cs.unc.edu Tue Jan 23 16:40:22 2018 From: phsiao at cs.unc.edu (Joe Ping-Lin Hsiao) Date: Tue, 23 Jan 2018 16:40:22 -0500 Subject: [Paraview] Unexpected measurement appears in 5.4.1 but not 5.0.1 In-Reply-To: References: Message-ID: Yes exactly. On Tue, Jan 23, 2018 at 3:47 PM, Cory Quammen wrote: > Hi Joe, > > Are you referring to the circular (polar axes) in the image? It says > 90.0 deg, 45.0 deg., etc. > > Thanks, > Cory > > On Tue, Jan 23, 2018 at 3:31 PM, Joe Ping-Lin Hsiao > wrote: > > The attached image shows the unexpected measure with text. I tested two > > versions of ParaView and it only happens in 5.4.1 but not 5.0.1. > > > > 180 stacks are loaded and set to volume rendering by my Python script, > which > > is also attached. > > > > Thanks, > > Joe > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects 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: > > https://paraview.org/mailman/listinfo/paraview > > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steytle1 at illinois.edu Tue Jan 23 20:12:01 2018 From: steytle1 at illinois.edu (Steytler, Louis Louw) Date: Wed, 24 Jan 2018 01:12:01 +0000 Subject: [Paraview] Extracting data on the surface of a block? In-Reply-To: References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> , Message-ID: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> Hi Utkarsh, My data file is rather large, but here is a link to the data: https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd Please let me know if this is too large and I can try to send a smaller version. I have been using "save data". It seems I have data sets under the "Composite Data Set Index" list in the PlotOnIntersection pipeline. How is "Chart View" selected again? I didn't find it in the "View" drop down menu at the top, but I was able to open a new layout and select "SpreadSheetView". Thanks again, Louis Steytler Department of Mechanical Science and Engineering University of Illinois at Urbana-Champaign 1206 West Green Street Urbana, Il 61801 steytle1 at illinois.edu ________________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: 23 January 2018 09:32 AM To: Steytler, Louis Louw Cc: paraview at paraview.org Subject: Re: [Paraview] Extracting data on the surface of a block? By "Export View", I meant "Export Scene" under the "File" menu. On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit wrote: > Louis, > >> This seemed to produce reasonable looking results, but I was not able to >> specify the number of points along the arc where data was extracted. > > PlotOnIntersectionCurves essentially slices the dataset using a > implicit plane. The points you get are indeed the insection points > between your polydata and the plane and hence there's no control over > how many points there can be, besides what's determined by your mesh. > > If you can share the sample data (feel free to do it off the list,if > you'd like), I can see what other options may work. > >>Also, upon saving, three files were produced file0.csv, file1.csv, file2.csv, and >> file3.csv. Not sure why I am not getting just one file? > > Are you using "save data"? I'd suggest selecting the "Chart View" and > then using "Export View" option to export the curves. That will give > you a since CSV for the fields you've selected. > > Utkarsh From wascott at sandia.gov Tue Jan 23 20:52:56 2018 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 24 Jan 2018 01:52:56 +0000 Subject: [Paraview] [EXTERNAL] Re: Extracting data on the surface of a block? In-Reply-To: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> , <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> Message-ID: <3b29c02e0ef94a5e85e4d05281a09eed@ES01AMSNLNT.srn.sandia.gov> Hi Louise, To find Chart View, look for the words RenderView, to the left of the view splitting icons. Right click just left of there, in the white open header area. Select Convert To... Alan > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of > Steytler, Louis Louw > Sent: Tuesday, January 23, 2018 6:12 PM > To: Ayachit, Utkarsh (External Contacts) > Cc: paraview at paraview.org > Subject: [EXTERNAL] Re: [Paraview] Extracting data on the surface of a block? > > Hi Utkarsh, > > My data file is rather large, but here is a link to the data: > > https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd > > Please let me know if this is too large and I can try to send a smaller version. > > I have been using "save data". It seems I have data sets under the > "Composite Data Set Index" list in the PlotOnIntersection pipeline. > > How is "Chart View" selected again? I didn't find it in the "View" drop down > menu at the top, but I was able to open a new layout and select > "SpreadSheetView". > > Thanks again, > > Louis Steytler > Department of Mechanical Science and Engineering University of Illinois at > Urbana-Champaign > 1206 West Green Street > Urbana, Il 61801 > steytle1 at illinois.edu > ________________________________________ > From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] > Sent: 23 January 2018 09:32 AM > To: Steytler, Louis Louw > Cc: paraview at paraview.org > Subject: Re: [Paraview] Extracting data on the surface of a block? > > By "Export View", I meant "Export Scene" under the "File" menu. > > On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit > wrote: > > Louis, > > > >> This seemed to produce reasonable looking results, but I was not able > >> to specify the number of points along the arc where data was extracted. > > > > PlotOnIntersectionCurves essentially slices the dataset using a > > implicit plane. The points you get are indeed the insection points > > between your polydata and the plane and hence there's no control over > > how many points there can be, besides what's determined by your mesh. > > > > If you can share the sample data (feel free to do it off the list,if > > you'd like), I can see what other options may work. > > > >>Also, upon saving, three files were produced file0.csv, file1.csv, > >>file2.csv, and file3.csv. Not sure why I am not getting just one file? > > > > Are you using "save data"? I'd suggest selecting the "Chart View" and > > then using "Export View" option to export the curves. That will give > > you a since CSV for the fields you've selected. > > > > 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: > https://paraview.org/mailman/listinfo/paraview From super_achie at hotmail.com Wed Jan 24 09:02:13 2018 From: super_achie at hotmail.com (Ahmad .) Date: Wed, 24 Jan 2018 14:02:13 +0000 Subject: [Paraview] Reading group of pvti files: vtkImageData is static over time In-Reply-To: References: , , Message-ID: Hello again, Could someone please confirm this to be a bug, or otherwise tell me how it could be resolved? The problem is that my vtkImageData object changes in size over time, but visually it stays the same when I import it in ParaView as a group and play it as an animation. Please see https://gitlab.kitware.com/paraview/paraview/issues/17732 for a reproducer and a screenshot of the problem. Best, Ahmad ________________________________ Van: Ahmad . Verzonden: dinsdag 9 januari 2018 14:30 Aan: paraview at paraview.org Onderwerp: Re: Reading group of pvti files: vtkImageData is static over time Sorry wrong link in my last e-mail. This is the correct one: https://gitlab.kitware.com/paraview/paraview/issues/17732 ________________________________ Van: Ahmad . Verzonden: dinsdag 9 januari 2018 14:27 Aan: paraview at paraview.org Onderwerp: Re: Reading group of pvti files: vtkImageData is static over time Was about to create a new question about this, but I remembered I had asked it already a few months back ;-) However I didn't receive a reply unfortunately. Does anyone have a clue? I also opened an issue about this on gitlab: https://gitlab.kitware.com/paraview/paraview/issues/17698 There are also the files that demonstrate the issue. Cheers! ________________________________ Van: A . Verzonden: donderdag 14 september 2017 17:41 Aan: paraview at paraview.org Onderwerp: Reading group of pvti files: vtkImageData is static over time Hello, I have a vtkImageData object that I write (with a XMLPImageDataWriter) every time step to a pvti file. When I open the group of output_*.pvti files, properties like X, Y, Z extent and range do not change as I animate over time. But when I open the actual files I can see that these values in fact are different. And if I open the files individually (for example output_99.pvti) these properties are displayed correctly in ParaView. The problem appears when I open them as a group; it then keeps the properties of the first file. Does anyone else has this issue, and is there a way to solve this? Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Jan 24 09:42:41 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Jan 2018 09:42:41 -0500 Subject: [Paraview] Extracting data on the surface of a block? In-Reply-To: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> Message-ID: > How is "Chart View" selected again? I didn't find it in the "View" drop down menu at the top, but I was able to open a new layout and select "SpreadSheetView". By selecting the "Chart View", I meant simply click on the view that's showing the plots after you applied the "PlotOnIntersectionCurves" filter. That will activate the view. Now, when you choose File | Export View, you'll export the contents of the selected view. Utkarsh From utkarsh.ayachit at kitware.com Wed Jan 24 09:50:50 2018 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 24 Jan 2018 09:50:50 -0500 Subject: [Paraview] Extracting data on the surface of a block? In-Reply-To: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> References: <2F8BA25CC0B82C4DB6756F8F663E6DB36B665067@CITESMBX3.ad.uillinois.edu> <2F8BA25CC0B82C4DB6756F8F663E6DB36B665503@CITESMBX3.ad.uillinois.edu> Message-ID: Louis, Can you also attach a state file for the vis you're generating currently, so I get a starting point? I am not sure which block is the oil drop. Thanks, Utkarsh On Tue, Jan 23, 2018 at 8:12 PM, Steytler, Louis Louw wrote: > Hi Utkarsh, > > My data file is rather large, but here is a link to the data: > > https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd > > Please let me know if this is too large and I can try to send a smaller version. > > I have been using "save data". It seems I have data sets under the "Composite Data Set Index" list in the PlotOnIntersection pipeline. > > How is "Chart View" selected again? I didn't find it in the "View" drop down menu at the top, but I was able to open a new layout and select "SpreadSheetView". > > Thanks again, > > Louis Steytler > Department of Mechanical Science and Engineering > University of Illinois at Urbana-Champaign > 1206 West Green Street > Urbana, Il 61801 > steytle1 at illinois.edu > ________________________________________ > From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] > Sent: 23 January 2018 09:32 AM > To: Steytler, Louis Louw > Cc: paraview at paraview.org > Subject: Re: [Paraview] Extracting data on the surface of a block? > > By "Export View", I meant "Export Scene" under the "File" menu. > > On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit > wrote: >> Louis, >> >>> This seemed to produce reasonable looking results, but I was not able to >>> specify the number of points along the arc where data was extracted. >> >> PlotOnIntersectionCurves essentially slices the dataset using a >> implicit plane. The points you get are indeed the insection points >> between your polydata and the plane and hence there's no control over >> how many points there can be, besides what's determined by your mesh. >> >> If you can share the sample data (feel free to do it off the list,if >> you'd like), I can see what other options may work. >> >>>Also, upon saving, three files were produced file0.csv, file1.csv, file2.csv, and >>> file3.csv. Not sure why I am not getting just one file? >> >> Are you using "save data"? I'd suggest selecting the "Chart View" and >> then using "Export View" option to export the curves. That will give >> you a since CSV for the fields you've selected. >> >> Utkarsh From cory.quammen at kitware.com Wed Jan 24 10:16:10 2018 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 24 Jan 2018 10:16:10 -0500 Subject: [Paraview] Reading group of pvti files: vtkImageData is static over time In-Reply-To: References: Message-ID: Hi Ahmad, Please see Mathieu Westphal's comment on the issue you created. Thanks, Cory On Wed, Jan 24, 2018 at 9:02 AM, Ahmad . wrote: > Hello again, > > > Could someone please confirm this to be a bug, or otherwise tell me how it > could be resolved? > > > The problem is that my vtkImageData object changes in size over time, but > visually it stays the same when I import it in ParaView as a group and play > it as an animation. > > Please see https://gitlab.kitware.com/paraview/paraview/issues/17732 for a > reproducer and a screenshot of the problem. > > > Best, > Ahmad > > > ________________________________ > Van: Ahmad . > Verzonden: dinsdag 9 januari 2018 14:30 > > Aan: paraview at paraview.org > Onderwerp: Re: Reading group of pvti files: vtkImageData is static over time > > > Sorry wrong link in my last e-mail. This is the correct one: > https://gitlab.kitware.com/paraview/paraview/issues/17732 > > > ________________________________ > Van: Ahmad . > Verzonden: dinsdag 9 januari 2018 14:27 > Aan: paraview at paraview.org > Onderwerp: Re: Reading group of pvti files: vtkImageData is static over time > > > Was about to create a new question about this, but I remembered I had asked > it already a few months back ;-) > > However I didn't receive a reply unfortunately. > > > Does anyone have a clue? I also opened an issue about this on gitlab: > https://gitlab.kitware.com/paraview/paraview/issues/17698 > > There are also the files that demonstrate the issue. > > > Cheers! > > > ________________________________ > Van: A . > Verzonden: donderdag 14 september 2017 17:41 > Aan: paraview at paraview.org > Onderwerp: Reading group of pvti files: vtkImageData is static over time > > > Hello, > > > I have a vtkImageData object that I write (with a XMLPImageDataWriter) every > time step to a pvti file. > > When I open the group of output_*.pvti files, properties like X, Y, Z extent > and range do not change as I animate over time. > > But when I open the actual files I can see that these values in fact are > different. > > > And if I open the files individually (for example output_99.pvti) these > properties are displayed correctly in ParaView. > > The problem appears when I open them as a group; it then keeps the > properties of the first file. > > > Does anyone else has this issue, and is there a way to solve this? > > > Best, > > Ahmad > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects 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: > https://paraview.org/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From nicolas.cedilnik at inria.fr Wed Jan 24 10:44:22 2018 From: nicolas.cedilnik at inria.fr (Nicolas Cedilnik) Date: Wed, 24 Jan 2018 16:44:22 +0100 Subject: [Paraview] XDMF file with multiple temporal collections In-Reply-To: References: <8ccae8e8-caf7-8110-4840-97ec4b70d9a4@inria.fr> Message-ID: <1e55f2c0-b21e-b34a-a24f-7616ee1263b6@inria.fr> Hello It's been a while but I'm back to trying to solve this issue. Unfortunately this doesn't solve the issue. Using paraview 5.4.1 from latest Fedora? Anything else I should try ? -- Nicolas On 11/20/2017 10:46 PM, David E DeMarle wrote: > Try dropping your standalone external geometry and topology and just > place them in the first timestep's grid. It might make the reader happier. > Like so... > > > ? > ? ? Name="Collection"> > ? ? ? > ? ? ? ? > ? ? ? > ? ? ? ?