From kashifsaeed38 at gmail.com Sun Oct 1 02:00:28 2017 From: kashifsaeed38 at gmail.com (Muhammad Kashif Saeed) Date: Sun, 1 Oct 2017 11:00:28 +0500 Subject: [Paraview] Changing default setting for cylinder filter Message-ID: Hi everyone, I want to draw a cylinder in ParaView. its default setting is such that its height is in the y-direction but i want to change it in z_direction. I have radius 0.07 m and height 0.3 m in Z direction plz help me thanks -- *Muhammad Kashif Saeed* Chemical Engineer Cell: +92-300-7328139 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rccm.kyoshimi at gmail.com Sun Oct 1 03:51:24 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Sun, 1 Oct 2017 16:51:24 +0900 Subject: [Paraview] Changing default setting for cylinder filter In-Reply-To: References: Message-ID: Hi, Unfortunately vtkCylinderSource class doesn't seem to allow you to change default settings for the axis direction. Hence you should apply the transform filter after creating a cylinder. Thanks 2017-10-01 15:00 GMT+09:00 Muhammad Kashif Saeed : > Hi everyone, > I want to draw a cylinder in ParaView. > its default setting is such that its height is in the y-direction but i want > to change it in z_direction. > > I have radius 0.07 m and height 0.3 m in Z direction > plz help me > thanks > > -- > > Muhammad Kashif Saeed > Chemical Engineer > Cell: +92-300-7328139 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From robertsawko at gmail.com Sun Oct 1 20:01:59 2017 From: robertsawko at gmail.com (Robert Sawko) Date: Mon, 2 Oct 2017 01:01:59 +0100 Subject: [Paraview] Specific OpenFOAM case crashes the server Message-ID: <20171002000159.GA23468@avignon> Dear All, I have been recently testing remote rendering in paraview and I seem to have concocted a case which breaks remotely works locally. The case is an OpenFOAM U-bend simulation and I am happy to share the files. They're about 61MB. On the remote side I get: pvserver: /.../viz/ParaView-v5.4.1/VTK/IO/Geometry/vtkOpenFOAMReader.cxx:3798: void vtkFoamEntryValue::ReadList(vtkFoamIOobject&): Assertion `"Label type not set!" && this->GetLabelType() != NO_LABEL_TYPE' failed. On the local side it looks that I simply get disconnected which makes sense seeing that the server core dumped. I tried to remove all weirdness from this case and at the moment it is really just a tet+quad mesh and some case files. If I open the case directly with the client everything works. I am really keen to solve it as when remote viz works, it's absolutely brilliant. I would appreciate comments. Thanks. A side note is that looks to me that PV OpenFOAM reader cannot handle "included" files used by OpenFOAM. Best wishes, Robert -- No deltas, no Cardanos, no hope... http://en.wikipedia.org/wiki/Abel?Ruffini_theorem From Mark.Olesen at esi-group.com Mon Oct 2 04:59:50 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Mon, 2 Oct 2017 08:59:50 +0000 Subject: [Paraview] Specific OpenFOAM case crashes the server In-Reply-To: <20171002000159.GA23468@avignon> References: <20171002000159.GA23468@avignon> Message-ID: Hi Robert, This sounds intriguing - I wonder if there is something with 32/64-bits involved? The reader needs a cleanup (https://gitlab.kitware.com/vtk/vtk/issues/17096), but I'm rather short of personal free time to tackle it (and no funding for it at the moment). However, even after a cleanup the reader will continue to remain rather fragile with regard to handling various dictionary items, especially things like "#includeEtc" that imply a much deeper knowledge of the OpenFOAM logic than is possible based on the output files alone. It is for this reason that the "skip zero" switch was added. The intention is to skip over the "0/" fields that contain most of the includes. Subsequent output fields will not normally contain any #include directives. The only slightly odd output element can be "#{" .. "#}" verbatim strings (associated with user-coding), but the reader should silently skip over these and not cause any problem. Cheers, /mark ________________________________________ From: ParaView on behalf of Robert Sawko Sent: Monday, October 2, 2017 2:01 AM To: ParaView Cc: Robert Allan Subject: [Paraview] Specific OpenFOAM case crashes the server Dear All, I have been recently testing remote rendering in paraview and I seem to have concocted a case which breaks remotely works locally. The case is an OpenFOAM U-bend simulation and I am happy to share the files. They're about 61MB. On the remote side I get: pvserver: /.../viz/ParaView-v5.4.1/VTK/IO/Geometry/vtkOpenFOAMReader.cxx:3798: void vtkFoamEntryValue::ReadList(vtkFoamIOobject&): Assertion `"Label type not set!" && this->GetLabelType() != NO_LABEL_TYPE' failed. On the local side it looks that I simply get disconnected which makes sense seeing that the server core dumped. I tried to remove all weirdness from this case and at the moment it is really just a tet+quad mesh and some case files. If I open the case directly with the client everything works. I am really keen to solve it as when remote viz works, it's absolutely brilliant. I would appreciate comments. Thanks. A side note is that looks to me that PV OpenFOAM reader cannot handle "included" files used by OpenFOAM. Best wishes, Robert -- No deltas, no Cardanos, no hope... http://en.wikipedia.org/wiki/Abel?Ruffini_theorem _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From louise.davies at stfc.ac.uk Mon Oct 2 08:41:57 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Mon, 2 Oct 2017 12:41:57 +0000 Subject: [Paraview] ParaViewWeb Visualizer black screen Message-ID: Hello, I have been trying to set up a ParaViewWeb server on my CentOS 6 machine to run Visualizer. I have gotten to a point where the UI loads correctly but remote rendering only displays a black screen. Not even the axes in the bottom left are displayed. However, if I switch to local rendering mode it works as normal. There are no errors at all in the Apache logs and the session log starts fine but after the twisted server startup and the lines filled with plus signs, I get the lines: 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] Client has reconnected, cancelling reaper 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] on_connect: connection count = 1 2017-10-02 11:14:48+0100 [-] Property BeginValueCapture has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property CaptureValuesFloat has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property CaptureZBuffer has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property EndValueCapture has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property Send to OpenVR has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property StartCaptureLuminance has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property StopCaptureLuminance has no GetData() method, skipping Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1093 vtkXOpenGLRenderWindow (0x3e184d0): warning window did not resize in the allotted time Since it works with local rendering and not remote rendering I feel as though it must be a problem with OpenGL, but running glxinfo shows that the user running the launcher has access to direct rendering. Any suggestions on what could possibly be going wrong would be greatly appreciated. Kind Regards, Louise -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Oct 2 09:47:22 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 2 Oct 2017 07:47:22 -0600 Subject: [Paraview] ParaViewWeb Visualizer black screen In-Reply-To: References: Message-ID: Hi Louise, I'm wondering how big is the display on the remote server? Even if no screen is connected, you do need to define a display size which in your case may be tiny by default? Otherwise, if you use the nightly binaries or paraview/master, you can tweak your launcher config to use pvbatch instead of pvpython which leverage a true offscreen rendering which will be then independent of the screen resolution. But you will need to set the following environment variable. PV_ALLOW_BATCH_INTERACTION=1 It might also be something else, but the message "window did not resize" looked suspicious. Seb On Mon, Oct 2, 2017 at 6:41 AM, wrote: > Hello, > > > > I have been trying to set up a ParaViewWeb server on my CentOS 6 machine > to run Visualizer. I have gotten to a point where the UI loads correctly > but remote rendering only displays a black screen. Not even the axes in the > bottom left are displayed. However, if I switch to local rendering mode it > works as normal. There are no errors at all in the Apache logs and the > session log starts fine but after the twisted server startup and the lines > filled with plus signs, I get the lines: > > > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] Client > has reconnected, cancelling reaper > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] > on_connect: connection count = 1 > > 2017-10-02 11:14:48+0100 [-] Property BeginValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureValuesFloat has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureZBuffer has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property EndValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property Send to OpenVR has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StartCaptureLuminance has no > GetData() method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StopCaptureLuminance has no > GetData() method, skipping > > Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash- > linux-shared-release_superbuild/build/superbuild/ > paraview/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1093 > > vtkXOpenGLRenderWindow (0x3e184d0): warning window did not resize in the > allotted time > > > > Since it works with local rendering and not remote rendering I feel as > though it must be a problem with OpenGL, but running glxinfo shows that the > user running the launcher has access to direct rendering. > > > > Any suggestions on what could possibly be going wrong would be greatly > appreciated. > > > > Kind Regards, > > > > Louise > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Oct 2 10:37:38 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 2 Oct 2017 10:37:38 -0400 Subject: [Paraview] Remote rendering through reverse SSH breaks with a GLX error In-Reply-To: <20170928154348.GA17161@avignon> References: <20170928154348.GA17161@avignon> Message-ID: Robert, A few suggestions: 1. let's see what GL you're getting. If you run the following, what it the output? .... pgc104% DISPLAY=:0.0 glxinfo 2. What GPU do you have and which drivers? If it's NVidia with new enough drivers that support EGL, an EGL-enabled build may be a good way to circumvent x-server issues. Utkarsh On Thu, Sep 28, 2017 at 11:43 AM, Robert Sawko wrote: > Dear Paraviewers, > > I am trying to run Paraview in a client-server mode on a remote compute node > using a reverse SSH through the login node. > > I have successfully worked out my port forwarding skulduggery and was able to > connect to a host which does NOT run X server. Inside my local client. I do get > an error > > "Display is not accessible on the server side. Remote rendering > will be disabled" > > This is to be expected on the node without X. > > On the node with X running my client gets connected but then breaks with: > > Waiting for client... > Connection URL: cs://pgc104:22226 > Accepting connection(s): pgc104:22226 > Client connected. > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > ... > (core dumped) > > > Finally on the login node client-server works fine and rendering (I guess) > is done on the remote side as I don't get any errors. We have made sure that > xorg.conf on login and X-enabled compute node are the same. > > > My connection procedure: > > local% ssh -L 22226:localhost:22226 login_node > login% bsub -R "select[hname=pgc104]" -Is /bin/bash > pgc104% ssh -N -R 22226:localhost:22226 login & > pgc104% DISPLAY=:0.0 pvserver -sp=22226 --use-offscreen-rendering > local% paraview->connect to localhost:22226 > > Same thing works on pgc304 which doesn't run X. Please let us know if you have > any suggestions. > > Best wishes, > Robert > -- > Ironically, it was Christopher Columbus who was wrong > http://en.wikipedia.org/wiki/Myth_of_the_Flat_Earth > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview From sebastien.jourdain at kitware.com Mon Oct 2 11:14:09 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 2 Oct 2017 09:14:09 -0600 Subject: [Paraview] ParaView session state In-Reply-To: References: Message-ID: Hi Eduardo, That message is indeed the state but only for the proxy object and the VTK instance underneath. Unfortunately (for you) the state of the vtkSMSessionProxyManager is not the whole state of the application. Each state is specific to its instance. In order to get the full state of the application you will have to traverse the tree of objects that compose the application and gather all the states on the way. Unfortunately I couldn't find the time to walk through the code to validate what I'm saying. Hope this help and sorry I could not get you a better answer or better pointers on where to look at. Seb On Wed, Sep 27, 2017 at 3:26 PM, wrote: > Hi Aron and all, > > Following this discussion.... > > For what I can see, all the session state is stored in a variable called > "State" inside Internals of vtkSMSessionProxyManager ( > vtkSMSessionProxyManagerInternals). This State is of type vtkSMMessage, > which is a typedef of *paraview_protobuf::Message*. > > In other words, the state of the whole session is stored as a generated > protobuf class (or package), which is defined in vtkPVMessage.proto. I > guess this make sense as -- I image -- this makes read/write from a flat > XML much easier (as well as transferring from client-to-server and vice > versa). It would be great if someone with more knowledge on these details > can clarify that I am in fact correct... > > Cheers, > Eduardo. > > September 26, 2017 10:33 AM, "Aron Helser" <%22Aron%20Helser%22%20%3Caron.helser at kitware.com%3E>> wrote: > > Hi Eduardo, > I think you've basically got it, but the state is more complicated than > you think. Basically everything has a vtkSMProxy, and those proxies contain > the state of the pipeline, representation, and views. Anything that is > modified from the defaults gets saved in the state file. The vtkSMSessionProxyManager > is the root of a session, as you've found. > The input data is saved in the state file as absolute paths, and you do > need the input data. When you read state, it has that intelligent option to > search for the data files in another directory... > I've just been learning this stuff trying to add dynamic lights to > ParaView, so hopefully I'm close :) > HTH, Regards, > Aron > On Tue, Sep 26, 2017 at 12:33 PM, wrote: > > Hello list, > > Where is the data structure(s) in the code where all the objects for *the > state* of a particular ParaView session are kept while it is running?. I > have been reading the code, and I think it should be in the "internals" of > vtkSMSessionProxyManager, but I am unsure. As far as I understand, the > state (which can be saved to XML) is all it takes to recreate a session (Am > I right here? Probably you need the input data as well, right?). > > Thanks for the help!, > Eduardo. > > P.S.: Are my emails going to SPAM? Can someone respond ("hi") to this > email to confirm otherwise? Thanks !. > > _______________________________________________ > 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: > http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Oct 2 12:08:33 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 2 Oct 2017 10:08:33 -0600 Subject: [Paraview] ParaViewWeb Visualizer black screen In-Reply-To: References: Message-ID: Hi Louise, You are right, there is indeed more changes which might not be strait forward for you to fix. Even if in reality, it is only a bunch of import path to fix. Just out of curiosity, did you try to run the command line that the launcher is running by hand and see if you have the same behavior as well as maybe other error output? Otherwise, you right the screen size should be more than enough. Seb PS: I've added back the mailing list so others could benefit from our discussion. On Mon, Oct 2, 2017 at 10:02 AM, wrote: > Hi Seb, > > > > The screen size is 1920 x 1080, which seems like it should be sufficiently > large enough. It does seem as though that?s the problematic line from the > logs though? > > > > I?m currently running 5.4.0 and not the nightly/master so testing out > pvbatch over pvpython is difficult. I tried getting the nightly version > working but it seems as though there are more changes involved than just > that ? half the paths I reference are wrong (probably due to stuff changing > paths upstream, e.g. launcher.py is in a different location now) and it > seems more trouble than it?s worth to test it. > > > > Louise > > > > *From:* Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] > *Sent:* 02 October 2017 14:47 > *To:* Davies, Louise (STFC,RAL,SC) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] ParaViewWeb Visualizer black screen > > > > Hi Louise, > > > > I'm wondering how big is the display on the remote server? Even if no > screen is connected, you do need to define a display size which in your > case may be tiny by default? > > > > Otherwise, if you use the nightly binaries or paraview/master, you can > tweak your launcher config to use pvbatch instead of pvpython which > leverage a true offscreen rendering which will be then independent of the > screen resolution. But you will need to set the following environment > variable. PV_ALLOW_BATCH_INTERACTION=1 > > > > It might also be something else, but the message "window did not resize" > looked suspicious. > > > > Seb > > > > > > On Mon, Oct 2, 2017 at 6:41 AM, wrote: > > Hello, > > > > I have been trying to set up a ParaViewWeb server on my CentOS 6 machine > to run Visualizer. I have gotten to a point where the UI loads correctly > but remote rendering only displays a black screen. Not even the axes in the > bottom left are displayed. However, if I switch to local rendering mode it > works as normal. There are no errors at all in the Apache logs and the > session log starts fine but after the twisted server startup and the lines > filled with plus signs, I get the lines: > > > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] Client > has reconnected, cancelling reaper > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] > on_connect: connection count = 1 > > 2017-10-02 11:14:48+0100 [-] Property BeginValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureValuesFloat has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureZBuffer has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property EndValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property Send to OpenVR has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StartCaptureLuminance has no > GetData() method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StopCaptureLuminance has no > GetData() method, skipping > > Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash- > linux-shared-release_superbuild/build/superbuild/ > paraview/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1093 > > vtkXOpenGLRenderWindow (0x3e184d0): warning window did not resize in the > allotted time > > > > Since it works with local rendering and not remote rendering I feel as > though it must be a problem with OpenGL, but running glxinfo shows that the > user running the launcher has access to direct rendering. > > > > Any suggestions on what could possibly be going wrong would be greatly > appreciated. > > > > Kind Regards, > > > > Louise > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Oct 2 13:58:24 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 2 Oct 2017 13:58:24 -0400 Subject: [Paraview] XDMF Version 2 and 3 Differences In-Reply-To: <97E05A28-EE0C-4A11-B1B2-41309BD5F4B4@bluequartz.net> References: <97E05A28-EE0C-4A11-B1B2-41309BD5F4B4@bluequartz.net> Message-ID: Hi Mike. You mean select the XDMF "Reader", not "Writer" when you open the file correct? In theory XDMF3 should read almost anything XDMF2 could. The main practical differences in my recollection are: + xdmf3 doesn't leak memory and is faster and less of a memory hog, especially with time varying data, in my experience. + xdmf3's field data arrays work better and in particular support arbitrary width arrays + Thanks to Michal Habera's Google Summer of Code project xdmf3 master (in nightly binaries and will appear in PV 5.5) has support for "other" centered (more than 1 per cell) data in support of FEniCS higher order cells. + xdmf3 has a much better suite of tests and contribution path than xdmf2 ever did = xdmf3 had a boost dependency up until about a week ago (will appear in PV 5.5). - xdmf3 tends to complain on files that use default/implied values in the xml entries. - xdmf3 doesn't automatically parallelize structured datasets when read in parallel - xdmf3 doesn't support strides for structured datasets - xdfm3 doesn't support "hyperslab, list or range" temporal specifications - xdmf3 lacks support for function specifications - xdmf3's notion of subset is slightly different than xdmf2 (2's were relative to cell, 3's are relative to face/edge or something to that effect) If you can share one of your files I'll take a look. thanks David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Sep 28, 2017 at 8:57 AM, Michael Jackson < mike.jackson at bluequartz.net> wrote: > Where might I find the differences between XDMF version 2 and 3? Our > project writes a .xdmf file along side our HDF5 file so that ParaView can > visualize the data. Ever since ParaView version 5.x was released with the > XDMF 3 included we always have to select the "XDMF Writer" when opening the > file. If we select the either of the XDMF 3 writers no data is loaded. I > was wanting to figure out if there is something we need to adjust in our > XDMF files so that the XDMF 3 readers work correctly with our data/files. > > Thanks > -- > Michael Jackson | Owner, President > BlueQuartz Software > [e] mike.jackson at bluequartz.net > [w] www.bluequartz.net > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Oct 2 14:01:40 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 2 Oct 2017 14:01:40 -0400 Subject: [Paraview] XDMF Version 2 and 3 Differences In-Reply-To: References: <97E05A28-EE0C-4A11-B1B2-41309BD5F4B4@bluequartz.net> Message-ID: Oops I forgot, +3 xdmf3 has support for DMP parallel writes in master (will appear in PV 5.5.) David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Oct 2, 2017 at 1:58 PM, David E DeMarle wrote: > Hi Mike. > > You mean select the XDMF "Reader", not "Writer" when you open the file > correct? > > In theory XDMF3 should read almost anything XDMF2 could. The main > practical differences in my recollection are: > > + xdmf3 doesn't leak memory and is faster and less of a memory hog, > especially with time varying data, in my experience. > + xdmf3's field data arrays work better and in particular support > arbitrary width arrays > + Thanks to Michal Habera's Google Summer of Code project xdmf3 master (in > nightly binaries and will appear in PV 5.5) has support for "other" > centered (more than 1 per cell) data in support of FEniCS higher order > cells. > + xdmf3 has a much better suite of tests and contribution path than xdmf2 > ever did > > = xdmf3 had a boost dependency up until about a week ago (will appear in > PV 5.5). > > - xdmf3 tends to complain on files that use default/implied values in the > xml entries. > - xdmf3 doesn't automatically parallelize structured datasets when read in > parallel > - xdmf3 doesn't support strides for structured datasets > - xdfm3 doesn't support "hyperslab, list or range" temporal specifications > - xdmf3 lacks support for function specifications > - xdmf3's notion of subset is slightly different than xdmf2 (2's were > relative to cell, 3's are relative to face/edge or something to that effect) > > If you can share one of your files I'll take a look. > > thanks > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Thu, Sep 28, 2017 at 8:57 AM, Michael Jackson < > mike.jackson at bluequartz.net> wrote: > >> Where might I find the differences between XDMF version 2 and 3? Our >> project writes a .xdmf file along side our HDF5 file so that ParaView can >> visualize the data. Ever since ParaView version 5.x was released with the >> XDMF 3 included we always have to select the "XDMF Writer" when opening the >> file. If we select the either of the XDMF 3 writers no data is loaded. I >> was wanting to figure out if there is something we need to adjust in our >> XDMF files so that the XDMF 3 readers work correctly with our data/files. >> >> Thanks >> -- >> Michael Jackson | Owner, President >> BlueQuartz Software >> [e] mike.jackson at bluequartz.net >> [w] www.bluequartz.net >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Tue Oct 3 08:17:44 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 3 Oct 2017 12:17:44 +0000 Subject: [Paraview] Details of XML filter with lists of input arrays Message-ID: All, I'm confused about how to write an XML plugin that lets the user select input variables for processing. Say I want to put up a list of cell variables and let the user select which ones to process: I see this: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays but it is not clear to me. My questions include: 1. How do I get Cell variables, point variables or field variables - which is the example, or do we always get all 3? 2. Within my code, how do I know what variables have been selected by the user from the list? Thanks for all for any help. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Oct 3 13:24:28 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Oct 2017 13:24:28 -0400 Subject: [Paraview] Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Dennis, Before I answer the question, I need to know what are you adding this property on? Is this a filter or a reader? The difference is that for a reader, the information about arrays available is provided by the reader itself; while for filter, that information is obtained from its input. Utkarsh On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin wrote: > All, > > > > I?m confused about how to write an XML plugin that lets the user select > input variables for processing. > > > > Say I want to put up a list of cell variables and let the user select > which ones to process: > > > > I see this: > > https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_ > down_list_with_values_from_input_arrays > > but it is not clear to me. > > My questions include: > > > > 1. How do I get Cell variables, point variables or field variables ? > which is the example, or do we always get all 3? > 2. Within my code, how do I know what variables have been selected by > the user from the list? > > Thanks for all for any help. > > > > Dennis > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Tue Oct 3 13:26:36 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 3 Oct 2017 17:26:36 +0000 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Utkarsh, I am adding this property on a filter, so it?s input ? I want to process some variables and let the user choose which of his variables to process! Thanks Dennis From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, October 03, 2017 1:24 PM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays WARNING - External email; exercise caution. Dennis, Before I answer the question, I need to know what are you adding this property on? Is this a filter or a reader? The difference is that for a reader, the information about arrays available is provided by the reader itself; while for filter, that information is obtained from its input. Utkarsh On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin > wrote: All, I?m confused about how to write an XML plugin that lets the user select input variables for processing. Say I want to put up a list of cell variables and let the user select which ones to process: I see this: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays but it is not clear to me. My questions include: 1. How do I get Cell variables, point variables or field variables ? which is the example, or do we always get all 3? 2. Within my code, how do I know what variables have been selected by the user from the list? Thanks for all for any help. Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Tue Oct 3 14:01:19 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 3 Oct 2017 18:01:19 +0000 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: All, To be more exact, I wrote a routine here that does an area-weighted average of some variables. Now the users are asking if I can give them a list of variables in the model and they can choose which ones to calculate a weighted average. I can envision a Custom filter where I have a Programmable filter which processes everything, preceded by a Pass Arrays filter - I could bundle them together and expose the Pass Arrays filter to let them choose which variables they want, but I think the self-contained plug-in which I can add to the site Plugin directory and get automagically loaded at startup is a better way to go if I can just figure out how to do it! Dennis From: Dennis Conklin Sent: Tuesday, October 03, 2017 1:27 PM To: 'Utkarsh Ayachit' Cc: Paraview (paraview at paraview.org) Subject: RE: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays Utkarsh, I am adding this property on a filter, so it?s input ? I want to process some variables and let the user choose which of his variables to process! Thanks Dennis From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, October 03, 2017 1:24 PM To: Dennis Conklin > Cc: Paraview (paraview at paraview.org) > Subject: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays WARNING - External email; exercise caution. Dennis, Before I answer the question, I need to know what are you adding this property on? Is this a filter or a reader? The difference is that for a reader, the information about arrays available is provided by the reader itself; while for filter, that information is obtained from its input. Utkarsh On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin > wrote: All, I?m confused about how to write an XML plugin that lets the user select input variables for processing. Say I want to put up a list of cell variables and let the user select which ones to process: I see this: https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays but it is not clear to me. My questions include: 1. How do I get Cell variables, point variables or field variables ? which is the example, or do we always get all 3? 2. Within my code, how do I know what variables have been selected by the user from the list? Thanks for all for any help. Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Oct 3 14:07:36 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Oct 2017 14:07:36 -0400 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: > To be more exact, I wrote a routine here that does an area-weighted average of some variables. Now the users are asking if I can give them a list of variables in the model and they can choose which ones to calculate a weighted average. There are many filters you can base this on. Here are a few examples: 1. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L2026-2041 Here the arrays to list is determined by the "InputArrayDomain" element defined on the InputProperty and fixed to cell data. 2. https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L13865-13881 Here the user can separately select which attribute he/she is interested in using a separate "AttributeMode" property. Utkarsh From joachim.pouderoux at kitware.com Tue Oct 3 14:25:52 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Tue, 3 Oct 2017 14:25:52 -0400 Subject: [Paraview] "Reload Files" Hotkey Acting on Individual Items --- Expected? In-Reply-To: References: Message-ID: Hi Joel, You are right, the Reload feature only applies to the active source (reader). As in Python paraview.simple provides a function to reload the files of a source proxy, you could add the following Python Macro to reload all reader sources at once: from paraview.simple import * for k,v in GetSources().items(): ReloadFiles(v) Best regards, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-09-29 14:12 GMT-04:00 Joel Kulesza : > Colleagues: > > In the File menu I would expect that the "Reload Files (F5)" command would > apply to all items in the pipeline browser rather than the one currently > selected or last acted on. For individual reloading, I would expect to > need to use the right-click approach to "Reload Files." However, this does > not seem to be the case. If I open multiple, independent, data files that > I want to plot together, I must select each one in the pipeline browser and > reload it (either via F5 or right-clicking) to see changes. > > Am I correct that the "reload files" hotkey only applies to the currently > selected or last used item (a file or collection of time-series files) in > the pipeline browser? If so, is there a method to reload all items in the > pipeline browser (ideally avoiding the need to select all the files)? If > not, can this be added as an enhancement request (e.g., menu item/hotkey > for Reload All Files)? > > I'm using ParaView 5.4.1 in OS X 10.11.6. > > Please contact me with any comments, questions, or concerns. > > Thank you, > Joel > > Joel A. Kulesza, P.E.Ph.D. Candidate / Graduate Student Researcher > University of Michigan, College of EngineeringNuclear Engineering & > Radiological Sciences Dept.2355 Bonisteel Boulevard > Ann Arbor, MI 48109-2104, USAMobile: +1 (734) 223-7312 > <+1%20734-223-7312>Email: jkulesza at umich.eduHome Page: > http://www.engin.umich.edu/ners/ > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Tue Oct 3 14:50:28 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Tue, 3 Oct 2017 18:50:28 +0000 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Utkarsh, So, for the first example we have: <<<<<<<<<<<<<<<<<<<< I get that the InputTypeDomain links it to cell arrays! - thanks for that. So, after the user chooses some variables, are the chosen variable names in "input_array"? Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? Thanks Dennis -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, October 03, 2017 2:08 PM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays > To be more exact, I wrote a routine here that does an area-weighted average of some variables. Now the users are asking if I can give them a list of variables in the model and they can choose which ones to calculate a weighted average. There are many filters you can base this on. Here are a few examples: 1. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fparaview%2Fparaview%2Fblob%2Fmaster%2FParaViewCore%2FServerManager%2FSMApplication%2FResources%2Ffilters.xml%23L2026-2041&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C2d092bbd37874ba5a79208d50a89a1b9%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=QEPymOcagk%2B2VVfYRhBkt1ujub7DJqalAo9cA7YFX%2BU%3D&reserved=0 Here the arrays to list is determined by the "InputArrayDomain" element defined on the InputProperty and fixed to cell data. 2. https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.kitware.com%2Fparaview%2Fparaview%2Fblob%2Fmaster%2FParaViewCore%2FServerManager%2FSMApplication%2FResources%2Ffilters.xml%23L13865-13881&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C2d092bbd37874ba5a79208d50a89a1b9%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=YLFBNug7u6HJZo87izm6muSvpMJCzKaFDIYnwcBAp%2B8%3D&reserved=0 Here the user can separately select which attribute he/she is interested in using a separate "AttributeMode" property. Utkarsh From jkulesza at umich.edu Tue Oct 3 14:54:28 2017 From: jkulesza at umich.edu (Joel Kulesza) Date: Tue, 3 Oct 2017 12:54:28 -0600 Subject: [Paraview] "Reload Files" Hotkey Acting on Individual Items --- Expected? In-Reply-To: References: Message-ID: Joachim, Excellent, thank you for that snippet?it worked perfectly. My thanks also for correcting my terminology. Is this something that would merit adding to ParaView's native functionality (e.g., File -> Reload Files & File -> Reload All Files)? Best regards, Joel On Tue, Oct 3, 2017 at 12:25 PM, Joachim Pouderoux < joachim.pouderoux at kitware.com> wrote: > > Hi Joel, > > You are right, the Reload feature only applies to the active source > (reader). > As in Python paraview.simple provides a function to reload the files of a > source proxy, you could add the following Python Macro to reload all reader > sources at once: > > from paraview.simple import * > for k,v in GetSources().items(): > > ReloadFiles(v) > > Best regards, > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2017-09-29 14:12 GMT-04:00 Joel Kulesza : > >> Colleagues: >> >> In the File menu I would expect that the "Reload Files (F5)" command >> would apply to all items in the pipeline browser rather than the one >> currently selected or last acted on. For individual reloading, I would >> expect to need to use the right-click approach to "Reload Files." However, >> this does not seem to be the case. If I open multiple, independent, data >> files that I want to plot together, I must select each one in the pipeline >> browser and reload it (either via F5 or right-clicking) to see changes. >> >> Am I correct that the "reload files" hotkey only applies to the currently >> selected or last used item (a file or collection of time-series files) in >> the pipeline browser? If so, is there a method to reload all items in the >> pipeline browser (ideally avoiding the need to select all the files)? If >> not, can this be added as an enhancement request (e.g., menu item/hotkey >> for Reload All Files)? >> >> I'm using ParaView 5.4.1 in OS X 10.11.6. >> >> Please contact me with any comments, questions, or concerns. >> >> Thank you, >> Joel >> >> Joel A. Kulesza, P.E.Ph.D. Candidate / Graduate Student Researcher >> University of Michigan, College of EngineeringNuclear Engineering & >> Radiological Sciences Dept.2355 Bonisteel Boulevard >> >> Ann Arbor, MI 48109 >> -2104, >> USAMobile: +1 (734) 223-7312 <+1%20734-223-7312>Email: >> jkulesza at umich.eduHome Page: http://www.engin.umich.edu/ners/ >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Tue Oct 3 15:31:53 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Tue, 3 Oct 2017 14:31:53 -0500 Subject: [Paraview] Paraview 5.4.1 error message & freeze Message-ID: Hello, Does anybody know what this Output message mean? (appears when I press "Example Visuatizations"... thougth, some examples emerge), --------- QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum size: 956x403, maximum size: 16777215x16777215).QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum size: 956x403, maximum size: 16777215x16777215). ---------- Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often freezes. I wonder if this can be related to the issue above. Thanks, Sonya Davydycheva -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Oct 3 16:06:34 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Oct 2017 16:06:34 -0400 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: > So, after the user chooses some variables, are the chosen variable names in "input_array"? > Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? When user selects variables, he's doing it on the "VolumeArrays" property. Thus the selection is provided to the VTK filter via calling the command specified on the "VolumeArrays" property. In the case of the ExtractCTHParts files, this is done via `AddVolumeArrayName` and `RemoveVolumeArrayNames` API. From cory.quammen at kitware.com Tue Oct 3 17:12:20 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 3 Oct 2017 17:12:20 -0400 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva wrote: > Hello, > > Does anybody know what this Output message mean? (appears when I press > "Example Visuatizations"... thougth, some examples emerge), > --------- > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > size: 956x403, maximum size: 16777215x16777215).QWindowsWindow::setGeometry: > Unable to set geometry 996x403+228+226 on > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > size: 956x403, maximum size: 16777215x16777215). > ---------- The message is a warning from the Qt side. Aside from being annoying, it should be harmless. Sorry, but we haven't figured out why this appears on some systems and not others. > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often freezes. > I wonder if this can be related to the issue above. Does it stop responding or does it crash? It's probably not related to the warning message above. Cory > Thanks, > > Sonya Davydycheva > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. From mathieu.westphal at kitware.com Wed Oct 4 03:29:01 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Wed, 4 Oct 2017 09:29:01 +0200 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: FYI it appears if I force the size of the remote rendering window on my tiling window manager. Irrelevant in microsoft windows context, but still. Mathieu Westphal On Tue, Oct 3, 2017 at 11:12 PM, Cory Quammen wrote: > On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva > wrote: > > Hello, > > > > Does anybody know what this Output message mean? (appears when I press > > "Example Visuatizations"... thougth, some examples emerge), > > --------- > > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on > > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > > size: 956x403, maximum size: 16777215x16777215). > QWindowsWindow::setGeometry: > > Unable to set geometry 996x403+228+226 on > > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > > size: 956x403, maximum size: 16777215x16777215). > > ---------- > > The message is a warning from the Qt side. Aside from being annoying, > it should be harmless. Sorry, but we haven't figured out why this > appears on some systems and not others. > > > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often > freezes. > > I wonder if this can be related to the issue above. > > Does it stop responding or does it crash? It's probably not related to > the warning message above. > > Cory > > > Thanks, > > > > Sonya Davydycheva > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > -- > Cory Quammen > 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: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Oct 4 07:59:11 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 4 Oct 2017 11:59:11 +0000 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Utkarsh, I think you have me confused with a real programmer! ;- ) I am just trying to write a Programmable Filter in python and I'm lost. I want to write an xml plugin that will put up a list of all the cell variables and let the user select from then and then have the names of those variables available in my python script within the Programmable Filter. I'm hoping this can be similar to plugins I have written with hardcoded variable names where I've used something like: Properties = dict( Sector_Angle = True) def RequestData(): def process_block(block): # # if (Sector_Angle): Maybe this isn't possible at this low level, but how would I put up the list and then what would I have in my RequestData script that I could branch on. Thanks for your patience. Dennis -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, October 03, 2017 4:07 PM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays > So, after the user chooses some variables, are the chosen variable names in "input_array"? > Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? When user selects variables, he's doing it on the "VolumeArrays" property. Thus the selection is provided to the VTK filter via calling the command specified on the "VolumeArrays" property. In the case of the ExtractCTHParts files, this is done via `AddVolumeArrayName` and `RemoveVolumeArrayNames` API. From sdavyd at gmail.com Wed Oct 4 09:58:24 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Wed, 4 Oct 2017 08:58:24 -0500 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: Thank you Mathieu, Could you please clarify if your comment is related to the freezing of my Paraview window, or to the empty image? And what is the recipe to handle this? I appreciate your help, Sonya Davydycheva On Wed, Oct 4, 2017 at 2:29 AM, Mathieu Westphal < mathieu.westphal at kitware.com> wrote: > FYI it appears if I force the size of the remote rendering window on my > tiling window manager. > Irrelevant in microsoft windows context, but still. > > Mathieu Westphal > > On Tue, Oct 3, 2017 at 11:12 PM, Cory Quammen > wrote: > >> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >> wrote: >> > Hello, >> > >> > Does anybody know what this Output message mean? (appears when I press >> > "Example Visuatizations"... thougth, some examples emerge), >> > --------- >> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >> dow::setGeometry: >> > Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215). >> > ---------- >> >> The message is a warning from the Qt side. Aside from being annoying, >> it should be harmless. Sorry, but we haven't figured out why this >> appears on some systems and not others. >> >> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >> freezes. >> > I wonder if this can be related to the issue above. >> >> Does it stop responding or does it crash? It's probably not related to >> the warning message above. >> >> Cory >> >> > Thanks, >> > >> > Sonya Davydycheva >> > >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> -- >> Cory Quammen >> 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: >> http://public.kitware.com/mailman/listinfo/paraview >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Oct 4 10:11:01 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 4 Oct 2017 10:11:01 -0400 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Dennis, Oops sorry, it slipped my mind you were doing this for programmable filter. It should be doable, but I'll need to dig -- don't remember of the top of my head. I'll put it on my plate to put together a small example for you. Utkarsh On Wed, Oct 4, 2017 at 7:59 AM, Dennis Conklin wrote: > Utkarsh, > > I think you have me confused with a real programmer! ;- ) > > I am just trying to write a Programmable Filter in python and I'm lost. > > I want to write an xml plugin that will put up a list of all the cell variables and let the user select from then and then have the names of those variables available in my python script within the Programmable Filter. I'm hoping this can be similar to plugins I have written with hardcoded variable names where I've used something like: > > Properties = dict( > Sector_Angle = True) > > > def RequestData(): > > > def process_block(block): > # > # > if (Sector_Angle): > > Maybe this isn't possible at this low level, but how would I put up the list and then what would I have in my RequestData script that I could branch on. > > Thanks for your patience. > > Dennis > > > -----Original Message----- > From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > Sent: Tuesday, October 03, 2017 4:07 PM > To: Dennis Conklin > Cc: Paraview (paraview at paraview.org) > Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays > >> So, after the user chooses some variables, are the chosen variable names in "input_array"? >> Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? > > When user selects variables, he's doing it on the "VolumeArrays" > property. Thus the selection is provided to the VTK filter via calling the command specified on the "VolumeArrays" property. In the case of the ExtractCTHParts files, this is done via `AddVolumeArrayName` and `RemoveVolumeArrayNames` API. From mathieu.westphal at kitware.com Wed Oct 4 10:13:26 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Wed, 4 Oct 2017 16:13:26 +0200 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: My comment provide a reliable way to obtain the error you see, but I'm afraid it is not related to your problem, at least not directly. Mathieu Westphal On Wed, Oct 4, 2017 at 3:58 PM, Sonya Davydycheva wrote: > Thank you Mathieu, > > Could you please clarify if your comment is related to the freezing of my > Paraview window, or to the empty image? And what is the recipe to handle > this? > I appreciate your help, > > Sonya Davydycheva > > > > On Wed, Oct 4, 2017 at 2:29 AM, Mathieu Westphal < > mathieu.westphal at kitware.com> wrote: > >> FYI it appears if I force the size of the remote rendering window on my >> tiling window manager. >> Irrelevant in microsoft windows context, but still. >> >> Mathieu Westphal >> >> On Tue, Oct 3, 2017 at 11:12 PM, Cory Quammen >> wrote: >> >>> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >>> wrote: >>> > Hello, >>> > >>> > Does anybody know what this Output message mean? (appears when I press >>> > "Example Visuatizations"... thougth, some examples emerge), >>> > --------- >>> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >>> dow::setGeometry: >>> > Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215). >>> > ---------- >>> >>> The message is a warning from the Qt side. Aside from being annoying, >>> it should be harmless. Sorry, but we haven't figured out why this >>> appears on some systems and not others. >>> >>> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >>> freezes. >>> > I wonder if this can be related to the issue above. >>> >>> Does it stop responding or does it crash? It's probably not related to >>> the warning message above. >>> >>> Cory >>> >>> > Thanks, >>> > >>> > Sonya Davydycheva >>> > >>> > >>> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Please keep messages on-topic and check the ParaView Wiki at: >>> > http://paraview.org/Wiki/ParaView >>> > >>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview >>> > >>> >>> -- >>> Cory Quammen >>> 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: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kapinos at itc.rwth-aachen.de Wed Oct 4 11:31:29 2017 From: kapinos at itc.rwth-aachen.de (Paul Kapinos) Date: Wed, 4 Oct 2017 17:31:29 +0200 Subject: [Paraview] 100% CPU usage once again Message-ID: <5e3911d6-fce7-4c4e-bed0-2730bc482e28@rwthex-w3-b.rwth-ad.de> Dear ParaView developer, in [1] you say > If you have information on disabling the busy wait using a different MPI > implementation, please contribute back by documenting it here. Here we go. a) It is possible to build 'pvserver' using Intel MPI (and GCC compilers). By setting I_MPI_WAIT_MODE environment variable to 'enable' value you can effectively prevent busy waiting, see [2] p.10 (Tested with Intel MPI 5.1(.3.181)). Q/FR.1 Could you please provide a version of 'pvserver' build using Intel MPI in official release of ParaView? [4] b) It is (obviously) possible to build 'pvserver' using MPICH (and GCC compilers). Itself, MPICH can be *configured* with '--with-device=ch3:sock' option. This is described to be 'slower' as '--with-device=ch3:nemesis' For our experiments it turned out, that 'pvserver' compiled and linked using MPICH with 'ch3:sock' configure option did not have the busy waiting aka 100%-CPU behaviour. Note that this is *configure-time of MPI library* parameter. (Tested with MPICH 3.2) Q/FR.2 Could you please provide a version of 'pvserver' build using MPICH *configured with '--with-device=ch3:sock' option* in official release of ParaView? [4] This binary will be very likely be even compatible with 'standard' MPICH installations; we're able to start it even with IntelMPI's 'mpiexec' with success and no busy waiting. However YES you will need to have a MPICH release be build c) It is possible to build 'pvserver' using Open MPI (and GCC compilers). In [1] you document how-to 'turn off' the busy waiting behaviour in Open MPI (cf. [5],[6]). Unfortunately this *did not work* in our environment (InfiniBand QDR and Intel OmniPath clusters, OpenMPI 1.10.4). Note that likely we're not alone, cf. [7]. Note that the switch likely just move the spinning location from MPI library itself to the fabrics library (cf. the screenshots, without 'mpi_yield_when_idle 1' (=default) the 'pvserver' processes spin with 'green' aka user 100%, and with 'mpi_yield_when_idle 1' the processes stays spinning but now with a lot of 'red' aka kernel time portion. Conclusion: the way to disable busy waiting for Open MPI which is documented in [1], is not useful for us. We do not know this is a speciality of our site or a general issue; we think some survey at this point could be useful. Q/FR.3 In case you should want to provide precompiled versions ov 'pvserver' for Open MPI, remember that there are ABI changes in major version changes. So you would likely need to compile+link *three* versions of 'pvserver' with Open MPI 1.10.x (still default in Linux), 2.x (current), 3.x (new). d) In [10] there is a phrase about how-to disable busy waiting on yet another two MPI implementaions, > ... IBM MPI has the MP_WAIT_MODE and > the SUPER-UX MPI/XS library has MPISUSPEND to choose the waiting mode, > either polling or sleeping. Somebody with access to there MPIs could evaluate this, maybe. Have a nice day, Paul Kapinos [1] https://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Server_processes_always_have_100.25_CPU_usage [2] https://software.intel.com/sites/products/Whitepaper/Clustertools/amplxe_inspxe_interop_with_mpi.pdf (cf. p.10) [3] https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_does_my_MPI_program_run_much_slower_when_I_use_more_processes.3F [4] https://www.paraview.org/download/ [5] http://www.open-mpi.org/faq/?category=running#oversubscribing [6] http://www.open-mpi.org/faq/?category=running#force-aggressive-degraded [7] https://www.paraview.org/pipermail/paraview/2008-December/010349.html [8] http://blogs.cisco.com/performance/polling-vs-blocking-message-passingprogress [9] https://www.open-mpi.org/community/lists/users/2010/10/14505.php [10] http://comp.parallel.mpi.narkive.com/3oXMDXno/non-busy-waiting-barrier-in-mpi [11] http://blogs.cisco.com/performance/polling-vs-blocking-message-passingprogress [12] https://stackoverflow.com/questions/14560714/probe-seems-to-consume-the-cpu -- Dipl.-Inform. Paul Kapinos - High Performance Computing, RWTH Aachen University, IT Center Seffenter Weg 23, D 52074 Aachen (Germany) Tel: +49 241/80-24915 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4891 bytes Desc: S/MIME Cryptographic Signature URL: From cory.quammen at kitware.com Wed Oct 4 19:27:03 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 4 Oct 2017 16:27:03 -0700 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: [cc'ing to the paraview mailing list so others may contribute to and benefit from the discussion] On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva wrote: > Thank you Cory, > > For your prompt response. Good to know that the message is harmless. > > My Paraview 5.4.1 just stops responding sometimes. > If it stops responding consistently after a specific event or sequence of events, please let us know. It shouldn't do that :-) > But, well, I installed on another (older) laptop an older version, 4.0.1 > (5.4.1 did not work there), and it does not freeze. So far, I think it is > ok for my learning purpose. > Very good. > Both versions (on both computers) allow me to visualize my sample > model.vtk file: in RenderView I can do Threshold, Slice and Clip and see > some 3D pictures. But something is wrong with my other sample data.vtk file > (or, with my approach?). It contains data points (3 coordinates) and the > resistivity values assigned to them. When I open it, I can see only the > resistivity colorbar, and I can add axes, but the image stays empty. > Threshold does not work at all (and even the colorbar disappears when I > apply it). > Slice somewhat works, but it stays gray/empty and does not change as I > move it along the box. > And when I am in "Slice" mode, pressing "Apply" removes the colorbar as > well, and does not show anything meaningful. > > Any idea how can I activate Threshold or Slice for my resistivity data.vtk? > > I am beginner and suspect I just miss something simple... > Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, does > not help, so far. > I suspect that you do not have any cells in your 3-point data.vtk file. Without cells, there is nothing for ParaView to visualize. This is a common stumbling block for people trying to visualize point data.I suggest after loading your data applying a Glyph filter. It should show you three spheres colored according to your resistivity array. Now you should be able to apply the Threshold and Slice filters as you would expect. Thanks, Cory > Many thanks in advance, > > Best regards, > > Sonya Davydycheva > > > On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen > wrote: > >> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >> wrote: >> > Hello, >> > >> > Does anybody know what this Output message mean? (appears when I press >> > "Example Visuatizations"... thougth, some examples emerge), >> > --------- >> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >> dow::setGeometry: >> > Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215). >> > ---------- >> >> The message is a warning from the Qt side. Aside from being annoying, >> it should be harmless. Sorry, but we haven't figured out why this >> appears on some systems and not others. >> >> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >> freezes. >> > I wonder if this can be related to the issue above. >> >> Does it stop responding or does it crash? It's probably not related to >> the warning message above. >> >> Cory >> >> > Thanks, >> > >> > Sonya Davydycheva >> > >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Wed Oct 4 20:29:51 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Wed, 4 Oct 2017 19:29:51 -0500 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: Cory, The Glyph works just fine with my data.vtk and is very useful tool! It was a good advice. As to not-responding and freezing of ParaView: let me accumulate statistics and then I will let you know. I appreciate your help, Sonya Davydycheva On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen wrote: > [cc'ing to the paraview mailing list so others may contribute to and > benefit from the discussion] > > On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva > wrote: > >> Thank you Cory, >> >> For your prompt response. Good to know that the message is harmless. >> >> My Paraview 5.4.1 just stops responding sometimes. >> > > If it stops responding consistently after a specific event or sequence of > events, please let us know. It shouldn't do that :-) > > >> But, well, I installed on another (older) laptop an older version, 4.0.1 >> (5.4.1 did not work there), and it does not freeze. So far, I think it is >> ok for my learning purpose. >> > > Very good. > > >> Both versions (on both computers) allow me to visualize my sample >> model.vtk file: in RenderView I can do Threshold, Slice and Clip and see >> some 3D pictures. But something is wrong with my other sample data.vtk file >> (or, with my approach?). It contains data points (3 coordinates) and the >> resistivity values assigned to them. When I open it, I can see only the >> resistivity colorbar, and I can add axes, but the image stays empty. >> Threshold does not work at all (and even the colorbar disappears when I >> apply it). >> Slice somewhat works, but it stays gray/empty and does not change as I >> move it along the box. >> And when I am in "Slice" mode, pressing "Apply" removes the colorbar as >> well, and does not show anything meaningful. >> >> Any idea how can I activate Threshold or Slice for my resistivity >> data.vtk? >> >> I am beginner and suspect I just miss something simple... >> Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, >> does not help, so far. >> > > I suspect that you do not have any cells in your 3-point data.vtk file. > Without cells, there is nothing for ParaView to visualize. This is a common > stumbling block for people trying to visualize point data.I suggest after > loading your data applying a Glyph filter. It should show you three spheres > colored according to your resistivity array. Now you should be able to > apply the Threshold and Slice filters as you would expect. > > Thanks, > Cory > > >> Many thanks in advance, >> >> Best regards, >> >> Sonya Davydycheva >> >> >> On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen >> wrote: >> >>> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >>> wrote: >>> > Hello, >>> > >>> > Does anybody know what this Output message mean? (appears when I press >>> > "Example Visuatizations"... thougth, some examples emerge), >>> > --------- >>> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >>> dow::setGeometry: >>> > Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215). >>> > ---------- >>> >>> The message is a warning from the Qt side. Aside from being annoying, >>> it should be harmless. Sorry, but we haven't figured out why this >>> appears on some systems and not others. >>> >>> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >>> freezes. >>> > I wonder if this can be related to the issue above. >>> >>> Does it stop responding or does it crash? It's probably not related to >>> the warning message above. >>> >>> Cory >>> >>> > Thanks, >>> > >>> > Sonya Davydycheva >>> > >>> > >>> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Please keep messages on-topic and check the ParaView Wiki at: >>> > http://paraview.org/Wiki/ParaView >>> > >>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview >>> > >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tengli2 at illinois.edu Wed Oct 4 23:45:20 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Thu, 5 Oct 2017 03:45:20 +0000 Subject: [Paraview] Question about modify data in VTK files Message-ID: <81A18720EB4BBA489B6552676D14533C67C26906@chimbx4.ad.uillinois.edu> Hi, I have a question about modify the data in vtk files and then visualize them again in Paraview. First, I have 118 vtk files which record the information of each time step. In order to process some data in my vtk files, I plan to store them as .CSV files. I saved them as points data files. However, I find that I need to save 118 CSV files and then process the data in each of them. And then I need to visualize each of them. Because in every time step, I use the same method to modify specific data. I wonder is there a way that I can process all the data just one time so these specific data in every time step will be changed in the same way. I know calculator works for some simple applications, such as add, minus. However, I might use some if else loops to modify the data. So I need to import the .CSV data into the Matlab to process them. And then import the modified .CSV files into Paraview to visualize the information. Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Oct 5 11:58:36 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 5 Oct 2017 11:58:36 -0400 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Dennis, Here's a example. You need manually modify the XML generated using [1]. I've attached script.xml with my modifications to add a new property for "Arrays". Also attached a state file that demos this filter (load state after lading the script.xml as plugin). Hope that helps. Utkarsh [1] `python python_filter_generator.py script.py script.xml` On Wed, Oct 4, 2017 at 10:11 AM, Utkarsh Ayachit wrote: > Dennis, > > Oops sorry, it slipped my mind you were doing this for programmable > filter. It should be doable, but I'll need to dig -- don't remember of > the top of my head. I'll put it on my plate to put together a small > example for you. > > Utkarsh > > On Wed, Oct 4, 2017 at 7:59 AM, Dennis Conklin > wrote: >> Utkarsh, >> >> I think you have me confused with a real programmer! ;- ) >> >> I am just trying to write a Programmable Filter in python and I'm lost. >> >> I want to write an xml plugin that will put up a list of all the cell variables and let the user select from then and then have the names of those variables available in my python script within the Programmable Filter. I'm hoping this can be similar to plugins I have written with hardcoded variable names where I've used something like: >> >> Properties = dict( >> Sector_Angle = True) >> >> >> def RequestData(): >> >> >> def process_block(block): >> # >> # >> if (Sector_Angle): >> >> Maybe this isn't possible at this low level, but how would I put up the list and then what would I have in my RequestData script that I could branch on. >> >> Thanks for your patience. >> >> Dennis >> >> >> -----Original Message----- >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> Sent: Tuesday, October 03, 2017 4:07 PM >> To: Dennis Conklin >> Cc: Paraview (paraview at paraview.org) >> Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays >> >>> So, after the user chooses some variables, are the chosen variable names in "input_array"? >>> Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? >> >> When user selects variables, he's doing it on the "VolumeArrays" >> property. Thus the selection is provided to the VTK filter via calling the command specified on the "VolumeArrays" property. In the case of the ExtractCTHParts files, this is done via `AddVolumeArrayName` and `RemoveVolumeArrayNames` API. -------------- next part -------------- A non-text attachment was scrubbed... Name: python_filter_generator.py Type: text/x-python Size: 10795 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: script.py Type: text/x-python Size: 710 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: script.xml Type: text/xml Size: 4504 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: state.pvsm Type: application/octet-stream Size: 406315 bytes Desc: not available URL: From andrealphus at gmail.com Thu Oct 5 14:15:48 2017 From: andrealphus at gmail.com (A) Date: Thu, 5 Oct 2017 11:15:48 -0700 Subject: [Paraview] Volume average along 1-dimension Message-ID: Hi all, I have a 3D volume (xyz) with each point/cell having a corresponding value (velocity; this is a model of the crust and seismic velocity). I want to calculate a 1D average velocity profile along the z-axis (so at every depth average all the x-y velocity values). Any idea? Thanks! ashton p.s. point data or cell data solutions would work -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Thu Oct 5 14:49:12 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Thu, 5 Oct 2017 18:49:12 +0000 Subject: [Paraview] [EXT] Re: Details of XML filter with lists of input arrays In-Reply-To: References: Message-ID: Utkarsh, Thanks for that information - I have figured it out now. A few notes for others who are or will in the future follow this subject: The object of this exercise is to write a Programmable Filter that will put up a list of your Cell or Point variables and allow the user to select which ones to process at runtime. Say you wrote a Volume-Average filter which calculates volume-averaged values of variables. Now you can let your user select which variables to average at runtime- this could be helpful in a number of scenarios. 1. You need to include at least one property in your .py file, otherwise the translator is unhappy - you can delete it from your .xml file, though, if you don't really want it (I did!) 2. Make a pretty standard xml plugin .py file and run it through the python_filter_generator to turn your python into an xml plugin 3. The python_filter_generator knows nothing about the variable arrays so it is strictly a manual mod to the .xml file. In order to illustrate this, I have included both the .xml originally produced by the python_filter_generator (test.xml.orig), and the hand edited version where I implemented the Cell variable list and deleted the property which I included only to make the translator happy (test.xml). You can tkdiff these to see exactly what changes were made 3. The original python_filter_generator had a typo of vtkMultiblockDataSet, while this newest revision correctly has vtkMultiBlockDataSet - use the one in your .py file that matches the version of the generator you are using I have run this test filter on can2.exo, a good, simple multi-block dataset that is available to everyone. Screenshots attached Hopefully this will help the next guy. Dennis -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Thursday, October 05, 2017 11:59 AM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays Dennis, Here's a example. You need manually modify the XML generated using [1]. I've attached script.xml with my modifications to add a new property for "Arrays". Also attached a state file that demos this filter (load state after lading the script.xml as plugin). Hope that helps. Utkarsh [1] `python python_filter_generator.py script.py script.xml` On Wed, Oct 4, 2017 at 10:11 AM, Utkarsh Ayachit wrote: > Dennis, > > Oops sorry, it slipped my mind you were doing this for programmable > filter. It should be doable, but I'll need to dig -- don't remember of > the top of my head. I'll put it on my plate to put together a small > example for you. > > Utkarsh > > On Wed, Oct 4, 2017 at 7:59 AM, Dennis Conklin > wrote: >> Utkarsh, >> >> I think you have me confused with a real programmer! ;- ) >> >> I am just trying to write a Programmable Filter in python and I'm lost. >> >> I want to write an xml plugin that will put up a list of all the cell variables and let the user select from then and then have the names of those variables available in my python script within the Programmable Filter. I'm hoping this can be similar to plugins I have written with hardcoded variable names where I've used something like: >> >> Properties = dict( >> Sector_Angle = True) >> >> >> def RequestData(): >> >> >> def process_block(block): >> # >> # >> if (Sector_Angle): >> >> Maybe this isn't possible at this low level, but how would I put up the list and then what would I have in my RequestData script that I could branch on. >> >> Thanks for your patience. >> >> Dennis >> >> >> -----Original Message----- >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> Sent: Tuesday, October 03, 2017 4:07 PM >> To: Dennis Conklin >> Cc: Paraview (paraview at paraview.org) >> Subject: Re: [EXT] Re: [Paraview] Details of XML filter with lists of >> input arrays >> >>> So, after the user chooses some variables, are the chosen variable names in "input_array"? >>> Or does "input_array" contain True or False based on which he chose, in which case where are the corresponding names of the variables? >> >> When user selects variables, he's doing it on the "VolumeArrays" >> property. Thus the selection is provided to the VTK filter via calling the command specified on the "VolumeArrays" property. In the case of the ExtractCTHParts files, this is done via `AddVolumeArrayName` and `RemoveVolumeArrayNames` API. -------------- next part -------------- A non-text attachment was scrubbed... Name: test.py Type: application/octet-stream Size: 416 bytes Desc: test.py URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.xml Type: application/xml Size: 2573 bytes Desc: test.xml URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.xml.orig Type: application/octet-stream Size: 2133 bytes Desc: test.xml.orig URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Pic010.png Type: image/png Size: 21502 bytes Desc: Pic010.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Pic009.png Type: image/png Size: 46201 bytes Desc: Pic009.png URL: From cory.quammen at kitware.com Thu Oct 5 14:56:06 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 5 Oct 2017 11:56:06 -0700 Subject: [Paraview] Clearing a selection created in python In-Reply-To: References: Message-ID: Felipe, I can confirm this behavior, and I have filed a bug report here: https://gitlab.kitware.com/paraview/paraview/issues/17749 Thanks, Cory On Thu, Sep 14, 2017 at 4:06 AM, Felipe Bordeu wrote: > Hi, I'm trying to create a selection using python, but I have a little > question > > I use this script (as a macro) > > source = GetActiveSource() > activeView = GetActiveView() > props = GetDisplayProperties(source,view=activeView) > fieldtype, arrayname = props.ColorArrayName > a = paraview.simple._select(fieldtype[0:-1], arrayname,source) > Render() > > this will highlight all the entities (points or cells) with values > different form zero in the current view (this work great) > > the only problem is that the clear selection icon ("garbage icon") is > disable and the only way to clear the selection is to create a new > selection (using the mouse) and the clear it using the button. > > Any ideas. > thanks > > 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: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From felipebordeu at gmail.com Thu Oct 5 16:25:32 2017 From: felipebordeu at gmail.com (Felipe Bordeu) Date: Thu, 5 Oct 2017 22:25:32 +0200 Subject: [Paraview] Clearing a selection created in python In-Reply-To: References: Message-ID: Thank you! Le 5 oct. 2017 20:56, "Cory Quammen" a ?crit : > Felipe, > > I can confirm this behavior, and I have filed a bug report here: > > https://gitlab.kitware.com/paraview/paraview/issues/17749 > > Thanks, > Cory > > On Thu, Sep 14, 2017 at 4:06 AM, Felipe Bordeu > wrote: > >> Hi, I'm trying to create a selection using python, but I have a little >> question >> >> I use this script (as a macro) >> >> source = GetActiveSource() >> activeView = GetActiveView() >> props = GetDisplayProperties(source,view=activeView) >> fieldtype, arrayname = props.ColorArrayName >> a = paraview.simple._select(fieldtype[0:-1], arrayname,source) >> Render() >> >> this will highlight all the entities (points or cells) with values >> different form zero in the current view (this work great) >> >> the only problem is that the clear selection icon ("garbage icon") is >> disable and the only way to clear the selection is to create a new >> selection (using the mouse) and the clear it using the button. >> >> Any ideas. >> thanks >> >> 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: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lev.karatun at gmail.com Fri Oct 6 00:28:01 2017 From: lev.karatun at gmail.com (Lev Karatun) Date: Fri, 6 Oct 2017 00:28:01 -0400 Subject: [Paraview] Creating clips for multiple data sets Message-ID: Hi, I'm trying to apply 5 clips to a number of different data sets. I tried selecting them, right-clicking, pressing Copy, then selecting a different data set and pressing Paste, but nothing happens. Am I doing something wrong? I then tried to record a trace and modify it, but I couldn't figure out how to create a clip for the currently selected dataset. I see that I need to specify the clip input like this: > clip = Clip(Input=) but I would like to create a clip for the currently selected dataset, without hard-coding its name in the script. Is it possible to do so? Sorry about the beginner questions, I didn't find the answers in the manual. Thanks in advance! Best regards, Lev Karatun. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rccm.kyoshimi at gmail.com Fri Oct 6 01:39:09 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Fri, 6 Oct 2017 14:39:09 +0900 Subject: [Paraview] Volume average along 1-dimension In-Reply-To: References: Message-ID: Hi ashton, Perhaps the python programmable filter is needed for a 1D average you want to achieve. I have attached a state file as a similar example that firstly generates the cross sections along the z-axis by cutting a volume and then calculates the averages on them respectively. I hope this will help. Best 2017-10-06 3:15 GMT+09:00 A : > Hi all, > > I have a 3D volume (xyz) with each point/cell having a corresponding value > (velocity; this is a model of the crust and seismic velocity). > > I want to calculate a 1D average velocity profile along the z-axis (so at > every depth average all the x-y velocity values). > > Any idea? > > Thanks! > > ashton > > p.s. point data or cell data solutions would work > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: 1D_Averaging.tar.gz Type: application/x-gzip Size: 19836 bytes Desc: not available URL: From antech777 at gmail.com Fri Oct 6 02:42:13 2017 From: antech777 at gmail.com (Andrew) Date: Fri, 6 Oct 2017 09:42:13 +0300 Subject: [Paraview] Silhouette filter Message-ID: Hello. Some time ago I used the Silhouette filter for ParaView to visualize geometry edges (not mesh but indeed *geometry* edges). But I've missed the file and cannot find it for download now... Would, somebody, please, share this filter or give the download link? As some other people do, I use ParaView 5.2 as a most recent version compatible with RDP (I don't know if it's important for the filter compatibility). Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Oct 6 07:53:34 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 6 Oct 2017 07:53:34 -0400 Subject: [Paraview] Creating clips for multiple data sets In-Reply-To: References: Message-ID: Howdy, Two ideas for you to try. 1) group the data into a multiblock and then clip the merged result with one clip filter. 2) under the tools menu create property links between the many clip filters so that whenever one changes the rest do too. On Oct 6, 2017 12:28 AM, "Lev Karatun" wrote: > Hi, > > I'm trying to apply 5 clips to a number of different data sets. I tried > selecting them, right-clicking, pressing Copy, then selecting a different > data set and pressing Paste, but nothing happens. Am I doing something > wrong? > > I then tried to record a trace and modify it, but I couldn't figure out > how to create a clip for the currently selected dataset. I see that I > need to specify the clip input like this: > >> clip = Clip(Input=) > > but I would like to create a clip for the currently selected dataset, > without hard-coding its name in the script. Is it possible to do so? > > Sorry about the beginner questions, I didn't find the answers in the > manual. > Thanks in advance! > > Best regards, > Lev Karatun. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lev.karatun at gmail.com Fri Oct 6 08:38:42 2017 From: lev.karatun at gmail.com (Lev Karatun) Date: Fri, 6 Oct 2017 08:38:42 -0400 Subject: [Paraview] Creating clips for multiple data sets In-Reply-To: References: Message-ID: Hi David, I actually already saw this advice on the mailing list. The first approach doesn't work in my case because I want to be able to see the results of each individual data sets clipped, which seems to be impossible which this approach (unless I'm doing something wrong). Approach 2 is not much faster or easier than creating the clips manually. Best regards, Lev Karatun. 2017-10-06 7:53 GMT-04:00 David E DeMarle : > Howdy, > > Two ideas for you to try. 1) group the data into a multiblock and then > clip the merged result with one clip filter. 2) under the tools menu create > property links between the many clip filters so that whenever one changes > the rest do too. > > On Oct 6, 2017 12:28 AM, "Lev Karatun" wrote: > >> Hi, >> >> I'm trying to apply 5 clips to a number of different data sets. I tried >> selecting them, right-clicking, pressing Copy, then selecting a different >> data set and pressing Paste, but nothing happens. Am I doing something >> wrong? >> >> I then tried to record a trace and modify it, but I couldn't figure out >> how to create a clip for the currently selected dataset. I see that I >> need to specify the clip input like this: >> >>> clip = Clip(Input=) >> >> but I would like to create a clip for the currently selected dataset, >> without hard-coding its name in the script. Is it possible to do so? >> >> Sorry about the beginner questions, I didn't find the answers in the >> manual. >> Thanks in advance! >> >> Best regards, >> Lev Karatun. >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Fri Oct 6 09:03:39 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 6 Oct 2017 09:03:39 -0400 Subject: [Paraview] Creating clips for multiple data sets In-Reply-To: References: Message-ID: With approach 1, you might use the multiblock inspector panel to turn on/off the visibility of and of the objects. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Fri, Oct 6, 2017 at 8:38 AM, Lev Karatun wrote: > Hi David, > > I actually already saw this advice on the mailing list. The first approach > doesn't work in my case because I want to be able to see the results of > each individual data sets clipped, which seems to be impossible which this > approach (unless I'm doing something wrong). > > Approach 2 is not much faster or easier than creating the clips manually. > > Best regards, > Lev Karatun. > > 2017-10-06 7:53 GMT-04:00 David E DeMarle : > >> Howdy, >> >> Two ideas for you to try. 1) group the data into a multiblock and then >> clip the merged result with one clip filter. 2) under the tools menu create >> property links between the many clip filters so that whenever one changes >> the rest do too. >> >> On Oct 6, 2017 12:28 AM, "Lev Karatun" wrote: >> >>> Hi, >>> >>> I'm trying to apply 5 clips to a number of different data sets. I tried >>> selecting them, right-clicking, pressing Copy, then selecting a different >>> data set and pressing Paste, but nothing happens. Am I doing something >>> wrong? >>> >>> I then tried to record a trace and modify it, but I couldn't figure out >>> how to create a clip for the currently selected dataset. I see that I >>> need to specify the clip input like this: >>> >>>> clip = Clip(Input=) >>> >>> but I would like to create a clip for the currently selected dataset, >>> without hard-coding its name in the script. Is it possible to do so? >>> >>> Sorry about the beginner questions, I didn't find the answers in the >>> manual. >>> Thanks in advance! >>> >>> Best regards, >>> Lev Karatun. >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddeepwel at uwaterloo.ca Fri Oct 6 10:11:20 2017 From: ddeepwel at uwaterloo.ca (Deepwell, David) Date: Fri, 6 Oct 2017 10:11:20 -0400 Subject: [Paraview] ParaView not reading time in netcdf file Message-ID: Hi, I have a netcdf file which I?d like to read in ParaView. The reading and rendering works fine, but the time is not displayed. I?ve declared the variable to be time through the axis attribute, and I?ve given it units since a certain day. Strangely enough, VisIt understands the time value (t=5s) while ParaView does not. Here?s the output from ncdump: netcdf output_50 { dimensions: x = 1024 ; z = 128 ; time = 1 ; variables: double x(x) ; x:units = "m" ; double z(z) ; z:units = "m" ; double time(time) ; time:units = "seconds since 2001-1-1" ; time:axis = "T" ; time:long_name = "time" ; double rho(time, x, z) ; rho:units = "kg/L" ; // global attributes: :description = "SPINS Output 50" ; } Any help will be appreciated. I also have a 1 MB file which I can pass on if needed. Thank you, David From andrealphus at gmail.com Fri Oct 6 13:55:23 2017 From: andrealphus at gmail.com (A) Date: Fri, 6 Oct 2017 10:55:23 -0700 Subject: [Paraview] Volume average along 1-dimension In-Reply-To: References: Message-ID: Thank you very much Kenichiro! This was exactly what I was looking for! -ashton On Thu, Oct 5, 2017 at 10:39 PM, kenichiro yoshimi wrote: > Hi ashton, > > Perhaps the python programmable filter is needed for a 1D average you > want to achieve. I have attached a state file as a similar example > that firstly generates the cross sections along the z-axis by cutting > a volume and then calculates the averages on them respectively. > > I hope this will help. > Best > > 2017-10-06 3:15 GMT+09:00 A : > > Hi all, > > > > I have a 3D volume (xyz) with each point/cell having a corresponding > value > > (velocity; this is a model of the crust and seismic velocity). > > > > I want to calculate a 1D average velocity profile along the z-axis (so at > > every depth average all the x-y velocity values). > > > > Any idea? > > > > Thanks! > > > > ashton > > > > p.s. point data or cell data solutions would work > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.lipsa at kitware.com Fri Oct 6 16:38:08 2017 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Fri, 6 Oct 2017 16:38:08 -0400 Subject: [Paraview] ParaView not reading time in netcdf file In-Reply-To: References: Message-ID: Hi David, If you send me the file I can take a look. Thanks, Dan On Fri, Oct 6, 2017 at 10:11 AM, Deepwell, David wrote: > Hi, > > I have a netcdf file which I?d like to read in ParaView. The reading and > rendering works fine, but the time is not displayed. I?ve declared the > variable to be time through the axis attribute, and I?ve given it units > since a certain day. Strangely enough, VisIt understands the time value > (t=5s) while ParaView does not. > > Here?s the output from ncdump: > > netcdf output_50 { > dimensions: > x = 1024 ; > z = 128 ; > time = 1 ; > variables: > double x(x) ; > x:units = "m" ; > double z(z) ; > z:units = "m" ; > double time(time) ; > time:units = "seconds since 2001-1-1" ; > time:axis = "T" ; > time:long_name = "time" ; > double rho(time, x, z) ; > rho:units = "kg/L" ; > > // global attributes: > :description = "SPINS Output 50" ; > } > > Any help will be appreciated. I also have a 1 MB file which I can pass on > if needed. > > Thank you, > David > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezhkr601 at student.liu.se Fri Oct 6 16:40:29 2017 From: ezhkr601 at student.liu.se (Ezhilmathi Krishnasamy) Date: Fri, 6 Oct 2017 22:40:29 +0200 Subject: [Paraview] Lambda-2 vortices computation Message-ID: Hi, Could anyone tell me how to calculate the lambda-2 vorticity computation in Paraview. Kind regards, Mathi -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Oct 6 21:18:30 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 6 Oct 2017 21:18:30 -0400 Subject: [Paraview] Question about modify data in VTK files In-Reply-To: <81A18720EB4BBA489B6552676D14533C67C26906@chimbx4.ad.uillinois.edu> References: <81A18720EB4BBA489B6552676D14533C67C26906@chimbx4.ad.uillinois.edu> Message-ID: You can do similar things simply using Python and numpy, instead of matlab. Numpy is included in the Python distributed with ParaView, so you can use it in pvpython or Python shell in the GUI to open csv [1] and process it add appropriate before saving out. [1] https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.loadtxt.html On Wed, Oct 4, 2017 at 11:45 PM, Li, Teng wrote: > Hi, > > I have a question about modify the data in vtk files and then visualize > them again in Paraview. > > First, I have 118 vtk files which record the information of each time > step. In order to process some data in my vtk files, I plan to store them > as .CSV files. I saved them as points data files. However, I find that I > need to save 118 CSV files and then process the data in each of them. And > then I need to visualize each of them. > > Because in every time step, I use the same method to modify specific data. I > wonder is there a way that I can process all the data just one time so > these specific data in every time step will be changed in the same way. > > I know calculator works for some simple applications, such as add, minus. > However, I might use some if else loops to modify the data. So I need to > import the .CSV data into the Matlab to process them. And then import the > modified .CSV files into Paraview to visualize the information. > > Thanks! > > Best, > Teng > > > Teng Li > > Master Candidate in Structures > > Department of Civil and Environmental Engineering > > University of Illinois at Urbana-Champaign > > 205 North Mathews Ave, Urbana, IL. 61801 > > Phone:(217)8196210 <(217)%20819-6210>, Email: tengli2 at illinois.edu > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tengli2 at illinois.edu Sat Oct 7 00:04:01 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Sat, 7 Oct 2017 04:04:01 +0000 Subject: [Paraview] Question about modify data in VTK files In-Reply-To: References: <81A18720EB4BBA489B6552676D14533C67C26906@chimbx4.ad.uillinois.edu>, Message-ID: <81A18720EB4BBA489B6552676D14533C67C27EAB@chimbx4.ad.uillinois.edu> Hi Utkarsh, Thanks! I will try to use Python instead of Matlab. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: Friday, October 06, 2017 8:18 PM To: Li, Teng Cc: paraview at paraview.org Subject: Re: [Paraview] Question about modify data in VTK files You can do similar things simply using Python and numpy, instead of matlab. Numpy is included in the Python distributed with ParaView, so you can use it in pvpython or Python shell in the GUI to open csv [1] and process it add appropriate before saving out. [1] https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.loadtxt.html On Wed, Oct 4, 2017 at 11:45 PM, Li, Teng > wrote: Hi, I have a question about modify the data in vtk files and then visualize them again in Paraview. First, I have 118 vtk files which record the information of each time step. In order to process some data in my vtk files, I plan to store them as .CSV files. I saved them as points data files. However, I find that I need to save 118 CSV files and then process the data in each of them. And then I need to visualize each of them. Because in every time step, I use the same method to modify specific data. I wonder is there a way that I can process all the data just one time so these specific data in every time step will be changed in the same way. I know calculator works for some simple applications, such as add, minus. However, I might use some if else loops to modify the data. So I need to import the .CSV data into the Matlab to process them. And then import the modified .CSV files into Paraview to visualize the information. Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Sat Oct 7 07:27:38 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 7 Oct 2017 07:27:38 -0400 Subject: [Paraview] Lambda-2 vortices computation In-Reply-To: References: Message-ID: Hi, I think the best way is to use the Gradient of Unstructured DataSet filter to compute the velocity gradient and then use the Calculator or Python Calculator filter to compute lambda-2. Cheers, Andy On Fri, Oct 6, 2017 at 4:40 PM, Ezhilmathi Krishnasamy < ezhkr601 at student.liu.se> wrote: > Hi, > > Could anyone tell me how to calculate the lambda-2 vorticity computation > in > Paraview. > > Kind regards, > Mathi > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Mon Oct 9 11:52:55 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Mon, 9 Oct 2017 10:52:55 -0500 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: Hello Cory & Paraview team, I am just giving below a SUMMARY on the errors I encountered while working with ParaView. Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; does not freeze. Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: shows images for model.vtk & glyph for data.vtk, but freezes while attempting to do full screen or just to drug the screen edge in order to increase screen with the following diagnostics: -------------------- Output messages QWidget:: repaint: Recursive repaint detected. --------------------- Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the application ALSO freezes while attempting to do full screen or just to drug the screen edge in order to increase screen, with no diagnostics. - - - - - - - So, for now I have to continue working with version 4.0.1, and it is fine, so far, for the learning purpose. To prevent freezing, I simply avoid to increase screen / full screen. The version 4.0.1 was my random choice, just the first version I saw available for 64-bit system. Would you recommend for me to try any newer version? Many thanks for your help, Sonya Davydycheva On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva wrote: > Cory, > > The Glyph works just fine with my data.vtk and is very useful tool! It was > a good advice. > > As to not-responding and freezing of ParaView: let me accumulate > statistics and then I will let you know. > > I appreciate your help, > > Sonya Davydycheva > > > On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen > wrote: > >> [cc'ing to the paraview mailing list so others may contribute to and >> benefit from the discussion] >> >> On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva >> wrote: >> >>> Thank you Cory, >>> >>> For your prompt response. Good to know that the message is harmless. >>> >>> My Paraview 5.4.1 just stops responding sometimes. >>> >> >> If it stops responding consistently after a specific event or sequence of >> events, please let us know. It shouldn't do that :-) >> >> >>> But, well, I installed on another (older) laptop an older version, 4.0.1 >>> (5.4.1 did not work there), and it does not freeze. So far, I think it is >>> ok for my learning purpose. >>> >> >> Very good. >> >> >>> Both versions (on both computers) allow me to visualize my sample >>> model.vtk file: in RenderView I can do Threshold, Slice and Clip and see >>> some 3D pictures. But something is wrong with my other sample data.vtk file >>> (or, with my approach?). It contains data points (3 coordinates) and the >>> resistivity values assigned to them. When I open it, I can see only the >>> resistivity colorbar, and I can add axes, but the image stays empty. >>> Threshold does not work at all (and even the colorbar disappears when I >>> apply it). >>> Slice somewhat works, but it stays gray/empty and does not change as I >>> move it along the box. >>> And when I am in "Slice" mode, pressing "Apply" removes the colorbar as >>> well, and does not show anything meaningful. >>> >>> Any idea how can I activate Threshold or Slice for my resistivity >>> data.vtk? >>> >>> I am beginner and suspect I just miss something simple... >>> Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, >>> does not help, so far. >>> >> >> I suspect that you do not have any cells in your 3-point data.vtk file. >> Without cells, there is nothing for ParaView to visualize. This is a common >> stumbling block for people trying to visualize point data.I suggest after >> loading your data applying a Glyph filter. It should show you three spheres >> colored according to your resistivity array. Now you should be able to >> apply the Threshold and Slice filters as you would expect. >> >> Thanks, >> Cory >> >> >>> Many thanks in advance, >>> >>> Best regards, >>> >>> Sonya Davydycheva >>> >>> >>> On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen >>> wrote: >>> >>>> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >>>> wrote: >>>> > Hello, >>>> > >>>> > Does anybody know what this Output message mean? (appears when I press >>>> > "Example Visuatizations"... thougth, some examples emerge), >>>> > --------- >>>> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >>>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>>> geometry: >>>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, >>>> minimum >>>> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >>>> dow::setGeometry: >>>> > Unable to set geometry 996x403+228+226 on >>>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>>> geometry: >>>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, >>>> minimum >>>> > size: 956x403, maximum size: 16777215x16777215). >>>> > ---------- >>>> >>>> The message is a warning from the Qt side. Aside from being annoying, >>>> it should be harmless. Sorry, but we haven't figured out why this >>>> appears on some systems and not others. >>>> >>>> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >>>> freezes. >>>> > I wonder if this can be related to the issue above. >>>> >>>> Does it stop responding or does it crash? It's probably not related to >>>> the warning message above. >>>> >>>> Cory >>>> >>>> > Thanks, >>>> > >>>> > Sonya Davydycheva >>>> > >>>> > >>>> > >>>> > _______________________________________________ >>>> > Powered by www.kitware.com >>>> > >>>> > Visit other Kitware open-source projects at >>>> > http://www.kitware.com/opensource/opensource.html >>>> > >>>> > Please keep messages on-topic and check the ParaView Wiki at: >>>> > http://paraview.org/Wiki/ParaView >>>> > >>>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>>> > >>>> > Follow this link to subscribe/unsubscribe: >>>> > http://public.kitware.com/mailman/listinfo/paraview >>>> > >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith.draghi at yale.edu Mon Oct 9 11:44:51 2017 From: keith.draghi at yale.edu (Draghi, Keith) Date: Mon, 9 Oct 2017 15:44:51 +0000 Subject: [Paraview] Hardware for local install Message-ID: Hi All, I am looking for some recommendations or running Para View on local hardware, specifically geared to 3d rendering. Should I be looking at more GPU vs processor vs memory? Thank you. K [cid:05119A1E-A1E1-4FEE-9E77-78526CFA122B] Keith Draghi Yale University Yale ITS West Campus 203.494.6656 http://www.yale.edu/its http://www.yale.edu/westcampus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: yale[2][2].png Type: image/png Size: 12153 bytes Desc: yale[2][2].png URL: From dani.schmid at gmail.com Mon Oct 9 12:08:09 2017 From: dani.schmid at gmail.com (Dani Schmid) Date: Mon, 9 Oct 2017 18:08:09 +0200 Subject: [Paraview] Animate Clip - Cue does not have domain or property set! In-Reply-To: References: Message-ID: Anybody? Dani On Sun, Jun 18, 2017 at 2:44 PM, Dani Schmid wrote: > Hi, > > I try to animate a clip through an object by putting a ramp on Clip1 - > Clip Type - Offset. This results in an error: > > vtkPVKeyFrameAnimationCueForProxies (00000192A6D1C570): Cue does not > have domain or property set! > > Animating other properties such as orgin and normals works. The error > can be reproduced by adding a sphere, applying a clip, and then adding > Clip1 - Clip Type - Offset [-.2 .2] in the animation view. Using the > same values as offset values in the Properties of the clip works as > expected. What do I do wrong? > > Cheers, > > Dani -- Dani Schmid Hystadveien 41 3208 Sandefjord +47 980 00 120 From utkarsh.ayachit at kitware.com Mon Oct 9 12:53:40 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 9 Oct 2017 12:53:40 -0400 Subject: [Paraview] Animate Clip - Cue does not have domain or property set! In-Reply-To: References: Message-ID: That's indeed a bug. Here's a fix: https://gitlab.kitware.com/paraview/paraview/merge_requests/1955 For your build of ParaView (assuming you are using 5.4), you can load the adding XML as a plugin and then create the filter. The XML will override the builtin definition for the proxy and hence will overcome the issue. Utkarsh On Mon, Oct 9, 2017 at 12:08 PM, Dani Schmid wrote: > Anybody? > > Dani > > On Sun, Jun 18, 2017 at 2:44 PM, Dani Schmid > wrote: > > Hi, > > > > I try to animate a clip through an object by putting a ramp on Clip1 - > > Clip Type - Offset. This results in an error: > > > > vtkPVKeyFrameAnimationCueForProxies (00000192A6D1C570): Cue does not > > have domain or property set! > > > > Animating other properties such as orgin and normals works. The error > > can be reproduced by adding a sphere, applying a clip, and then adding > > Clip1 - Clip Type - Offset [-.2 .2] in the animation view. Using the > > same values as offset values in the Properties of the clip works as > > expected. What do I do wrong? > > > > Cheers, > > > > Dani > > > > -- > Dani Schmid > Hystadveien 41 > 3208 Sandefjord > +47 980 00 120 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OverridePlaneProxyPlugin.xml Type: text/xml Size: 2876 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon Oct 9 12:57:57 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 9 Oct 2017 12:57:57 -0400 Subject: [Paraview] Hardware for local install In-Reply-To: References: Message-ID: Keith, There's no easy answer for this, I am afraid. It depends on the type of data and kind of processing you intend to do. A few things to note: 1. most data processing is done on CPU. 2. rendering, including rendering of image volumes using volume rendering techniques as well as surface/polygonal rendering uses GPU. What is the type of data or kinds of processing you plan to do? Maybe that can help weigh the scale in direction over the other. Utkarsh On Mon, Oct 9, 2017 at 11:44 AM, Draghi, Keith wrote: > Hi All, > > I am looking for some recommendations or running Para View on local > hardware, specifically geared to 3d rendering. Should I be looking at more > GPU vs processor vs memory? > > Thank you. > > K > Keith Draghi > Yale University > Yale ITS West Campus > 203.494.6656 <(203)%20494-6656> > http://www.yale.edu/its http://www.yale.edu/westcampus > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: yale[2][2].png Type: image/png Size: 12153 bytes Desc: not available URL: From tengli2 at illinois.edu Mon Oct 9 13:16:55 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Mon, 9 Oct 2017 17:16:55 +0000 Subject: [Paraview] Saving as csv data Message-ID: <81A18720EB4BBA489B6552676D14533C67C29446@chimbx4.ad.uillinois.edu> Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Oct 9 14:01:11 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 9 Oct 2017 11:01:11 -0700 Subject: [Paraview] Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: Sonya, Thanks for the report. Could you try ParaView 5.2 and see if that works or produces the same problem as 5.4? Thank you, Cory On Mon, Oct 9, 2017 at 8:52 AM, Sonya Davydycheva wrote: > Hello Cory & Paraview team, > > I am just giving below a SUMMARY on the errors I encountered while working > with ParaView. > > Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under > Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; > does not freeze. > > Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. > > Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: shows > images for model.vtk & glyph for data.vtk, but freezes while attempting to > do full screen or just to drug the screen edge in order to increase screen > with the following diagnostics: > -------------------- > Output messages > QWidget:: repaint: Recursive repaint detected. > --------------------- > > Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows > images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the > application ALSO freezes while attempting to do full screen or just to drug > the screen edge in order to increase screen, with no diagnostics. > > - - - - - - - > So, for now I have to continue working with version 4.0.1, and it is fine, > so far, for the learning purpose. To prevent freezing, I simply avoid to > increase screen / full screen. > > The version 4.0.1 was my random choice, just the first version I saw > available for 64-bit system. > Would you recommend for me to try any newer version? > > Many thanks for your help, > > Sonya Davydycheva > > > > On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva > wrote: > >> Cory, >> >> The Glyph works just fine with my data.vtk and is very useful tool! It >> was a good advice. >> >> As to not-responding and freezing of ParaView: let me accumulate >> statistics and then I will let you know. >> >> I appreciate your help, >> >> Sonya Davydycheva >> >> >> On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen >> wrote: >> >>> [cc'ing to the paraview mailing list so others may contribute to and >>> benefit from the discussion] >>> >>> On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva >>> wrote: >>> >>>> Thank you Cory, >>>> >>>> For your prompt response. Good to know that the message is harmless. >>>> >>>> My Paraview 5.4.1 just stops responding sometimes. >>>> >>> >>> If it stops responding consistently after a specific event or sequence >>> of events, please let us know. It shouldn't do that :-) >>> >>> >>>> But, well, I installed on another (older) laptop an older version, >>>> 4.0.1 (5.4.1 did not work there), and it does not freeze. So far, I think >>>> it is ok for my learning purpose. >>>> >>> >>> Very good. >>> >>> >>>> Both versions (on both computers) allow me to visualize my sample >>>> model.vtk file: in RenderView I can do Threshold, Slice and Clip and see >>>> some 3D pictures. But something is wrong with my other sample data.vtk file >>>> (or, with my approach?). It contains data points (3 coordinates) and the >>>> resistivity values assigned to them. When I open it, I can see only the >>>> resistivity colorbar, and I can add axes, but the image stays empty. >>>> Threshold does not work at all (and even the colorbar disappears when I >>>> apply it). >>>> Slice somewhat works, but it stays gray/empty and does not change as I >>>> move it along the box. >>>> And when I am in "Slice" mode, pressing "Apply" removes the colorbar as >>>> well, and does not show anything meaningful. >>>> >>>> Any idea how can I activate Threshold or Slice for my resistivity >>>> data.vtk? >>>> >>>> I am beginner and suspect I just miss something simple... >>>> Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, >>>> does not help, so far. >>>> >>> >>> I suspect that you do not have any cells in your 3-point data.vtk file. >>> Without cells, there is nothing for ParaView to visualize. This is a common >>> stumbling block for people trying to visualize point data.I suggest after >>> loading your data applying a Glyph filter. It should show you three spheres >>> colored according to your resistivity array. Now you should be able to >>> apply the Threshold and Slice filters as you would expect. >>> >>> Thanks, >>> Cory >>> >>> >>>> Many thanks in advance, >>>> >>>> Best regards, >>>> >>>> Sonya Davydycheva >>>> >>>> >>>> On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen >>>> wrote: >>>> >>>>> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >>>>> wrote: >>>>> > Hello, >>>>> > >>>>> > Does anybody know what this Output message mean? (appears when I >>>>> press >>>>> > "Example Visuatizations"... thougth, some examples emerge), >>>>> > --------- >>>>> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 >>>>> on >>>>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>>>> geometry: >>>>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, >>>>> minimum >>>>> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >>>>> dow::setGeometry: >>>>> > Unable to set geometry 996x403+228+226 on >>>>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>>>> geometry: >>>>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, >>>>> minimum >>>>> > size: 956x403, maximum size: 16777215x16777215). >>>>> > ---------- >>>>> >>>>> The message is a warning from the Qt side. Aside from being annoying, >>>>> it should be harmless. Sorry, but we haven't figured out why this >>>>> appears on some systems and not others. >>>>> >>>>> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >>>>> freezes. >>>>> > I wonder if this can be related to the issue above. >>>>> >>>>> Does it stop responding or does it crash? It's probably not related to >>>>> the warning message above. >>>>> >>>>> Cory >>>>> >>>>> > Thanks, >>>>> > >>>>> > Sonya Davydycheva >>>>> > >>>>> > >>>>> > >>>>> > _______________________________________________ >>>>> > Powered by www.kitware.com >>>>> > >>>>> > Visit other Kitware open-source projects at >>>>> > http://www.kitware.com/opensource/opensource.html >>>>> > >>>>> > Please keep messages on-topic and check the ParaView Wiki at: >>>>> > http://paraview.org/Wiki/ParaView >>>>> > >>>>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> > >>>>> > Follow this link to subscribe/unsubscribe: >>>>> > http://public.kitware.com/mailman/listinfo/paraview >>>>> > >>>>> >>>>> -- >>>>> Cory Quammen >>>>> Staff R&D Engineer >>>>> Kitware, Inc. >>>>> >>>> >>>> >>> >>> >>> -- >>> 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 utkarsh.ayachit at kitware.com Mon Oct 9 14:06:43 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 9 Oct 2017 14:06:43 -0400 Subject: [Paraview] Saving as csv data In-Reply-To: <81A18720EB4BBA489B6552676D14533C67C29446@chimbx4.ad.uillinois.edu> References: <81A18720EB4BBA489B6552676D14533C67C29446@chimbx4.ad.uillinois.edu> Message-ID: Teng, In your attached VTK file, stress is a cell data i.e. associated with each of the cells rather than the points. When you export data as CSV you can only save points along with point data or cells data and not both. If you want to save out stress associated with each of the points, you can apply the "Cell Data To Point Data" filter first and then save the result out. Utkarsh On Mon, Oct 9, 2017 at 1:16 PM, Li, Teng wrote: > Hi all, > > I have a question about saving vtk data in a csv file. Please find the > following link for the vtk file: > > https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing > > I expected to see 7 components in the csv file I saved: x, y, z, stress_x, > stress_y, stress_z, stress_magnitude. However, in the csv file I saved, > there are only three columns of data. Please find the csv file I saved: > > https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing > > I saved the vtk file by first highlighting the vtk file in the pipeline, and > then click save data. Then I used the default settings. Is there anything > wrong in my saving process? > > Thanks! > > Best, > Teng > > Teng Li > > Master Candidate in Structures > > Department of Civil and Environmental Engineering > > University of Illinois at Urbana-Champaign > > 205 North Mathews Ave, Urbana, IL. 61801 > > Phone:(217)8196210, Email: tengli2 at illinois.edu > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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 kmorel at sandia.gov Mon Oct 9 14:47:13 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 9 Oct 2017 18:47:13 +0000 Subject: [Paraview] Saving as csv data Message-ID: <0e88182771614b519c2efae39b458bce@ES08AMSNLNT.srn.sandia.gov> Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled "Configure Writer (DataSetCSVWriter)" (after you choose a filename), change the option "Field Association" from "Points" to "Cells". If you do this option, you will only get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2"). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the "Cell Data to Point Data" filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2") and you will also get the positional x, y, and z (labeled "Points:0", "Points:1", and "Points:2"). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the "Calculator" filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Oct 9 14:54:55 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 9 Oct 2017 18:54:55 +0000 Subject: [Paraview] [EXTERNAL] Re: Paraview 5.4.1 error message & freeze In-Reply-To: References: Message-ID: <9c5eb6fac3f048b68a64c9f2b8e7ea9d@ES01AMSNLNT.srn.sandia.gov> Sonya, If nothing else works, use ParaView 4.4.0. That release is a workhorse, and was the version before we updated OpenGL requirements. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Sonya Davydycheva Sent: Monday, October 9, 2017 9:53 AM To: Quammen, Cory (External Contacts) Cc: ParaView Subject: [EXTERNAL] Re: [Paraview] Paraview 5.4.1 error message & freeze Hello Cory & Paraview team, I am just giving below a SUMMARY on the errors I encountered while working with ParaView. Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; does not freeze. Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: shows images for model.vtk & glyph for data.vtk, but freezes while attempting to do full screen or just to drug the screen edge in order to increase screen with the following diagnostics: -------------------- Output messages QWidget:: repaint: Recursive repaint detected. --------------------- Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the application ALSO freezes while attempting to do full screen or just to drug the screen edge in order to increase screen, with no diagnostics. - - - - - - - So, for now I have to continue working with version 4.0.1, and it is fine, so far, for the learning purpose. To prevent freezing, I simply avoid to increase screen / full screen. The version 4.0.1 was my random choice, just the first version I saw available for 64-bit system. Would you recommend for me to try any newer version? Many thanks for your help, Sonya Davydycheva On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva > wrote: Cory, The Glyph works just fine with my data.vtk and is very useful tool! It was a good advice. As to not-responding and freezing of ParaView: let me accumulate statistics and then I will let you know. I appreciate your help, Sonya Davydycheva On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen > wrote: [cc'ing to the paraview mailing list so others may contribute to and benefit from the discussion] On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva > wrote: Thank you Cory, For your prompt response. Good to know that the message is harmless. My Paraview 5.4.1 just stops responding sometimes. If it stops responding consistently after a specific event or sequence of events, please let us know. It shouldn't do that :-) But, well, I installed on another (older) laptop an older version, 4.0.1 (5.4.1 did not work there), and it does not freeze. So far, I think it is ok for my learning purpose. Very good. Both versions (on both computers) allow me to visualize my sample model.vtk file: in RenderView I can do Threshold, Slice and Clip and see some 3D pictures. But something is wrong with my other sample data.vtk file (or, with my approach?). It contains data points (3 coordinates) and the resistivity values assigned to them. When I open it, I can see only the resistivity colorbar, and I can add axes, but the image stays empty. Threshold does not work at all (and even the colorbar disappears when I apply it). Slice somewhat works, but it stays gray/empty and does not change as I move it along the box. And when I am in "Slice" mode, pressing "Apply" removes the colorbar as well, and does not show anything meaningful. Any idea how can I activate Threshold or Slice for my resistivity data.vtk? I am beginner and suspect I just miss something simple... Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, does not help, so far. I suspect that you do not have any cells in your 3-point data.vtk file. Without cells, there is nothing for ParaView to visualize. This is a common stumbling block for people trying to visualize point data.I suggest after loading your data applying a Glyph filter. It should show you three spheres colored according to your resistivity array. Now you should be able to apply the Threshold and Slice filters as you would expect. Thanks, Cory Many thanks in advance, Best regards, Sonya Davydycheva On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen > wrote: On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva > wrote: > Hello, > > Does anybody know what this Output message mean? (appears when I press > "Example Visuatizations"... thougth, some examples emerge), > --------- > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > size: 956x403, maximum size: 16777215x16777215).QWindowsWindow::setGeometry: > Unable to set geometry 996x403+228+226 on > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > size: 956x403, maximum size: 16777215x16777215). > ---------- The message is a warning from the Qt side. Aside from being annoying, it should be harmless. Sorry, but we haven't figured out why this appears on some systems and not others. > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often freezes. > I wonder if this can be related to the issue above. Does it stop responding or does it crash? It's probably not related to the warning message above. Cory > Thanks, > > Sonya Davydycheva > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tengli2 at illinois.edu Mon Oct 9 16:09:05 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Mon, 9 Oct 2017 20:09:05 +0000 Subject: [Paraview] Saving as csv data In-Reply-To: References: <81A18720EB4BBA489B6552676D14533C67C29446@chimbx4.ad.uillinois.edu>, Message-ID: <81A18720EB4BBA489B6552676D14533C67C295C7@chimbx4.ad.uillinois.edu> Hi Utkarsh, Thanks! I have successfully use the "Cell Data To Point Data" filter and save a csv file with all the components I expected to see. Actually, I would like to process the three stress component data in the original VTK file. So I choose to save them as the CSV data. However, I have totally 118 time steps, thus 118 VTK files. If I save all of them and process each in the Matlab and finally show back in Paraview, that will be a huge amount of work. So I use python shell to access the data and process them. After some searching, I find some valuable codes: 1. >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell As we can see, this code only gives some simple information, not the actual stress data I need to process. I am wondering how I can access the actual data so I can finish all the calculation in Paraview. And since Paraview can read file series, so I can process the data once and change all of them in all the files. So my question is how I can get access to the stress data in the vtk file using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________________ From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com] Sent: Monday, October 09, 2017 1:06 PM To: Li, Teng Cc: paraview at paraview.org Subject: Re: [Paraview] Saving as csv data Teng, In your attached VTK file, stress is a cell data i.e. associated with each of the cells rather than the points. When you export data as CSV you can only save points along with point data or cells data and not both. If you want to save out stress associated with each of the points, you can apply the "Cell Data To Point Data" filter first and then save the result out. Utkarsh On Mon, Oct 9, 2017 at 1:16 PM, Li, Teng wrote: > Hi all, > > I have a question about saving vtk data in a csv file. Please find the > following link for the vtk file: > > https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing > > I expected to see 7 components in the csv file I saved: x, y, z, stress_x, > stress_y, stress_z, stress_magnitude. However, in the csv file I saved, > there are only three columns of data. Please find the csv file I saved: > > https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing > > I saved the vtk file by first highlighting the vtk file in the pipeline, and > then click save data. Then I used the default settings. Is there anything > wrong in my saving process? > > Thanks! > > Best, > Teng > > Teng Li > > Master Candidate in Structures > > Department of Civil and Environmental Engineering > > University of Illinois at Urbana-Champaign > > 205 North Mathews Ave, Urbana, IL. 61801 > > Phone:(217)8196210, Email: tengli2 at illinois.edu > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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 kmorel at sandia.gov Mon Oct 9 17:15:35 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Mon, 9 Oct 2017 21:15:35 +0000 Subject: [Paraview] [EXTERNAL] RE: Saving as csv data In-Reply-To: <81A18720EB4BBA489B6552676D14533C67C2960C@chimbx4.ad.uillinois.edu> References: <0e88182771614b519c2efae39b458bce@ES08AMSNLNT.srn.sandia.gov> <81A18720EB4BBA489B6552676D14533C67C2960C@chimbx4.ad.uillinois.edu> Message-ID: Teng, GetCellData is a function. You have to call the function by adding parentheses to the call. Specifically, change data_cell = rawData.GetCellData to data_cell = rawData.GetCellData() That will return a class from which you can pull the data array for the stress field. (For example, data_cell.GetArray(0).) -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Monday, October 9, 2017 2:23 PM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thank you for your detailed explanation and two specific solutions. In order not to lose the accuracy, I will first try to save the stress data as the point data and then process it. Also, I am searching ways to process the vtk data directly by using python shell. I have been searching the codes to get access to the real data, here are some codes I have: >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell However, I just have the data information, not the real stress data I need to process. And there are 118 time steps, thus 118 vtk files of my problem. I hope there is a way to process the data in python shell once and the results in all the files will change accordingly. That means I can process the stress component as the data array and do some calculations. And then save them in the old vtk file and visualize them again. That is the idea in my mind now. And actually, since the csv file records all the stress data (cell data). If I can just print all the data arrays in the csv file and store them as variables in the python shell, I can process them and save as new csv files. So actually, my question is how I can print out the data, no matter in the vtk files or the csv files by using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 1:47 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled "Configure Writer (DataSetCSVWriter)" (after you choose a filename), change the option "Field Association" from "Points" to "Cells". If you do this option, you will only get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2"). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the "Cell Data to Point Data" filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2") and you will also get the positional x, y, and z (labeled "Points:0", "Points:1", and "Points:2"). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the "Calculator" filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Undine.Lieberwirth at fu-berlin.de Tue Oct 10 01:56:05 2017 From: Undine.Lieberwirth at fu-berlin.de (Lieberwirth, Undine) Date: Tue, 10 Oct 2017 07:56:05 +0200 Subject: [Paraview] Implementation of OpenGL 4 Message-ID: Hello list, I am using real (long - more than 7 digits) geographic coordinates in my project. Unfortunately, with OpenGL 2 they cannot be visualised in ParaView. I am therefore in need of the implementation of OpenGL 4 (or higher) in ParaView. Is there already an ongoing project or can we join a team which is already working on this subject? Kind regards Undine **************************************************************************************************************************************************************************************************** Undine Lieberwirth M.A. Freie Universit?t Berlin Exzellenzcluster Topoi 264 Forum Spatial Data Hittorfstr. 18 14195 Berlin Tel. +49 30 838 57275 Fax +49 838 53770 Email: undine.lieberwirth at fu-berlin.de Websites: topoi.org, community.topoi.org/web/forum-sda -------------- next part -------------- An HTML attachment was scrubbed... URL: From 224252 at via.dk Tue Oct 10 04:40:36 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Tue, 10 Oct 2017 08:40:36 +0000 Subject: [Paraview] Mode shapes Message-ID: Hi dear users, My question would be about the best practice to animate mode shapes in paraview. I have an initial shape of points (x,y,z coordinates) subjected to different frequencies. There are 493 DoFs and 19 modes. What would be the best way to animate it in paraview and which input file should be used? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Tue Oct 10 08:43:08 2017 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 10 Oct 2017 08:43:08 -0400 Subject: [Paraview] Implementation of OpenGL 4 In-Reply-To: References: Message-ID: VTK OpenGL2 uses automatic data normalization (shift/scaling) to handle large data ranges. So each mapper's data is rescaled/shifted to lie within the 0.0 to 1.0 range and the camera matrix is modified to account for this. All that is done in double precision but resulting in floating point data and matrix. For most earth centric data sets the normalization works well if your detailed data (like of a building) is in a different mapper than your large scale data (model of the earth). I am not sure if this functionality is in the last PV release, but it should be in the nightly version. There are still some gotchas in setting the camera's clipping range (an automatic clipping range that includes the entire earth will be really bad for a detailed model of a building) but the basic support is there. In terms of adding double support it could be done conditionally if the hardware has it then turn it on. We already do that for a couple OpenGL 3.3 features. But I doubt we will require OpenGL 4 any time soon as moving to OpenGL 3.2 was a stretch for many people. Having said that, we do typically get OpenGL 4 contexts on many platforms by default. Hope some of that helps! Ken On Tue, Oct 10, 2017 at 1:56 AM, Lieberwirth, Undine < Undine.Lieberwirth at fu-berlin.de> wrote: > Hello list, > > I am using real (long - more than 7 digits) geographic coordinates in my > project. Unfortunately, with OpenGL 2 they cannot be visualised in > ParaView. I am therefore in need of the implementation of OpenGL 4 (or > higher) in ParaView. Is there already an ongoing project or can we join a > team which is already working on this subject? > Kind regards > Undine > > > ************************************************************ > ************************************************************ > ************************************************************ > **************** > Undine Lieberwirth M.A. > Freie Universit?t Berlin > Exzellenzcluster Topoi 264 > Forum Spatial Data > Hittorfstr. 18 > 14195 Berlin > Tel. +49 30 838 57275 <+49%2030%2083857275> > Fax +49 838 53770 <+49%208385%203770> > Email: undine.lieberwirth at fu-berlin.de > Websites: topoi.org, community.topoi.org/web/forum-sda > > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- 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 kmorel at sandia.gov Tue Oct 10 10:01:29 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 10 Oct 2017 14:01:29 +0000 Subject: [Paraview] Mode shapes Message-ID: <13596FCB-76CB-453D-B920-F08B3839AA65@sandia.gov> Doina, It is possible to make a filter to implement this (a couple readers do it internally), but one with general capabilities currently does not exist. However, it is easy to animate a mode shape using the Warp by Vectors filter and the animation utilities. To do it, do the following: 1. Add the Warp by Vectors filter to your data. Presumably you have some displacement vectors that you want to do the mode animation on. Select those as the vectors to warp by. 2. Open the Animation View (View -> Animation View). 3. Make the animation run longer (the defaults are too fast). Either increase the number of frames (say to 100) or change the mode to Real Time. 4. Add an animation track for the WarpByVector filter and the parameter Scale Factor. 5. Double click the animation track you just created to open the Animation Keyframes dialog box. 6. Double click the box that says Ramp in the Interpolation column. Change the interpolation to Sinusoid. The controls for Sinusoid are a little clunky, but the defaults for Phase, Frequency, and Offset should be fine. 7. Change the Value for time 0 to be 1. Change the Value for time 1 to be 0. The dialog box should match the image I attached to this email for reference. 8. Click OK to close the Animation Keyframes dialog box. 9. Click the Play button to see the animation. Use the Loop button to animate the mode continuously. -Ken From: ParaView on behalf of "Doina Gumeniuc (224252 MAHS)" <224252 at via.dk> Date: Tuesday, October 10, 2017 at 2:40 AM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Mode shapes Hi dear users, My question would be about the best practice to animate mode shapes in paraview. I have an initial shape of points (x,y,z coordinates) subjected to different frequencies. There are 493 DoFs and 19 modes. What would be the best way to animate it in paraview and which input file should be used? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2017-10-10 at 7.58.54 AM.png Type: image/png Size: 163881 bytes Desc: Screen Shot 2017-10-10 at 7.58.54 AM.png URL: From kmorel at sandia.gov Tue Oct 10 10:16:37 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 10 Oct 2017 14:16:37 +0000 Subject: [Paraview] Saving as csv data Message-ID: <8338E75E-B4FE-4CEC-BCF2-646FB0CC8F94@sandia.gov> The first parameter of GetComponent is the tuple you pull and the second parameter is the component of the tuple. Calling GetComponent(5,1) gets the 2nd component (stress_y, index 1) of the 6th stress value (index 5). Although GetComponent(1,5) technically works, you are actually asking for the 6th component (index 5) of the 2nd value (index 1). Since there are only 3 components and VTK does not check array bounds, you actually get the 3rd component of the following tuple. Alternatively, I suggest you call GetTuple(). It takes one argument, the index to the stress value. It returns a Python triple with the 3 stress values. -Ken From: "Li, Teng" Date: Monday, October 9, 2017 at 8:34 PM To: "Moreland, Kenneth" , "paraview at paraview.org" Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thanks! I am now able to go further. And now I know there is only one array, array 0 in my data. And I have three components in it. I guess they are: stress_x, stress_y, stress_xy. However, after searching some information, I still can not figure out the data structure of .stress.GetComponent(a,b). I do not know the meaning of a and b. Please find the codes: >>> a = GetActiveSource() >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> rawData (vtkCommonDataModelPython.vtkUnstructuredGrid)00000077A55E0588 >>> data_cell = rawData.GetCellData() >>> data_cell (vtkCommonDataModelPython.vtkCellData)00000077A5564FA8 >>> stress = data_cell.GetArray(0) >>> stress (vtkCommonCorePython.vtkDoubleArray)00000077A55E0048 >>> stress.GetComponent(1,5) -4059988.0 >>> stress.GetComponent(5,1) -5031060.0 As we can see, I use 1 and 5 for both a and b. However, both cases are right. It is strange because there should be only three components. Could you help me to figure out the meanings of a and b in GetComponent(a,b)? And whether I can use the : to extract all the data in a certain dimension, say row or column. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 4:15 PM To: Li, Teng; paraview at paraview.org Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Teng, GetCellData is a function. You have to call the function by adding parentheses to the call. Specifically, change data_cell = rawData.GetCellData to data_cell = rawData.GetCellData() That will return a class from which you can pull the data array for the stress field. (For example, data_cell.GetArray(0).) -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Monday, October 9, 2017 2:23 PM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thank you for your detailed explanation and two specific solutions. In order not to lose the accuracy, I will first try to save the stress data as the point data and then process it. Also, I am searching ways to process the vtk data directly by using python shell. I have been searching the codes to get access to the real data, here are some codes I have: >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell However, I just have the data information, not the real stress data I need to process. And there are 118 time steps, thus 118 vtk files of my problem. I hope there is a way to process the data in python shell once and the results in all the files will change accordingly. That means I can process the stress component as the data array and do some calculations. And then save them in the old vtk file and visualize them again. That is the idea in my mind now. And actually, since the csv file records all the stress data (cell data). If I can just print all the data arrays in the csv file and store them as variables in the python shell, I can process them and save as new csv files. So actually, my question is how I can print out the data, no matter in the vtk files or the csv files by using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 1:47 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled ?Configure Writer (DataSetCSVWriter)? (after you choose a filename), change the option ?Field Association? from ?Points? to ?Cells?. If you do this option, you will only get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the ?Cell Data to Point Data? filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?) and you will also get the positional x, y, and z (labeled ?Points:0?, ?Points:1?, and ?Points:2?). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the ?Calculator? filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Tue Oct 10 10:24:32 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 10 Oct 2017 08:24:32 -0600 Subject: [Paraview] ParaViewWeb Visualizer black screen In-Reply-To: References: Message-ID: Thanks Louise for your feedback and glad you figure it out. Seb On Tue, Oct 10, 2017 at 8:21 AM, wrote: > Hi Seb, > > > > Thanks for your help. I was indeed having the same behaviour no matter > whether I ran Visualizer by the command line. The problem was that my > server had a screensaver that when activated made it so that ParaViewWeb > could only display a black screen. So for future reference: if anyone else > has problems with a pure black screen but no errors ? check to see if you > have a screensaver blacking out the screen! > > > > Kind Regards, > > > > Louise > > > > *From:* Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] > *Sent:* 02 October 2017 17:09 > *To:* Davies, Louise (STFC,RAL,SC) ; > paraview at paraview.org > > *Subject:* Re: [Paraview] ParaViewWeb Visualizer black screen > > > > Hi Louise, > > > > You are right, there is indeed more changes which might not be strait > forward for you to fix. Even if in reality, it is only a bunch of import > path to fix. > > > > Just out of curiosity, did you try to run the command line that the > launcher is running by hand and see if you have the same behavior as well > as maybe other error output? > > > > Otherwise, you right the screen size should be more than enough. > > > > Seb > > > > PS: I've added back the mailing list so others could benefit from our > discussion. > > > > On Mon, Oct 2, 2017 at 10:02 AM, wrote: > > Hi Seb, > > > > The screen size is 1920 x 1080, which seems like it should be sufficiently > large enough. It does seem as though that?s the problematic line from the > logs though? > > > > I?m currently running 5.4.0 and not the nightly/master so testing out > pvbatch over pvpython is difficult. I tried getting the nightly version > working but it seems as though there are more changes involved than just > that ? half the paths I reference are wrong (probably due to stuff changing > paths upstream, e.g. launcher.py is in a different location now) and it > seems more trouble than it?s worth to test it. > > > > Louise > > > > *From:* Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] > *Sent:* 02 October 2017 14:47 > *To:* Davies, Louise (STFC,RAL,SC) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] ParaViewWeb Visualizer black screen > > > > Hi Louise, > > > > I'm wondering how big is the display on the remote server? Even if no > screen is connected, you do need to define a display size which in your > case may be tiny by default? > > > > Otherwise, if you use the nightly binaries or paraview/master, you can > tweak your launcher config to use pvbatch instead of pvpython which > leverage a true offscreen rendering which will be then independent of the > screen resolution. But you will need to set the following environment > variable. PV_ALLOW_BATCH_INTERACTION=1 > > > > It might also be something else, but the message "window did not resize" > looked suspicious. > > > > Seb > > > > > > On Mon, Oct 2, 2017 at 6:41 AM, wrote: > > Hello, > > > > I have been trying to set up a ParaViewWeb server on my CentOS 6 machine > to run Visualizer. I have gotten to a point where the UI loads correctly > but remote rendering only displays a black screen. Not even the axes in the > bottom left are displayed. However, if I switch to local rendering mode it > works as normal. There are no errors at all in the Apache logs and the > session log starts fine but after the twisted server startup and the lines > filled with plus signs, I get the lines: > > > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] Client > has reconnected, cancelling reaper > > 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] > on_connect: connection count = 1 > > 2017-10-02 11:14:48+0100 [-] Property BeginValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureValuesFloat has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property CaptureZBuffer has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property EndValueCapture has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property Send to OpenVR has no GetData() > method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StartCaptureLuminance has no > GetData() method, skipping > > 2017-10-02 11:14:48+0100 [-] Property StopCaptureLuminance has no > GetData() method, skipping > > Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash- > linux-shared-release_superbuild/build/superbuild/ > paraview/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1093 > > vtkXOpenGLRenderWindow (0x3e184d0): warning window did not resize in the > allotted time > > > > Since it works with local rendering and not remote rendering I feel as > though it must be a problem with OpenGL, but running glxinfo shows that the > user running the launcher has access to direct rendering. > > > > Any suggestions on what could possibly be going wrong would be greatly > appreciated. > > > > Kind Regards, > > > > Louise > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Tue Oct 10 10:21:32 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Tue, 10 Oct 2017 14:21:32 +0000 Subject: [Paraview] ParaViewWeb Visualizer black screen In-Reply-To: References: Message-ID: Hi Seb, Thanks for your help. I was indeed having the same behaviour no matter whether I ran Visualizer by the command line. The problem was that my server had a screensaver that when activated made it so that ParaViewWeb could only display a black screen. So for future reference: if anyone else has problems with a pure black screen but no errors ? check to see if you have a screensaver blacking out the screen! Kind Regards, Louise From: Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] Sent: 02 October 2017 17:09 To: Davies, Louise (STFC,RAL,SC) ; paraview at paraview.org Subject: Re: [Paraview] ParaViewWeb Visualizer black screen Hi Louise, You are right, there is indeed more changes which might not be strait forward for you to fix. Even if in reality, it is only a bunch of import path to fix. Just out of curiosity, did you try to run the command line that the launcher is running by hand and see if you have the same behavior as well as maybe other error output? Otherwise, you right the screen size should be more than enough. Seb PS: I've added back the mailing list so others could benefit from our discussion. On Mon, Oct 2, 2017 at 10:02 AM, > wrote: Hi Seb, The screen size is 1920 x 1080, which seems like it should be sufficiently large enough. It does seem as though that?s the problematic line from the logs though? I?m currently running 5.4.0 and not the nightly/master so testing out pvbatch over pvpython is difficult. I tried getting the nightly version working but it seems as though there are more changes involved than just that ? half the paths I reference are wrong (probably due to stuff changing paths upstream, e.g. launcher.py is in a different location now) and it seems more trouble than it?s worth to test it. Louise From: Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] Sent: 02 October 2017 14:47 To: Davies, Louise (STFC,RAL,SC) > Cc: paraview at paraview.org Subject: Re: [Paraview] ParaViewWeb Visualizer black screen Hi Louise, I'm wondering how big is the display on the remote server? Even if no screen is connected, you do need to define a display size which in your case may be tiny by default? Otherwise, if you use the nightly binaries or paraview/master, you can tweak your launcher config to use pvbatch instead of pvpython which leverage a true offscreen rendering which will be then independent of the screen resolution. But you will need to set the following environment variable. PV_ALLOW_BATCH_INTERACTION=1 It might also be something else, but the message "window did not resize" looked suspicious. Seb On Mon, Oct 2, 2017 at 6:41 AM, > wrote: Hello, I have been trying to set up a ParaViewWeb server on my CentOS 6 machine to run Visualizer. I have gotten to a point where the UI loads correctly but remote rendering only displays a black screen. Not even the axes in the bottom left are displayed. However, if I switch to local rendering mode it works as normal. There are no errors at all in the Apache logs and the session log starts fine but after the twisted server startup and the lines filled with plus signs, I get the lines: 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] Client has reconnected, cancelling reaper 2017-10-02 11:14:48+0100 [_GenericHTTPChannelProtocol,0,127.0.0.1] on_connect: connection count = 1 2017-10-02 11:14:48+0100 [-] Property BeginValueCapture has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property CaptureValuesFloat has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property CaptureZBuffer has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property EndValueCapture has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property Send to OpenVR has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property StartCaptureLuminance has no GetData() method, skipping 2017-10-02 11:14:48+0100 [-] Property StopCaptureLuminance has no GetData() method, skipping Warning: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1093 vtkXOpenGLRenderWindow (0x3e184d0): warning window did not resize in the allotted time Since it works with local rendering and not remote rendering I feel as though it must be a problem with OpenGL, but running glxinfo shows that the user running the launcher has access to direct rendering. Any suggestions on what could possibly be going wrong would be greatly appreciated. Kind Regards, Louise _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Oct 10 13:58:14 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 10 Oct 2017 13:58:14 -0400 Subject: [Paraview] Show us what you can do with VTK and ParaView! Message-ID: Have you made cool visualizations with VTK or ParaView? Please submit them to be featured on our websites! Leading up to SC17, we will select visualizations to add to the homepage of kitware.com. As a thank you, each person who submits a selected visualization will receive a Kitware polo shirt. In addition to the visualizations featured on kitware.com, we will add various submissions to the galleries on vtk.org and paraview.org. Ready to submit? Here are some guidelines: - Please email submissions to comm at kitware.com, and indicate whether they were made with VTK or ParaView. Alternatively, share them with us on Twitter by tagging @Kitware and adding #RenderedInVTK or #RenderedInParaView. - Visualizations should be high resolution (at least 2000x2000 pixels and 72 dpi). - Please include the acknowledgement that you would like to accompany each visualization online. - Please also include descriptive information for each visualization (e.g., the science behind the pretty picture, dataset specifications, the application of the visualization to HPC, etc.). We look forward to your visualizations! For inspiration, check out these results from a few years back: https://blog.kitware.com/videos-contributed-by-collaborators-for-sc14/. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Tue Oct 10 14:18:04 2017 From: heiland at iu.edu (Heiland, Randy) Date: Tue, 10 Oct 2017 18:18:04 +0000 Subject: [Paraview] reading MATLAB file Message-ID: Hello, I have some matlab files I?d like to get into PV. Initially, the data is quite simple: sphere centers, radii, color attribute (a few 100K spheres). In the past, I?ve manually converted the files into .vtk formats using Python w/ scipy to load/parse the .mat files. But I?d like to avoid creating additional files and just read the .mat files directly. I *think* I?d like to do this w/ Python still (but without creating files), if that?s an option. Basically, I?d welcome suggestions for the simplest approach, at least initially. I?m not terribly concerned about the ?slowness? of Python reading/converting the .mat files. Using PV 5.4.1. And the solution needs to be easily adopted by others who will be using PV. I?m sure there are concerns that I?ve side-stepped, e.g. would I ever want to use it in client/server mode, etc. I?ve seen https://www.paraview.org/Wiki/Plugin_HowTo and I was also curious if a ?Programmable Source? would be an option. thanks! (and it?s nice to re-join the community after a long absence) -Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From tengli2 at illinois.edu Tue Oct 10 16:11:20 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Tue, 10 Oct 2017 20:11:20 +0000 Subject: [Paraview] Saving as csv data In-Reply-To: <8338E75E-B4FE-4CEC-BCF2-646FB0CC8F94@sandia.gov> References: <8338E75E-B4FE-4CEC-BCF2-646FB0CC8F94@sandia.gov> Message-ID: <81A18720EB4BBA489B6552676D14533C67C29F4E@chimbx4.ad.uillinois.edu> Hi Kenneth, Thanks for your detailed explanation! I think I have to learn Paraview python carefully. And could you give me some resources to learn the paraview python function details, such as GetComponent(a,b) and other numerical operations? Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Tuesday, October 10, 2017 9:16 AM To: Li, Teng; paraview at paraview.org Subject: Re: [Paraview] Saving as csv data The first parameter of GetComponent is the tuple you pull and the second parameter is the component of the tuple. Calling GetComponent(5,1) gets the 2nd component (stress_y, index 1) of the 6th stress value (index 5). Although GetComponent(1,5) technically works, you are actually asking for the 6th component (index 5) of the 2nd value (index 1). Since there are only 3 components and VTK does not check array bounds, you actually get the 3rd component of the following tuple. Alternatively, I suggest you call GetTuple(). It takes one argument, the index to the stress value. It returns a Python triple with the 3 stress values. -Ken From: "Li, Teng" Date: Monday, October 9, 2017 at 8:34 PM To: "Moreland, Kenneth" , "paraview at paraview.org" Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thanks! I am now able to go further. And now I know there is only one array, array 0 in my data. And I have three components in it. I guess they are: stress_x, stress_y, stress_xy. However, after searching some information, I still can not figure out the data structure of .stress.GetComponent(a,b). I do not know the meaning of a and b. Please find the codes: >>> a = GetActiveSource() >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> rawData (vtkCommonDataModelPython.vtkUnstructuredGrid)00000077A55E0588 >>> data_cell = rawData.GetCellData() >>> data_cell (vtkCommonDataModelPython.vtkCellData)00000077A5564FA8 >>> stress = data_cell.GetArray(0) >>> stress (vtkCommonCorePython.vtkDoubleArray)00000077A55E0048 >>> stress.GetComponent(1,5) -4059988.0 >>> stress.GetComponent(5,1) -5031060.0 As we can see, I use 1 and 5 for both a and b. However, both cases are right. It is strange because there should be only three components. Could you help me to figure out the meanings of a and b in GetComponent(a,b)? And whether I can use the : to extract all the data in a certain dimension, say row or column. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 4:15 PM To: Li, Teng; paraview at paraview.org Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Teng, GetCellData is a function. You have to call the function by adding parentheses to the call. Specifically, change data_cell = rawData.GetCellData to data_cell = rawData.GetCellData() That will return a class from which you can pull the data array for the stress field. (For example, data_cell.GetArray(0).) -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Monday, October 9, 2017 2:23 PM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thank you for your detailed explanation and two specific solutions. In order not to lose the accuracy, I will first try to save the stress data as the point data and then process it. Also, I am searching ways to process the vtk data directly by using python shell. I have been searching the codes to get access to the real data, here are some codes I have: >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell However, I just have the data information, not the real stress data I need to process. And there are 118 time steps, thus 118 vtk files of my problem. I hope there is a way to process the data in python shell once and the results in all the files will change accordingly. That means I can process the stress component as the data array and do some calculations. And then save them in the old vtk file and visualize them again. That is the idea in my mind now. And actually, since the csv file records all the stress data (cell data). If I can just print all the data arrays in the csv file and store them as variables in the python shell, I can process them and save as new csv files. So actually, my question is how I can print out the data, no matter in the vtk files or the csv files by using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 1:47 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled ?Configure Writer (DataSetCSVWriter)? (after you choose a filename), change the option ?Field Association? from ?Points? to ?Cells?. If you do this option, you will only get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the ?Cell Data to Point Data? filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?) and you will also get the positional x, y, and z (labeled ?Points:0?, ?Points:1?, and ?Points:2?). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the ?Calculator? filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Tue Oct 10 17:57:44 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Tue, 10 Oct 2017 21:57:44 +0000 Subject: [Paraview] Saving as csv data Message-ID: <65b5c5c407dc45d18c510b64f6a308bd@ES08AMSNLNT.srn.sandia.gov> Teng, Once you have called servermanager.Fetch(), you are given a raw VTK object. There are literally books written about using the VTK library. You could consult the VTK Textbook (https://www.vtk.org/vtk-textbook/), and the VTK User's Guide (https://www.vtk.org/vtk-textbook/), both of which you can get for free as a pdf file. You can also consult the Doxygen documentation generated for all VTK classes (http://www.vtk.org/doc/nightly/html). Unfortunately, almost all of the documentation for VTK is geared to using it in C++ since that is its native language. However, the Python bindings that you are using are very similar and it is easy to convert from one to the other. -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Tuesday, October 10, 2017 2:11 PM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Kenneth, Thanks for your detailed explanation! I think I have to learn Paraview python carefully. And could you give me some resources to learn the paraview python function details, such as GetComponent(a,b) and other numerical operations? Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Tuesday, October 10, 2017 9:16 AM To: Li, Teng; paraview at paraview.org Subject: Re: [Paraview] Saving as csv data The first parameter of GetComponent is the tuple you pull and the second parameter is the component of the tuple. Calling GetComponent(5,1) gets the 2nd component (stress_y, index 1) of the 6th stress value (index 5). Although GetComponent(1,5) technically works, you are actually asking for the 6th component (index 5) of the 2nd value (index 1). Since there are only 3 components and VTK does not check array bounds, you actually get the 3rd component of the following tuple. Alternatively, I suggest you call GetTuple(). It takes one argument, the index to the stress value. It returns a Python triple with the 3 stress values. -Ken From: "Li, Teng" > Date: Monday, October 9, 2017 at 8:34 PM To: "Moreland, Kenneth" >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thanks! I am now able to go further. And now I know there is only one array, array 0 in my data. And I have three components in it. I guess they are: stress_x, stress_y, stress_xy. However, after searching some information, I still can not figure out the data structure of .stress.GetComponent(a,b). I do not know the meaning of a and b. Please find the codes: >>> a = GetActiveSource() >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> rawData (vtkCommonDataModelPython.vtkUnstructuredGrid)00000077A55E0588 >>> data_cell = rawData.GetCellData() >>> data_cell (vtkCommonDataModelPython.vtkCellData)00000077A5564FA8 >>> stress = data_cell.GetArray(0) >>> stress (vtkCommonCorePython.vtkDoubleArray)00000077A55E0048 >>> stress.GetComponent(1,5) -4059988.0 >>> stress.GetComponent(5,1) -5031060.0 As we can see, I use 1 and 5 for both a and b. However, both cases are right. It is strange because there should be only three components. Could you help me to figure out the meanings of a and b in GetComponent(a,b)? And whether I can use the : to extract all the data in a certain dimension, say row or column. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 4:15 PM To: Li, Teng; paraview at paraview.org Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Teng, GetCellData is a function. You have to call the function by adding parentheses to the call. Specifically, change data_cell = rawData.GetCellData to data_cell = rawData.GetCellData() That will return a class from which you can pull the data array for the stress field. (For example, data_cell.GetArray(0).) -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Monday, October 9, 2017 2:23 PM To: Moreland, Kenneth >; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thank you for your detailed explanation and two specific solutions. In order not to lose the accuracy, I will first try to save the stress data as the point data and then process it. Also, I am searching ways to process the vtk data directly by using python shell. I have been searching the codes to get access to the real data, here are some codes I have: >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell However, I just have the data information, not the real stress data I need to process. And there are 118 time steps, thus 118 vtk files of my problem. I hope there is a way to process the data in python shell once and the results in all the files will change accordingly. That means I can process the stress component as the data array and do some calculations. And then save them in the old vtk file and visualize them again. That is the idea in my mind now. And actually, since the csv file records all the stress data (cell data). If I can just print all the data arrays in the csv file and store them as variables in the python shell, I can process them and save as new csv files. So actually, my question is how I can print out the data, no matter in the vtk files or the csv files by using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 1:47 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled "Configure Writer (DataSetCSVWriter)" (after you choose a filename), change the option "Field Association" from "Points" to "Cells". If you do this option, you will only get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2"). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the "Cell Data to Point Data" filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled "stress:0", "stress:1", and "stress:2") and you will also get the positional x, y, and z (labeled "Points:0", "Points:1", and "Points:2"). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the "Calculator" filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrealphus at gmail.com Tue Oct 10 18:59:22 2017 From: andrealphus at gmail.com (A) Date: Tue, 10 Oct 2017 15:59:22 -0700 Subject: [Paraview] programmable filter, OK in serial, FAILS in mpi Message-ID: I normally run Paraview on my workstation with mpi support (14 cores). It's been working fine like this for a year. For some reason however, the debug/output messages windows dont work when running in mpi (e.g. print "hello", returns nothing). But they do work when I turn mpi off. I recently wrote a few new programmable filters, and while they work perfectly with mpi off, the hand and dont do anything with mpi on. Any idea? -ashton p.s. heres one of the filters for example; from paraview.numpy_support import vtk_to_numpy import vtkCommonDataModelPython import numpy as np from scipy.optimize import curve_fit if type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkPolyData: g = 0 p = 1 elif type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkPolyData: g = 1 p = 0 else: print('ERROR') return # import the grid Vs = inputs[g].PointData['Vs'] depth = inputs[g].PointData['depth'] z = inputs[0].PointData['z'] # setup output output.PointData.append(Vs, 'Vs') output.PointData.append(depth, 'depth') output.PointData.append(z, 'z') # import the profile Vs_profile = inputs[p].PointData['Vs'] depth_profile = inputs[p].PointData['depth'] def func(x, a, b, c, d,e): return a + b*x + c*x**2 + d*x**3 + e*x**4 nanx = np.argwhere(np.isnan(depth_profile)) nany = np.argwhere(np.isnan(Vs_profile)) nani = np.unique(np.append(nanx,nany)) xdata = numpy.delete(depth_profile, nani) ydata = numpy.delete(Vs_profile, nani) popt, pcov1 = curve_fit(func, xdata, ydata) Vs_theory = popt[0] + popt[1]*depth + popt[2]*depth**2 + popt[3]*depth**3 + popt[4]*depth**4 diff = Vs - Vs_theory per_diff=100*diff/Vs_theory output.PointData.append(per_diff, 'perturbation') -------------- next part -------------- An HTML attachment was scrubbed... URL: From tengli2 at illinois.edu Tue Oct 10 20:58:06 2017 From: tengli2 at illinois.edu (Li, Teng) Date: Wed, 11 Oct 2017 00:58:06 +0000 Subject: [Paraview] Saving as csv data In-Reply-To: <65b5c5c407dc45d18c510b64f6a308bd@ES08AMSNLNT.srn.sandia.gov> References: <65b5c5c407dc45d18c510b64f6a308bd@ES08AMSNLNT.srn.sandia.gov> Message-ID: <81A18720EB4BBA489B6552676D14533C67C2A0F5@chimbx4.ad.uillinois.edu> Hi Kenneth, Thanks for your information. I will download these files and learn more about VTK files. And I will find resources to learn more about both Python and C++. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Tuesday, October 10, 2017 4:57 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, Once you have called servermanager.Fetch(), you are given a raw VTK object. There are literally books written about using the VTK library. You could consult the VTK Textbook (https://www.vtk.org/vtk-textbook/), and the VTK User?s Guide (https://www.vtk.org/vtk-textbook/), both of which you can get for free as a pdf file. You can also consult the Doxygen documentation generated for all VTK classes (http://www.vtk.org/doc/nightly/html). Unfortunately, almost all of the documentation for VTK is geared to using it in C++ since that is its native language. However, the Python bindings that you are using are very similar and it is easy to convert from one to the other. -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Tuesday, October 10, 2017 2:11 PM To: Moreland, Kenneth ; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Kenneth, Thanks for your detailed explanation! I think I have to learn Paraview python carefully. And could you give me some resources to learn the paraview python function details, such as GetComponent(a,b) and other numerical operations? Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Tuesday, October 10, 2017 9:16 AM To: Li, Teng; paraview at paraview.org Subject: Re: [Paraview] Saving as csv data The first parameter of GetComponent is the tuple you pull and the second parameter is the component of the tuple. Calling GetComponent(5,1) gets the 2nd component (stress_y, index 1) of the 6th stress value (index 5). Although GetComponent(1,5) technically works, you are actually asking for the 6th component (index 5) of the 2nd value (index 1). Since there are only 3 components and VTK does not check array bounds, you actually get the 3rd component of the following tuple. Alternatively, I suggest you call GetTuple(). It takes one argument, the index to the stress value. It returns a Python triple with the 3 stress values. -Ken From: "Li, Teng" > Date: Monday, October 9, 2017 at 8:34 PM To: "Moreland, Kenneth" >, "paraview at paraview.org" > Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thanks! I am now able to go further. And now I know there is only one array, array 0 in my data. And I have three components in it. I guess they are: stress_x, stress_y, stress_xy. However, after searching some information, I still can not figure out the data structure of .stress.GetComponent(a,b). I do not know the meaning of a and b. Please find the codes: >>> a = GetActiveSource() >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> rawData (vtkCommonDataModelPython.vtkUnstructuredGrid)00000077A55E0588 >>> data_cell = rawData.GetCellData() >>> data_cell (vtkCommonDataModelPython.vtkCellData)00000077A5564FA8 >>> stress = data_cell.GetArray(0) >>> stress (vtkCommonCorePython.vtkDoubleArray)00000077A55E0048 >>> stress.GetComponent(1,5) -4059988.0 >>> stress.GetComponent(5,1) -5031060.0 As we can see, I use 1 and 5 for both a and b. However, both cases are right. It is strange because there should be only three components. Could you help me to figure out the meanings of a and b in GetComponent(a,b)? And whether I can use the : to extract all the data in a certain dimension, say row or column. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 4:15 PM To: Li, Teng; paraview at paraview.org Subject: RE: [EXTERNAL] RE: [Paraview] Saving as csv data Teng, GetCellData is a function. You have to call the function by adding parentheses to the call. Specifically, change data_cell = rawData.GetCellData to data_cell = rawData.GetCellData() That will return a class from which you can pull the data array for the stress field. (For example, data_cell.GetArray(0).) -Ken From: Li, Teng [mailto:tengli2 at illinois.edu] Sent: Monday, October 9, 2017 2:23 PM To: Moreland, Kenneth >; paraview at paraview.org Subject: [EXTERNAL] RE: [Paraview] Saving as csv data Hi Moreland, Thank you for your detailed explanation and two specific solutions. In order not to lose the accuracy, I will first try to save the stress data as the point data and then process it. Also, I am searching ways to process the vtk data directly by using python shell. I have been searching the codes to get access to the real data, here are some codes I have: >>> a =GetActiveSource() # First highlight the stress vtk file in pipeline. >>> a >>> a.UpdatePipeline() >>> rawData = servermanager.Fetch(a) >>> data_cell = rawData.CELL_DATA_FIELD >>> data_cell >>> data_cell = rawData.GetCellData >>> data_cell >>> print data_cell However, I just have the data information, not the real stress data I need to process. And there are 118 time steps, thus 118 vtk files of my problem. I hope there is a way to process the data in python shell once and the results in all the files will change accordingly. That means I can process the stress component as the data array and do some calculations. And then save them in the old vtk file and visualize them again. That is the idea in my mind now. And actually, since the csv file records all the stress data (cell data). If I can just print all the data arrays in the csv file and store them as variables in the python shell, I can process them and save as new csv files. So actually, my question is how I can print out the data, no matter in the vtk files or the csv files by using python shell. Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu ________________________________ From: Moreland, Kenneth [kmorel at sandia.gov] Sent: Monday, October 09, 2017 1:47 PM To: Li, Teng; paraview at paraview.org Subject: RE: [Paraview] Saving as csv data Teng, The issue is that your stress field data is associated with the cells and you are writing out the point data in your csv file. Thus, the stress data is not being written. There are two solutions, both with flaws: Solution 1: When you get the dialog box labeled ?Configure Writer (DataSetCSVWriter)? (after you choose a filename), change the option ?Field Association? from ?Points? to ?Cells?. If you do this option, you will only get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?). You will not get the x, y, z information for the placement of the points. Solution 2: Before writing out the csv file, run the ?Cell Data to Point Data? filter. Then write out the csv file with point data as you have been doing. You will get the x, y, and z for the stress (labeled ?stress:0?, ?stress:1?, and ?stress:2?) and you will also get the positional x, y, and z (labeled ?Points:0?, ?Points:1?, and ?Points:2?). The problem with this solution is that it will alter the stress data slightly by averaging values of adjacent cells to points. Also note that neither of these options will automatically write out the magnitude of the stress. To write out the stress magnitude, first run the ?Calculator? filter to compute the magnitude of the stress vectors. -Ken From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Li, Teng Sent: Monday, October 9, 2017 11:17 AM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Saving as csv data Hi all, I have a question about saving vtk data in a csv file. Please find the following link for the vtk file: https://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NbGlfTm9odlZpa2M/view?usp=sharing I expected to see 7 components in the csv file I saved: x, y, z, stress_x, stress_y, stress_z, stress_magnitude. However, in the csv file I saved, there are only three columns of data. Please find the csv file I saved: https://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharinghttps://drive.google.com/file/d/0B-Dmy2O1v21NeWZnejVqbHEzME0/view?usp=sharing I saved the vtk file by first highlighting the vtk file in the pipeline, and then click save data. Then I used the default settings. Is there anything wrong in my saving process? Thanks! Best, Teng Teng Li Master Candidate in Structures Department of Civil and Environmental Engineering University of Illinois at Urbana-Champaign 205 North Mathews Ave, Urbana, IL. 61801 Phone:(217)8196210, Email: tengli2 at illinois.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezhkr601 at student.liu.se Wed Oct 11 10:14:58 2017 From: ezhkr601 at student.liu.se (Ezhilmathi Krishnasamy) Date: Wed, 11 Oct 2017 16:14:58 +0200 Subject: [Paraview] Lambda-2 vortices computation In-Reply-To: References: Message-ID: Hi Andy, Thanks it worked! and also there is a forum discussion about it. https://www.paraview.org/pipermail/paraview/2017-June/040299.html Kind regards, Mathi On 7 October 2017 at 13:27, Andy Bauer wrote: > Hi, > > I think the best way is to use the Gradient of Unstructured DataSet filter > to compute the velocity gradient and then use the Calculator or Python > Calculator filter to compute lambda-2. > > Cheers, > Andy > > On Fri, Oct 6, 2017 at 4:40 PM, Ezhilmathi Krishnasamy < > ezhkr601 at student.liu.se> wrote: > >> Hi, >> >> Could anyone tell me how to calculate the lambda-2 vorticity computation >> in >> Paraview. >> >> Kind regards, >> Mathi >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezhkr601 at student.liu.se Wed Oct 11 10:17:19 2017 From: ezhkr601 at student.liu.se (Ezhilmathi Krishnasamy) Date: Wed, 11 Oct 2017 16:17:19 +0200 Subject: [Paraview] [paraview] visualize higher order element. In-Reply-To: References: Message-ID: Hi Andy, Any idea or info about this extracting the surface of the geometry in higher order element mesh (or solution). Kind regards, Mathi On 20 September 2017 at 21:32, Ezhilmathi Krishnasamy < ezhkr601 at student.liu.se> wrote: > Hi Andy, > > Thanks! > > I am attaching you the image here, I would like to see the sphere surface > inside the > cube. Instead I am still seeing the elements. > > Kind regards, > Mathi? > sol.vtu > > ? > > On 20 September 2017 at 21:15, Andy Bauer wrote: > >> Hi, >> >> What do you mean by the extract operator? ParaView has a variety of >> filters (similar to VisIt's operators) for performing extracts of different >> types. Could you also share your dataset? That may make it easier to >> diagnose the issue. >> >> Best, >> Andy >> >> On Wed, Sep 20, 2017 at 2:33 PM, Ezhilmathi Krishnasamy < >> ezhkr601 at student.liu.se> wrote: >> >>> Hi, >>> >>> I have fluid domain as a cube and inside this cube I have sphere. In the >>> linear element mesh if I use extract operator and apply the clip as well I >>> can see the sphere surface. >>> >>> But where as in higher order element mesh. >>> If i follow the same procedure, I don't see the sphere surface instead I >>> see only the elements in the cube. >>> >>> Could anyone please tell me how to solve this problem. >>> >>> Kind regards, >>> Mathi >>> >>> >>> Sent from my iPhone >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Oct 11 11:47:56 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 11 Oct 2017 11:47:56 -0400 Subject: [Paraview] [paraview] visualize higher order element. In-Reply-To: References: Message-ID: Hi Mathi, When I looked at the file in ParaView it seems like the connectivity is wrong with your cells. If you try the Clean to Grid filter that should fix your problem. I would suggest fixing the connectivity though as the best way to manage the data since the Clean to Grid filter will merge coincident points and may inadvertently mess up your point data fields for the coincident points. Note that the Clean to Grid filter reduced the number of points in your grid from 2,006,480 to 451,792. Cheers, Andy On Wed, Oct 11, 2017 at 10:17 AM, Ezhilmathi Krishnasamy < ezhkr601 at student.liu.se> wrote: > Hi Andy, > > Any idea or info about this extracting the surface of the geometry > in higher order element mesh (or solution). > > Kind regards, > Mathi > > On 20 September 2017 at 21:32, Ezhilmathi Krishnasamy < > ezhkr601 at student.liu.se> wrote: > >> Hi Andy, >> >> Thanks! >> >> I am attaching you the image here, I would like to see the sphere surface >> inside the >> cube. Instead I am still seeing the elements. >> >> Kind regards, >> Mathi? >> sol.vtu >> >> ? >> >> On 20 September 2017 at 21:15, Andy Bauer wrote: >> >>> Hi, >>> >>> What do you mean by the extract operator? ParaView has a variety of >>> filters (similar to VisIt's operators) for performing extracts of different >>> types. Could you also share your dataset? That may make it easier to >>> diagnose the issue. >>> >>> Best, >>> Andy >>> >>> On Wed, Sep 20, 2017 at 2:33 PM, Ezhilmathi Krishnasamy < >>> ezhkr601 at student.liu.se> wrote: >>> >>>> Hi, >>>> >>>> I have fluid domain as a cube and inside this cube I have sphere. In >>>> the linear element mesh if I use extract operator and apply the clip as >>>> well I can see the sphere surface. >>>> >>>> But where as in higher order element mesh. >>>> If i follow the same procedure, I don't see the sphere surface instead >>>> I see only the elements in the cube. >>>> >>>> Could anyone please tell me how to solve this problem. >>>> >>>> Kind regards, >>>> Mathi >>>> >>>> >>>> Sent from my iPhone >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Wed Oct 11 13:23:07 2017 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 11 Oct 2017 13:23:07 -0400 Subject: [Paraview] programmable filter, OK in serial, FAILS in mpi In-Reply-To: References: Message-ID: Hi Andre, Are you running pvserver explicitly? If you run it explicitly and connect with the GUI to it, the output of print statements should show up on the terminal you ran mpiexec/mpirun on. Once you do that and we know what the error is, I should be able to help more. PS: What is your data source? (file format?) Best, -berk On Tue, Oct 10, 2017 at 6:59 PM, A wrote: > I normally run Paraview on my workstation with mpi support (14 cores). > It's been working fine like this for a year. > > For some reason however, the debug/output messages windows dont work when > running in mpi (e.g. print "hello", returns nothing). But they do work when > I turn mpi off. > > I recently wrote a few new programmable filters, and while they work > perfectly with mpi off, the hand and dont do anything with mpi on. > > Any idea? > > -ashton > > p.s. heres one of the filters for example; > > from paraview.numpy_support import vtk_to_numpy > > import vtkCommonDataModelPython > > import numpy as np > > from scipy.optimize import curve_fit > > > if type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkPolyData: > > g = 0 > > p = 1 > > elif type(self.GetInputDataObject(0,1)) is vtkCommonDataModelPython.vtkUnstructuredGrid and type(self.GetInputDataObject(0,0)) is vtkCommonDataModelPython.vtkPolyData: > > g = 1 > > p = 0 > > else: > > print('ERROR') > > return > > > # import the grid > > Vs = inputs[g].PointData['Vs'] > > depth = inputs[g].PointData['depth'] > > z = inputs[0].PointData['z'] > > > # setup output > > output.PointData.append(Vs, 'Vs') > > output.PointData.append(depth, 'depth') > > output.PointData.append(z, 'z') > > > # import the profile > > Vs_profile = inputs[p].PointData['Vs'] > > depth_profile = inputs[p].PointData['depth'] > > > def func(x, a, b, c, d,e): > > return a + b*x + c*x**2 + d*x**3 + e*x**4 > > > nanx = np.argwhere(np.isnan(depth_profile)) > > nany = np.argwhere(np.isnan(Vs_profile)) > > nani = np.unique(np.append(nanx,nany)) > > xdata = numpy.delete(depth_profile, nani) > > ydata = numpy.delete(Vs_profile, nani) > > > popt, pcov1 = curve_fit(func, xdata, ydata) > > > > Vs_theory = popt[0] + popt[1]*depth + popt[2]*depth**2 + popt[3]*depth**3 + popt[4]*depth**4 > > > diff = Vs - Vs_theory > > per_diff=100*diff/Vs_theory > > output.PointData.append(per_diff, 'perturbation') > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Wed Oct 11 13:24:25 2017 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 11 Oct 2017 13:24:25 -0400 Subject: [Paraview] reading MATLAB file In-Reply-To: References: Message-ID: Is there a Python API to read .mat files? What is the underlying structure? I kind of remember them using HDF5 for some stuff... On Tue, Oct 10, 2017 at 2:18 PM, Heiland, Randy wrote: > Hello, > > I have some matlab files I?d like to get into PV. Initially, the data is > quite simple: sphere centers, radii, color attribute (a few 100K spheres). > In the past, I?ve manually converted the files into .vtk formats using > Python w/ scipy to load/parse the .mat files. But I?d like to avoid > creating additional files and just read the .mat files directly. > > I *think* I?d like to do this w/ Python still (but without creating > files), if that?s an option. Basically, I?d welcome suggestions for the > simplest approach, at least initially. I?m not terribly concerned about the > ?slowness? of Python reading/converting the .mat files. > > Using PV 5.4.1. And the solution needs to be easily adopted by others who > will be using PV. > > I?m sure there are concerns that I?ve side-stepped, e.g. would I ever want > to use it in client/server mode, etc. > > I?ve seen https://www.paraview.org/Wiki/Plugin_HowTo and I was also > curious if a ?Programmable Source? would be an option. > > thanks! (and it?s nice to re-join the community after a long absence) > -Randy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Oct 11 14:07:34 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 11 Oct 2017 18:07:34 +0000 Subject: [Paraview] 2d decimation Message-ID: I tried the decimation filter on a slice, and it ended up with huge holes. Is this a fool's errand, or should we be able to decimate a slice and not have holes? Do we need a new filter - decimate2d? Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 11 16:10:02 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 11 Oct 2017 20:10:02 +0000 Subject: [Paraview] reading MATLAB file In-Reply-To: References: Message-ID: <557787BA-B34E-4F9F-B43E-F0151B84A46A@iu.edu> Not sure, but think it?s irrelevant for my particular use. I'm going to try the Programmable Source (Python script) approach (and use scipy.io.loadmat to read my .mat file). Maybe I missed it - is there a way to read in this script from a file? (copy/pasting into the Pgmable Source widget certainly works; just asking) Thanks! > On Oct 11, 2017, at 1:24 PM, Berk Geveci wrote: > > Is there a Python API to read .mat files? What is the underlying structure? I kind of remember them using HDF5 for some stuff... > > On Tue, Oct 10, 2017 at 2:18 PM, Heiland, Randy > wrote: > Hello, > > I have some matlab files I?d like to get into PV. Initially, the data is quite simple: sphere centers, radii, color attribute (a few 100K spheres). In the past, I?ve manually converted the files into .vtk formats using Python w/ scipy to load/parse the .mat files. But I?d like to avoid creating additional files and just read the .mat files directly. > > I *think* I?d like to do this w/ Python still (but without creating files), if that?s an option. Basically, I?d welcome suggestions for the simplest approach, at least initially. I?m not terribly concerned about the ?slowness? of Python reading/converting the .mat files. > > Using PV 5.4.1. And the solution needs to be easily adopted by others who will be using PV. > > I?m sure there are concerns that I?ve side-stepped, e.g. would I ever want to use it in client/server mode, etc. > > I?ve seen https://www.paraview.org/Wiki/Plugin_HowTo and I was also curious if a ?Programmable Source? would be an option. > > thanks! (and it?s nice to re-join the community after a long absence) > -Randy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From heiland at iu.edu Wed Oct 11 21:48:31 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 12 Oct 2017 01:48:31 +0000 Subject: [Paraview] simple Programmable Source Message-ID: <2A4C7CD3-7643-4B0A-940F-CF15D889DC57@iu.edu> I create the following in the Pgmable Source in PV, but cannot figure out how to color the resulting points or 3D glyphs using the scalar values. What am I missing? -Randy # Get a vtk.PolyData object for the output pdo = self.GetPolyDataOutput() # Create points num_pts = 3 newPts = vtk.vtkPoints() scalars = vtk.vtkFloatArray() xval = -1.0 for idx in range(0, num_pts): # rf. PhysiCell User Guide for these array indices to a cell's position. x = xval y = 0.0 z = 0.0 newPts.InsertPoint(idx, x,y,z) sval = xval*2 scalars.InsertNextValue(sval) xval += 1.0 # Add the points to the vtkPolyData object. pdo.SetPoints(newPts) pdo.GetPointData().SetScalars(scalars) verts = vtk.vtkCellArray() for idx in range(0, num_pts): verts.InsertNextCell(1) verts.InsertCellPoint(idx) pdo.SetVerts(verts) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From cory.quammen at kitware.com Wed Oct 11 23:10:14 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 11 Oct 2017 23:10:14 -0400 Subject: [Paraview] simple Programmable Source In-Reply-To: <2A4C7CD3-7643-4B0A-940F-CF15D889DC57@iu.edu> References: <2A4C7CD3-7643-4B0A-940F-CF15D889DC57@iu.edu> Message-ID: Randy, Try setting a name on the array with scalars.SetName('array_name') This should let you select this array as the color array in ParaView. - Cory On Wed, Oct 11, 2017 at 9:48 PM, Heiland, Randy wrote: > I create the following in the Pgmable Source in PV, but cannot figure out > how to color the resulting points or 3D glyphs using the scalar values. > What am I missing? > -Randy > > # Get a vtk.PolyData object for the output > pdo = self.GetPolyDataOutput() > > # Create points > num_pts = 3 > newPts = vtk.vtkPoints() > scalars = vtk.vtkFloatArray() > > xval = -1.0 > for idx in range(0, num_pts): > # rf. PhysiCell User Guide for these array indices to a cell's position. > x = xval > y = 0.0 > z = 0.0 > newPts.InsertPoint(idx, x,y,z) > sval = xval*2 > scalars.InsertNextValue(sval) > xval += 1.0 > > # Add the points to the vtkPolyData object. > pdo.SetPoints(newPts) > pdo.GetPointData().SetScalars(scalars) > > verts = vtk.vtkCellArray() > for idx in range(0, num_pts): > verts.InsertNextCell(1) > verts.InsertCellPoint(idx) > > pdo.SetVerts(verts) > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Thu Oct 12 05:10:24 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 12 Oct 2017 09:10:24 +0000 Subject: [Paraview] simple Programmable Source In-Reply-To: References: <2A4C7CD3-7643-4B0A-940F-CF15D889DC57@iu.edu> Message-ID: Yes! (banging forehead) Thanks very much, Cory. > On Oct 11, 2017, at 11:10 PM, Cory Quammen wrote: > > Randy, > > Try setting a name on the array with > > scalars.SetName('array_name') > > This should let you select this array as the color array in ParaView. > > - Cory > > On Wed, Oct 11, 2017 at 9:48 PM, Heiland, Randy > wrote: > I create the following in the Pgmable Source in PV, but cannot figure out how to color the resulting points or 3D glyphs using the scalar values. What am I missing? > -Randy > > # Get a vtk.PolyData object for the output > pdo = self.GetPolyDataOutput() > > # Create points > num_pts = 3 > newPts = vtk.vtkPoints() > scalars = vtk.vtkFloatArray() > > xval = -1.0 > for idx in range(0, num_pts): > # rf. PhysiCell User Guide for these array indices to a cell's position. > x = xval > y = 0.0 > z = 0.0 > newPts.InsertPoint(idx, x,y,z) > sval = xval*2 > scalars.InsertNextValue(sval) > xval += 1.0 > > # Add the points to the vtkPolyData object. > pdo.SetPoints(newPts) > pdo.GetPointData().SetScalars(scalars) > > verts = vtk.vtkCellArray() > for idx in range(0, num_pts): > verts.InsertNextCell(1) > verts.InsertCellPoint(idx) > > pdo.SetVerts(verts) > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From christophe.trophime at lncmi.cnrs.fr Thu Oct 12 05:41:46 2017 From: christophe.trophime at lncmi.cnrs.fr (Christophe Trophime) Date: Thu, 12 Oct 2017 11:41:46 +0200 (CEST) Subject: [Paraview] Paraview 5.4.1 FTBS on Debian/Testing with gcc 7.2 when -DPARAVIEW_USE_VISITBRIDGE=ON In-Reply-To: <1059285968.3194278.1507801022555.JavaMail.zimbra@lncmi.cnrs.fr> Message-ID: <232990513.3196790.1507801306609.JavaMail.zimbra@lncmi.cnrs.fr> Hi, trying to rebuild latest paraview with -DPARAVIEW_USE_VISITBRIDGE=ON on Debian/testing with gcc 7.2 I run into this error: /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -g -O2 -fdebug-prefix-map=/build/paraview-5.4.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -std=c++11 -o CMakeFiles/vtkPVVTKExtensionsRenderingPythonD.dir/vtkZlibImageCompressorPython.cxx.o -c /build/paraview-5.4.1/obj-x86_64-linux-gnu/VTK/Wrapping/Python/vtkZlibImageCompressorPython.cxx /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In constructor 'VsStaggeredField::VsStaggeredField(size_t)': /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:30:24: error: 'class std::valarray' has no member named 'clear' this->oriCellDimProd.clear(); ^~~~~ /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:31:21: error: 'class std::valarray' has no member named 'clear' this->newCellDims.clear(); ^~~~~ /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:32:24: error: 'class std::valarray' has no member named 'clear' this->newCellDimProd.clear(); ^~~~~ /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In member function 'void VsStaggeredField::getNewNodalData(TYPE*) const': /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:51: error: no match for 'operator*' (operand types are 'std::valarray' and 'const size_t {aka const long unsigned int}') std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1174:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const _Tp&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/valarray:1174:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types 'const std::valarray<_Tp>' and 'const size_t {aka const long unsigned int}' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1174:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::valarray<_Tp>&, const _Tp&) _DEFINE_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/valarray:1174:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'size_t {aka long unsigned int}') std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1174:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::valarray<_Tp>&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/valarray:1174:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types 'const std::valarray<_Tp>' and 'const size_t {aka const long unsigned int}' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:404:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::valarray&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const size_t {aka const long unsigned int}' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:404:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray&) _DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: 'std::valarray' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:404:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'const size_t {aka const long unsigned int}' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:404:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&) _DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: 'std::valarray' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:404:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator*(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(*, __multiplies) ^ /usr/include/c++/7/bits/valarray_after.h:404:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:139:58: note: 'std::valarray' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' std::valarray newCellInds = oriCellInds*this->numNeighbors + subCellInds; ^~~~~~~~~~~~ /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In member function 'std::valarray VsStaggeredField::getOriCellIndexSet(size_t) const': /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:20: error: no match for 'operator/' (operand types are 'size_t {aka long unsigned int}' and 'const std::valarray') return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1175:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const _Tp&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/valarray:1175:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: deduced conflicting types for parameter '_Tp' ('long unsigned int' and 'int') return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1175:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::valarray<_Tp>&, const _Tp&) _DEFINE_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/valarray:1175:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types 'const std::valarray<_Tp>' and 'size_t {aka long unsigned int}' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/valarray:1175:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::valarray<_Tp>&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/valarray:1175:1: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types 'const std::valarray<_Tp>' and 'size_t {aka long unsigned int}' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:405:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::valarray&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: 'const std::valarray' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:405:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray&) _DEFINE_EXPR_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'size_t {aka long unsigned int}' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:405:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: 'const std::valarray' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:405:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&) _DEFINE_EXPR_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'size_t {aka long unsigned int}' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ In file included from /usr/include/c++/7/valarray:592:0, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.h:17, from /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:8: /usr/include/c++/7/bits/valarray_after.h:405:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator/(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(/, __divides) ^ /usr/include/c++/7/bits/valarray_after.h:405:5: note: template argument deduction/substitution failed: /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:150:28: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'size_t {aka long unsigned int}' return (bigIndex / this->oriCellDimProd) % this->oriCellDims; ^~~~~~~~~~~~~~ Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/build.make:6872: recipe for target 'Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/readers/Vs/VsStaggeredField.C.o' failed make[3]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/readers/Vs/VsStaggeredField.C.o] Error 1 make[3]: Leaving directory '/build/paraview-5.4.1/obj-x86_64-linux-gnu' CMakeFiles/Makefile2:12067: recipe for target 'Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all' failed make[2]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... Here is a copy of the options I pass to cmake: extra_flags += -Wno-dev \ -DCMAKE_C_COMPILER=mpicc \ -DCMAKE_CXX_COMPILER=mpic++ \ -DBUILD_DOCUMENTATION=ON \ -DCMAKE_INSTALL_RPATH=/usr/lib/paraview \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \ -DPARAVIEW_ENABLE_FFMPEG=ON \ -DPARAVIEW_ENABLE_WEB=ON \ -DPARAVIEW_ENABLE_CATALYST=ON \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_TESTING=OFF \ -DVTK_USE_MPEG2_ENCODER=OFF \ -DVTK_USE_FFMPEG_ENCODER=ON \ -DVTK_USE_OGGTHEORA_ENCODER=ON \ -DVTK_USE_SYSTEM_FREETYPE=ON \ -DVTK_USE_SYSTEM_GL2PS=ON \ -DVTK_USE_SYSTEM_JPEG=ON \ -DVTK_USE_SYSTEM_JSONCPP=ON \ -DVTK_USE_SYSTEM_NETCDF=ON \ -DVTK_USE_SYSTEM_GLEW=ON \ -DVTK_USE_SYSTEM_PNG=ON \ -DVTK_USE_SYSTEM_OGGTHEORA=ON \ -DVTK_USE_SYSTEM_TIFF=ON \ -DVTK_USE_SYSTEM_ZLIB=ON \ -DVTK_USE_SYSTEM_LIBXML2=ON \ -DVTK_USE_SYSTEM_EXPAT=ON \ -DVTK_USE_SYSTEM_PUGIXML=ON \ -DVTK_USE_SYSTEM_AUTOBAHNPYTHON=ON \ -DVTK_USE_SYSTEM_PYGMENTS=ON \ -DVTK_USE_SYSTEM_SIXPYTHON=ON \ -DVTK_USE_SYSTEM_PROTOBUF=ON \ -DVTK_USE_SYSTEM_TWISTED=ON \ -DVTK_USE_SYSTEM_XDMF2=ON \ -DVTK_USE_SYSTEM_ZOPEINTERFACE=ON \ -DVTK_USE_SYSTEM_MPI4PY=ON \ -DHDF5_PREFER_PARALLEL=ON \ -DVTK_USE_SYSTEM_HDF5=ON \ -DVTK_USE_SYSTEM_NETCDF=ON \ -DVTK_Group_Web=ON \ -DVTK_INSTALL_LIBRARY_DIR="lib/paraview" \ -DVTK_INSTALL_ARCHIVE_DIR="lib/paraview" \ -DVTK_INSTALL_INCLUDE_DIR="include/paraview" \ -DVTK_INSTALL_DATA_DIR="share/paraview" \ -DVTK_INSTALL_DOC_DIR="share/doc/paraview" \ -DVTK_INSTALL_PACKAGE_DIR="lib/cmake/paraview" \ -DVTK_CUSTOM_LIBRARY_SUFFIX="" \ -DBUILD_EXAMPLES=OFF \ -DDOCUMENTATION_HTML_HELP=ON \ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \ -DBUILD_DOCUMENTATION=ON \ -DPARAVIEW_USE_MPI=ON \ -DMPI_INCLUDE_PATH="/usr/include/mpi" \ -DPARAVIEW_ENABLE_PYTHON=ON \ -DPARAVIEW_BUILD_PLUGIN_AdiosReader:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl=OFF \ -DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON \ -DPARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator:BOOL=ON \ -DPARAVIEW_USE_VISITBRIDGE=ON \ -DEigen_DIR=/usr/include/eigen3 \ -DPARAVIEW_BUILD_WEB_DOCUMENTATION=ON \ -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ -DPARAVIEW_QT_VERSION=5 \ -DVTK_INSTALL_NO_DOCUMENTATION=ON Best C Christophe TROPHIME Research Engineer CNRS - LNCMI 25, rue des Martyrs BP 166 38042 GRENOBLE Cedex 9 FRANCE Tel : +33 (0)4 76 88 90 02 Fax : +33 (0) 4 76 88 10 01 Office U 19 M at il : christophe.trophime at lncmi.cnrs.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Thu Oct 12 05:54:56 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Thu, 12 Oct 2017 09:54:56 +0000 Subject: [Paraview] Overlapping ParaView windows obscuring each other in ParaViewWeb visualizer server Message-ID: Hello all, I seem to be observing odd behaviour on my ParaViewWeb server, in that the server works and a client can see their visualisation window fine provided a window does not overlap the ParaView window that is spawned when the user connects to the server. If a new user connects, a new ParaView window is spawned in the exact same place as the previous one, and the first user now sees the image displayed on the second user's server - seemingly because the first user's ParaView window is underneath the new user's window. It's not just overlapping ParaView windows either. If I connect to my server via VNC and place any window on top, it also obscures the user's view, although it just blacks out the screen and doesn't show the actual window itself to the user. Attached are some screenshots of what I'm trying to describe, showing what is happening on the server desktop and what the result is in the Visualizer window. Any ideas on what could possibly be going wrong would be greatly appreciated. Kind regards, Louise Davies -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Visualizer view.png Type: image/png Size: 120977 bytes Desc: Visualizer view.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Server desktop view.png Type: image/png Size: 322070 bytes Desc: Server desktop view.png URL: From shawn.waldon at kitware.com Thu Oct 12 08:48:43 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Thu, 12 Oct 2017 08:48:43 -0400 Subject: [Paraview] Overlapping ParaView windows obscuring each other in ParaViewWeb visualizer server In-Reply-To: References: Message-ID: Hi Louise, I have seen something like this before when using VTK render windows on Linux with NVidia drivers. There is a bug/feature in the NVidia driver where it only renders the part of the window that is shown onscreen. The workaround I used at the time was to enable offscreen rendering (which I think ParaView will do by default in the 5.5 when that is released in a few months). In ParaView master/5.5 it will be a command line option too --force-offscreen-rendering, but I think for 5.4 and earlier you would need to build ParaView with offscreen rendering enabled and then use that ParaView for Visualizer. HTH, Shawn On Thu, Oct 12, 2017 at 5:54 AM, wrote: > Hello all, > > > > I seem to be observing odd behaviour on my ParaViewWeb server, in that the > server works and a client can see their visualisation window fine provided > a window does not overlap the ParaView window that is spawned when the user > connects to the server. If a new user connects, a new ParaView window is > spawned in the exact same place as the previous one, and the first user now > sees the image displayed on the second user?s server ? seemingly because > the first user?s ParaView window is underneath the new user?s window. > > > > It?s not just overlapping ParaView windows either. If I connect to my > server via VNC and place any window on top, it also obscures the user?s > view, although it just blacks out the screen and doesn?t show the actual > window itself to the user. Attached are some screenshots of what I?m trying > to describe, showing what is happening on the server desktop and what the > result is in the Visualizer window. > > > > Any ideas on what could possibly be going wrong would be greatly > appreciated. > > > > Kind regards, > > > > Louise Davies > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Oct 12 09:39:29 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 12 Oct 2017 09:39:29 -0400 Subject: [Paraview] Paraview 5.4.1 FTBS on Debian/Testing with gcc 7.2 when -DPARAVIEW_USE_VISITBRIDGE=ON In-Reply-To: <232990513.3196790.1507801306609.JavaMail.zimbra@lncmi.cnrs.fr> References: <1059285968.3194278.1507801022555.JavaMail.zimbra@lncmi.cnrs.fr> <232990513.3196790.1507801306609.JavaMail.zimbra@lncmi.cnrs.fr> Message-ID: <20171012133929.GB3282@megas.kitware.com> On Thu, Oct 12, 2017 at 11:41:46 +0200, Christophe Trophime wrote: > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -g -O2 -fdebug-prefix-map=/build/paraview-5.4.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -std=c++11 -o CMakeFiles/vtkPVVTKExtensionsRenderingPythonD.dir/vtkZlibImageCompressorPython.cxx.o -c /build/paraview-5.4.1/obj-x86_64-linux-gnu/VTK/Wrapping/Python/vtkZlibImageCompressorPython.cxx > /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C: In constructor 'VsStaggeredField::VsStaggeredField(size_t)': > /build/paraview-5.4.1/Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C:30:24: error: 'class std::valarray' has no member named 'clear' > this->oriCellDimProd.clear(); > ^~~~~ Hmm, my browser history says I searched for this back in July? looking around there finds: https://gitlab.kitware.com/paraview/paraview/issues/17456 which seems to have dropped off our radar. Is the Vs reader necessary? If not, feel free to disable it, otherwise the reader will need fixed (it seems it has never worked though since it did this since its addition to visit upstream). > extra_flags += -Wno-dev \ > -DCMAKE_C_COMPILER=mpicc \ > -DCMAKE_CXX_COMPILER=mpic++ \ This probably isn't related, but this is not the typical way to use MPI with CMake projects. They discover and use the information from the wrappers themselves when they find MPI. --Ben From fontana.mauro at gmail.com Thu Oct 12 10:52:12 2017 From: fontana.mauro at gmail.com (Mauro Fontana) Date: Thu, 12 Oct 2017 14:52:12 +0000 Subject: [Paraview] reading MATLAB file In-Reply-To: <557787BA-B34E-4F9F-B43E-F0151B84A46A@iu.edu> References: <557787BA-B34E-4F9F-B43E-F0151B84A46A@iu.edu> Message-ID: Hi Randy I'm not sure if it is what you are asking, but this might be useful: https://blog.kitware.com/easy-customization-of-the-paraview-python-programmable-filter-property-panel/ . That way you can have a GUI field for the path of the .mat file to read, much more convenient that changing the path in the code each time. Cheers, On Wed, Oct 11, 2017 at 5:10 PM Heiland, Randy wrote: > Not sure, but think it?s irrelevant for my particular use. I'm going to > try the Programmable Source (Python script) approach (and use scipy.io.loadmat > to read my .mat file). Maybe I missed it - is there a way to read in this > script from a file? (copy/pasting into the Pgmable Source widget certainly > works; just asking) Thanks! > > On Oct 11, 2017, at 1:24 PM, Berk Geveci wrote: > > Is there a Python API to read .mat files? What is the underlying > structure? I kind of remember them using HDF5 for some stuff... > > On Tue, Oct 10, 2017 at 2:18 PM, Heiland, Randy wrote: > >> Hello, >> >> I have some matlab files I?d like to get into PV. Initially, the data is >> quite simple: sphere centers, radii, color attribute (a few 100K spheres). >> In the past, I?ve manually converted the files into .vtk formats using >> Python w/ scipy to load/parse the .mat files. But I?d like to avoid >> creating additional files and just read the .mat files directly. >> >> I *think* I?d like to do this w/ Python still (but without creating >> files), if that?s an option. Basically, I?d welcome suggestions for the >> simplest approach, at least initially. I?m not terribly concerned about the >> ?slowness? of Python reading/converting the .mat files. >> >> Using PV 5.4.1. And the solution needs to be easily adopted by others who >> will be using PV. >> >> I?m sure there are concerns that I?ve side-stepped, e.g. would I ever >> want to use it in client/server mode, etc. >> >> I?ve seen https://www.paraview.org/Wiki/Plugin_HowTo and I was also >> curious if a ?Programmable Source? would be an option. >> >> thanks! (and it?s nice to re-join the community after a long absence) >> -Randy >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Thu Oct 12 11:09:31 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Thu, 12 Oct 2017 15:09:31 +0000 Subject: [Paraview] Help files (.pdf) not opening v5.4.1 Message-ID: All Help files (.pdf) clicked on the Help Menu are not launching from PV v5.4.1 on Redhat - okular is our system pdf reader - do we need to set something to use this? This all works fine in Windoze. Thanks for any hint. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Oct 12 11:09:20 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 12 Oct 2017 09:09:20 -0600 Subject: [Paraview] Overlapping ParaView windows obscuring each other in ParaViewWeb visualizer server In-Reply-To: References: Message-ID: Hi Louise, Another option with the current binaries that you have is to ask for offscreen rendering in the code (Python). The window will still pop-up but will be black and the correct rendering pixels will be send to the web client. Just add those 2 lines simple.GetRenderView().UseOffscreenRenderingForScreenshots = 1 simple.GetRenderView().UseOffscreenRendering = 1 After the line https://github.com/Kitware/visualizer/blob/master/server/pvw-visualizer.py#L200 but in the Python script you use to start Visualizer. Seb On Thu, Oct 12, 2017 at 6:48 AM, Shawn Waldon wrote: > Hi Louise, > > I have seen something like this before when using VTK render windows on > Linux with NVidia drivers. There is a bug/feature in the NVidia driver > where it only renders the part of the window that is shown onscreen. The > workaround I used at the time was to enable offscreen rendering (which I > think ParaView will do by default in the 5.5 when that is released in a few > months). In ParaView master/5.5 it will be a command line option too > --force-offscreen-rendering, but I think for 5.4 and earlier you would need > to build ParaView with offscreen rendering enabled and then use that > ParaView for Visualizer. > > HTH, > Shawn > > On Thu, Oct 12, 2017 at 5:54 AM, wrote: > >> Hello all, >> >> >> >> I seem to be observing odd behaviour on my ParaViewWeb server, in that >> the server works and a client can see their visualisation window fine >> provided a window does not overlap the ParaView window that is spawned when >> the user connects to the server. If a new user connects, a new ParaView >> window is spawned in the exact same place as the previous one, and the >> first user now sees the image displayed on the second user?s server ? >> seemingly because the first user?s ParaView window is underneath the new >> user?s window. >> >> >> >> It?s not just overlapping ParaView windows either. If I connect to my >> server via VNC and place any window on top, it also obscures the user?s >> view, although it just blacks out the screen and doesn?t show the actual >> window itself to the user. Attached are some screenshots of what I?m trying >> to describe, showing what is happening on the server desktop and what the >> result is in the Visualizer window. >> >> >> >> Any ideas on what could possibly be going wrong would be greatly >> appreciated. >> >> >> >> Kind regards, >> >> >> >> Louise Davies >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Thu Oct 12 15:44:41 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 12 Oct 2017 15:44:41 -0400 Subject: [Paraview] Paraview 5.4.1 FTBS on Debian/Testing with gcc 7.2 when -DPARAVIEW_USE_VISITBRIDGE=ON In-Reply-To: <20171012133929.GB3282@megas.kitware.com> References: <1059285968.3194278.1507801022555.JavaMail.zimbra@lncmi.cnrs.fr> <232990513.3196790.1507801306609.JavaMail.zimbra@lncmi.cnrs.fr> <20171012133929.GB3282@megas.kitware.com> Message-ID: <20171012194441.GA30252@megas.kitware.com> On Thu, Oct 12, 2017 at 09:39:29 -0400, Ben Boeckel wrote: > Hmm, my browser history says I searched for this back in July? looking > around there finds: > > https://gitlab.kitware.com/paraview/paraview/issues/17456 > > which seems to have dropped off our radar. Is the Vs reader necessary? > If not, feel free to disable it, otherwise the reader will need fixed > (it seems it has never worked though since it did this since its > addition to visit upstream). Further investigation shows that the code in the class isn't used at all anyways. You can just remove the VsStaggeredField.C line from the Vs/CMakeLists.txt file to fix the build error. https://gitlab.kitware.com/paraview/visitbridge/merge_requests/45 https://gitlab.kitware.com/paraview/paraview/merge_requests/1965 --Ben From wascott at sandia.gov Fri Oct 13 12:53:44 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 13 Oct 2017 16:53:44 +0000 Subject: [Paraview] [EXTERNAL] Help files (.pdf) not opening v5.4.1 In-Reply-To: References: Message-ID: Works for me! Using Kitware?s 5.4.1 build. Tested on Redhat Enterprise 6. I believe we (i.e., the Linux install) are using evince as our default .pdf viewer (but could be wrong?) Try reading the .pdf?s in share/paraview5.4/doc manually? The one I just opened was Guide.pdf. Alan From: ParaView on behalf of "dennis_conklin at goodyear.com" Date: Thursday, October 12, 2017 at 9:11 AM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] Help files (.pdf) not opening v5.4.1 All Help files (.pdf) clicked on the Help Menu are not launching from PV v5.4.1 on Redhat - okular is our system pdf reader - do we need to set something to use this? This all works fine in Windoze. Thanks for any hint. Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Oct 13 12:55:44 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 13 Oct 2017 12:55:44 -0400 Subject: [Paraview] Help files (.pdf) not opening v5.4.1 In-Reply-To: References: Message-ID: We simply use QDesktopServices [1] to open the PDF. I think it uses the window manager to determine which app to use. [1] http://doc.qt.io/qt-5/qdesktopservices.html On Thu, Oct 12, 2017 at 11:09 AM, Dennis Conklin wrote: > All > > > > Help files (.pdf) clicked on the Help Menu are not launching from PV v5.4.1 > on Redhat - okular is our system pdf reader - do we need to set something to > use this? This all works fine in Windoze. > > > > Thanks for any hint. > > > > Dennis > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From dennis_conklin at goodyear.com Fri Oct 13 13:48:18 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 13 Oct 2017 17:48:18 +0000 Subject: [Paraview] [EXT] Re: Help files (.pdf) not opening v5.4.1 In-Reply-To: References: Message-ID: All, Okay, we are at RedHat 7.3 and I had to change the Application Preference Order in system settings to get Okular to launch. We will add this to our workstation image so everyone gets it. Thanks for the clue! Dennis -----Original Message----- From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Friday, October 13, 2017 12:56 PM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: [EXT] Re: [Paraview] Help files (.pdf) not opening v5.4.1 WARNING - External email; exercise caution. We simply use QDesktopServices [1] to open the PDF. I think it uses the window manager to determine which app to use. [1] https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdoc.qt.io%2Fqt-5%2Fqdesktopservices.html&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C8245f38dcacf4e98f42908d5125b402e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=AGhvLSGpeI81AWdhKyPMxCmGVQL41zN8dWvcJ4jlqI8%3D&reserved=0 On Thu, Oct 12, 2017 at 11:09 AM, Dennis Conklin wrote: > All > > > > Help files (.pdf) clicked on the Help Menu are not launching from PV > v5.4.1 on Redhat - okular is our system pdf reader - do we need to set > something to use this? This all works fine in Windoze. > > > > Thanks for any hint. > > > > Dennis > > > _______________________________________________ > Powered by > https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&dat > a=01%7C01%7Cdennis_conklin%40goodyear.com%7C8245f38dcacf4e98f42908d512 > 5b402e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=qxHjFGVqvx7hpo%2FA > YEQxwIAqLoR%2FcQFQXXCdAD2KLfg%3D&reserved=0 > > Visit other Kitware open-source projects at > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ki > tware.com%2Fopensource%2Fopensource.html&data=01%7C01%7Cdennis_conklin > %40goodyear.com%7C8245f38dcacf4e98f42908d5125b402e%7C939e896692854a9a9 > f040887efe8aae0%7C0&sdata=atoVaYNbxrllca%2Fmijf2YTx%2FZuHN3%2FYkc8isBX > tQHuc%3D&reserved=0 > > Please keep messages on-topic and check the ParaView Wiki at: > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparavi > ew.org%2FWiki%2FParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com% > 7C8245f38dcacf4e98f42908d5125b402e%7C939e896692854a9a9f040887efe8aae0% > 7C0&sdata=Wl9Z%2FbKNgmCHONifruaap5W9rZQVYfhqwGqGzkxhcMA%3D&reserved=0 > > Search the list archives at: > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkma > il.org%2Fsearch%2F%3Fq%3DParaView&data=01%7C01%7Cdennis_conklin%40good > year.com%7C8245f38dcacf4e98f42908d5125b402e%7C939e896692854a9a9f040887 > efe8aae0%7C0&sdata=HYCA%2F2Um0wlGmXUaK0Xw%2FkZb%2F4vbdsK2eEHF1h7WjAQ%3 > D&reserved=0 > > Follow this link to subscribe/unsubscribe: > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic > .kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C8245f38dcacf4e98f42908d5125b402e%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=JJOpsROz23CECgA8wRQ2aiJJTWAHGVwuQ%2FjQy0hZ9VQ%3D&reserved=0 > From wascott at sandia.gov Fri Oct 13 13:48:58 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 13 Oct 2017 17:48:58 +0000 Subject: [Paraview] [EXTERNAL] 2d decimation In-Reply-To: References: Message-ID: <5A824224-80AC-4922-8A35-6DCD2A5EA407@sandia.gov> Ping? From: ParaView on behalf of W Scott Date: Wednesday, October 11, 2017 at 12:08 PM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] 2d decimation I tried the decimation filter on a slice, and it ended up with huge holes. Is this a fool?s errand, or should we be able to decimate a slice and not have holes? Do we need a new filter ? decimate2d? Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Oct 13 14:04:34 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 13 Oct 2017 14:04:34 -0400 Subject: [Paraview] [EXTERNAL] 2d decimation In-Reply-To: <5A824224-80AC-4922-8A35-6DCD2A5EA407@sandia.gov> References: <5A824224-80AC-4922-8A35-6DCD2A5EA407@sandia.gov> Message-ID: Alan, I just tried it on a Slice through a Wavelet and it seemed to work okay. Can you list the steps you took to reproduce the holes? Thanks, Cory On Fri, Oct 13, 2017 at 1:48 PM, Scott, W Alan wrote: > Ping? > > > > *From: *ParaView on behalf of W Scott < > wascott at sandia.gov> > *Date: *Wednesday, October 11, 2017 at 12:08 PM > *To: *"paraview at paraview.org" > *Subject: *[EXTERNAL] [Paraview] 2d decimation > > > > I tried the decimation filter on a slice, and it ended up with huge > holes. Is this a fool?s errand, or should we be able to decimate a slice > and not have holes? Do we need a new filter ? decimate2d? > > > > Alan > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Oct 13 14:06:11 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 13 Oct 2017 18:06:11 +0000 Subject: [Paraview] [EXTERNAL] 2d decimation In-Reply-To: References: <5A824224-80AC-4922-8A35-6DCD2A5EA407@sandia.gov> Message-ID: <826E4F03-995B-4031-8703-F74ABB56B147@sandia.gov> OK, thanks. It was a fairly complex users state file. Let me try to replicate on something that isn?t a few thousand files. Alan From: Cory Quammen Date: Friday, October 13, 2017 at 12:04 PM To: W Scott Cc: "paraview at paraview.org" Subject: Re: [Paraview] [EXTERNAL] 2d decimation Alan, I just tried it on a Slice through a Wavelet and it seemed to work okay. Can you list the steps you took to reproduce the holes? Thanks, Cory On Fri, Oct 13, 2017 at 1:48 PM, Scott, W Alan > wrote: Ping? From: ParaView > on behalf of W Scott > Date: Wednesday, October 11, 2017 at 12:08 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] 2d decimation I tried the decimation filter on a slice, and it ended up with huge holes. Is this a fool?s errand, or should we be able to decimate a slice and not have holes? Do we need a new filter ? decimate2d? Alan _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brendieellen at yahoo.com Fri Oct 13 16:55:36 2017 From: brendieellen at yahoo.com (Brenda Ellen Make) Date: Fri, 13 Oct 2017 13:55:36 -0700 Subject: [Paraview] Thanks and of-course a question. Message-ID: Hi All, Firstly, thanks for having me on the forum. ~ I am working on an optical experiment, which is a rudimentary tomography scanner, which samples the interference of light. My data set currently consists of 2880 z-axis slices, each of 1600x1200 pixels * 8-bit greyscale (Final result). Presently, I am using pre-processing these images in ImageJ(Fiji) and saving out a .tif, which then Paraview can understand. My dataset is 5,529,600,000 units x 8-bit unsigned numbers, which I cannot get a Volumetric visualization on: ?Windows 10 64-bit system ?nVidia card ?24GB of memory ?Single i7 Quadcore Are there any tips that anyone has that might help me, or have I reached a limit of Paraview? Thanks, BEM From quentin at arrivo-loop.com Fri Oct 13 17:10:11 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Fri, 13 Oct 2017 14:10:11 -0700 Subject: [Paraview] pvserver MPI issue Message-ID: Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Oct 13 17:14:43 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 13 Oct 2017 21:14:43 +0000 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: Message-ID: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> Not saying I?m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again. Alan From: ParaView on behalf of Quentin d'Avout Date: Friday, October 13, 2017 at 3:10 PM To: "paraview at paraview.org" Subject: [EXTERNAL] [Paraview] pvserver MPI issue Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Fri Oct 13 17:52:23 2017 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 13 Oct 2017 21:52:23 +0000 Subject: [Paraview] [EXTERNAL] 2d decimation In-Reply-To: <826E4F03-995B-4031-8703-F74ABB56B147@sandia.gov> References: <5A824224-80AC-4922-8A35-6DCD2A5EA407@sandia.gov> , <826E4F03-995B-4031-8703-F74ABB56B147@sandia.gov> Message-ID: This is a total guess, but I would not be surprised if your slice is on a multi block data set that there are holes at the boundaries between blocks. I don't think there are any guarantees about the shape held after the decimation. Likewise if running MPI and the slice is distributed. -Ken Sent from my iPad On Oct 13, 2017, at 12:06 PM, Scott, W Alan > wrote: OK, thanks. It was a fairly complex users state file. Let me try to replicate on something that isn't a few thousand files. Alan From: Cory Quammen > Date: Friday, October 13, 2017 at 12:04 PM To: W Scott > Cc: "paraview at paraview.org" > Subject: Re: [Paraview] [EXTERNAL] 2d decimation Alan, I just tried it on a Slice through a Wavelet and it seemed to work okay. Can you list the steps you took to reproduce the holes? Thanks, Cory On Fri, Oct 13, 2017 at 1:48 PM, Scott, W Alan > wrote: Ping? From: ParaView > on behalf of W Scott > Date: Wednesday, October 11, 2017 at 12:08 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] 2d decimation I tried the decimation filter on a slice, and it ended up with huge holes. Is this a fool's errand, or should we be able to decimate a slice and not have holes? Do we need a new filter - decimate2d? Alan _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -- 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: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Fri Oct 13 18:39:33 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Fri, 13 Oct 2017 15:39:33 -0700 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> Message-ID: <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> Thanks Scott. Didn?t do the trick tho. Other ideas? *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Friday, October 13, 2017 2:15 PM *To:* Quentin d'Avout ; paraview at paraview.org *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue Not saying I?m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again. Alan *From: *ParaView on behalf of Quentin d'Avout *Date: *Friday, October 13, 2017 at 3:10 PM *To: *"paraview at paraview.org" *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Oct 13 21:40:09 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Sat, 14 Oct 2017 01:40:09 +0000 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> Message-ID: <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> All I have is back to the firewall? From: Quentin d'Avout Date: Friday, October 13, 2017 at 4:39 PM To: W Scott , "paraview at paraview.org" Subject: RE: [EXTERNAL] [Paraview] pvserver MPI issue Thanks Scott. Didn?t do the trick tho. Other ideas? From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Friday, October 13, 2017 2:15 PM To: Quentin d'Avout >; paraview at paraview.org Subject: Re: [EXTERNAL] [Paraview] pvserver MPI issue Not saying I?m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again. Alan From: ParaView > on behalf of Quentin d'Avout > Date: Friday, October 13, 2017 at 3:10 PM To: "paraview at paraview.org" > Subject: [EXTERNAL] [Paraview] pvserver MPI issue Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkulesza at umich.edu Sat Oct 14 01:20:07 2017 From: jkulesza at umich.edu (Joel Kulesza) Date: Fri, 13 Oct 2017 23:20:07 -0600 Subject: [Paraview] Properties Scroll Slowly with Cursor over Series Parameters Message-ID: Colleagues: Has anyone else experienced unusably slow vertical scrolling through the parameters dialog when the mouse is over the Series Parameters (i.e., the various data series to plot)? I'm seeing this on a 2017 MacBook Pro running macOS 10.12.6. Steps to reproduce: 1. Load a legacy VTK file with ~2 dozen data series (I'm using line chart data). The amount doesn't matter, but must be enough to take up a nontrivial amount of the properties pane. 2. Click the properties "gear" to enable advanced properties (to give more real estate to scroll through). 3. Position cursor next to "X Axis Parameters" label (a neutral area). 4. Begin to slowly scroll the dialog to reveal lower parts. This should be fluid until the cursor, floating above the scrolling content, comes over the box of variables/swatches/legend names. For this scrolling, because I'm on a laptop, I'm using the "two-finger drag" on the touchpad. Once the cursor is over the Series Parameters scrolling will become almost impossible. The only way to overcome this is to move the cursor over the macOS vertical scroll bar, and scroll here. This isn't an ideal solution because this scrollbar is hidden by default. Another approach is to swipe/scroll so quickly as to let the inertia carry the cursor over this trouble region. This is very likely macOS specific, but it would be be helpful if someone could confirm. If confirmed, I'll file an issue in the tracker. Please contact me with any comments, questions, or concerns. Thank you, Joel Joel A. Kulesza, P.E.Ph.D. Candidate / Graduate Student Researcher University of Michigan, College of EngineeringNuclear Engineering & Radiological Sciences Dept.2355 Bonisteel Boulevard Ann Arbor, MI 48109-2104, USAMobile: +1 (734) 223-7312Email: jkulesza at umich.eduHome Page: http://www.engin.umich.edu/ners/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Sat Oct 14 14:49:59 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Sat, 14 Oct 2017 11:49:59 -0700 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> Message-ID: Actually, it turns out that you have to specifically tell pvserver to use different ports for every process: mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% But I?m now having issues connecting to all of these processes from the paraView GUI/connect window. Can?t seem to be able to specify more than one port at once? Anybody knows the trick? Thanks again *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Friday, October 13, 2017 6:40 PM *To:* Quentin d'Avout ; paraview at paraview.org *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue All I have is back to the firewall? *From: *Quentin d'Avout *Date: *Friday, October 13, 2017 at 4:39 PM *To: *W Scott , "paraview at paraview.org" < paraview at paraview.org> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue Thanks Scott. Didn?t do the trick tho. Other ideas? *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Friday, October 13, 2017 2:15 PM *To:* Quentin d'Avout ; paraview at paraview.org *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue Not saying I?m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again. Alan *From: *ParaView on behalf of Quentin d'Avout *Date: *Friday, October 13, 2017 at 3:10 PM *To: *"paraview at paraview.org" *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat Oct 14 19:54:46 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 14 Oct 2017 19:54:46 -0400 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> Message-ID: Are you sure you ParaView is built with MPI support enabled? If so, are you sure you're using the correct mpirun executable that goes with the MPI implementation you used to build ParaView? Utkarsh On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout wrote: > Actually, it turns out that you have to specifically tell pvserver to use > different ports for every process: > > > > mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% > > > > But I?m now having issues connecting to all of these processes from the > paraView GUI/connect window. Can?t seem to be able to specify more than one > port at once? > > > > Anybody knows the trick? > > Thanks again > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 6:40 PM > > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > All I have is back to the firewall? > > > > *From: *Quentin d'Avout > *Date: *Friday, October 13, 2017 at 4:39 PM > *To: *W Scott , "paraview at paraview.org" < > paraview at paraview.org> > *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Thanks Scott. > > Didn?t do the trick tho. > > Other ideas? > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 2:15 PM > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Not saying I?m right here, but it looks like multiple versions of ParaView > are tying up the socket. Do a ps -ef on paraview, client side, and kill > them. Do the same on the server side. Then, try again. > > > > Alan > > > > *From: *ParaView on behalf of Quentin > d'Avout > *Date: *Friday, October 13, 2017 at 3:10 PM > *To: *"paraview at paraview.org" > *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue > > > > Hi All, > > > > my issue is when I hit: > > > > mpirun -np 32 pvserver # with or without --mpi option > > > > I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address > already in use." > > and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server > socket." > > > > as if my paraView was compiled with the mpi capability off. But it is on > (D3 filter available, "about" windows also says so). > > > > pvserver in serial works just fine. > > Could have been the ufw firewall blocking connections, but it is disabled. > > Ubuntu 17.04. > > > > Thanks in advance for your help. > > Quentin > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Sat Oct 14 20:23:00 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Sat, 14 Oct 2017 20:23:00 -0400 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> Message-ID: Quentin, Each pvserver rank trying to connect the same socket is the classic symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? Utkarsh On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout wrote: > Thanks Utkarsh. > > Yes, I?ve checked both. > > > > Quentin d?Avout | Aerodynamics > > [image: Arrivo Loop] > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Saturday, October 14, 2017 4:55 PM > *To:* Quentin d'Avout > *Cc:* Scott, W Alan ; ParaView > *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue > > > > Are you sure you ParaView is built with MPI support enabled? If so, are > you sure you're using the correct mpirun executable that goes with the MPI > implementation you used to build ParaView? > > > > Utkarsh > > > > On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout > wrote: > > Actually, it turns out that you have to specifically tell pvserver to use > different ports for every process: > > > > mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% > > > > But I?m now having issues connecting to all of these processes from the > paraView GUI/connect window. Can?t seem to be able to specify more than one > port at once? > > > > Anybody knows the trick? > > Thanks again > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 6:40 PM > > > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > All I have is back to the firewall? > > > > *From: *Quentin d'Avout > *Date: *Friday, October 13, 2017 at 4:39 PM > *To: *W Scott , "paraview at paraview.org" < > paraview at paraview.org> > *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Thanks Scott. > > Didn?t do the trick tho. > > Other ideas? > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 2:15 PM > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Not saying I?m right here, but it looks like multiple versions of ParaView > are tying up the socket. Do a ps -ef on paraview, client side, and kill > them. Do the same on the server side. Then, try again. > > > > Alan > > > > *From: *ParaView on behalf of Quentin > d'Avout > *Date: *Friday, October 13, 2017 at 3:10 PM > *To: *"paraview at paraview.org" > *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue > > > > Hi All, > > > > my issue is when I hit: > > > > mpirun -np 32 pvserver # with or without --mpi option > > > > I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address > already in use." > > and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server > socket." > > > > as if my paraView was compiled with the mpi capability off. But it is on > (D3 filter available, "about" windows also says so). > > > > pvserver in serial works just fine. > > Could have been the ufw firewall blocking connections, but it is disabled. > > Ubuntu 17.04. > > > > Thanks in advance for your help. > > Quentin > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: not available URL: From nicolas.cedilnik at inria.fr Mon Oct 16 06:57:53 2017 From: nicolas.cedilnik at inria.fr (Nicolas Cedilnik) Date: Mon, 16 Oct 2017 12:57:53 +0200 Subject: [Paraview] Add data to the pipeline browser via CLI Message-ID: <446756bd-0bbc-43b2-9525-7b26a9187527@inria.fr> Hello, I'm wondering if there is an option somewhere or a CLI argument to "open" a file (from the file manager or terminal) in the last opened paraview window. Right now it launches a new paraview instance for every file I open. My workaround is to use drag'n'drop but I'd be happy avoid using the mouse as much as possible. Thanks, -- Nicolas From utkarsh.ayachit at kitware.com Mon Oct 16 09:18:23 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 16 Oct 2017 09:18:23 -0400 Subject: [Paraview] Add data to the pipeline browser via CLI In-Reply-To: <446756bd-0bbc-43b2-9525-7b26a9187527@inria.fr> References: <446756bd-0bbc-43b2-9525-7b26a9187527@inria.fr> Message-ID: This is currently not supported, I am afraid. On Mon, Oct 16, 2017 at 6:57 AM, Nicolas Cedilnik wrote: > Hello, > > I'm wondering if there is an option somewhere or a CLI argument to "open" > a file (from the file manager or terminal) in the last opened paraview > window. Right now it launches a new paraview instance for every file I > open. My workaround is to use drag'n'drop but I'd be happy avoid using the > mouse as much as possible. > > Thanks, > > -- Nicolas > > _______________________________________________ > 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: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From xgarnaud at gmail.com Mon Oct 16 10:48:01 2017 From: xgarnaud at gmail.com (Xavier Garnaud) Date: Mon, 16 Oct 2017 16:48:01 +0200 Subject: [Paraview] xdmf & polygons Message-ID: Hello, I have a polygonal mesh stored in a cgns file and I am tryng to write the corresponding xdmf files (to be more flexible than with a cgns reader). I attached 3 simple examples: test_mixed works fine.xdmf works fine, the other two do not. In order to have a xdmf file that corresponds to the hdf/cgns dataset, I would need to have the connectivity stored as 5 1 2 3 4 5 3 3 6 4 - is it possible to define a topology with Type="Polygon" ? - is it possible to use baseOffset with a polygonal mesh? Thank you very much for your help. Best regards, Xavier -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_mixed.xdmf Type: application/octet-stream Size: 836 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_mixed_offset.xdmf Type: application/octet-stream Size: 851 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_polygon.xdmf Type: application/octet-stream Size: 834 bytes Desc: not available URL: From hero.jairaj at gmail.com Mon Oct 16 11:28:32 2017 From: hero.jairaj at gmail.com (JAIRAJ MATHUR) Date: Mon, 16 Oct 2017 10:28:32 -0500 Subject: [Paraview] Changing line width or edge color with a filter Message-ID: Hey all I have unstructured grid data which has connected elements. Is there a way I can apply a filter to control the width/color of the edges of these elements based on a parameter? Thanking you -- Jairaj Mathur, Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Mon Oct 16 13:03:20 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Mon, 16 Oct 2017 10:03:20 -0700 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> Message-ID: Hi Utkarsh, I did not recompile paraView myself, and using version ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit I assumed that because the D3 fitler is available and that the about menus is stating "MPI enabled", this version was MPI enabled. Am I wrong tho? [image: Inline image 1] Thanks Quentin On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Quentin, > > Each pvserver rank trying to connect the same socket is the classic > symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? > > Utkarsh > > On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout > wrote: > >> Thanks Utkarsh. >> >> Yes, I?ve checked both. >> >> >> >> Quentin d?Avout | Aerodynamics >> >> [image: Arrivo Loop] >> >> >> >> *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> *Sent:* Saturday, October 14, 2017 4:55 PM >> *To:* Quentin d'Avout >> *Cc:* Scott, W Alan ; ParaView > > >> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >> >> >> >> Are you sure you ParaView is built with MPI support enabled? If so, are >> you sure you're using the correct mpirun executable that goes with the MPI >> implementation you used to build ParaView? >> >> >> >> Utkarsh >> >> >> >> On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout >> wrote: >> >> Actually, it turns out that you have to specifically tell pvserver to use >> different ports for every process: >> >> >> >> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >> >> >> >> But I?m now having issues connecting to all of these processes from the >> paraView GUI/connect window. Can?t seem to be able to specify more than one >> port at once? >> >> >> >> Anybody knows the trick? >> >> Thanks again >> >> >> >> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >> *Sent:* Friday, October 13, 2017 6:40 PM >> >> >> *To:* Quentin d'Avout ; paraview at paraview.org >> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> All I have is back to the firewall? >> >> >> >> *From: *Quentin d'Avout >> *Date: *Friday, October 13, 2017 at 4:39 PM >> *To: *W Scott , "paraview at paraview.org" < >> paraview at paraview.org> >> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Thanks Scott. >> >> Didn?t do the trick tho. >> >> Other ideas? >> >> >> >> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >> *Sent:* Friday, October 13, 2017 2:15 PM >> *To:* Quentin d'Avout ; paraview at paraview.org >> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Not saying I?m right here, but it looks like multiple versions of >> ParaView are tying up the socket. Do a ps -ef on paraview, client side, >> and kill them. Do the same on the server side. Then, try again. >> >> >> >> Alan >> >> >> >> *From: *ParaView on behalf of Quentin >> d'Avout >> *Date: *Friday, October 13, 2017 at 3:10 PM >> *To: *"paraview at paraview.org" >> *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Hi All, >> >> >> >> my issue is when I hit: >> >> >> >> mpirun -np 32 pvserver # with or without --mpi option >> >> >> >> I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. >> Address already in use." >> >> and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server >> socket." >> >> >> >> as if my paraView was compiled with the mpi capability off. But it is on >> (D3 filter available, "about" windows also says so). >> >> >> >> pvserver in serial works just fine. >> >> Could have been the ufw firewall blocking connections, but it is disabled. >> >> Ubuntu 17.04. >> >> >> >> Thanks in advance for your help. >> >> Quentin >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 217753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: not available URL: From joachim.pouderoux at kitware.com Mon Oct 16 13:08:28 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 16 Oct 2017 13:08:28 -0400 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> Message-ID: Quentin, Which `mpiexec` command are you using? You have to use the one provided with paraview, not the one of your system which might be incompatible. Best, Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-10-16 13:03 GMT-04:00 Quentin d'Avout : > Hi Utkarsh, > > I did not recompile paraView myself, and using version > ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit > I assumed that because the D3 fitler is available and that the about menus > is stating "MPI enabled", this version was MPI enabled. Am I wrong tho? > > [image: Inline image 1] > > Thanks > Quentin > > On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Quentin, >> >> Each pvserver rank trying to connect the same socket is the classic >> symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? >> >> Utkarsh >> >> On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout > > wrote: >> >>> Thanks Utkarsh. >>> >>> Yes, I?ve checked both. >>> >>> >>> >>> Quentin d?Avout | Aerodynamics >>> >>> [image: Arrivo Loop] >>> >>> >>> >>> *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >>> *Sent:* Saturday, October 14, 2017 4:55 PM >>> *To:* Quentin d'Avout >>> *Cc:* Scott, W Alan ; ParaView < >>> paraview at paraview.org> >>> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >>> >>> >>> >>> Are you sure you ParaView is built with MPI support enabled? If so, are >>> you sure you're using the correct mpirun executable that goes with the MPI >>> implementation you used to build ParaView? >>> >>> >>> >>> Utkarsh >>> >>> >>> >>> On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout < >>> quentin at arrivo-loop.com> wrote: >>> >>> Actually, it turns out that you have to specifically tell pvserver to >>> use different ports for every process: >>> >>> >>> >>> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >>> >>> >>> >>> But I?m now having issues connecting to all of these processes from the >>> paraView GUI/connect window. Can?t seem to be able to specify more than one >>> port at once? >>> >>> >>> >>> Anybody knows the trick? >>> >>> Thanks again >>> >>> >>> >>> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >>> *Sent:* Friday, October 13, 2017 6:40 PM >>> >>> >>> *To:* Quentin d'Avout ; paraview at paraview.org >>> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> All I have is back to the firewall? >>> >>> >>> >>> *From: *Quentin d'Avout >>> *Date: *Friday, October 13, 2017 at 4:39 PM >>> *To: *W Scott , "paraview at paraview.org" < >>> paraview at paraview.org> >>> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Thanks Scott. >>> >>> Didn?t do the trick tho. >>> >>> Other ideas? >>> >>> >>> >>> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >>> *Sent:* Friday, October 13, 2017 2:15 PM >>> *To:* Quentin d'Avout ; paraview at paraview.org >>> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Not saying I?m right here, but it looks like multiple versions of >>> ParaView are tying up the socket. Do a ps -ef on paraview, client side, >>> and kill them. Do the same on the server side. Then, try again. >>> >>> >>> >>> Alan >>> >>> >>> >>> *From: *ParaView on behalf of Quentin >>> d'Avout >>> *Date: *Friday, October 13, 2017 at 3:10 PM >>> *To: *"paraview at paraview.org" >>> *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Hi All, >>> >>> >>> >>> my issue is when I hit: >>> >>> >>> >>> mpirun -np 32 pvserver # with or without --mpi option >>> >>> >>> >>> I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. >>> Address already in use." >>> >>> and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server >>> socket." >>> >>> >>> >>> as if my paraView was compiled with the mpi capability off. But it is on >>> (D3 filter available, "about" windows also says so). >>> >>> >>> >>> pvserver in serial works just fine. >>> >>> Could have been the ufw firewall blocking connections, but it is >>> disabled. >>> >>> Ubuntu 17.04. >>> >>> >>> >>> Thanks in advance for your help. >>> >>> Quentin >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 217753 bytes Desc: not available URL: From quentin at arrivo-loop.com Mon Oct 16 13:23:17 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Mon, 16 Oct 2017 10:23:17 -0700 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> Message-ID: <7602ab32fd9c14a1ff1e05180b07071c@mail.gmail.com> Hi Joachim, I?m running: mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% per paraView?s website. Launching the pvserver is not the issue, connecting to it in the paraview GUI is. Thanks. *From:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] *Sent:* Monday, October 16, 2017 10:08 AM *To:* Quentin d'Avout *Cc:* Utkarsh Ayachit ; ParaView < paraview at paraview.org> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue Quentin, Which `mpiexec` command are you using? You have to use the one provided with paraview, not the one of your system which might be incompatible. Best, Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-10-16 13:03 GMT-04:00 Quentin d'Avout : Hi Utkarsh, I did not recompile paraView myself, and using version ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit I assumed that because the D3 fitler is available and that the about menus is stating "MPI enabled", this version was MPI enabled. Am I wrong tho? [image: Inline image 1] Thanks Quentin On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: Quentin, Each pvserver rank trying to connect the same socket is the classic symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? Utkarsh On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout wrote: Thanks Utkarsh. Yes, I?ve checked both. Quentin d?Avout | Aerodynamics [image: Arrivo Loop] *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] *Sent:* Saturday, October 14, 2017 4:55 PM *To:* Quentin d'Avout *Cc:* Scott, W Alan ; ParaView *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue Are you sure you ParaView is built with MPI support enabled? If so, are you sure you're using the correct mpirun executable that goes with the MPI implementation you used to build ParaView? Utkarsh On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout wrote: Actually, it turns out that you have to specifically tell pvserver to use different ports for every process: mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% But I?m now having issues connecting to all of these processes from the paraView GUI/connect window. Can?t seem to be able to specify more than one port at once? Anybody knows the trick? Thanks again *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Friday, October 13, 2017 6:40 PM *To:* Quentin d'Avout ; paraview at paraview.org *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue All I have is back to the firewall? *From: *Quentin d'Avout *Date: *Friday, October 13, 2017 at 4:39 PM *To: *W Scott , "paraview at paraview.org" < paraview at paraview.org> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue Thanks Scott. Didn?t do the trick tho. Other ideas? *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Friday, October 13, 2017 2:15 PM *To:* Quentin d'Avout ; paraview at paraview.org *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue Not saying I?m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again. Alan *From: *ParaView on behalf of Quentin d'Avout *Date: *Friday, October 13, 2017 at 3:10 PM *To: *"paraview at paraview.org" *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue Hi All, my issue is when I hit: mpirun -np 32 pvserver # with or without --mpi option I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use." and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket." as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so). pvserver in serial works just fine. Could have been the ufw firewall blocking connections, but it is disabled. Ubuntu 17.04. Thanks in advance for your help. Quentin _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 48130 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 4364 bytes Desc: not available URL: From joachim.pouderoux at kitware.com Mon Oct 16 13:27:37 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 16 Oct 2017 13:27:37 -0400 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: <7602ab32fd9c14a1ff1e05180b07071c@mail.gmail.com> References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> <7602ab32fd9c14a1ff1e05180b07071c@mail.gmail.com> Message-ID: Again Quentin, which "mpiexec" program are you using? The parallel PVServer is supposed to open just one socket to accept client's connection. Otherwise it just means that the MPI context is not correctly setup. It occures if PVServer has not been built with MPI support OR you do not use the mpiexec that correspond to the MPI library used to compile PV. Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-10-16 13:23 GMT-04:00 Quentin d'Avout : > Hi Joachim, > > > > I?m running: > > mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% > > per paraView?s website. Launching the pvserver is not the issue, > connecting to it in the paraview GUI is. > > Thanks. > > > > > > *From:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > *Sent:* Monday, October 16, 2017 10:08 AM > *To:* Quentin d'Avout > *Cc:* Utkarsh Ayachit ; ParaView < > paraview at paraview.org> > > *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue > > > > Quentin, > > Which `mpiexec` command are you using? > > You have to use the one provided with paraview, not the one of your system > which might be incompatible. > > Best, > > Joachim > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-10-16 13:03 GMT-04:00 Quentin d'Avout : > > Hi Utkarsh, > > I did not recompile paraView myself, and using version > ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit > > I assumed that because the D3 fitler is available and that the about menus > is stating "MPI enabled", this version was MPI enabled. Am I wrong tho? > > [image: Inline image 1] > > Thanks > > Quentin > > > > On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > > Quentin, > > > > Each pvserver rank trying to connect the same socket is the classic > symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? > > > > Utkarsh > > > > On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout > wrote: > > Thanks Utkarsh. > > Yes, I?ve checked both. > > > > Quentin d?Avout | Aerodynamics > > [image: Arrivo Loop] > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Saturday, October 14, 2017 4:55 PM > *To:* Quentin d'Avout > *Cc:* Scott, W Alan ; ParaView > *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue > > > > Are you sure you ParaView is built with MPI support enabled? If so, are > you sure you're using the correct mpirun executable that goes with the MPI > implementation you used to build ParaView? > > > > Utkarsh > > > > On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout > wrote: > > Actually, it turns out that you have to specifically tell pvserver to use > different ports for every process: > > > > mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% > > > > But I?m now having issues connecting to all of these processes from the > paraView GUI/connect window. Can?t seem to be able to specify more than one > port at once? > > > > Anybody knows the trick? > > Thanks again > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 6:40 PM > > > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > All I have is back to the firewall? > > > > *From: *Quentin d'Avout > *Date: *Friday, October 13, 2017 at 4:39 PM > *To: *W Scott , "paraview at paraview.org" < > paraview at paraview.org> > *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Thanks Scott. > > Didn?t do the trick tho. > > Other ideas? > > > > *From:* Scott, W Alan [mailto:wascott at sandia.gov] > *Sent:* Friday, October 13, 2017 2:15 PM > *To:* Quentin d'Avout ; paraview at paraview.org > *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue > > > > Not saying I?m right here, but it looks like multiple versions of ParaView > are tying up the socket. Do a ps -ef on paraview, client side, and kill > them. Do the same on the server side. Then, try again. > > > > Alan > > > > *From: *ParaView on behalf of Quentin > d'Avout > *Date: *Friday, October 13, 2017 at 3:10 PM > *To: *"paraview at paraview.org" > *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue > > > > Hi All, > > > > my issue is when I hit: > > > > mpirun -np 32 pvserver # with or without --mpi option > > > > I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address > already in use." > > and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server > socket." > > > > as if my paraView was compiled with the mpi capability off. But it is on > (D3 filter available, "about" windows also says so). > > > > pvserver in serial works just fine. > > Could have been the ufw firewall blocking connections, but it is disabled. > > Ubuntu 17.04. > > > > Thanks in advance for your help. > > Quentin > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 4364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 48130 bytes Desc: not available URL: From joachim.pouderoux at kitware.com Mon Oct 16 13:46:25 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 16 Oct 2017 13:46:25 -0400 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> <7602ab32fd9c14a1ff1e05180b07071c@mail.gmail.com> Message-ID: To be more specific, you have to run something like: $ /pathToPV5.0/lib/paraview-5.0/mpiexec -np 32 /pathToPV5.0/bin/pvserver Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-10-16 13:27 GMT-04:00 Joachim Pouderoux : > Again Quentin, which "mpiexec" program are you using? > The parallel PVServer is supposed to open just one socket to accept > client's connection. Otherwise it just means that the MPI context is not > correctly setup. > It occures if PVServer has not been built with MPI support OR you do not > use the mpiexec that correspond to the MPI library used to compile PV. > > Joachim > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2017-10-16 13:23 GMT-04:00 Quentin d'Avout : > >> Hi Joachim, >> >> >> >> I?m running: >> >> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >> >> per paraView?s website. Launching the pvserver is not the issue, >> connecting to it in the paraview GUI is. >> >> Thanks. >> >> >> >> >> >> *From:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] >> *Sent:* Monday, October 16, 2017 10:08 AM >> *To:* Quentin d'Avout >> *Cc:* Utkarsh Ayachit ; ParaView < >> paraview at paraview.org> >> >> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >> >> >> >> Quentin, >> >> Which `mpiexec` command are you using? >> >> You have to use the one provided with paraview, not the one of your >> system which might be incompatible. >> >> Best, >> >> Joachim >> >> >> *Joachim Pouderoux*, PhD >> >> *Technical Expert - Scientific Computing Team* >> *Kitware SAS * >> >> >> >> 2017-10-16 13:03 GMT-04:00 Quentin d'Avout : >> >> Hi Utkarsh, >> >> I did not recompile paraView myself, and using version >> ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit >> >> I assumed that because the D3 fitler is available and that the about >> menus is stating "MPI enabled", this version was MPI enabled. Am I wrong >> tho? >> >> [image: Inline image 1] >> >> Thanks >> >> Quentin >> >> >> >> On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < >> utkarsh.ayachit at kitware.com> wrote: >> >> Quentin, >> >> >> >> Each pvserver rank trying to connect the same socket is the classic >> symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? >> >> >> >> Utkarsh >> >> >> >> On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout >> wrote: >> >> Thanks Utkarsh. >> >> Yes, I?ve checked both. >> >> >> >> Quentin d?Avout | Aerodynamics >> >> [image: Arrivo Loop] >> >> >> >> *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> *Sent:* Saturday, October 14, 2017 4:55 PM >> *To:* Quentin d'Avout >> *Cc:* Scott, W Alan ; ParaView > > >> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >> >> >> >> Are you sure you ParaView is built with MPI support enabled? If so, are >> you sure you're using the correct mpirun executable that goes with the MPI >> implementation you used to build ParaView? >> >> >> >> Utkarsh >> >> >> >> On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout >> wrote: >> >> Actually, it turns out that you have to specifically tell pvserver to use >> different ports for every process: >> >> >> >> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >> >> >> >> But I?m now having issues connecting to all of these processes from the >> paraView GUI/connect window. Can?t seem to be able to specify more than one >> port at once? >> >> >> >> Anybody knows the trick? >> >> Thanks again >> >> >> >> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >> *Sent:* Friday, October 13, 2017 6:40 PM >> >> >> *To:* Quentin d'Avout ; paraview at paraview.org >> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> All I have is back to the firewall? >> >> >> >> *From: *Quentin d'Avout >> *Date: *Friday, October 13, 2017 at 4:39 PM >> *To: *W Scott , "paraview at paraview.org" < >> paraview at paraview.org> >> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Thanks Scott. >> >> Didn?t do the trick tho. >> >> Other ideas? >> >> >> >> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >> *Sent:* Friday, October 13, 2017 2:15 PM >> *To:* Quentin d'Avout ; paraview at paraview.org >> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Not saying I?m right here, but it looks like multiple versions of >> ParaView are tying up the socket. Do a ps -ef on paraview, client side, >> and kill them. Do the same on the server side. Then, try again. >> >> >> >> Alan >> >> >> >> *From: *ParaView on behalf of Quentin >> d'Avout >> *Date: *Friday, October 13, 2017 at 3:10 PM >> *To: *"paraview at paraview.org" >> *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue >> >> >> >> Hi All, >> >> >> >> my issue is when I hit: >> >> >> >> mpirun -np 32 pvserver # with or without --mpi option >> >> >> >> I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. >> Address already in use." >> >> and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server >> socket." >> >> >> >> as if my paraView was compiled with the mpi capability off. But it is on >> (D3 filter available, "about" windows also says so). >> >> >> >> pvserver in serial works just fine. >> >> Could have been the ufw firewall blocking connections, but it is disabled. >> >> Ubuntu 17.04. >> >> >> >> Thanks in advance for your help. >> >> Quentin >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 4364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 48130 bytes Desc: not available URL: From quentin at arrivo-loop.com Mon Oct 16 16:41:57 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Mon, 16 Oct 2017 13:41:57 -0700 Subject: [Paraview] [EXTERNAL] pvserver MPI issue In-Reply-To: References: <1C270547-B9E9-4B61-8499-6A5BFB46AA05@sandia.gov> <24f6c122a120db748a7d63013896c0f8@mail.gmail.com> <7FC2B3CF-1F19-4F12-A778-FA8B190CB4F0@sandia.gov> <886a7c559b2ee8d83f77ad03c5794ee7@mail.gmail.com> <7602ab32fd9c14a1ff1e05180b07071c@mail.gmail.com> Message-ID: Thanks Joachim. It was indeed an issue of not using the right mpiexec. On Mon, Oct 16, 2017 at 10:46 AM, Joachim Pouderoux < joachim.pouderoux at kitware.com> wrote: > To be more specific, you have to run something like: > $ /pathToPV5.0/lib/paraview-5.0/mpiexec -np 32 /pathToPV5.0/bin/pvserver > > Joachim > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > 2017-10-16 13:27 GMT-04:00 Joachim Pouderoux < > joachim.pouderoux at kitware.com>: > >> Again Quentin, which "mpiexec" program are you using? >> The parallel PVServer is supposed to open just one socket to accept >> client's connection. Otherwise it just means that the MPI context is not >> correctly setup. >> It occures if PVServer has not been built with MPI support OR you do not >> use the mpiexec that correspond to the MPI library used to compile PV. >> >> Joachim >> >> *Joachim Pouderoux*, PhD >> >> *Technical Expert - Scientific Computing Team* >> *Kitware SAS * >> >> >> 2017-10-16 13:23 GMT-04:00 Quentin d'Avout : >> >>> Hi Joachim, >>> >>> >>> >>> I?m running: >>> >>> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >>> >>> per paraView?s website. Launching the pvserver is not the issue, >>> connecting to it in the paraview GUI is. >>> >>> Thanks. >>> >>> >>> >>> >>> >>> *From:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] >>> *Sent:* Monday, October 16, 2017 10:08 AM >>> *To:* Quentin d'Avout >>> *Cc:* Utkarsh Ayachit ; ParaView < >>> paraview at paraview.org> >>> >>> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >>> >>> >>> >>> Quentin, >>> >>> Which `mpiexec` command are you using? >>> >>> You have to use the one provided with paraview, not the one of your >>> system which might be incompatible. >>> >>> Best, >>> >>> Joachim >>> >>> >>> *Joachim Pouderoux*, PhD >>> >>> *Technical Expert - Scientific Computing Team* >>> *Kitware SAS * >>> >>> >>> >>> 2017-10-16 13:03 GMT-04:00 Quentin d'Avout : >>> >>> Hi Utkarsh, >>> >>> I did not recompile paraView myself, and using version >>> ParaView-5.0.1-Qt4-OpenGL2-MPI-Linux-64bit >>> >>> I assumed that because the D3 fitler is available and that the about >>> menus is stating "MPI enabled", this version was MPI enabled. Am I wrong >>> tho? >>> >>> [image: Inline image 1] >>> >>> Thanks >>> >>> Quentin >>> >>> >>> >>> On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit < >>> utkarsh.ayachit at kitware.com> wrote: >>> >>> Quentin, >>> >>> >>> >>> Each pvserver rank trying to connect the same socket is the classic >>> symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt? >>> >>> >>> >>> Utkarsh >>> >>> >>> >>> On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout < >>> quentin at arrivo-loop.com> wrote: >>> >>> Thanks Utkarsh. >>> >>> Yes, I?ve checked both. >>> >>> >>> >>> Quentin d?Avout | Aerodynamics >>> >>> [image: Arrivo Loop] >>> >>> >>> >>> *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >>> *Sent:* Saturday, October 14, 2017 4:55 PM >>> *To:* Quentin d'Avout >>> *Cc:* Scott, W Alan ; ParaView < >>> paraview at paraview.org> >>> *Subject:* Re: [Paraview] [EXTERNAL] pvserver MPI issue >>> >>> >>> >>> Are you sure you ParaView is built with MPI support enabled? If so, are >>> you sure you're using the correct mpirun executable that goes with the MPI >>> implementation you used to build ParaView? >>> >>> >>> >>> Utkarsh >>> >>> >>> >>> On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout < >>> quentin at arrivo-loop.com> wrote: >>> >>> Actually, it turns out that you have to specifically tell pvserver to >>> use different ports for every process: >>> >>> >>> >>> mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT% >>> >>> >>> >>> But I?m now having issues connecting to all of these processes from the >>> paraView GUI/connect window. Can?t seem to be able to specify more than one >>> port at once? >>> >>> >>> >>> Anybody knows the trick? >>> >>> Thanks again >>> >>> >>> >>> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >>> *Sent:* Friday, October 13, 2017 6:40 PM >>> >>> >>> *To:* Quentin d'Avout ; paraview at paraview.org >>> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> All I have is back to the firewall? >>> >>> >>> >>> *From: *Quentin d'Avout >>> *Date: *Friday, October 13, 2017 at 4:39 PM >>> *To: *W Scott , "paraview at paraview.org" < >>> paraview at paraview.org> >>> *Subject: *RE: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Thanks Scott. >>> >>> Didn?t do the trick tho. >>> >>> Other ideas? >>> >>> >>> >>> *From:* Scott, W Alan [mailto:wascott at sandia.gov] >>> *Sent:* Friday, October 13, 2017 2:15 PM >>> *To:* Quentin d'Avout ; paraview at paraview.org >>> *Subject:* Re: [EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Not saying I?m right here, but it looks like multiple versions of >>> ParaView are tying up the socket. Do a ps -ef on paraview, client side, >>> and kill them. Do the same on the server side. Then, try again. >>> >>> >>> >>> Alan >>> >>> >>> >>> *From: *ParaView on behalf of Quentin >>> d'Avout >>> *Date: *Friday, October 13, 2017 at 3:10 PM >>> *To: *"paraview at paraview.org" >>> *Subject: *[EXTERNAL] [Paraview] pvserver MPI issue >>> >>> >>> >>> Hi All, >>> >>> >>> >>> my issue is when I hit: >>> >>> >>> >>> mpirun -np 32 pvserver # with or without --mpi option >>> >>> >>> >>> I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. >>> Address already in use." >>> >>> and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server >>> socket." >>> >>> >>> >>> as if my paraView was compiled with the mpi capability off. But it is on >>> (D3 filter available, "about" windows also says so). >>> >>> >>> >>> pvserver in serial works just fine. >>> >>> Could have been the ufw firewall blocking connections, but it is >>> disabled. >>> >>> Ubuntu 17.04. >>> >>> >>> >>> Thanks in advance for your help. >>> >>> Quentin >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> >> > -- Quentin d?Avout | Aerodynamics [image: Arrivo Loop] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 4364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 48130 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: not available URL: From rccm.kyoshimi at gmail.com Mon Oct 16 19:45:59 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Tue, 17 Oct 2017 08:45:59 +0900 Subject: [Paraview] Changing line width or edge color with a filter In-Reply-To: References: Message-ID: Hi There may not be a filter to control them. But such options are found by clicking the advanced button (little gear icon) on the Properties tab: --- line width: Properties tab > Styling > Line width Edge Color: Properties tab > Edge Styling > Edge Color --- Regards 2017-10-17 0:28 GMT+09:00 JAIRAJ MATHUR : > Hey all > > I have unstructured grid data which has connected elements. Is there a way I > can apply a filter to control the width/color of the edges of these elements > based on a parameter? > > Thanking you > > -- > 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: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- A non-text attachment was scrubbed... Name: LineWidth_EdgeColor_options.png Type: image/png Size: 13694 bytes Desc: not available URL: From heiland at iu.edu Tue Oct 17 08:30:11 2017 From: heiland at iu.edu (Heiland, Randy) Date: Tue, 17 Oct 2017 12:30:11 +0000 Subject: [Paraview] vtkCutter Message-ID: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> Is vtkCutter not directly accessible in PV (from the menus)? I?d like to do something similar to: https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py for my dataset. thanks, Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From mathieu.westphal at kitware.com Tue Oct 17 08:37:03 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 17 Oct 2017 14:37:03 +0200 Subject: [Paraview] vtkCutter In-Reply-To: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> References: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> Message-ID: Hello It is called Slice, and is available in the Filters and in the Common Filters toolbar. Best, Mathieu Westphal On Tue, Oct 17, 2017 at 2:30 PM, Heiland, Randy wrote: > Is vtkCutter not directly accessible in PV (from the menus)? I?d like to > do something similar to: > https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ > VisualizationAlgorithms/Python/ClipCow.py > > for my dataset. > > thanks, Randy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lukasz.paluszek at airbus.com Tue Oct 17 09:41:34 2017 From: lukasz.paluszek at airbus.com (PALUSZEK, Lukasz) Date: Tue, 17 Oct 2017 13:41:34 +0000 Subject: [Paraview] Hidden Line Removal in Parallel Message-ID: <11456_1508247699_59E60892_11456_4870_6_23224c2776b1494db0ebd0687974e334@DE0-03DAG13-P03.central.mail.corp> Hello, I noticed that Hidden Line Removal is not working in parallel. I am using Paraview 5.4.1 (Kitware binaries) and tested on the wavelet source. Regards, Lukasz [Beschreibung: Beschreibung: Description?: cid:image001.png at 01CF0B8F.DB7831F0] ?ukasz Paluszek Airbus Helicopters Aerodynamics Department (ETGAI) 86607 Donauw?rth Germany Tel.: +49 (90) 671 8231 Fax.: +49 (90) 671 9122 Lukasz.Paluszek at airbus.com AIRBUS HELICOPTERS DEUTSCHLAND GmbH Sitz der Gesellschaft / Registered Office: Donauw?rth Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury Gesch?ftsf?hrung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / CEO; Thomas Hundt; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin Sch?bel; Stefan Thom? The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 16151 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Tue Oct 17 10:05:58 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 17 Oct 2017 10:05:58 -0400 Subject: [Paraview] Hidden Line Removal in Parallel In-Reply-To: <11456_1508247699_59E60892_11456_4870_6_23224c2776b1494db0ebd0687974e334@DE0-03DAG13-P03.central.mail.corp> References: <11456_1508247699_59E60892_11456_4870_6_23224c2776b1494db0ebd0687974e334@DE0-03DAG13-P03.central.mail.corp> Message-ID: That's correct. It currently is not implemented for that configuration. Here's an issue for the same if you want to follow it: https://gitlab.kitware.com/paraview/paraview/issues/16947 Utkarsh On Tue, Oct 17, 2017 at 9:41 AM, PALUSZEK, Lukasz < lukasz.paluszek at airbus.com> wrote: > Hello, > > > > I noticed that Hidden Line Removal is not working in parallel. I am using > Paraview 5.4.1 (Kitware binaries) and tested on the wavelet source. > > > > Regards, > > Lukasz > > > > [image: Beschreibung: Beschreibung: Description : > cid:image001.png at 01CF0B8F.DB7831F0] > > *?ukasz Paluszek* > > Airbus Helicopters > > Aerodynamics Department (ETGAI) > > 86607 Donauw?rth > > Germany > > Tel.: +49 (90) 671 8231 <+49%20906%20718231> > > Fax.: +49 (90) 671 9122 > > Lukasz.Paluszek at airbus.com > > > > AIRBUS HELICOPTERS DEUTSCHLAND GmbH > > Sitz der Gesellschaft / Registered Office: Donauw?rth > > Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508 > > Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: > Guillaume Faury > > Gesch?ftsf?hrung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender > / CEO; Thomas Hundt; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin > Sch?bel; Stefan Thom? > > > The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. > If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. > Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. > All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 16151 bytes Desc: not available URL: From edo.paskino at gmail.com Tue Oct 17 10:38:10 2017 From: edo.paskino at gmail.com (Edoardo Pasca) Date: Tue, 17 Oct 2017 15:38:10 +0100 Subject: [Paraview] Programmable filter VTK/numpy Message-ID: Hi there, In my programmable filter I want to use numpy to perform some operations on the pixels (in this case a simple thresholding). I've come up with this solution which works. I'm wondering if there are other ways to do the conversion from numpy array to vtkImageData. in the following code I get a numpy array out of the input vtkImageData as B. Then I do something on the content an store the result in a numpy array, A. Then I convert the numpy array to a vtkImageData with vtkImageImportFromArray importer class. Finally I copy the importer output to the output of the programmable filter. Thanks for any suggestions Edo import numpy from vtk.util import numpy_support, vtkImageImportFromArray import vtk.numpy_interface.dataset_adapter as dsa B = numpy_support.vtk_to_numpy( inputs[0].GetPointData().GetScalars()) ifLarger = lambda x,M: x if x<=M else 0 fgt = numpy.frompyfunc(ifLarger,2,1) #A = fgt(B,int(2**16*0.8)) ifSmaller = lambda x,M: x if x>M else 0 flt = numpy.frompyfunc(ifSmaller,2,1) #A = flt(B,int(2**16*0.3)) ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 fbetw = numpy.frompyfunc(ifBetween,3,1) A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) A = numpy.asarray(A,dtype=uint16) dims = inputs[0].GetDimensions() A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') A = numpy.ascontiguousarray(A) importer = vtkImageImportFromArray.vtkImageImportFromArray() importer.SetArray(A) importer.SetDataSpacing(inputs[0].GetSpacing()) importer.SetDataOrigin(inputs[0].GetOrigin()) importer.Update() output.DeepCopy(importer.GetOutput()) -- Edo I know you think you understand what you thought I said, but I'm not sure you realize that what you heard is not what I meant (prob. Alan Greenspan) :wq -------------- next part -------------- An HTML attachment was scrubbed... URL: From hero.jairaj at gmail.com Tue Oct 17 14:13:08 2017 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Tue, 17 Oct 2017 13:13:08 -0500 Subject: [Paraview] Changing line width or edge color with a filter In-Reply-To: References: Message-ID: Hey Thank you for your reply! But I meant to change those dynamically, rather than being fixed. I was looking for a way to change that width/color, based on some calculations. How can I do that? Jairaj Mathur Mechanical Engineering Washington University in St Louis On Oct 16, 2017 6:46 PM, "kenichiro yoshimi" wrote: > Hi > > There may not be a filter to control them. But such options are found > by clicking the advanced button (little gear icon) on the Properties > tab: > --- > line width: Properties tab > Styling > Line width > Edge Color: Properties tab > Edge Styling > Edge Color > --- > > Regards > > 2017-10-17 0:28 GMT+09:00 JAIRAJ MATHUR : > > Hey all > > > > I have unstructured grid data which has connected elements. Is there a > way I > > can apply a filter to control the width/color of the edges of these > elements > > based on a parameter? > > > > Thanking you > > > > -- > > 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: > > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Tue Oct 17 15:55:36 2017 From: heiland at iu.edu (Heiland, Randy) Date: Tue, 17 Oct 2017 19:55:36 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> Message-ID: <08547439-58CE-43F7-9329-675DCA486A50@iu.edu> Thanks. Actually, I did a poor job explaining what I want to do. I?d like to have *partial* clip planes (as opposed to ?infinite" planes over the entire domain). More specifically, my current use case is a bunch of spheres (representing biological cells) inside a spheroidal tumor. I?d like to cut out an octant, for example, from that spheroid to be able to peer inside better. I?ve mocked up an example, using random points, and put the PV state file at https://github.com/rheiland/paraview_play (along with some sample /images). I just used the Box option of the Clip filter, because the Plane option seems to define an infinite plane (via Point and Normal). But the Box params (Position, Rotate, Scale) is not intuitive for my use case. Ideally I?d like to be able to specify a Corner and 3 Vectors. And, eventually, I?d like ?cutter? results, where the spheres/cells are actually cut and capped. So perhaps, I need an alternative pipeline for my use case. Suggestions welcome. For that matter, am I mistaken in thinking I can do what I want using OSPRay spheres? thanks! -Randy > On Oct 17, 2017, at 8:37 AM, Mathieu Westphal wrote: > > Hello > > It is called Slice, and is available in the Filters and in the Common Filters toolbar. > > Best, > > Mathieu Westphal > > On Tue, Oct 17, 2017 at 2:30 PM, Heiland, Randy > wrote: > Is vtkCutter not directly accessible in PV (from the menus)? I?d like to do something similar to: > https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py > > for my dataset. > > thanks, Randy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dan.lipsa at kitware.com Tue Oct 17 15:59:13 2017 From: dan.lipsa at kitware.com (Dan Lipsa) Date: Tue, 17 Oct 2017 15:59:13 -0400 Subject: [Paraview] ParaView not reading time in netcdf file In-Reply-To: References: <16707ABF-18FF-435C-9C20-651D212ED5B9@uwaterloo.ca> Message-ID: David, What version of ParaView are you using? I tried your file with the latest release 5.4.1 and it works fine. Thanks, Dan On Mon, Oct 16, 2017 at 10:18 AM, Deepwell, David wrote: > Ok, no problem. Just checking in. > > Thanks, > David > > > On Oct 16, 2017, at 9:29 AM, Dan Lipsa wrote: > > Sorry, no, I have not had a chance to look at this. I will do that in the > next couple of days. > > Thanks, > Dan > > > On Mon, Oct 16, 2017 at 9:05 AM, Deepwell, David > wrote: > >> Hi Dan, >> Have you been able to see my problem, and find a solution? >> >> David >> >> >> On Oct 10, 2017, at 5:46 PM, David Deepwell >> wrote: >> >> Hi Dan! >> >> Thank you for taking a look at my file. >> >> David >> >> >> On Oct 6, 2017, at 1:38 PM, Dan Lipsa wrote: >> >> Hi David, >> If you send me the file I can take a look. >> >> Thanks, >> Dan >> >> >> On Fri, Oct 6, 2017 at 10:11 AM, Deepwell, David >> wrote: >> >>> Hi, >>> >>> I have a netcdf file which I?d like to read in ParaView. The reading and >>> rendering works fine, but the time is not displayed. I?ve declared the >>> variable to be time through the axis attribute, and I?ve given it units >>> since a certain day. Strangely enough, VisIt understands the time value >>> (t=5s) while ParaView does not. >>> >>> Here?s the output from ncdump: >>> >>> netcdf output_50 { >>> dimensions: >>> x = 1024 ; >>> z = 128 ; >>> time = 1 ; >>> variables: >>> double x(x) ; >>> x:units = "m" ; >>> double z(z) ; >>> z:units = "m" ; >>> double time(time) ; >>> time:units = "seconds since 2001-1-1" ; >>> time:axis = "T" ; >>> time:long_name = "time" ; >>> double rho(time, x, z) ; >>> rho:units = "kg/L" ; >>> >>> // global attributes: >>> :description = "SPINS Output 50" ; >>> } >>> >>> Any help will be appreciated. I also have a 1 MB file which I can pass >>> on if needed. >>> >>> Thank you, >>> David >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rccm.kyoshimi at gmail.com Tue Oct 17 19:57:42 2017 From: rccm.kyoshimi at gmail.com (kenichiro yoshimi) Date: Wed, 18 Oct 2017 08:57:42 +0900 Subject: [Paraview] Changing line width or edge color with a filter In-Reply-To: References: Message-ID: Hi Jairaj, Could you try: Filters -> Extract Edges, then Filters -> Tube. This can vary the radius of the tube based on the point-based scalar you calculate. Hope that helps 2017-10-18 3:13 GMT+09:00 Jairaj Mathur : > Hey > > Thank you for your reply! But I meant to change those dynamically, rather > than being fixed. I was looking for a way to change that width/color, based > on some calculations. How can I do that? > > Jairaj Mathur > Mechanical Engineering > Washington University in St Louis > > On Oct 16, 2017 6:46 PM, "kenichiro yoshimi" > wrote: >> >> Hi >> >> There may not be a filter to control them. But such options are found >> by clicking the advanced button (little gear icon) on the Properties >> tab: >> --- >> line width: Properties tab > Styling > Line width >> Edge Color: Properties tab > Edge Styling > Edge Color >> --- >> >> Regards >> >> 2017-10-17 0:28 GMT+09:00 JAIRAJ MATHUR : >> > Hey all >> > >> > I have unstructured grid data which has connected elements. Is there a >> > way I >> > can apply a filter to control the width/color of the edges of these >> > elements >> > based on a parameter? >> > >> > Thanking you >> > >> > -- >> > 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: >> > http://public.kitware.com/mailman/listinfo/paraview >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: varying_radius.png Type: image/png Size: 110719 bytes Desc: not available URL: From seongmo.yeon at gmail.com Wed Oct 18 00:14:05 2017 From: seongmo.yeon at gmail.com (Seong Mo Yeon) Date: Wed, 18 Oct 2017 13:14:05 +0900 Subject: [Paraview] Support collated format for openfoam Message-ID: <07dc92af-8f20-4915-baa5-5efcdc4ddd94@Spark> Hi Recently, a collated format was introduced in openfoam 5.x. So the decomposed doamin is not distributed in n processor directory any more but in one processor directory processors. I have checked if this can be read in openfoam 5.4.0 and found it is not supported. Have any plan to support this new feature in the next release of paraview? -------------- next part -------------- An HTML attachment was scrubbed... URL: From harshad.joshi at iesve.com Wed Oct 18 03:41:59 2017 From: harshad.joshi at iesve.com (Harshad Joshi) Date: Wed, 18 Oct 2017 07:41:59 +0000 Subject: [Paraview] OpenGL Message-ID: <21066be0e82048edbfb752ab99d2094a@iesve.com> Hi, I am trying to run Paraview 5.4.1 on a terminal server via remote desktop. I keep getting the error: [cid:image001.jpg at 01D347EC.F5FDEEF0] The server does not have a graphics card installed on it. Can you please help? What's the best way around this? Regards, Harshad. [cid:image002.jpg at 01D347EC.F5FDEEF0] Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 50106 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 6298 bytes Desc: image002.jpg URL: From heiland at iu.edu Wed Oct 18 05:00:59 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 18 Oct 2017 09:00:59 +0000 Subject: [Paraview] vtkCutter In-Reply-To: <08547439-58CE-43F7-9329-675DCA486A50@iu.edu> References: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> <08547439-58CE-43F7-9329-675DCA486A50@iu.edu> Message-ID: Silly me. I see now that it?s just a matter of using multiple Clip filters, using planes with orthogonal normals, resulting in the desired boolean set of points. Still need to figure out how to cap the clipped glyphs though? > On Oct 17, 2017, at 3:55 PM, Heiland, Randy wrote: > > Thanks. Actually, I did a poor job explaining what I want to do. I?d like to have *partial* clip planes (as opposed to ?infinite" planes over the entire domain). More specifically, my current use case is a bunch of spheres (representing biological cells) inside a spheroidal tumor. I?d like to cut out an octant, for example, from that spheroid to be able to peer inside better. > > I?ve mocked up an example, using random points, and put the PV state file at https://github.com/rheiland/paraview_play (along with some sample /images). I just used the Box option of the Clip filter, because the Plane option seems to define an infinite plane (via Point and Normal). But the Box params (Position, Rotate, Scale) is not intuitive for my use case. Ideally I?d like to be able to specify a Corner and 3 Vectors. And, eventually, I?d like ?cutter? results, where the spheres/cells are actually cut and capped. > > So perhaps, I need an alternative pipeline for my use case. Suggestions welcome. For that matter, am I mistaken in thinking I can do what I want using OSPRay spheres? > > thanks! -Randy > >> On Oct 17, 2017, at 8:37 AM, Mathieu Westphal > wrote: >> >> Hello >> >> It is called Slice, and is available in the Filters and in the Common Filters toolbar. >> >> Best, >> >> Mathieu Westphal >> >> On Tue, Oct 17, 2017 at 2:30 PM, Heiland, Randy > wrote: >> Is vtkCutter not directly accessible in PV (from the menus)? I?d like to do something similar to: >> https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py >> >> for my dataset. >> >> thanks, Randy >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From samuelkey at bresnan.net Wed Oct 18 09:03:46 2017 From: samuelkey at bresnan.net (Samuel Key) Date: Wed, 18 Oct 2017 07:03:46 -0600 Subject: [Paraview] vtkCutter In-Reply-To: <08547439-58CE-43F7-9329-675DCA486A50@iu.edu> References: <20F38C50-A1A7-4A54-91CD-2FBA146B5453@iu.edu> <08547439-58CE-43F7-9329-675DCA486A50@iu.edu> Message-ID: Randy-- Have you tried to use ParaView's Clip Filter with Clip Type selection set to "Box" --Sam On 10/17/2017 1:55 PM, Heiland, Randy wrote: > Thanks. Actually, I did a poor job explaining what I want to do. I?d > like to have *partial* clip planes (as opposed to ?infinite" planes > over the entire domain). More specifically, my current use case is a > bunch of spheres (representing biological cells) inside a spheroidal > tumor. I?d like to cut out an octant, for example, from that spheroid > to be able to peer inside better. > > I?ve mocked up an example, using random points, and put the PV state > file at https://github.com/rheiland/paraview_play (along with some > sample /images). I just used the Box option of the Clip filter, > because the Plane option seems to define an infinite plane (via Point > and Normal). But the Box params (Position, Rotate, Scale) is not > intuitive for my use case. Ideally I?d like to be able to specify a > Corner and 3 Vectors. And, eventually, I?d like ?cutter? results, > where the spheres/cells are actually cut and capped. > > So perhaps, I need an alternative pipeline for my use case. > Suggestions welcome. For that matter, am I mistaken in thinking I can > do what I want using OSPRay spheres? > > thanks! -Randy > >> On Oct 17, 2017, at 8:37 AM, Mathieu Westphal >> > >> wrote: >> >> Hello >> >> It is called Slice, and is available in the Filters and in the Common >> Filters toolbar. >> >> Best, >> >> Mathieu Westphal >> >> On Tue, Oct 17, 2017 at 2:30 PM, Heiland, Randy > > wrote: >> >> Is vtkCutter not directly accessible in PV (from the menus)? I?d >> like to do something similar to: >> https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py >> >> >> for my dataset. >> >> thanks, Randy >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: >> http://markmail.org/search/?q=ParaView >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From allison.vacanti at kitware.com Wed Oct 18 09:35:03 2017 From: allison.vacanti at kitware.com (Allie Vacanti) Date: Wed, 18 Oct 2017 09:35:03 -0400 Subject: [Paraview] Support collated format for openfoam In-Reply-To: <07dc92af-8f20-4915-baa5-5efcdc4ddd94@Spark> References: <07dc92af-8f20-4915-baa5-5efcdc4ddd94@Spark> Message-ID: On Wed, Oct 18, 2017 at 12:14 AM, Seong Mo Yeon wrote: > Hi > > Recently, a collated format was introduced in openfoam 5.x. > So the decomposed doamin is not distributed in n processor directory any > more but in one processor directory processors. > I have checked if this can be read in openfoam 5.4.0 and found it is not > supported. > Have any plan to support this new feature in the next release of paraview? > I don't think that there is any existing plan to add this capability, though patches or support contracts to fund features like this are always welcome :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Oct 18 10:39:08 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 18 Oct 2017 14:39:08 +0000 Subject: [Paraview] How to test for empty block in multi-block dataset Message-ID: All, I have a number of filters that process all the blocks in a multiblock dataset. If I perform some preliminary processing, such as thresholding, I might end up with some empty blocks (contain no elements satisfying the Threshold, for instance) When I try to process an empty block, it kills Paraview. I tried testing for block.GetNumberOfCells()>0, but calling GetNumberOfCells() on an empty block seems to kill Paraview all on it's own. Is there a test I can do to detect an empty block without killing the program? Thanks Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Oct 18 10:41:15 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 18 Oct 2017 14:41:15 +0000 Subject: [Paraview] How to test for empty block in multi-block dataset Message-ID: P.S. I'm writing python inside a Programmable Filter Thanks again Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Oct 18 10:44:17 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 18 Oct 2017 10:44:17 -0400 Subject: [Paraview] How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Hi Dennis, I think something like: if multiblock.GetBlock(i) != None: ... should work. You probably don't even need the "!=None" part. Cheers, Andy On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin < dennis_conklin at goodyear.com> wrote: > P.S. I?m writing python inside a Programmable Filter > > > > Thanks again > > Dennis > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Wed Oct 18 10:48:32 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 18 Oct 2017 14:48:32 +0000 Subject: [Paraview] OpenGL In-Reply-To: <21066be0e82048edbfb752ab99d2094a@iesve.com> References: <21066be0e82048edbfb752ab99d2094a@iesve.com> Message-ID: Dear Harshad, You probably want to setup turbovnc with virtual GL. You can find instructions here: https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html Thanks, On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi wrote: > Hi, > > > > I am trying to run Paraview 5.4.1 on a terminal server via remote desktop. > I keep getting the error: > > > > > > The server does not have a graphics card installed on it. Can you please > help? > > > > What?s the best way around this? > > > > Regards, > > Harshad. > > > > > > *Harshad Joshi* > *CFD Project Leader* > > UK: > > +44 (0) 141 945 8500 <+44%20141%20945%208500> > > IRE: > > +353 (0) 1 875 0104 <+353%201%20875%200104> > > http://www.iesve.com > > Integrated Environmental Solutions Limited. > > Registered in Scotland No. SC151456 > > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > > 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 > > Email Disclaimer > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 50106 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 6298 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 6298 bytes Desc: not available URL: From harshad.joshi at iesve.com Wed Oct 18 10:50:18 2017 From: harshad.joshi at iesve.com (Harshad Joshi) Date: Wed, 18 Oct 2017 14:50:18 +0000 Subject: [Paraview] OpenGL In-Reply-To: References: <21066be0e82048edbfb752ab99d2094a@iesve.com> Message-ID: Hi Ashish, I am limited to a Windows Server only environment. Regards, Harshad. [cid:image001.jpg at 01D34828.CBDBFCC0] Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Sent: 18 October 2017 15:49 To: Harshad Joshi ; ParaView at paraview.org Subject: Re: [Paraview] OpenGL Dear Harshad, You probably want to setup turbovnc with virtual GL. You can find instructions here: https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html Thanks, On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi > wrote: Hi, I am trying to run Paraview 5.4.1 on a terminal server via remote desktop. I keep getting the error: [cid:image001.jpg at 01D347EC.F5FDEEF0] The server does not have a graphics card installed on it. Can you please help? What?s the best way around this? Regards, Harshad. [cid:image002.jpg at 01D347EC.F5FDEEF0] Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6298 bytes Desc: image001.jpg URL: From aashish.chaudhary at kitware.com Wed Oct 18 10:55:24 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 18 Oct 2017 14:55:24 +0000 Subject: [Paraview] OpenGL In-Reply-To: References: <21066be0e82048edbfb752ab99d2094a@iesve.com> Message-ID: sure, I am not a regular MS Windows users (and never used Windows server) but I thought they had a hardware accelerated mode for remote desktop connection. Perhaps someone else can chime-in. I would also look into your Graphics Hardware (do you have a GPU?) and driver version. Nonetheless, I believe virtualgl will work on Windows ( https://virtualgl.org/vgldoc/2_2_1/#hd003005) Thanks On Wed, Oct 18, 2017 at 10:50 AM Harshad Joshi wrote: > Hi Ashish, > > > > I am limited to a Windows Server only environment. > > > Regards, > > Harshad. > > > > > > *Harshad Joshi* > *CFD Project Leader* > > UK: > > +44 (0) 141 945 8500 <+44%20141%20945%208500> > > IRE: > > +353 (0) 1 875 0104 <+353%201%20875%200104> > > http://www.iesve.com > > Integrated Environmental Solutions Limited. > > Registered in Scotland No. SC151456 > > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > > 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 > > Email Disclaimer > > > > > > *From:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] > *Sent:* 18 October 2017 15:49 > *To:* Harshad Joshi ; ParaView at paraview.org > *Subject:* Re: [Paraview] OpenGL > > > > Dear Harshad, > > > > You probably want to setup turbovnc with virtual GL. You can find > instructions here: > https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html > > > > Thanks, > > > > > > On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi > wrote: > > Hi, > > > > I am trying to run Paraview 5.4.1 on a terminal server via remote desktop. > I keep getting the error: > > > > > > The server does not have a graphics card installed on it. Can you please > help? > > > > What?s the best way around this? > > > > Regards, > > Harshad. > > > > > > *Harshad Joshi* > *CFD Project Leader* > > UK: > > +44 (0) 141 945 8500 <+44%20141%20945%208500> > > IRE: > > +353 (0) 1 875 0104 <+353%201%20875%200104> > > http://www.iesve.com > > Integrated Environmental Solutions Limited. > > Registered in Scotland No. SC151456 > > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > > 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 > > Email Disclaimer > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6298 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6298 bytes Desc: not available URL: From dennis_conklin at goodyear.com Wed Oct 18 11:01:35 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 18 Oct 2017 15:01:35 +0000 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Andy, I?m not sure about the multiblock, my routines generally look like: For block in output: If block.GetCellType(0)=12; process_block(block) would this be If input.GetBlock(i) And I might not have loaded all the blocks in the set, then I might have eliminated some loaded blocks with earlier operations ? what is the i in GetBlock? Is it block_number as displayed in Spreadsheet or block index as in: block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 Sorry for such a basic question, but I only know the stuff I have used previously. Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 10:44 AM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset WARNING - External email; exercise caution. Hi Dennis, I think something like: if multiblock.GetBlock(i) != None: ... should work. You probably don't even need the "!=None" part. Cheers, Andy On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin > wrote: P.S. I?m writing python inside a Programmable Filter Thanks again Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From harshad.joshi at iesve.com Wed Oct 18 11:03:46 2017 From: harshad.joshi at iesve.com (Harshad Joshi) Date: Wed, 18 Oct 2017 15:03:46 +0000 Subject: [Paraview] OpenGL In-Reply-To: References: <21066be0e82048edbfb752ab99d2094a@iesve.com> Message-ID: Hi Aashish, One of the requirements for virtual GL is the presence of a graphics card, which I don?t have on the server. I?ll pass this on to my IT team and see what they make out of it. Thanks, Harshad. [cid:image001.jpg at 01D3482A.AD829980] Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Sent: 18 October 2017 15:55 To: Harshad Joshi ; ParaView at paraview.org Subject: Re: [Paraview] OpenGL sure, I am not a regular MS Windows users (and never used Windows server) but I thought they had a hardware accelerated mode for remote desktop connection. Perhaps someone else can chime-in. I would also look into your Graphics Hardware (do you have a GPU?) and driver version. Nonetheless, I believe virtualgl will work on Windows (https://virtualgl.org/vgldoc/2_2_1/#hd003005) Thanks On Wed, Oct 18, 2017 at 10:50 AM Harshad Joshi > wrote: Hi Ashish, I am limited to a Windows Server only environment. Regards, Harshad. [cid:image001.jpg at 01D34828.CBDBFCC0] Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] Sent: 18 October 2017 15:49 To: Harshad Joshi >; ParaView at paraview.org Subject: Re: [Paraview] OpenGL Dear Harshad, You probably want to setup turbovnc with virtual GL. You can find instructions here: https://kitware.github.io/paraviewweb/docs/virtualgl_turbovnc_howto.html Thanks, On Wed, Oct 18, 2017 at 3:42 AM Harshad Joshi > wrote: Hi, I am trying to run Paraview 5.4.1 on a terminal server via remote desktop. I keep getting the error: The server does not have a graphics card installed on it. Can you please help? What?s the best way around this? Regards, Harshad. Harshad Joshi CFD Project Leader UK: +44 (0) 141 945 8500 IRE: +353 (0) 1 875 0104 http://www.iesve.com Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP 4th Floor, Castleforbes House, Castleforbes Road, Dublin 1 Email Disclaimer _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6298 bytes Desc: image001.jpg URL: From andy.bauer at kitware.com Wed Oct 18 11:39:13 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 18 Oct 2017 11:39:13 -0400 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Hi Dennis, Maybe the block isn't a vtkDataSet and thus wouldn't have the GetCellType() method. You could try a print statement after the for loop to see what each block is by doing something like: print block Could you share your full python code for the programmable filter? That may make it easier to track down. Best, Andy On Wed, Oct 18, 2017 at 11:01 AM, Dennis Conklin < dennis_conklin at goodyear.com> wrote: > Andy, > > > > I?m not sure about the multiblock, my routines generally look like: > > > > For block in output: > > If block.GetCellType(0)=12; > > process_block(block) > > > > would this be > > > > If input.GetBlock(i) > > And I might not have loaded all the blocks in the set, then I might have > eliminated some loaded blocks with earlier operations ? what is the i in > GetBlock? Is it block_number as displayed in Spreadsheet or block index as > in: > > > > block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 > > > > Sorry for such a basic question, but I only know the stuff I have used > previously. > > > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 10:44 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > *WARNING - External email; exercise caution.* > > > > Hi Dennis, > > I think something like: > > if multiblock.GetBlock(i) != None: > ... > > should work. You probably don't even need the "!=None" part. > > Cheers, > > Andy > > > > On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > P.S. I?m writing python inside a Programmable Filter > > > > Thanks again > > Dennis > > > _______________________________________________ > Powered by www.kitware.com > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvanmoer at illinois.edu Wed Oct 18 12:30:14 2017 From: mvanmoer at illinois.edu (Van Moer, Mark W) Date: Wed, 18 Oct 2017 16:30:14 +0000 Subject: [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> Message-ID: <7F781841FF1E044388AFA42B70703A7AE7F55469@CHIMBX6.ad.uillinois.edu> Hi Mathieu, Thanks for the suggestions. I tried having a Programmable Filter take the PolyData input, do the check, and write new PolyData output, and that kind of worked, except that particles could reappear after being deleted. That a particle was deleted wasn?t being sent back upstream to the Particle Tracer, upstream state changes aren?t supported as I understand it. I tried making a plugin by deriving from vtkParticleTracerBase and overriding RequestData() and IntegrateParticles(), however, that doesn?t work because they accesses private members of vtkParticleTracerBase. I also tried copying vtkParticleTracerBase to a new class and hacking on it directly, but I?m getting link errors when I try to load the plugin, like undefined symbol: _Z34vtkParticleTracerWithSinkBase_Init_P26vtkClientServerInterpreter (I was able to hack directly on vtkParticleTracerBase.cxx in the ParaView src tree and it worked as expected, but I would rather get a plugin working.) - When making a plugin based on an abstract VTK class, does something need to change in the CMakeLists.txt? I?m just guessing that?s where my issue with the link error is? Thanks, Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Tuesday, September 26, 2017 9:22 AM To: Van Moer, Mark W Cc: ParaView Developers ; ParaView Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Simplest way to go would be to add a Python Programmable Filter after the particle tracer, that process each point and does not copy it when it is too far from an arbitrary point. This would work, even with paraview release, but will not be so most efficient implementation. Harder way to go would be to copy(or inherit) the ParticleTracer as a new vtk filter and associated xml proxy plugin. And add a radius check in the code, probably in vtkParticleTracerBase::RequestData:1188 // if the particle is sent, remove it from the list - if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData)) + if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData) || !yourRadiusTest(point2)) { this->ParticleHistories.erase(it); particle_good = false; } much more efficient but you will need to know C++ and how to compile ParaView and a ParaView plugin. Best, Mathieu Westphal On Tue, Sep 26, 2017 at 3:53 PM, Van Moer, Mark W > wrote: Hi Mathieu, The full science context is, this is a simulation of a binary black hole system. The way the solver works, the black hole locations aren?t actually in the mesh, they?re stored as separate coordinates with an associated radius. The black holes orbit each other during the simulation, creating turbulence in the plasma (and magnetic field). I made a few videos of particles being advected by the plasma velocity. This was basically just the mesh, a seed source, and a Particle Tracer filter. This works fine, except that particles which get within the radius of each black hole end up coagulating and behaving non-physically. If I understand the scientist right, in the simulation itself, they are able to handle this somehow correctly, but that behavior doesn?t get translated to what?s saved in the mesh. That?s part 1. Part 2 of the vis, and this works, is that the plasma advected particles are used as seeds for streamlines through the magnetic field -- though there are streamlines coming out of non-physically correct particles. What I?d like is to be able to check of each of the actual particle locations vs the black hole locations and radii and if they?re within that radii, delete them (or hide them, make them transparent, whatever.) I was hoping this was something I could do with a programmable filter, but I?m open to any suggestions, including hacking on VTK source. Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Tuesday, September 26, 2017 2:47 AM To: Van Moer, Mark W >; ParaView Developers > Cc: ParaView > Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Can you give some context ? At which level of implementation are you trying to do that ? Best, Mathieu Westphal On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W > wrote: Looks like I?d have to get at the std::vector ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing that?s not exposed by the proxy. Mark From: Van Moer, Mark W Sent: Monday, September 25, 2017 2:25 PM To: ParaView > Subject: Accessing particles generated by ParticleTracer Hi ParaView, Is it possible to get at the individual particles generated by ParticleTracer? I?ve been handed a mesh with a velocity field and an implied particle sink. I?d like to delete any particles that wander within a certain radius of that sink. My thought was if I could get at the array holding the particles I could check each distance and delete as necessary. Thanks, Mark _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Oct 18 13:05:56 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 18 Oct 2017 17:05:56 +0000 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Andy, GetCellType works fine when I have cells in the block, but in this recent case I had zero cells in the block after a Threshold filter, my code is of the form: Def process_block(block): Print block.GetNumberOfCells() ################################################################### # main routine starts here output.CopyStructure(inputs[0].VTKObject) # if you ShallowCopy, then new variables created in input to filter output.DeepCopy(inputs[0].VTKObject) # # Loop over blocks in composite (Exodus) data set for block in output: # VTK element types: # 12 = VTK_HEXAHEDRON (Gdyr Hex) # 9 = VTK_QUAD (Gdyr Membrane) # 3 = VTK_LINE (Gdyr 3D Truss) # since EXODUS requires single element type per block, test 1st element only if block.GetCellType(0)==12: process_block(block) I think GetCellType is dying as there is no element(0) I need a way to test the block before calling anything to see if it is empty Thanks! Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 11:39 AM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset Hi Dennis, Maybe the block isn't a vtkDataSet and thus wouldn't have the GetCellType() method. You could try a print statement after the for loop to see what each block is by doing something like: print block Could you share your full python code for the programmable filter? That may make it easier to track down. Best, Andy On Wed, Oct 18, 2017 at 11:01 AM, Dennis Conklin > wrote: Andy, I?m not sure about the multiblock, my routines generally look like: For block in output: If block.GetCellType(0)=12; process_block(block) would this be If input.GetBlock(i) And I might not have loaded all the blocks in the set, then I might have eliminated some loaded blocks with earlier operations ? what is the i in GetBlock? Is it block_number as displayed in Spreadsheet or block index as in: block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 Sorry for such a basic question, but I only know the stuff I have used previously. Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 10:44 AM To: Dennis Conklin > Cc: Paraview (paraview at paraview.org) > Subject: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset WARNING - External email; exercise caution. Hi Dennis, I think something like: if multiblock.GetBlock(i) != None: ... should work. You probably don't even need the "!=None" part. Cheers, Andy On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin > wrote: P.S. I?m writing python inside a Programmable Filter Thanks again Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Oct 18 13:46:52 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 18 Oct 2017 13:46:52 -0400 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Maybe try the following: if hasattr(block, "GetNumberOfCells") and block.GetNumberOfCells() > 0 and block.GetCellType(0)==12: process_block(block) On Wed, Oct 18, 2017 at 1:05 PM, Dennis Conklin wrote: > Andy, > > > > GetCellType works fine when I have cells in the block, but in this recent > case I had zero cells in the block after a Threshold filter, my code is > of the form: > > > > Def process_block(block): > > Print block.GetNumberOfCells() > > > > > > > > > > ################################################################### > > > # main routine starts here > > output.CopyStructure(inputs[0].VTKObject) > > # if you ShallowCopy, then new variables created in input to filter > > output.DeepCopy(inputs[0].VTKObject) > > > > # > > # Loop over blocks in composite (Exodus) data set > > for block in output: > > > > # VTK element types: > > # 12 = VTK_HEXAHEDRON (Gdyr Hex) > > # 9 = VTK_QUAD (Gdyr Membrane) > > # 3 = VTK_LINE (Gdyr 3D Truss) > > # since EXODUS requires single element type per block, test 1st > element only > > if block.GetCellType(0)==12: > > process_block(block) > > > > I think GetCellType is dying as there is no element(0) > > I need a way to test the block before calling anything to see if it is > empty > > > > Thanks! > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 11:39 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* Re: [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > Hi Dennis, > > Maybe the block isn't a vtkDataSet and thus wouldn't have the > GetCellType() method. You could try a print statement after the for loop to > see what each block is by doing something like: > > print block > > > > Could you share your full python code for the programmable filter? That > may make it easier to track down. > > > > Best, > > Andy > > > > On Wed, Oct 18, 2017 at 11:01 AM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > Andy, > > > > I?m not sure about the multiblock, my routines generally look like: > > > > For block in output: > > If block.GetCellType(0)=12; > > process_block(block) > > > > would this be > > > > If input.GetBlock(i) > > And I might not have loaded all the blocks in the set, then I might have > eliminated some loaded blocks with earlier operations ? what is the i in > GetBlock? Is it block_number as displayed in Spreadsheet or block index as > in: > > > > block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 > > > > Sorry for such a basic question, but I only know the stuff I have used > previously. > > > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 10:44 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > *WARNING - External email; exercise caution.* > > > > Hi Dennis, > > I think something like: > > if multiblock.GetBlock(i) != None: > ... > > should work. You probably don't even need the "!=None" part. > > Cheers, > > Andy > > > > On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > P.S. I?m writing python inside a Programmable Filter > > > > Thanks again > > Dennis > > > _______________________________________________ > Powered by www.kitware.com > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Wed Oct 18 13:50:02 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Wed, 18 Oct 2017 10:50:02 -0700 Subject: [Paraview] D3 filter crash Message-ID: <81437a22eebde559af2e24c544633dd5@mail.gmail.com> Hello all, I?m able to start a pvserver over multiple cores, connect to it in paraview GUI, open a foam file and load the results. I then apply a D3 filter before doing anything else, at which point paraview seems to get cranking (window darkens) and pvserver processes show some activity, but nothing else happens. I let it ?run? for a day now, and it is still seemingly applying that filter. Unfortunately no errors in either terminals (the pvserver and the paraview ones) nor in the paraview GUI output window. Anybody ever experienced that? Thank you Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dennis_conklin at goodyear.com Wed Oct 18 14:11:16 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Wed, 18 Oct 2017 18:11:16 +0000 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Andy, That works! Thanks much! Now I just have to add it to every filter I?ve ever written to protect them all against empty blocks! I?m amazed it took this long for this to come up! Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 1:47 PM To: Dennis Conklin Cc: Paraview (paraview at paraview.org) Subject: Re: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset Maybe try the following: if hasattr(block, "GetNumberOfCells") and block.GetNumberOfCells() > 0 and block.GetCellType(0)==12: process_block(block) On Wed, Oct 18, 2017 at 1:05 PM, Dennis Conklin > wrote: Andy, GetCellType works fine when I have cells in the block, but in this recent case I had zero cells in the block after a Threshold filter, my code is of the form: Def process_block(block): Print block.GetNumberOfCells() ################################################################### # main routine starts here output.CopyStructure(inputs[0].VTKObject) # if you ShallowCopy, then new variables created in input to filter output.DeepCopy(inputs[0].VTKObject) # # Loop over blocks in composite (Exodus) data set for block in output: # VTK element types: # 12 = VTK_HEXAHEDRON (Gdyr Hex) # 9 = VTK_QUAD (Gdyr Membrane) # 3 = VTK_LINE (Gdyr 3D Truss) # since EXODUS requires single element type per block, test 1st element only if block.GetCellType(0)==12: process_block(block) I think GetCellType is dying as there is no element(0) I need a way to test the block before calling anything to see if it is empty Thanks! Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 11:39 AM To: Dennis Conklin > Cc: Paraview (paraview at paraview.org) > Subject: Re: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset Hi Dennis, Maybe the block isn't a vtkDataSet and thus wouldn't have the GetCellType() method. You could try a print statement after the for loop to see what each block is by doing something like: print block Could you share your full python code for the programmable filter? That may make it easier to track down. Best, Andy On Wed, Oct 18, 2017 at 11:01 AM, Dennis Conklin > wrote: Andy, I?m not sure about the multiblock, my routines generally look like: For block in output: If block.GetCellType(0)=12; process_block(block) would this be If input.GetBlock(i) And I might not have loaded all the blocks in the set, then I might have eliminated some loaded blocks with earlier operations ? what is the i in GetBlock? Is it block_number as displayed in Spreadsheet or block index as in: block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 Sorry for such a basic question, but I only know the stuff I have used previously. Dennis From: Andy Bauer [mailto:andy.bauer at kitware.com] Sent: Wednesday, October 18, 2017 10:44 AM To: Dennis Conklin > Cc: Paraview (paraview at paraview.org) > Subject: [EXT] Re: [Paraview] How to test for empty block in multi-block dataset WARNING - External email; exercise caution. Hi Dennis, I think something like: if multiblock.GetBlock(i) != None: ... should work. You probably don't even need the "!=None" part. Cheers, Andy On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin > wrote: P.S. I?m writing python inside a Programmable Filter Thanks again Dennis _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Oct 18 14:23:00 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 18 Oct 2017 14:23:00 -0400 Subject: [Paraview] [EXT] Re: How to test for empty block in multi-block dataset In-Reply-To: References: Message-ID: Glad to hear it works! A disclaimer -- I don't profess to write good Python code, just mildly functional Python code :) On Wed, Oct 18, 2017 at 2:11 PM, Dennis Conklin wrote: > Andy, > > > > That works! Thanks much! > > > > Now I just have to add it to every filter I?ve ever written to protect > them all against empty blocks! I?m amazed it took this long for this to > come up! > > > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 1:47 PM > > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* Re: [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > Maybe try the following: > > if hasattr(block, "GetNumberOfCells") and block.GetNumberOfCells() > > 0 and block.GetCellType(0)==12: > > process_block(block) > > > > On Wed, Oct 18, 2017 at 1:05 PM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > Andy, > > > > GetCellType works fine when I have cells in the block, but in this recent > case I had zero cells in the block after a Threshold filter, my code is > of the form: > > > > Def process_block(block): > > Print block.GetNumberOfCells() > > > > > > > > > > ################################################################### > > > # main routine starts here > > output.CopyStructure(inputs[0].VTKObject) > > # if you ShallowCopy, then new variables created in input to filter > > output.DeepCopy(inputs[0].VTKObject) > > > > # > > # Loop over blocks in composite (Exodus) data set > > for block in output: > > > > # VTK element types: > > # 12 = VTK_HEXAHEDRON (Gdyr Hex) > > # 9 = VTK_QUAD (Gdyr Membrane) > > # 3 = VTK_LINE (Gdyr 3D Truss) > > # since EXODUS requires single element type per block, test 1st > element only > > if block.GetCellType(0)==12: > > process_block(block) > > > > I think GetCellType is dying as there is no element(0) > > I need a way to test the block before calling anything to see if it is > empty > > > > Thanks! > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 11:39 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* Re: [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > Hi Dennis, > > Maybe the block isn't a vtkDataSet and thus wouldn't have the > GetCellType() method. You could try a print statement after the for loop to > see what each block is by doing something like: > > print block > > > > Could you share your full python code for the programmable filter? That > may make it easier to track down. > > > > Best, > > Andy > > > > On Wed, Oct 18, 2017 at 11:01 AM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > Andy, > > > > I?m not sure about the multiblock, my routines generally look like: > > > > For block in output: > > If block.GetCellType(0)=12; > > process_block(block) > > > > would this be > > > > If input.GetBlock(i) > > And I might not have loaded all the blocks in the set, then I might have > eliminated some loaded blocks with earlier operations ? what is the i in > GetBlock? Is it block_number as displayed in Spreadsheet or block index as > in: > > > > block_index = block.FieldData.GetArray(?ElementBlockIds?) - 1 > > > > Sorry for such a basic question, but I only know the stuff I have used > previously. > > > > Dennis > > > > *From:* Andy Bauer [mailto:andy.bauer at kitware.com] > *Sent:* Wednesday, October 18, 2017 10:44 AM > *To:* Dennis Conklin > *Cc:* Paraview (paraview at paraview.org) > *Subject:* [EXT] Re: [Paraview] How to test for empty block in > multi-block dataset > > > > *WARNING - External email; exercise caution.* > > > > Hi Dennis, > > I think something like: > > if multiblock.GetBlock(i) != None: > ... > > should work. You probably don't even need the "!=None" part. > > Cheers, > > Andy > > > > On Wed, Oct 18, 2017 at 10:41 AM, Dennis Conklin < > dennis_conklin at goodyear.com> wrote: > > P.S. I?m writing python inside a Programmable Filter > > > > Thanks again > > Dennis > > > _______________________________________________ > Powered by www.kitware.com > > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Wed Oct 18 14:44:56 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 18 Oct 2017 18:44:56 +0000 Subject: [Paraview] [EXTERNAL] D3 filter crash In-Reply-To: <81437a22eebde559af2e24c544633dd5@mail.gmail.com> References: <81437a22eebde559af2e24c544633dd5@mail.gmail.com> Message-ID: <6514fc14b3614e4dbc3611fc92b2fc9a@ES01AMSNLNT.srn.sandia.gov> Kill it, that?s ridiculous. My guess is that you need more nodes? Before running the D3 filter, try View/ Memory Inspector. If any nodes are over about 60% or 70%, you either need more resource, or less data. I?m curious ? why are you running the D3 filter? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Quentin d'Avout Sent: Wednesday, October 18, 2017 11:50 AM To: ParaView Subject: [EXTERNAL] [Paraview] D3 filter crash Hello all, I?m able to start a pvserver over multiple cores, connect to it in paraview GUI, open a foam file and load the results. I then apply a D3 filter before doing anything else, at which point paraview seems to get cranking (window darkens) and pvserver processes show some activity, but nothing else happens. I let it ?run? for a day now, and it is still seemingly applying that filter. Unfortunately no errors in either terminals (the pvserver and the paraview ones) nor in the paraview GUI output window. Anybody ever experienced that? Thank you Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Wed Oct 18 15:04:06 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Wed, 18 Oct 2017 12:04:06 -0700 Subject: [Paraview] [EXTERNAL] D3 filter crash In-Reply-To: <6514fc14b3614e4dbc3611fc92b2fc9a@ES01AMSNLNT.srn.sandia.gov> References: <81437a22eebde559af2e24c544633dd5@mail.gmail.com> <6514fc14b3614e4dbc3611fc92b2fc9a@ES01AMSNLNT.srn.sandia.gov> Message-ID: Hi Alan, The memory inspector turns back about 1% usage per core, so no overload here. Running 12 instances on a 16-core machine. Note: the same case runs fine in serial on the same machine, I?m just trying to speed up the data processing, as well as prove out some scripts I?m building for later use on a cloud machine. It is my understanding that a D3 filter is required to balance the load across all nodes (working off of recomposed time steps). Am I getting this wrong? Quentin d?Avout | Aerodynamics [image: Arrivo Loop] *From:* Scott, W Alan [mailto:wascott at sandia.gov] *Sent:* Wednesday, October 18, 2017 11:45 AM *To:* Quentin d'Avout ; ParaView < paraview at paraview.org> *Subject:* RE: [EXTERNAL] [Paraview] D3 filter crash Kill it, that?s ridiculous. My guess is that you need more nodes? Before running the D3 filter, try View/ Memory Inspector. If any nodes are over about 60% or 70%, you either need more resource, or less data. I?m curious ? why are you running the D3 filter? Alan *From:* ParaView [mailto:paraview-bounces at paraview.org ] *On Behalf Of *Quentin d'Avout *Sent:* Wednesday, October 18, 2017 11:50 AM *To:* ParaView *Subject:* [EXTERNAL] [Paraview] D3 filter crash Hello all, I?m able to start a pvserver over multiple cores, connect to it in paraview GUI, open a foam file and load the results. I then apply a D3 filter before doing anything else, at which point paraview seems to get cranking (window darkens) and pvserver processes show some activity, but nothing else happens. I let it ?run? for a day now, and it is still seemingly applying that filter. Unfortunately no errors in either terminals (the pvserver and the paraview ones) nor in the paraview GUI output window. Anybody ever experienced that? Thank you Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: not available URL: From wascott at sandia.gov Wed Oct 18 15:07:34 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 18 Oct 2017 19:07:34 +0000 Subject: [Paraview] [EXTERNAL] D3 filter crash In-Reply-To: References: <81437a22eebde559af2e24c544633dd5@mail.gmail.com> <6514fc14b3614e4dbc3611fc92b2fc9a@ES01AMSNLNT.srn.sandia.gov> Message-ID: Don?t forget that each pvserver can?t tell that it is sharing the memory with siblings. Thus, you care about memory use at the node or computer level. In theory you are correct regarding D3. It rebalances work, and also creates ghost cells around processor boundaries. But, it is an old, somewhat moody filter. Further, it increases memory footprint significantly (at least copies the data). If you can work without it, do so. Generally, if you are slow, you need more nodes or less data. In practice, the D3 filter won?t speed you up. Alan From: Quentin d'Avout [mailto:quentin at arrivo-loop.com] Sent: Wednesday, October 18, 2017 1:04 PM To: Scott, W Alan ; ParaView Subject: RE: [EXTERNAL] [Paraview] D3 filter crash Hi Alan, The memory inspector turns back about 1% usage per core, so no overload here. Running 12 instances on a 16-core machine. Note: the same case runs fine in serial on the same machine, I?m just trying to speed up the data processing, as well as prove out some scripts I?m building for later use on a cloud machine. It is my understanding that a D3 filter is required to balance the load across all nodes (working off of recomposed time steps). Am I getting this wrong? Quentin d?Avout | Aerodynamics [Arrivo Loop] From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Wednesday, October 18, 2017 11:45 AM To: Quentin d'Avout >; ParaView > Subject: RE: [EXTERNAL] [Paraview] D3 filter crash Kill it, that?s ridiculous. My guess is that you need more nodes? Before running the D3 filter, try View/ Memory Inspector. If any nodes are over about 60% or 70%, you either need more resource, or less data. I?m curious ? why are you running the D3 filter? Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Quentin d'Avout Sent: Wednesday, October 18, 2017 11:50 AM To: ParaView > Subject: [EXTERNAL] [Paraview] D3 filter crash Hello all, I?m able to start a pvserver over multiple cores, connect to it in paraview GUI, open a foam file and load the results. I then apply a D3 filter before doing anything else, at which point paraview seems to get cranking (window darkens) and pvserver processes show some activity, but nothing else happens. I let it ?run? for a day now, and it is still seemingly applying that filter. Unfortunately no errors in either terminals (the pvserver and the paraview ones) nor in the paraview GUI output window. Anybody ever experienced that? Thank you Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4364 bytes Desc: image001.png URL: From mathieu.westphal at kitware.com Thu Oct 19 03:02:35 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Thu, 19 Oct 2017 09:02:35 +0200 Subject: [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: <7F781841FF1E044388AFA42B70703A7AE7F55469@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F55469@CHIMBX6.ad.uillinois.edu> Message-ID: Hello Regarding the Programmable Filter, you are right, there is no way to specify it upstream, you would need to keep a list of previously deleted particle that should stay deleted, definitelly not a great solution. Regarding the inheritance, you are right as well, but keep in mind that ParaView is Open Source and you can contribute to the code of the vtkParticleStreamer if you want and add some kind of check in the base class that you could redefine in your class if you want. Regarding the plugin loading problem, are you trying to load the plugin in the paraview release (not good) or in the paraview you build the plugin with (good). If this part is ok, then i would suggest first trying the examples plugins in ParaView source. You will find correctly written CMakeLists and you can work your way up from there. "paraview/Examples/Plugins/Filter" seems a good starting point. Just copy the folder somewhere, build it and check it can be loaded in ParaView. Let me know if you run into any troubles. Best, Mathieu Westphal On Wed, Oct 18, 2017 at 6:30 PM, Van Moer, Mark W wrote: > Hi Mathieu, > > > > Thanks for the suggestions. I tried having a Programmable Filter take the > PolyData input, do the check, and write new PolyData output, and that kind > of worked, except that particles could reappear after being deleted. That a > particle was deleted wasn?t being sent back upstream to the Particle > Tracer, upstream state changes aren?t supported as I understand it. > > > > I tried making a plugin by deriving from vtkParticleTracerBase and > overriding RequestData() and IntegrateParticles(), however, that doesn?t > work because they accesses private members of vtkParticleTracerBase. > > > > I also tried copying vtkParticleTracerBase to a new class and hacking on > it directly, but I?m getting link errors when I try to load the plugin, > like > > > > undefined symbol: _*Z34vtkParticleTracerWithSinkBase_Init*_ > P26vtkClientServerInterpreter > > > > (I was able to hack directly on vtkParticleTracerBase.cxx in the ParaView > src tree and it worked as expected, but I would rather get a plugin > working.) > > > > - When making a plugin based on an abstract VTK class, does > something need to change in the CMakeLists.txt? I?m just guessing that?s > where my issue with the link error is? > > > > Thanks, > > Mark > > > > > > > > *From:* Mathieu Westphal [mailto:mathieu.westphal at kitware.com] > *Sent:* Tuesday, September 26, 2017 9:22 AM > *To:* Van Moer, Mark W > *Cc:* ParaView Developers ; ParaView < > paraview at paraview.org> > > *Subject:* Re: [Paraview] Accessing particles generated by ParticleTracer > > > > Hello > > Simplest way to go would be to add a Python Programmable Filter after the > particle tracer, that process each point and does not copy it when it is > too far from an arbitrary point. > > This would work, even with paraview release, but will not be so most > efficient implementation. > > Harder way to go would be to copy(or inherit) the ParticleTracer as a new > vtk filter and associated xml proxy plugin. And add a radius check in the > code, probably in vtkParticleTracerBase::RequestData:1188 > > // if the particle is sent, remove it from the list > - if (this->SendParticleToAnotherProcess(info,previous,this-> > OutputPointData)) > > + if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData) > || !yourRadiusTest(point2)) > > { > this->ParticleHistories.erase(it); > particle_good = false; > > } > > > > much more efficient but you will need to know C++ and how to compile > ParaView and a ParaView plugin. > > > > Best, > > > Mathieu Westphal > > > > On Tue, Sep 26, 2017 at 3:53 PM, Van Moer, Mark W > wrote: > > Hi Mathieu, > > > > The full science context is, this is a simulation of a binary black hole > system. The way the solver works, the black hole locations aren?t actually > in the mesh, they?re stored as separate coordinates with an associated > radius. The black holes orbit each other during the simulation, creating > turbulence in the plasma (and magnetic field). I made a few videos of > particles being advected by the plasma velocity. This was basically just > the mesh, a seed source, and a Particle Tracer filter. This works fine, > except that particles which get within the radius of each black hole end up > coagulating and behaving non-physically. If I understand the scientist > right, in the simulation itself, they are able to handle this somehow > correctly, but that behavior doesn?t get translated to what?s saved in the > mesh. > > > > That?s part 1. Part 2 of the vis, and this works, is that the plasma > advected particles are used as seeds for streamlines through the magnetic > field -- though there are streamlines coming out of non-physically correct > particles. > > > > What I?d like is to be able to check of each of the actual particle > locations vs the black hole locations and radii and if they?re within that > radii, delete them (or hide them, make them transparent, whatever.) I was > hoping this was something I could do with a programmable filter, but I?m > open to any suggestions, including hacking on VTK source. > > > > Mark > > > > *From:* Mathieu Westphal [mailto:mathieu.westphal at kitware.com] > *Sent:* Tuesday, September 26, 2017 2:47 AM > *To:* Van Moer, Mark W ; ParaView Developers < > paraview-developers at paraview.org> > *Cc:* ParaView > *Subject:* Re: [Paraview] Accessing particles generated by ParticleTracer > > > > Hello > > Can you give some context ? At which level of implementation are you > trying to do that ? > > Best, > > > Mathieu Westphal > > > > On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W > wrote: > > Looks like I?d have to get at the std::vector > ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing > that?s not exposed by the proxy. > > Mark > > > > *From:* Van Moer, Mark W > *Sent:* Monday, September 25, 2017 2:25 PM > *To:* ParaView > *Subject:* Accessing particles generated by ParticleTracer > > > > Hi ParaView, > > > > Is it possible to get at the individual particles generated by > ParticleTracer? I?ve been handed a mesh with a velocity field and an > implied particle sink. I?d like to delete any particles that wander within > a certain radius of that sink. My thought was if I could get at the array > holding the particles I could check each distance and delete as necessary. > > > > Thanks, > > Mark > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Thu Oct 19 06:03:59 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Thu, 19 Oct 2017 10:03:59 +0000 Subject: [Paraview] Remote rendering with pvpython + grab remote image data Message-ID: Hi there, is it possible to let pvpython render images remotely on a pvserver instead of locally inside the client? If I start a pvserver on a headless machine and run the following script in a pvpython client, a window pops up on the client and shows the cone: from paraview import simple simple.Connect("") simple.Show(simple.Cone()) simple.Render() Because the server is headless, rendering is obviously done on the client. What needs to be changed to let the remote pvserver do the rendering? Of course the pvserver will then run an X server and also include a GPU. Reason is that I want to be able to grab a batch of screenshots of huge 3D scenes in the pvpython client, although the client has only weak (or even none at all) 3D capabilities. Can I use the paraview.simple module to grab an image output or a pixel array of the remotely rendered frame? Thank you Kolja -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Oct 19 09:52:14 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 19 Oct 2017 09:52:14 -0400 Subject: [Paraview] Programmable filter VTK/numpy In-Reply-To: References: Message-ID: Hi Edo, Documentation for the VTK/Numpy adapter can be found here: https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.vtk.numpy_interface.html?highlight=numpy_interface#numpy-interface-package You will likely be interested in the dataset_adapter module that provides a convenient way to wrap VTK data objects in a Python class that provides easy read/write access to VTK data arrays as Numpy arrays. You could simplify your code quite a bit using this adapter as in the following: import numpy from vtk.util import numpy_support, vtkImageImportFromArray import vtk.numpy_interface.dataset_adapter as dsa inData = dsa.WrapDataObject(inputs[0]) B = inData.PointData['array_name'] # best practice is to name the array #B = numpy_support.vtk_to_numpy( # inputs[0].GetPointData().GetScalars()) ifLarger = lambda x,M: x if x<=M else 0 fgt = numpy.frompyfunc(ifLarger,2,1) #A = fgt(B,int(2**16*0.8)) ifSmaller = lambda x,M: x if x>M else 0 flt = numpy.frompyfunc(ifSmaller,2,1) #A = flt(B,int(2**16*0.3)) ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 fbetw = numpy.frompyfunc(ifBetween,3,1) A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) outData = dsa.WrapDataObject(output) outData.PointData.append(A,'new_array_name') #A = numpy.asarray(A,dtype=uint16) #dims = inputs[0].GetDimensions() #A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') #A = numpy.ascontiguousarray(A) #importer = vtkImageImportFromArray.vtkImageImportFromArray() #importer.SetArray(A) #importer.SetDataSpacing(inputs[0].GetSpacing()) #importer.SetDataOrigin(inputs[0].GetOrigin()) #importer.Update() #output.DeepCopy(importer.GetOutput()) Hope that helps, Cory On Tue, Oct 17, 2017 at 10:38 AM, Edoardo Pasca wrote: > Hi there, > > In my programmable filter I want to use numpy to perform some operations > on the pixels (in this case a simple thresholding). I've come up with this > solution which works. I'm wondering if there are other ways to do the > conversion from numpy array to vtkImageData. > > in the following code I get a numpy array out of the input vtkImageData as > B. Then I do something on the content an store the result in a numpy array, > A. > > Then I convert the numpy array to a vtkImageData with > vtkImageImportFromArray importer class. > Finally I copy the importer output to the output of the programmable > filter. > > Thanks for any suggestions > > Edo > > import numpy > > from vtk.util import numpy_support, vtkImageImportFromArray > > import vtk.numpy_interface.dataset_adapter as dsa > > > B = numpy_support.vtk_to_numpy( > > inputs[0].GetPointData().GetScalars()) > > > ifLarger = lambda x,M: x if x<=M else 0 > > fgt = numpy.frompyfunc(ifLarger,2,1) > > #A = fgt(B,int(2**16*0.8)) > > > ifSmaller = lambda x,M: x if x>M else 0 > > flt = numpy.frompyfunc(ifSmaller,2,1) > > #A = flt(B,int(2**16*0.3)) > > > ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 > > fbetw = numpy.frompyfunc(ifBetween,3,1) > > > A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) > > > > A = numpy.asarray(A,dtype=uint16) > > dims = inputs[0].GetDimensions() > > A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') > > A = numpy.ascontiguousarray(A) > > importer = vtkImageImportFromArray.vtkImageImportFromArray() > > importer.SetArray(A) > > importer.SetDataSpacing(inputs[0].GetSpacing()) > > importer.SetDataOrigin(inputs[0].GetOrigin()) > > importer.Update() > > > output.DeepCopy(importer.GetOutput()) > > > > -- > Edo > I know you think you understand what you thought I said, but I'm not sure > you realize that what you heard is not what I meant (prob. Alan Greenspan) > :wq > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken.martin at kitware.com Thu Oct 19 14:19:26 2017 From: ken.martin at kitware.com (Ken Martin) Date: Thu, 19 Oct 2017 14:19:26 -0400 Subject: [Paraview] ParaView VR - issue with new steam vr Message-ID: Be aware if you are using the ParaView VR version with OpenVR support that a recent driver update from steam has introduced some issues causing events to be processed with delays. We should have a fixed version up in a week or so. Thanks Ken -- 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 super_achie at hotmail.com Fri Oct 20 07:29:40 2017 From: super_achie at hotmail.com (A .) Date: Fri, 20 Oct 2017 11:29:40 +0000 Subject: [Paraview] Is it possible to group vtkImageData objects? Message-ID: Dear community, Is it possible with ParaView to group vtkImageData objects in a single file format? I would like to import a couple of regular grids (i.e. vtkImageData objects) as a single file, rather than as grid_1.pvti, grid_2.pvti, etc... Once imported I would like to simply select which grid to visualize (with volume rendering). I tried the following structures already: 1. vktMultiBlockDataSet containing N vtkImageData objects as child blocks. 2. vtkMultiBlockDataSet containing 1 vtkMultiPieceDataSet, which contains N vtkImageData objects as child pieces The first structure kind of works, but in order to visualize one vtkImageData I need to "Extract Block" and "Resample to Image", which doesn't result in the exact same image when doing volume rendering. The second structure mixes my vtkImageData into a single data object. I cannot do something like "Extract Piece". The main reason I want to have a single data structure containing all my grids is so that I can pass it to my Python CoProcess Catalyst pipeline. The number of grids can vary so I cannot simply hardcode the pipeline for a fixed number of grids. If there is a way to make this work, please let me know! Best, Jimmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From dammal.tk at gmail.com Fri Oct 20 08:28:17 2017 From: dammal.tk at gmail.com (Thomas Krug) Date: Fri, 20 Oct 2017 14:28:17 +0200 Subject: [Paraview] Problem compiling ParaView with NMake Message-ID: Hallo everyone, I tried to compile ParaView for Windows 10, using the superbuild of version 5.4.1 and NMake Makefiles as generator. After the execution of nmake, I get the following error: ------ NMAKE : fatal error U1065: invalid option 'j' Stop. CMake Error at D:/Dokumente/?/ParaView/build_nmake/superbuild/sb-paraview-build.cmake:43 (message): Failed with exit code 2 ------ Is this somehow related to a wrong setting of the SUPERBUILD_PROJECT_PARALLELISM build variable or might there be another cause for the error? My configuration: Windows 10 64bit cmake version 3.8.0 VisualStudio 2015 Community Can anybody recommend how to proceed? Thanks in advance Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Oct 20 08:40:34 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 20 Oct 2017 08:40:34 -0400 Subject: [Paraview] Problem compiling ParaView with NMake In-Reply-To: References: Message-ID: Hi Thomas, I strongly recommend using the Ninja generator for building ParaView with Superbuild on Windows. It will build much faster than if you use other build generators, and will take care of the particular problem you are seeing as -j is a Ninja option that controls the level of build parallelism. Cheers, Cory On Fri, Oct 20, 2017 at 8:28 AM, Thomas Krug wrote: > Hallo everyone, > > > I tried to compile ParaView for Windows 10, using the superbuild of > version 5.4.1 and NMake Makefiles as generator. > > > After the execution of nmake, I get the following error: > > > ------ > > NMAKE : fatal error U1065: invalid option 'j' > > Stop. > > CMake Error at D:/Dokumente/?/ParaView/build_ > nmake/superbuild/sb-paraview-build.cmake:43 (message): Failed with exit > code 2 > > ------ > > > Is this somehow related to a wrong setting of > the SUPERBUILD_PROJECT_PARALLELISM build variable or might there be > another cause for the error? > > > My configuration: > > Windows 10 64bit > > cmake version 3.8.0 > > VisualStudio 2015 Community > > > Can anybody recommend how to proceed? > > > Thanks in advance > > Thomas > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Oct 20 08:48:07 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 20 Oct 2017 08:48:07 -0400 Subject: [Paraview] Is it possible to group vtkImageData objects? In-Reply-To: References: Message-ID: Hi Jimmy, Try "Append Attributes". This will yield a single vtkImageData that has several point data arrays, or "attributes". As long as the input vtkImageData have the same dimensions, this filter will do what you like. You can then pick which array you want to view with the Volume representation. To extract a vtkImageData with one or a subset of the appended arrays, you can use "Extract Component" or "Pass Arrays", respectively. HTH, Cory On Fri, Oct 20, 2017 at 7:29 AM, A . wrote: > Dear community, > > > Is it possible with ParaView to group vtkImageData objects in a single > file format? I would like to import a couple of regular grids (i.e. > vtkImageData objects) as a single file, rather than as grid_1.pvti, > grid_2.pvti, etc... Once imported I would like to simply select which grid > to visualize (with volume rendering). > > > I tried the following structures already: > > > > 1. vktMultiBlockDataSet containing N vtkImageData objects as child > blocks. > 2. vtkMultiBlockDataSet containing 1 vtkMultiPieceDataSet, which > contains N vtkImageData objects as child pieces > > > The first structure kind of works, but in order to visualize one > vtkImageData I need to "Extract Block" and "Resample to Image", which > doesn't result in the exact same image when doing volume rendering. > The second structure mixes my vtkImageData into a single data object. I > cannot do something like "Extract Piece". > > The main reason I want to have a single data structure containing all my > grids is so that I can pass it to my Python CoProcess Catalyst pipeline. > The number of grids can vary so I cannot simply hardcode the pipeline for a > fixed number of grids. > > If there is a way to make this work, please let me know! > > Best, > Jimmy > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Fri Oct 20 10:33:31 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 20 Oct 2017 10:33:31 -0400 Subject: [Paraview] Is it possible to group vtkImageData objects? In-Reply-To: References: Message-ID: On Fri, Oct 20, 2017 at 10:10 AM, A . wrote: > Thanks for your reply. I can see this work for vtkImageData objects having > the same dimensions. What would you advise when working with vtkImageData > objects of varying dimensions? In that case the attribute data will not > 'fit' a single vtkImageData object. > For that case, nothing comes to mind that will let you stored several different vtkImageData objects in a single file. Even if a vtkMultiBlockDataSet worked for your other needs, it would actually be saved out as one .vti file for each block plus a top-level .vtm file that points to the .vti files. Sorry, Cory > Best, > > Jimmy > > > ------------------------------ > *Van:* Cory Quammen > *Verzonden:* vrijdag 20 oktober 2017 14:48 > *Aan:* A . > *CC:* paraview at paraview.org > *Onderwerp:* Re: [Paraview] Is it possible to group vtkImageData objects? > > Hi Jimmy, > > Try "Append Attributes". This will yield a single vtkImageData that has > several point data arrays, or "attributes". As long as the input > vtkImageData have the same dimensions, this filter will do what you like. > You can then pick which array you want to view with the Volume > representation. > > To extract a vtkImageData with one or a subset of the appended arrays, you > can use "Extract Component" or "Pass Arrays", respectively. > > HTH, > Cory > > On Fri, Oct 20, 2017 at 7:29 AM, A . wrote: > >> Dear community, >> >> >> Is it possible with ParaView to group vtkImageData objects in a single >> file format? I would like to import a couple of regular grids (i.e. >> vtkImageData objects) as a single file, rather than as grid_1.pvti, >> grid_2.pvti, etc... Once imported I would like to simply select which grid >> to visualize (with volume rendering). >> >> >> I tried the following structures already: >> >> >> >> 1. vktMultiBlockDataSet containing N vtkImageData objects as child >> blocks. >> 2. vtkMultiBlockDataSet containing 1 vtkMultiPieceDataSet, which >> contains N vtkImageData objects as child pieces >> >> >> The first structure kind of works, but in order to visualize one >> vtkImageData I need to "Extract Block" and "Resample to Image", which >> doesn't result in the exact same image when doing volume rendering. >> The second structure mixes my vtkImageData into a single data object. I >> cannot do something like "Extract Piece". >> >> The main reason I want to have a single data structure containing all my >> grids is so that I can pass it to my Python CoProcess Catalyst pipeline. >> The number of grids can vary so I cannot simply hardcode the pipeline for a >> fixed number of grids. >> >> If there is a way to make this work, please let me know! >> >> Best, >> Jimmy >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Fri Oct 20 10:41:14 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 20 Oct 2017 10:41:14 -0400 Subject: [Paraview] Problem compiling ParaView with NMake In-Reply-To: References: Message-ID: <20171020144114.GA21450@megas.kitware.com> On Fri, Oct 20, 2017 at 08:40:34 -0400, Cory Quammen wrote: > I strongly recommend using the Ninja generator for building ParaView with > Superbuild on Windows. It will build much faster than if you use other > build generators, and will take care of the particular problem you are > seeing as -j is a Ninja option that controls the level of build parallelism. Yes, the superbuild is currently only known to support Ninja on Windows. Visual Studio is certainly out for various reasons, but NMake is probably possible; patches would be welcome if NMake is required for some reason. Some conditional should probably guard this section and not do it for NMake: https://gitlab.kitware.com/paraview/common-superbuild/blob/master/cmake/SuperbuildExternalProject.cmake#L94 but that may not be sufficient either. --Ben From cory.quammen at kitware.com Fri Oct 20 10:48:50 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 20 Oct 2017 10:48:50 -0400 Subject: [Paraview] Programmable filter VTK/numpy In-Reply-To: References: Message-ID: On Thu, Oct 19, 2017 at 11:02 AM, Edoardo Pasca wrote: > Hi Cory, > > thanks for your reply. I'd love to simplify the code like that but there > are 2 issues with that programmable filter > > 1) I miss information on the input and output variables. Where are defined? > It's a bit complicated to select them in the user interface, but it is possible. There was a related discussion on the mailing list recently on how to do this: http://paraview.markmail.org/thread/j4ynkclxcucpqoa5 In the worst case, you can hard-code the array names if they don't change. Relying on the active scalar attribute is old-style VTK and may go away someday in the not-too-near future. Or you could just keep your original code for defining array B. > 2) Paraview crashes. Paraview for windows 5.4.1 and 5.3.0 (official > kitware build) > > It seems a memory access problem. > To debug, I suggest writing your Programmable Filter script a few lines at a time to determine which line causes the crash. HTH, Cory > Edo > > On Thu, Oct 19, 2017 at 2:52 PM, Cory Quammen > wrote: > >> Hi Edo, >> >> Documentation for the VTK/Numpy adapter can be found here: >> >> https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/ >> paraview.vtk.numpy_interface.html?highlight=numpy_ >> interface#numpy-interface-package >> >> You will likely be interested in the dataset_adapter module that provides >> a convenient way to wrap VTK data objects in a Python class that provides >> easy read/write access to VTK data arrays as Numpy arrays. >> >> You could simplify your code quite a bit using this adapter as in the >> following: >> >> import numpy >> >> from vtk.util import numpy_support, vtkImageImportFromArray >> >> import vtk.numpy_interface.dataset_adapter as dsa >> >> >> inData = dsa.WrapDataObject(inputs[0]) >> >> B = inData.PointData['array_name'] # best practice is to name the array >> >> >> #B = numpy_support.vtk_to_numpy( >> >> # inputs[0].GetPointData().GetScalars()) >> >> >> ifLarger = lambda x,M: x if x<=M else 0 >> >> fgt = numpy.frompyfunc(ifLarger,2,1) >> >> #A = fgt(B,int(2**16*0.8)) >> >> >> ifSmaller = lambda x,M: x if x>M else 0 >> >> flt = numpy.frompyfunc(ifSmaller,2,1) >> >> #A = flt(B,int(2**16*0.3)) >> >> >> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >> >> fbetw = numpy.frompyfunc(ifBetween,3,1) >> >> >> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >> >> >> outData = dsa.WrapDataObject(output) >> >> outData.PointData.append(A,'new_array_name') >> >> >> #A = numpy.asarray(A,dtype=uint16) >> >> #dims = inputs[0].GetDimensions() >> >> #A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >> >> #A = numpy.ascontiguousarray(A) >> >> #importer = vtkImageImportFromArray.vtkImageImportFromArray() >> >> #importer.SetArray(A) >> >> #importer.SetDataSpacing(inputs[0].GetSpacing()) >> >> #importer.SetDataOrigin(inputs[0].GetOrigin()) >> >> #importer.Update() >> >> >> #output.DeepCopy(importer.GetOutput()) >> >> >> Hope that helps, >> >> Cory >> >> On Tue, Oct 17, 2017 at 10:38 AM, Edoardo Pasca >> wrote: >> >>> Hi there, >>> >>> In my programmable filter I want to use numpy to perform some operations >>> on the pixels (in this case a simple thresholding). I've come up with this >>> solution which works. I'm wondering if there are other ways to do the >>> conversion from numpy array to vtkImageData. >>> >>> in the following code I get a numpy array out of the input vtkImageData >>> as B. Then I do something on the content an store the result in a numpy >>> array, A. >>> >>> Then I convert the numpy array to a vtkImageData with >>> vtkImageImportFromArray importer class. >>> Finally I copy the importer output to the output of the programmable >>> filter. >>> >>> Thanks for any suggestions >>> >>> Edo >>> >>> import numpy >>> >>> from vtk.util import numpy_support, vtkImageImportFromArray >>> >>> import vtk.numpy_interface.dataset_adapter as dsa >>> >>> >>> B = numpy_support.vtk_to_numpy( >>> >>> inputs[0].GetPointData().GetScalars()) >>> >>> >>> ifLarger = lambda x,M: x if x<=M else 0 >>> >>> fgt = numpy.frompyfunc(ifLarger,2,1) >>> >>> #A = fgt(B,int(2**16*0.8)) >>> >>> >>> ifSmaller = lambda x,M: x if x>M else 0 >>> >>> flt = numpy.frompyfunc(ifSmaller,2,1) >>> >>> #A = flt(B,int(2**16*0.3)) >>> >>> >>> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >>> >>> fbetw = numpy.frompyfunc(ifBetween,3,1) >>> >>> >>> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >>> >>> >>> >>> A = numpy.asarray(A,dtype=uint16) >>> >>> dims = inputs[0].GetDimensions() >>> >>> A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >>> >>> A = numpy.ascontiguousarray(A) >>> >>> importer = vtkImageImportFromArray.vtkImageImportFromArray() >>> >>> importer.SetArray(A) >>> >>> importer.SetDataSpacing(inputs[0].GetSpacing()) >>> >>> importer.SetDataOrigin(inputs[0].GetOrigin()) >>> >>> importer.Update() >>> >>> >>> output.DeepCopy(importer.GetOutput()) >>> >>> >>> >>> -- >>> Edo >>> I know you think you understand what you thought I said, but I'm not >>> sure you realize that what you heard is not what I meant (prob. Alan >>> Greenspan) >>> :wq >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > > > -- > Edo > I know you think you understand what you thought I said, but I'm not sure > you realize that what you heard is not what I meant (prob. Alan Greenspan) > :wq > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Fri Oct 20 12:01:57 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Fri, 20 Oct 2017 18:01:57 +0200 Subject: [Paraview] Remote rendering with pvpython + grab remote image data In-Reply-To: References: Message-ID: I found that simple.WriteImage(...) solves the second part of my problem, which is to grab the image data. But I have still no clue how to make the pvserver render the scene remotely and only transfer the rendered image to the pvpython client instead of all 3D datasets (which will be huge). Any help? Kolja On Thu, Oct 19, 2017 at 12:03 PM, Kolja Petersen wrote: > Hi there, > is it possible to let pvpython render images remotely on a pvserver > instead of locally inside the client? > > If I start a pvserver on a headless machine and run the following script > in a pvpython client, a window pops up on the client and shows the cone: > > from paraview import simple > simple.Connect("") > simple.Show(simple.Cone()) > simple.Render() > > Because the server is headless, rendering is obviously done on the client. > What needs to be changed to let the remote pvserver do the rendering? Of > course the pvserver will then run an X server and also include a GPU. > > Reason is that I want to be able to grab a batch of screenshots of huge 3D > scenes in the pvpython client, although the client has only weak (or even > none at all) 3D capabilities. > Can I use the paraview.simple module to grab an image output or a pixel > array of the remotely rendered frame? > > Thank you > Kolja > Virenfrei. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillermo180395 at gmail.com Sat Oct 21 14:01:13 2017 From: guillermo180395 at gmail.com (Guillermo) Date: Sat, 21 Oct 2017 17:01:13 -0100 Subject: [Paraview] Fwd: paraview.simple In-Reply-To: References: <10634343-3815-d21f-b66e-eeaadfcba5b4@gmail.com> <27625f87-f17d-3ad2-0666-0ccc91d7cb82@gmail.com> <5ab04f9a-396c-7c1a-688c-25da63a15b91@gmail.com> Message-ID: <72dd70b8-03ce-1306-df65-9c7b18df9d3a@gmail.com> Hi Cory, Sorry for the delayed response. I have been trying to understand and learn to use the gdb, but I could not accomplish the task you mentioned. I am sorry :(. When ever it is possible I will give it another try. Cheers, Guillermo On 26/09/17 14:16, Cory Quammen wrote: > Hmm, this is very odd. I don't know why libarpack would be loaded. It > looks like something is loading it and libarpack does not like the > libgfortran that ships with ParaView. > > If you are familiar with gdb, could you run pvpython through gdb and > get a stack trace where libarpack is being loaded? > > Thanks, > Cory > > > > On Mon, Sep 18, 2017 at 2:48 PM, Guillermo wrote: >> Sorry but I could not fix it. >> >> I removed the ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit from /opt/ >> directory >> >> Reinstalled paraview following the steps I have indicated on the previous >> email. >> >> I have deleted all sentences from ~/.bashrc except the first one: "export >> PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/" >> >> Run paraview as: >> >> paraview >> >> And worked fine. >> However I executed the script as you indicated: >> >> pvpython >> >> And the error message is: >> >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/libgfortran.so.3: >> version `GFORTRAN_1.4' not found (required by /usr/lib/libarpack.so.2) >> Traceback (most recent call last): >> File , line 47, in >> reader = OpenDataFile(prefix+ '.vtu'); #This is sentence from my script >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py", >> line 846, in OpenDataFile >> raise RuntimeError (msg) >> >> I am really sorry for the inconveniences. >> >> Guillermo >> >> >> On 18/09/17 13:59, Cory Quammen wrote: >> >> On Sat, Sep 16, 2017 at 7:48 AM, Guillermo >> wrote: >> >> Hi Cory, >> >> I am trying again to install paraview 5.3. I have downloaded it from the >> paraview webpage. I am using Ubuntu 16.04 LTS; OS type 64-bit. Then I >> followed these steps: >> >> tar xzvf ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz >> >> sudo mv ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit /opt/ >> >> sudo emacs ~/.bashrc # and added the following lines: >> >> export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ >> export >> PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/Utilities/VTKPythonWrapping/site-packages >> #fixes "no module named paraview" >> export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/bin #fixes >> "ImportError: No module named libvtkCommonPython" >> export >> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packagesexport >> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3 >> >> Setting the PYTHONPATH is not necessary to use pvpython. pvpython sets >> up the necessary system paths within the Python executable so you >> don't have to. >> >> Saved and exit >> >> #Created the symbolic links >> >> sudo ln -s /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/ >> /usr/bin/paraview >> >> sudo ln -s /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/ >> /usr/lib/paraview >> >> #Restarted the computer and then executed: >> >> ./paraview >> >> This command means "launch the paraview executable in my current >> working directory". To use the paraview executable in your PATH, >> remove the ./ and run >> >> paraview >> >> This will make sure the paraview found on your PATH is executed. >> >> And paraview opens and works fine. >> >> # Execute the script I mentioned in previous emails: >> >> ./ >> >> And the following error message appears: >> >> Error: Could not import vtkCommonComputationalGeometry >> Traceback (most recent call last): >> File "./", line 42, in >> from paraview.simple import * >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py", >> line 43, in >> from paraview import servermanager >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py", >> line 53, in >> from paraview import vtk >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py", >> line 7, in >> from paraview.vtk.vtkCommonCore import * >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py", >> line 9, in >> from vtkCommonCorePython import * >> ImportError: No module named vtkCommonCorePython >> >> Then I tried running it by using: >> >> ./pvpython >> >> And the error message is the following: >> >> bash: ./pvpython: No such file or directory >> >> Again, when you run ./pvpython, it is looking for a pvpython >> executable in the present working directory. Drop the ./ and it should >> work. >> >> I have also tried by using: >> >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/pvpython > script> >> >> And the message is: >> >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/libgfortran.so.3: >> version `GFORTRAN_1.4' not found (required by /usr/lib/libarpack.so.2) >> Traceback (most recent call last): >> File , line 47, in >> reader = OpenDataFile(prefix+ '.vtu'); >> File >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py", >> line 846, in OpenDataFile >> raise RuntimeError (msg) >> >> My python version is (python --version) Python 2.7.12 >> >> This is strange. I don't see the same when I download ParaView 5.3 on >> Ubuntu 16.04. I wonder if you are pulling in something by setting >> PYTHONPATH? Try not setting PYTHONPATH (it isn't needed to use >> pvpython) and see if that resolves the error. >> >> HTH, >> Cory >> >> My script starts with: >> #!/usr/bin/python >> import re,sys,os,shutil >> -- and I also use -- >> from paraview.simple import * >> >> Sorry for the inconveniences. >> >> Really grateful, >> >> Guillermo S. >> >> >> >> On 07/09/17 18:54, Cory Quammen wrote: >> >> I usually use: >> ./ >> >> I think you would be better off running your script with >> >> ./pvpython >> >> pvpython comes with the ParaView binary and is located in the same >> directory as the 'paraview' executable. pvpython uses the same Python >> as ParaView is, so compatibility with some local Python on your system >> is not a problem. Further, pvpython sets up Python environment to >> provide access to the ParaView and VTK Python modules without having >> to set up any environment variables. >> >> but I also tried with: >> python3 >> >> python3 definitely won't work with the official ParaView binaries, >> which are built against Python 2.7. >> >> HTH, >> Cory >> >> Guillermo >> >> P.S: With the version 5.0.1 installed and working fine (the script works) >> I >> have searched the lib you mentioned to me but I do not have it. >> >> 2017-08-23 13:15 GMT-01:00 Cory Quammen : >> >> The problem results when executing the python script from the Ubuntu's >> terminal. >> >> What command are you using to run the Python script? >> >> Thanks, >> Cory >> >> Thank you very much. >> >> ASAP I will try to install the v5.3 and I will let you know if I >> encounter >> any problem. >> >> Cheers, >> >> Guillermo >> >> >> On 23/08/17 12:58, Cory Quammen wrote: >> >> Guillermo, >> >> I'm sorry that my suggestions didn't work out. >> >> Could you try one last thing? Please run the following commands: >> >> cd /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin >> ./paraview >> >> That should work without problem. If it doesn't, we definitely have a >> problem. >> >> Cheers, >> Cory >> >> On Wed, Aug 23, 2017 at 7:32 AM, Guillermo >> wrote: >> >> Hi Cory, >> >> I have made a purge of paraview, reinstalled the 5.3 version, as I >> indicated >> on the first email, but the result is the same, it does not work and >> the >> message is the same as in the beginning. Also, the libs you indicated >> to >> me >> are not present. >> >> Actually, I really need to use this python script and I do not have too >> much >> time to spend on it, so I decided to downgrade to 5.0.1 version. >> >> In a near future, 1-1.5 month, I will try it again, as I want to >> upgrade >> to >> a newer version. I will let you know if I experiment any issue. >> >> Sorry for the inconveniences, >> >> Really grateful, >> >> Guillermo S. >> >> >> On 22/08/17 13:46, Cory Quammen wrote: >> >> Oops, I failed to change the version number in the line I gave you, >> but caught that and corrected it, just not quite to the right version >> number. >> >> Try >> >> export >> >> >> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3 >> >> Basically, you have to set the PYTHONPATH to where the lib*Python.so >> files are located. Make sure >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3 >> exists and confirm that a file starting with libvtkCommonCorePython27 >> is there. >> >> Stepping back a bit, you wouldn't have to do any of this PYTHONPATH >> stuff if you just add >> >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin >> >> to your PATH. >> >> HTH, >> Cory >> >> On Tue, Aug 22, 2017 at 1:38 PM, Guillermo >> wrote: >> >> I forgot to mention that the error message is the same as before. >> >> >> On 22/08/17 13:24, Cory Quammen wrote: >> >> Guillermo, >> >> Please CC the mailing list so others can participate and learn from >> the discussion. >> >> That looks like progress. Now try adding to your .bashrc: >> >> export >> >> >> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.4 >> >> HTH, >> Cory >> >> On Tue, Aug 22, 2017 at 10:19 AM, Guillermo Su?rez >> wrote: >> >> Hi Cory, >> >> Thank you very much for your fast response. Unfortunately it didn't >> work >> (I >> just copied and pasted into the .bashrc the sentence you gave to me). >> However, the new error message is: >> >> Error: Could not import vtkCommonComputationalGeometry >> Traceback (most recent call last): >> File "./", line XX, in >> from paraview.simple import * >> File >> >> >> >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/simple.py", >> line 43, in >> from paraview import servermanager >> File >> >> >> >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/servermanager.py", >> line 53, in >> from paraview import vtk >> File >> >> >> >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/__init__.py", >> line 7, in >> from paraview.vtk.vtkCommonCore import * >> File >> >> >> >> "/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages/paraview/vtk/vtkCommonCore.py", >> line 9, in >> from vtkCommonCorePython import * >> ImportError: No module named vtkCommonCorePython >> >> I have searched around the Internet and I found a thread that I though >> it >> could help: >> http://public.kitware.com/pipermail/paraview/2014-February/030506.html >> >> The idea is to use this: >> >> setenv LD_LIBRARY_PATH >> your-install/lib/paraview-4.1:${LD_LIBRARY_PATH} >> >> setenv PYTHONPATH your-install /lib/paraview-4.1/site-packages: >> your-install >> /lib/paraview-4.1: your-install /lib/paraview-4.1/site-packages/vtk >> >> I copied and pasted this on my .bashrc file substituting the >> corresponding >> names, but it didn't work. :( >> >> Any idea? >> >> Really grateful, >> >> Guillermo S. >> >> >> >> >> 2017-08-22 12:31 GMT-01:00 Cory Quammen : >> >> Hi Guillermo, >> >> I think the content in that wiki page is outdated. >> >> Try setting PYTHONPATH to the following in your .bashrc >> >> export >> >> >> >> PYTHONPATH=$PYTHONPATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/python2.7/site-packages >> >> See if that works and let us know, >> Cory >> >> On Tue, Aug 22, 2017 at 6:04 AM, Guillermo Su?rez >> wrote: >> >> Dear all, >> >> Yesterday I installed paraview v5.3 using the binaries from the website >> on my Linux (ubuntu) OS. The steps followed are (they my influence on >> the >> final result): >> >> Download the binaries from http://www.paraview.org. For me this results >> in: ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz >> Extract and copy them: >> >> tar xzvf -C /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit.tar.gz >> sudo emacs ~/.bashrc >> >> then insert the following line, save & close >> >> export PATH=$PATH:/opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/ >> >> Then I created a symbolic link: >> >> sudo ln -s >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/bin/paraview >> /usr/bin/paraview >> >> sudo ln -s >> /opt/ParaView-5.3.0-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-5.3/ >> /usr/lib/paraview-5.3 >> >> Before installing paraview from the binaries files I was using the >> version from Ubuntu repositories (paraview version 5.0 [I think]). Also >> I >> was using a python script which uses paraview to take some snapshoots >> and it >> worked really well. The problem is that now, when I want to use this >> python >> script, it reports this message: >> >> "from paraview.simple import * >> ImportError: No module named paraview.simple" >> >> I have made some searches on the Internet and I found a web page about >> this problem: https://www.paraview.org/Wiki/ParaView/EnvironmentSetup >> I have copied and pasted those sentences on my .bashrc file, restarted >> the computer but it still does not work. >> >> Could you please help me? >> >> Best regards, >> >> Guillermo S. >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> >> >> >> >> >> >> >> -- >> 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: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> > > From antech777 at gmail.com Mon Oct 23 02:41:21 2017 From: antech777 at gmail.com (Andrew) Date: Mon, 23 Oct 2017 09:41:21 +0300 Subject: [Paraview] Equally spaced points on a slice (for the streamlines) Message-ID: Hello. I need to distribute points on a slice equally to start streamlines from these points. The problem is that the Mask Points filter seems to not to have such option. I tried all combinations of randomizing in this filter but the problem persist. My mesh is unstructured tetra with inflation layers on wall so there are lots of cells (points) at the wall and almost all streamlines start in near-wall region while I need their starting points to be equally distributed along the slice. Is there a way to do it in ParaView? Thanks for attention... -------------- next part -------------- An HTML attachment was scrubbed... URL: From super_achie at hotmail.com Mon Oct 23 05:19:09 2017 From: super_achie at hotmail.com (A .) Date: Mon, 23 Oct 2017 09:19:09 +0000 Subject: [Paraview] Setting glyph "Scalars" property in a C++ pipeline Message-ID: Dear community, I'm having a hard time figuring out how to set the "Scalars" property of a glyph object with the C++ API. In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis'] In C++ I would assume something like: vtkSMPropertyHelper(glyph, "Scalars", true).Set("['POINTS', 'Diameters']"); But this unfortunately doesn't work. I cannot seem to find any examples or documentation on this. If someone has an example or the relevant documentation for setting this property, could you please share it with me? It would be great if you could let me know how I can find out how to set a certain property of a source or filter, so that I don't need to ask such questions in the future ? Best, Jimmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Mon Oct 23 08:09:22 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Mon, 23 Oct 2017 07:09:22 -0500 Subject: [Paraview] Rescale & axes grid tricks Message-ID: Cory, Alan and all ParaView experts, I keep playing with two versions of Paraview following your kind advice, thanks (see below, on Paraview 5.4.1 error message & freeze). The earlier versions freeze sometimes as well, but I found a way to isolate and avoid the bug (I just avoid making full screen or draw the screen edges). The recommended Paraview 4.4.0 I like the most, since it has button "Rescale", which I find very useful: when you do threshold to remove extreme values from the view, the picture looses contrast, and you can rescale the color again. BUT in Paraview 5.2.0 I do not see "Rescale" button. So, after "Threshold" all looks grayish & hard to understand what is what. I then would stick to Paraview 4.4.0, but it has another drawback or a bug: when I try to make visible Axas Grid & units, it works with 3D data sets and 1D data sets (along one line), but does not work with 2D data sets. Namely, it first appears, when I load the file, but after I click Glyph or Threshold, the picture emerges, but the Axas Grid & units disapper! With 3D/1D data it does not, and you can enjoy seeing your full geometry. But not with 2D, and I now mostly work with 2D data. Paraview 5.2.0 has no such problem. SUMMARY: Paraview 5.2.0 allows seeing Axas Grid & units, but does not allow Rescale color. Paraview 4.4.0 does not allow seeing Axas Grid & units with 2D data, but allows Rescale. Is there a way to enjoy both? Thank you, Sonya Davydycheva (713)498-6139 On Mon, Oct 9, 2017 at 1:54 PM, Scott, W Alan wrote: > Sonya, > > If nothing else works, use ParaView 4.4.0. That release is a workhorse, > and was the version before we updated OpenGL requirements. > > > > Alan > > > > > > *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Sonya > Davydycheva > *Sent:* Monday, October 9, 2017 9:53 AM > *To:* Quammen, Cory (External Contacts) > *Cc:* ParaView > *Subject:* [EXTERNAL] Re: [Paraview] Paraview 5.4.1 error message & freeze > > > > Hello Cory & Paraview team, > > > > I am just giving below a SUMMARY on the errors I encountered while working > with ParaView. > > > > Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under > Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; > does not freeze. > > > > Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. > > > > Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: shows > images for model.vtk & glyph for data.vtk, but freezes while attempting to > do full screen or just to drug the screen edge in order to increase screen > with the following diagnostics: > > -------------------- > > Output messages > > QWidget:: repaint: Recursive repaint detected. > > --------------------- > > > > Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows > images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the > application ALSO freezes while attempting to do full screen or just to drug > the screen edge in order to increase screen, with no diagnostics. > > > > - - - - - - - > > So, for now I have to continue working with version 4.0.1, and it is fine, > so far, for the learning purpose. To prevent freezing, I simply avoid to > increase screen / full screen. > > > > The version 4.0.1 was my random choice, just the first version I saw > available for 64-bit system. > > Would you recommend for me to try any newer version? > > > > Many thanks for your help, > > > > Sonya Davydycheva > > > > > > On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva > wrote: > > Cory, > > > > The Glyph works just fine with my data.vtk and is very useful tool! It was > a good advice. > > > > As to not-responding and freezing of ParaView: let me accumulate > statistics and then I will let you know. > > > > I appreciate your help, > > > Sonya Davydycheva > > > > > > On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen > wrote: > > [cc'ing to the paraview mailing list so others may contribute to and > benefit from the discussion] > > > > On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva > wrote: > > Thank you Cory, > > > > For your prompt response. Good to know that the message is harmless. > > > > My Paraview 5.4.1 just stops responding sometimes. > > > > If it stops responding consistently after a specific event or sequence of > events, please let us know. It shouldn't do that :-) > > > > But, well, I installed on another (older) laptop an older version, 4.0.1 > (5.4.1 did not work there), and it does not freeze. So far, I think it is > ok for my learning purpose. > > > > Very good. > > > > Both versions (on both computers) allow me to visualize my sample > model.vtk file: in RenderView I can do Threshold, Slice and Clip and see > some 3D pictures. But something is wrong with my other sample data.vtk file > (or, with my approach?). It contains data points (3 coordinates) and the > resistivity values assigned to them. When I open it, I can see only the > resistivity colorbar, and I can add axes, but the image stays empty. > > Threshold does not work at all (and even the colorbar disappears when I > apply it). > > Slice somewhat works, but it stays gray/empty and does not change as I > move it along the box. > > And when I am in "Slice" mode, pressing "Apply" removes the colorbar as > well, and does not show anything meaningful. > > > > Any idea how can I activate Threshold or Slice for my resistivity data.vtk? > > > > I am beginner and suspect I just miss something simple... > > Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, does > not help, so far. > > > > I suspect that you do not have any cells in your 3-point data.vtk file. > Without cells, there is nothing for ParaView to visualize. This is a common > stumbling block for people trying to visualize point data.I suggest after > loading your data applying a Glyph filter. It should show you three spheres > colored according to your resistivity array. Now you should be able to > apply the Threshold and Slice filters as you would expect. > > > > Thanks, > > Cory > > > > Many thanks in advance, > > > > Best regards, > > > Sonya Davydycheva > > > > > > On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen > wrote: > > On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva > wrote: > > Hello, > > > > Does anybody know what this Output message mean? (appears when I press > > "Example Visuatizations"... thougth, some examples emerge), > > --------- > > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on > > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > > size: 956x403, maximum size: 16777215x16777215).QWindowsWin > dow::setGeometry: > > Unable to set geometry 996x403+228+226 on > > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting geometry: > > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum > > size: 956x403, maximum size: 16777215x16777215). > > ---------- > > The message is a warning from the Qt side. Aside from being annoying, > it should be harmless. Sorry, but we haven't figured out why this > appears on some systems and not others. > > > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often > freezes. > > I wonder if this can be related to the issue above. > > Does it stop responding or does it crash? It's probably not related to > the warning message above. > > Cory > > > Thanks, > > > > Sonya Davydycheva > > > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > > > > > > > > -- > > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Oct 23 08:47:07 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 23 Oct 2017 08:47:07 -0400 Subject: [Paraview] Rescale & axes grid tricks In-Reply-To: References: Message-ID: Sonya, ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in red here: [image: Inline image 1] Best regards, Cory On Mon, Oct 23, 2017 at 8:09 AM, Sonya Davydycheva wrote: > Cory, Alan and all ParaView experts, > > I keep playing with two versions of Paraview following your kind advice, > thanks (see below, on Paraview 5.4.1 error message & freeze). > > The earlier versions freeze sometimes as well, but I found a way to > isolate and avoid the bug (I just avoid making full screen or draw the > screen edges). > > The recommended Paraview 4.4.0 I like the most, since it has button > "Rescale", which I find very useful: when you do threshold to remove > extreme values from the view, the picture looses contrast, and you can > rescale the color again. > > BUT in Paraview 5.2.0 I do not see "Rescale" button. So, after > "Threshold" all looks grayish & hard to understand what is what. > > I then would stick to Paraview 4.4.0, but it has another drawback or a bug: > when I try to make visible Axas Grid & units, it works with 3D data sets > and 1D data sets (along one line), but does not work with 2D data sets. > Namely, it first appears, when I load the file, but after I click Glyph or > Threshold, the picture emerges, but the Axas Grid & units disapper! With > 3D/1D data it does not, and you can enjoy seeing your full geometry. But > not with 2D, and I now mostly work with 2D data. Paraview 5.2.0 has no > such problem. > > SUMMARY: > Paraview 5.2.0 allows seeing Axas Grid & units, but does not allow Rescale > color. > Paraview 4.4.0 does not allow seeing Axas Grid & units with 2D data, but > allows Rescale. > > Is there a way to enjoy both? > > Thank you, > > Sonya Davydycheva > (713)498-6139 > > > On Mon, Oct 9, 2017 at 1:54 PM, Scott, W Alan wrote: > >> Sonya, >> >> If nothing else works, use ParaView 4.4.0. That release is a workhorse, >> and was the version before we updated OpenGL requirements. >> >> >> >> Alan >> >> >> >> >> >> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Sonya >> Davydycheva >> *Sent:* Monday, October 9, 2017 9:53 AM >> *To:* Quammen, Cory (External Contacts) >> *Cc:* ParaView >> *Subject:* [EXTERNAL] Re: [Paraview] Paraview 5.4.1 error message & >> freeze >> >> >> >> Hello Cory & Paraview team, >> >> >> >> I am just giving below a SUMMARY on the errors I encountered while >> working with ParaView. >> >> >> >> Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under >> Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; >> does not freeze. >> >> >> >> Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. >> >> >> >> Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: >> shows images for model.vtk & glyph for data.vtk, but freezes while >> attempting to do full screen or just to drug the screen edge in order to >> increase screen with the following diagnostics: >> >> -------------------- >> >> Output messages >> >> QWidget:: repaint: Recursive repaint detected. >> >> --------------------- >> >> >> >> Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows >> images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the >> application ALSO freezes while attempting to do full screen or just to drug >> the screen edge in order to increase screen, with no diagnostics. >> >> >> >> - - - - - - - >> >> So, for now I have to continue working with version 4.0.1, and it is >> fine, so far, for the learning purpose. To prevent freezing, I simply avoid >> to increase screen / full screen. >> >> >> >> The version 4.0.1 was my random choice, just the first version I saw >> available for 64-bit system. >> >> Would you recommend for me to try any newer version? >> >> >> >> Many thanks for your help, >> >> >> >> Sonya Davydycheva >> >> >> >> >> >> On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva >> wrote: >> >> Cory, >> >> >> >> The Glyph works just fine with my data.vtk and is very useful tool! It >> was a good advice. >> >> >> >> As to not-responding and freezing of ParaView: let me accumulate >> statistics and then I will let you know. >> >> >> >> I appreciate your help, >> >> >> Sonya Davydycheva >> >> >> >> >> >> On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen >> wrote: >> >> [cc'ing to the paraview mailing list so others may contribute to and >> benefit from the discussion] >> >> >> >> On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva >> wrote: >> >> Thank you Cory, >> >> >> >> For your prompt response. Good to know that the message is harmless. >> >> >> >> My Paraview 5.4.1 just stops responding sometimes. >> >> >> >> If it stops responding consistently after a specific event or sequence of >> events, please let us know. It shouldn't do that :-) >> >> >> >> But, well, I installed on another (older) laptop an older version, 4.0.1 >> (5.4.1 did not work there), and it does not freeze. So far, I think it is >> ok for my learning purpose. >> >> >> >> Very good. >> >> >> >> Both versions (on both computers) allow me to visualize my sample >> model.vtk file: in RenderView I can do Threshold, Slice and Clip and see >> some 3D pictures. But something is wrong with my other sample data.vtk file >> (or, with my approach?). It contains data points (3 coordinates) and the >> resistivity values assigned to them. When I open it, I can see only the >> resistivity colorbar, and I can add axes, but the image stays empty. >> >> Threshold does not work at all (and even the colorbar disappears when I >> apply it). >> >> Slice somewhat works, but it stays gray/empty and does not change as I >> move it along the box. >> >> And when I am in "Slice" mode, pressing "Apply" removes the colorbar as >> well, and does not show anything meaningful. >> >> >> >> Any idea how can I activate Threshold or Slice for my resistivity >> data.vtk? >> >> >> >> I am beginner and suspect I just miss something simple... >> >> Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, >> does not help, so far. >> >> >> >> I suspect that you do not have any cells in your 3-point data.vtk file. >> Without cells, there is nothing for ParaView to visualize. This is a common >> stumbling block for people trying to visualize point data.I suggest after >> loading your data applying a Glyph filter. It should show you three spheres >> colored according to your resistivity array. Now you should be able to >> apply the Threshold and Slice filters as you would expect. >> >> >> >> Thanks, >> >> Cory >> >> >> >> Many thanks in advance, >> >> >> >> Best regards, >> >> >> Sonya Davydycheva >> >> >> >> >> >> On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen >> wrote: >> >> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >> wrote: >> > Hello, >> > >> > Does anybody know what this Output message mean? (appears when I press >> > "Example Visuatizations"... thougth, some examples emerge), >> > --------- >> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >> dow::setGeometry: >> > Unable to set geometry 996x403+228+226 on >> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >> geometry: >> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >> > size: 956x403, maximum size: 16777215x16777215). >> > ---------- >> >> The message is a warning from the Qt side. Aside from being annoying, >> it should be harmless. Sorry, but we haven't figured out why this >> appears on some systems and not others. >> >> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >> freezes. >> > I wonder if this can be related to the issue above. >> >> Does it stop responding or does it crash? It's probably not related to >> the warning message above. >> >> Cory >> >> > Thanks, >> > >> > Sonya Davydycheva >> > >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> >> >> >> >> >> -- >> >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> >> >> > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 22828 bytes Desc: not available URL: From claudio.pascarelli at unisalento.it Mon Oct 23 08:55:27 2017 From: claudio.pascarelli at unisalento.it (Ing. Claudio Pascarelli) Date: Mon, 23 Oct 2017 12:55:27 +0000 Subject: [Paraview] Script for exporting multiple scenes In-Reply-To: References: Message-ID: Hi, these are the first times that I'm using Paraview and Python. I would like to create a script that: 1 - Read the number and name of properties (variables/contour plot) that I have in my .vtu file (for instance TEMPERATURE and TH_FLUX) 2 - Export every contour plot (Export Scenes) in vrml format, looping among them (like a "for" cycle), with the right name (for instance VtuName_TEMPERATURE.vrml and VtuName_TH_FLUX.vrml) A priori I do not know how many and which are these properties so I think that I need first lo list them in some way. If I record a trace this is what I obtain *************************************************************************** #### import the simple module from the paraview from paraview.simple import * #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() # get active source. valvola_XXX_termicovtu = GetActiveSource() # get active view renderView1 = GetActiveViewOrCreate('RenderView') # uncomment following to set a specific view size # renderView1.ViewSize = [763, 502] # get display properties valvola_XXX_termicovtuDisplay = GetDisplayProperties(valvola_XXX_termicovtu, view=renderView1) # set scalar coloring ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TEMP')) # rescale color and/or opacity maps used to include current data range valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, False) # show color bar/color legend valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) # get color transfer function/color map for 'TEMP' tEMPLUT = GetColorTransferFunction('TEMP') # export view ExportView('C:/Users/User/Desktop/TEMP.vrml', view=renderView1) # set scalar coloring ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TH_FLUX', 'Magnitude')) # Hide the scalar bar for this color map if no visible data is colored by it. HideScalarBarIfNotNeeded(tEMPLUT, renderView1) # rescale color and/or opacity maps used to include current data range valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, False) # show color bar/color legend valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) # get color transfer function/color map for 'TH_FLUX' tH_FLUXLUT = GetColorTransferFunction('TH_FLUX') # export view ExportView('C:/Users/User/Desktop/TH_FLUX.vrml', view=renderView1) #### saving camera placements for all active views # current camera placement for renderView1 renderView1.CameraPosition = [-0.09199999999789327, 0.0665, 0.7345691646101393] renderView1.CameraFocalPoint = [-0.09199999999789327, 0.0665, -0.05375] renderView1.CameraParallelScale = 0.2040320134204131 #### uncomment the following to render all views # RenderAllViews() # alternatively, if you want to write images, you can use SaveScreenshot(...). ******************************************************* Thank you!!!! Claudio Pascarelli -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Mon Oct 23 09:20:32 2017 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Mon, 23 Oct 2017 11:20:32 -0200 Subject: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information Message-ID: Hi! I would like to know if there's a way to acess the information/attributes of the cameras there are created trough a .pvx file To acess the attributes in the camera of the active Layout/RenderView I do: 1 - Open Python Shell 2 - camera = GetActiveCamera() 3 - print(camera) And the output is: vtkOpenGLCamera (0x4a45e80) Debug: Off Modified Time: 405029 Reference Count: 5 Registered Events: Registered Observers: (none) ClippingRange: (1.63277, 5.56498) DirectionOfProjection: (0.526409, 0.492965, -0.692733) Distance: 3.37001 EyeAngle: 2 FocalDisk: 1 FocalPoint: (0, 0, 0) ViewShear: (0, 0, 1) ParallelProjection: Off ParallelScale: 0.872667 Position: (-1.77401, -1.6613, 2.33452) Stereo: Off Left Eye: 1 Thickness: 3.93221 ViewAngle: 30 UseHorizontalViewAngle: 0 UserTransform: (none) (none) FreezeFocalPoint: (none) ViewPlaneNormal: (-0.526409, -0.492965, 0.692733) ViewUp: (-0.0865543, 0.841596, 0.533127) WindowCenter: (0, 0) UseOffAxisProjection: (0) ScreenBottomLeft: (-0.5, -0.5, -0.5) ScreenBottomRight: (0.5, -0.5, -0.5) ScreenTopRight: (0.5, 0.5, -0.5) EyeSeparation: (0.06) WorldToScreenMatrix: (0x4a457c0 Debug: Off Modified Time: 155883 Reference Count: 1 Registered Events: (none) Elements: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ) EyeTransformMatrix: (0x4a458b0 Debug: Off Modified Time: 155885 Reference Count: 1 Registered Events: (none) Elements: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ) ModelTransformMatrix: (0x4a459a0 Debug: Off Modified Time: 155887 Reference Count: 1 Registered Events: (none) Elements: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ) ProjectionTransform: (0x4a46280 Debug: Off Modified Time: 405415 Reference Count: 1 Registered Events: (none) Inverse: (0) Matrix: (0x4a46330) Debug: Off Modified Time: 405416 Reference Count: 1 Registered Events: (none) Elements: 3.76067 0 0 0 0 3.73205 0 0 0 0 -1.83046 -4.62147 0 0 -1 0 Input: (0) InverseFlag: 0 NumberOfConcatenatedTransforms: 1 0: vtkSimpleTransform at 0x6ecdae0 ) *How to get these informations of the cameras created from a .pvx file?* Thanks in advance, Leonardo Pessanha Laboratory of Computational Methods in Engineering Federal University of Rio de Janeiro - COPPE Rio de Janeiro, RJ, Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From leonardopessanha74 at gmail.com Mon Oct 23 09:36:30 2017 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Mon, 23 Oct 2017 11:36:30 -0200 Subject: [Paraview] How to run a python script in every interaction Message-ID: Hi! How can I run a python script in every interaction? By interaction I mean camera movements, hitting apply buttons and etc I don't know if an approach like running the script every N frames is the ideal, but if that's possible it would be a great start too Best regards, Leonardo Pessanha Laboratory of Computational Methods in Engineering Federal University of Rio de Janeiro - COPPE Rio de Janeiro, RJ, Brasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdavyd at gmail.com Mon Oct 23 09:51:19 2017 From: sdavyd at gmail.com (Sonya Davydycheva) Date: Mon, 23 Oct 2017 08:51:19 -0500 Subject: [Paraview] Rescale & axes grid tricks In-Reply-To: References: Message-ID: Cory, This is what I needed. It works. Many thanks, Sonya Davydycheva (713)498-6139 On Mon, Oct 23, 2017 at 7:47 AM, Cory Quammen wrote: > Sonya, > > ParaView 5.2.0 does have a "Rescale" color map feature. It is circled in > red here: > > [image: Inline image 1] > > Best regards, > Cory > > On Mon, Oct 23, 2017 at 8:09 AM, Sonya Davydycheva > wrote: > >> Cory, Alan and all ParaView experts, >> >> I keep playing with two versions of Paraview following your kind advice, >> thanks (see below, on Paraview 5.4.1 error message & freeze). >> >> The earlier versions freeze sometimes as well, but I found a way to >> isolate and avoid the bug (I just avoid making full screen or draw the >> screen edges). >> >> The recommended Paraview 4.4.0 I like the most, since it has button >> "Rescale", which I find very useful: when you do threshold to remove >> extreme values from the view, the picture looses contrast, and you can >> rescale the color again. >> >> BUT in Paraview 5.2.0 I do not see "Rescale" button. So, after >> "Threshold" all looks grayish & hard to understand what is what. >> >> I then would stick to Paraview 4.4.0, but it has another drawback or a >> bug: >> when I try to make visible Axas Grid & units, it works with 3D data sets >> and 1D data sets (along one line), but does not work with 2D data sets. >> Namely, it first appears, when I load the file, but after I click Glyph or >> Threshold, the picture emerges, but the Axas Grid & units disapper! With >> 3D/1D data it does not, and you can enjoy seeing your full geometry. But >> not with 2D, and I now mostly work with 2D data. Paraview 5.2.0 has no >> such problem. >> >> SUMMARY: >> Paraview 5.2.0 allows seeing Axas Grid & units, but does not allow >> Rescale color. >> Paraview 4.4.0 does not allow seeing Axas Grid & units with 2D data, but >> allows Rescale. >> >> Is there a way to enjoy both? >> >> Thank you, >> >> Sonya Davydycheva >> (713)498-6139 >> >> >> On Mon, Oct 9, 2017 at 1:54 PM, Scott, W Alan wrote: >> >>> Sonya, >>> >>> If nothing else works, use ParaView 4.4.0. That release is a workhorse, >>> and was the version before we updated OpenGL requirements. >>> >>> >>> >>> Alan >>> >>> >>> >>> >>> >>> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Sonya >>> Davydycheva >>> *Sent:* Monday, October 9, 2017 9:53 AM >>> *To:* Quammen, Cory (External Contacts) >>> *Cc:* ParaView >>> *Subject:* [EXTERNAL] Re: [Paraview] Paraview 5.4.1 error message & >>> freeze >>> >>> >>> >>> Hello Cory & Paraview team, >>> >>> >>> >>> I am just giving below a SUMMARY on the errors I encountered while >>> working with ParaView. >>> >>> >>> >>> Version 4.0.1 installed on my old (2013) 64-bit Toshiba laptop under >>> Windows 7: works fine, shows images for model.vtk & glyph for data.vtk; >>> does not freeze. >>> >>> >>> >>> Version 5.4.1 just DOES NOT install on my old (2013) Toshiba laptop. >>> >>> >>> >>> Version 4.0.1 installed on a new (2016) Dell laptop under Windows 7: >>> shows images for model.vtk & glyph for data.vtk, but freezes while >>> attempting to do full screen or just to drug the screen edge in order to >>> increase screen with the following diagnostics: >>> >>> -------------------- >>> >>> Output messages >>> >>> QWidget:: repaint: Recursive repaint detected. >>> >>> --------------------- >>> >>> >>> >>> Version 5.4.1 installed on a 2016 Dell laptop under Windows 7: shows >>> images for model.vtk, BUT glyph for data.vtk STAYS EMPTY, and the >>> application ALSO freezes while attempting to do full screen or just to drug >>> the screen edge in order to increase screen, with no diagnostics. >>> >>> >>> >>> - - - - - - - >>> >>> So, for now I have to continue working with version 4.0.1, and it is >>> fine, so far, for the learning purpose. To prevent freezing, I simply avoid >>> to increase screen / full screen. >>> >>> >>> >>> The version 4.0.1 was my random choice, just the first version I saw >>> available for 64-bit system. >>> >>> Would you recommend for me to try any newer version? >>> >>> >>> >>> Many thanks for your help, >>> >>> >>> >>> Sonya Davydycheva >>> >>> >>> >>> >>> >>> On Wed, Oct 4, 2017 at 7:29 PM, Sonya Davydycheva >>> wrote: >>> >>> Cory, >>> >>> >>> >>> The Glyph works just fine with my data.vtk and is very useful tool! It >>> was a good advice. >>> >>> >>> >>> As to not-responding and freezing of ParaView: let me accumulate >>> statistics and then I will let you know. >>> >>> >>> >>> I appreciate your help, >>> >>> >>> Sonya Davydycheva >>> >>> >>> >>> >>> >>> On Wed, Oct 4, 2017 at 6:27 PM, Cory Quammen >>> wrote: >>> >>> [cc'ing to the paraview mailing list so others may contribute to and >>> benefit from the discussion] >>> >>> >>> >>> On Tue, Oct 3, 2017 at 3:44 PM, Sonya Davydycheva >>> wrote: >>> >>> Thank you Cory, >>> >>> >>> >>> For your prompt response. Good to know that the message is harmless. >>> >>> >>> >>> My Paraview 5.4.1 just stops responding sometimes. >>> >>> >>> >>> If it stops responding consistently after a specific event or sequence >>> of events, please let us know. It shouldn't do that :-) >>> >>> >>> >>> But, well, I installed on another (older) laptop an older version, 4.0.1 >>> (5.4.1 did not work there), and it does not freeze. So far, I think it is >>> ok for my learning purpose. >>> >>> >>> >>> Very good. >>> >>> >>> >>> Both versions (on both computers) allow me to visualize my sample >>> model.vtk file: in RenderView I can do Threshold, Slice and Clip and see >>> some 3D pictures. But something is wrong with my other sample data.vtk file >>> (or, with my approach?). It contains data points (3 coordinates) and the >>> resistivity values assigned to them. When I open it, I can see only the >>> resistivity colorbar, and I can add axes, but the image stays empty. >>> >>> Threshold does not work at all (and even the colorbar disappears when I >>> apply it). >>> >>> Slice somewhat works, but it stays gray/empty and does not change as I >>> move it along the box. >>> >>> And when I am in "Slice" mode, pressing "Apply" removes the colorbar as >>> well, and does not show anything meaningful. >>> >>> >>> >>> Any idea how can I activate Threshold or Slice for my resistivity >>> data.vtk? >>> >>> >>> >>> I am beginner and suspect I just miss something simple... >>> >>> Reading ParaViewGettingStarted-5.4.0.pdf and ParaViewTutorial54.pdf, >>> does not help, so far. >>> >>> >>> >>> I suspect that you do not have any cells in your 3-point data.vtk file. >>> Without cells, there is nothing for ParaView to visualize. This is a common >>> stumbling block for people trying to visualize point data.I suggest after >>> loading your data applying a Glyph filter. It should show you three spheres >>> colored according to your resistivity array. Now you should be able to >>> apply the Threshold and Slice filters as you would expect. >>> >>> >>> >>> Thanks, >>> >>> Cory >>> >>> >>> >>> Many thanks in advance, >>> >>> >>> >>> Best regards, >>> >>> >>> Sonya Davydycheva >>> >>> >>> >>> >>> >>> On Tue, Oct 3, 2017 at 4:12 PM, Cory Quammen >>> wrote: >>> >>> On Tue, Oct 3, 2017 at 3:31 PM, Sonya Davydycheva >>> wrote: >>> > Hello, >>> > >>> > Does anybody know what this Output message mean? (appears when I press >>> > "Example Visuatizations"... thougth, some examples emerge), >>> > --------- >>> > QWindowsWindow::setGeometry: Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215).QWindowsWin >>> dow::setGeometry: >>> > Unable to set geometry 996x403+228+226 on >>> > QWidgetWindow/'pqExampleVisualizationsDialogWindow'. Resulting >>> geometry: >>> > 996x412+228+226 (frame: 9, 36, 9, 9, custom margin: 0, 0, 0, 0, minimum >>> > size: 956x403, maximum size: 16777215x16777215). >>> > ---------- >>> >>> The message is a warning from the Qt side. Aside from being annoying, >>> it should be harmless. Sorry, but we haven't figured out why this >>> appears on some systems and not others. >>> >>> > Also, my Paraview 5.4.1 (installed under 64-bit Windows 7, ) often >>> freezes. >>> > I wonder if this can be related to the issue above. >>> >>> Does it stop responding or does it crash? It's probably not related to >>> the warning message above. >>> >>> Cory >>> >>> > Thanks, >>> > >>> > Sonya Davydycheva >>> > >>> > >>> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Please keep messages on-topic and check the ParaView Wiki at: >>> > http://paraview.org/Wiki/ParaView >>> > >>> > Search the list archives at: http://markmail.org/search/?q=ParaView >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview >>> > >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> >>> >>> >> >> > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 22828 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Mon Oct 23 10:13:09 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 10:13:09 -0400 Subject: [Paraview] Setting glyph "Scalars" property in a C++ pipeline In-Reply-To: References: Message-ID: Jimmy, You can use `vtkSMPropertyHelper(glyph, "Scalars").SetInputArrayToProcess(vtkDataObject::POINT, "Diameters")`. Utkarsh On Mon, Oct 23, 2017 at 5:19 AM, A . wrote: > Dear community, > > > I'm having a hard time figuring out how to set the "Scalars" property of a > glyph object with the C++ API. > > In Python it's as easy as: glyph.Scalars=['POINTS', 'ScaleByThis'] > > > In C++ I would assume something like: vtkSMPropertyHelper(glyph, > "Scalars", true).Set("['POINTS', 'Diameters']"); > > > But this unfortunately doesn't work. I cannot seem to find any examples or > documentation on this. If someone has an example or the relevant > documentation for setting this property, could you please share it with me? > > > It would be great if you could let me know how I can find out how to set a > certain property of a source or filter, so that I don't need to ask such > questions in the future ? > > > Best, > > Jimmy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Oct 23 10:29:00 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 10:29:00 -0400 Subject: [Paraview] How to run a python script in every interaction In-Reply-To: References: Message-ID: For camera interaction, you can add an observer to vtkCommand::[InteractionEvent|StartInteractionEvent|EndInteractionEvent] fired by vtkRenderWindowInteractor. e.g. def callback(caller, event): print ("ineraction") from paraview.vtk import vtkCommand view = GetActiveView() view.GetInteractor().AddObserver(vtkCommand.InteractionEvent, callback) There's no event fired on "Apply", however. Another option is to observe vtkCommand::StartEvent and/or vtkCommand::EndEvent on the view itself. This is fired at start/end of each render. Since that happens as a consequence of any interaction including moving camera or hitting apply or advancing timestrep, that may be a reasonable approach. Utkarsh On Mon, Oct 23, 2017 at 9:36 AM, L?o Pessanha wrote: > Hi! > > How can I run a python script in every interaction? > > By interaction I mean camera movements, hitting apply buttons and etc > > I don't know if an approach like running the script every N frames is the > ideal, but if that's possible it would be a great start too > > Best regards, > Leonardo Pessanha > Laboratory of Computational Methods in Engineering > Federal University of Rio de Janeiro - COPPE > Rio de Janeiro, RJ, Brasil > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From utkarsh.ayachit at kitware.com Mon Oct 23 10:53:48 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 10:53:48 -0400 Subject: [Paraview] ParaView Release Roadmap Message-ID: Folks, We have a change in the ParaView release plan, as follows: *1. ParaView 5.5 October/November 2017 release has been postponed.* We have already had 3 releases this year, hence we have decided to postpone the 5.5 release. The next release will be according to the release plan described below. *2. Spring and Fall releases each year* Barring exceptional circumstances, starting with 2018, we plan to do at least two feature releases of ParaView each year scheduled for March (Spring) and September (Fall) with release candidates out in Feb and August respectively. *3. Patch releases as needed.* Patch releases to fix critical issues with the Spring and Fall releases will be cut as needed. *4. Preview releases as needed.* Preview releases to advertise new features may be cut at other times. These are to be treated as alpha releases intended to demonstrate a new feature or capability. Any comments, concerns, or suggestions are always welcome. Thanks, The ParaView Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Oct 23 11:01:07 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 11:01:07 -0400 Subject: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information In-Reply-To: References: Message-ID: Leo, You can't access it in Python since the Python script is not run on the server side. If your goal is to debug what thet camera is set to, you can put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. That's where the local camera on each rank is "prepped" for rendering a frame. Utkarsh On Mon, Oct 23, 2017 at 9:20 AM, L?o Pessanha wrote: > Hi! > > I would like to know if there's a way to acess the information/attributes > of the cameras there are created trough a .pvx file > > To acess the attributes in the camera of the active Layout/RenderView I > do: > > 1 - Open Python Shell > 2 - camera = GetActiveCamera() > 3 - print(camera) > > And the output is: > > vtkOpenGLCamera (0x4a45e80) > > Debug: Off > > Modified Time: 405029 > > Reference Count: 5 > > Registered Events: > > Registered Observers: > > (none) > > ClippingRange: (1.63277, 5.56498) > > DirectionOfProjection: (0.526409, 0.492965, -0.692733) > > Distance: 3.37001 > > EyeAngle: 2 > > FocalDisk: 1 > > FocalPoint: (0, 0, 0) > > ViewShear: (0, 0, 1) > > ParallelProjection: Off > > ParallelScale: 0.872667 > > Position: (-1.77401, -1.6613, 2.33452) > > Stereo: Off > > Left Eye: 1 > > Thickness: 3.93221 > > ViewAngle: 30 > > UseHorizontalViewAngle: 0 > > UserTransform: (none) > > (none) > > FreezeFocalPoint: (none) > > ViewPlaneNormal: (-0.526409, -0.492965, 0.692733) > > ViewUp: (-0.0865543, 0.841596, 0.533127) > > WindowCenter: (0, 0) > > UseOffAxisProjection: (0) > > ScreenBottomLeft: (-0.5, -0.5, -0.5) > > ScreenBottomRight: (0.5, -0.5, -0.5) > > ScreenTopRight: (0.5, 0.5, -0.5) > > EyeSeparation: (0.06) > > WorldToScreenMatrix: (0x4a457c0 > > Debug: Off > > Modified Time: 155883 > > Reference Count: 1 > > Registered Events: (none) > > Elements: > > 1 0 0 0 > > 0 1 0 0 > > 0 0 1 0 > > 0 0 0 1 > > ) > > EyeTransformMatrix: (0x4a458b0 > > Debug: Off > > Modified Time: 155885 > > Reference Count: 1 > > Registered Events: (none) > > Elements: > > 1 0 0 0 > > 0 1 0 0 > > 0 0 1 0 > > 0 0 0 1 > > ) > > ModelTransformMatrix: (0x4a459a0 > > Debug: Off > > Modified Time: 155887 > > Reference Count: 1 > > Registered Events: (none) > > Elements: > > 1 0 0 0 > > 0 1 0 0 > > 0 0 1 0 > > 0 0 0 1 > > ) > > ProjectionTransform: (0x4a46280 > > Debug: Off > > Modified Time: 405415 > > Reference Count: 1 > > Registered Events: (none) > > Inverse: (0) > > Matrix: (0x4a46330) > > Debug: Off > > Modified Time: 405416 > > Reference Count: 1 > > Registered Events: (none) > > Elements: > > 3.76067 0 0 0 > > 0 3.73205 0 0 > > 0 0 -1.83046 -4.62147 > > 0 0 -1 0 > > Input: (0) > > InverseFlag: 0 > > NumberOfConcatenatedTransforms: 1 > > 0: vtkSimpleTransform at 0x6ecdae0 > > ) > > > *How to get these informations of the cameras created from a .pvx file?* > > > > Thanks in advance, > Leonardo Pessanha > Laboratory of Computational Methods in Engineering > Federal University of Rio de Janeiro - COPPE > Rio de Janeiro, RJ, Brasil > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Oct 23 11:03:20 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 11:03:20 -0400 Subject: [Paraview] Equally spaced points on a slice (for the streamlines) In-Reply-To: References: Message-ID: Is the slice axis aligned? If so, you can use a regular source eg. Wavelet or Mandlebrot to generate the evenly spaced points by setting the extents appropriately. Utkarsh On Mon, Oct 23, 2017 at 2:41 AM, Andrew wrote: > Hello. > I need to distribute points on a slice equally to start streamlines from > these points. The problem is that the Mask Points filter seems to not to > have such option. I tried all combinations of randomizing in this filter > but the problem persist. My mesh is unstructured tetra with inflation > layers on wall so there are lots of cells (points) at the wall and almost > all streamlines start in near-wall region while I need their starting > points to be equally distributed along the slice. Is there a way to do it > in ParaView? > Thanks for attention... > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Oct 23 13:47:13 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Oct 2017 13:47:13 -0400 Subject: [Paraview] Remote rendering with pvpython + grab remote image data In-Reply-To: References: Message-ID: Koija, > But I have still no clue how to make the pvserver render the scene remotely and only transfer the rendered image to the pvpython client instead of all 3D datasets (which will be huge). By default, ParaView will do remote rendering, if possible when the geometry size exceeds ~20MBs. You can change it as following to force remote rendering for all data. ... simple.Show(simple.Cone()) view = simple.GetActiveView() view.RemoteRenderThreshold = 0 Utkarsh From PESLAMI1 at mgh.harvard.edu Mon Oct 23 14:36:45 2017 From: PESLAMI1 at mgh.harvard.edu (Eslami, Parastou) Date: Mon, 23 Oct 2017 18:36:45 +0000 Subject: [Paraview] Calculating time-averaged shear stress In-Reply-To: References: Message-ID: Hi Everyone, I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to 1. Read the vtu files for each time step 2. calculate the magnitude of shear stress 3. calculate time-averaged shear stress for all the elements in my geometry 4. output/write a vtu file and load it back to paraview. I think I have been able to successfully implement steps 1 and 2 (please see bellow) but am completely clueless on how to do 3 and 4. Could anyone help me with this? I also should mention that I have tried the Temporal Statistics Filter and it seems to be working fine, but would like to have a way to do it with pythons scripting as well. Thanks, Parastou #### import the simple module from the paraview from paraview.simple import * import numpy as np #### disable automatic camera reset on 'Show' paraview.simple._DisableFirstRenderCameraReset() dumm_vWSS = [] for i in range(4500, 4550, 50): f = "\...\.../all_results_0" + str(i) + ".vtu" print i # create a new 'XML Unstructured Grid Reader' all_results = XMLUnstructuredGridReader(FileName=f) all_results.CellArrayStatus = ['GlobalElementID'] all_results.PointArrayStatus = ['GlobalNodeID', 'vinplane_traction', 'vWSS', 'average_speed', 'average_pressure', 'pressure', 'velocity', 'timeDeriv'] # create a new 'Calculator' calculator1 = Calculator(Input=all_results) calculator1.Function = '' # Properties modified on calculator1 calculator1.ResultArrayName = 'WSS mag' calculator1.Function = 'mag(vWSS)' # get the data points SetActiveSource(calculator1) calculator1.UpdatePipeline() vWSSdata=servermanager.Fetch(calculator1) vWSSPoints =vWSSdata.GetPoints() vWSSPointData =vWSSdata.GetPointData() vWSSArrayData=vWSSPointData.GetArray('WSS mag') dumm_vWSS.append(vWSSArrayData) print dumm_vWSS Parastou Eslami, PhD Post-doctoral Fellow, Harvard University Department of Radiology, Massachusetts General Hospital The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shuhao at shuhaowu.com Mon Oct 23 16:46:24 2017 From: shuhao at shuhaowu.com (Shuhao Wu) Date: Mon, 23 Oct 2017 16:46:24 -0400 Subject: [Paraview] Calculating time-averaged shear stress In-Reply-To: References: Message-ID: I believe you're looking for the TemporalStatistics filter. Specifically what you want maybe something along the lines of: temporal_statistics = TemporalStatistics(Input=vtk_data) temporal_statistics.ComputeAverage = 1 temporal_statistics.ComputeMinimum = 0 temporal_statistics.ComputeMaximum = 0 temporal_statistics.ComputeStandardDeviation = 0 This should make the computation slightly faster as you don't need to compute and store the stddev, min, and max. Shuhao On 2017-10-23 02:36 PM, Eslami, Parastou wrote: > Hi Everyone, > > > I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to > > 1. Read the vtu files for each time step > 2. calculate the magnitude of shear stress > 3. calculate time-averaged shear stress for all the elements in my geometry > 4. output/write a vtu file and load it back to paraview. > > I think I have been able to successfully implement steps 1 and 2 (please see bellow) but am completely clueless on how to do 3 and 4. Could anyone help me with this? I also should mention that I have tried the Temporal Statistics Filter and it seems to be working fine, but would like to have a way to do it with pythons scripting as well. > > > Thanks, > Parastou > > > #### import the simple module from the paraview > from paraview.simple import * > import numpy as np > #### disable automatic camera reset on 'Show' > paraview.simple._DisableFirstRenderCameraReset() > > dumm_vWSS = [] > > for i in range(4500, 4550, 50): > f = "\...\.../all_results_0" + str(i) + ".vtu" > print i > # create a new 'XML Unstructured Grid Reader' > all_results = XMLUnstructuredGridReader(FileName=f) > all_results.CellArrayStatus = ['GlobalElementID'] > all_results.PointArrayStatus = ['GlobalNodeID', 'vinplane_traction', 'vWSS', 'average_speed', 'average_pressure', 'pressure', 'velocity', 'timeDeriv'] > # create a new 'Calculator' > calculator1 = Calculator(Input=all_results) > calculator1.Function = '' > # Properties modified on calculator1 > calculator1.ResultArrayName = 'WSS mag' > calculator1.Function = 'mag(vWSS)' > # get the data points > SetActiveSource(calculator1) > calculator1.UpdatePipeline() > vWSSdata=servermanager.Fetch(calculator1) > vWSSPoints =vWSSdata.GetPoints() > vWSSPointData =vWSSdata.GetPointData() > vWSSArrayData=vWSSPointData.GetArray('WSS mag') > dumm_vWSS.append(vWSSArrayData) > print dumm_vWSS > > > > Parastou Eslami, PhD > Post-doctoral Fellow, Harvard University > Department of Radiology, Massachusetts General Hospital > > > > > > > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the e-mail > contains patient information, please contact the Partners Compliance HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in error > but does not contain patient information, please contact the sender and properly > dispose of the e-mail. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > 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 PESLAMI1 at mgh.harvard.edu Mon Oct 23 17:00:12 2017 From: PESLAMI1 at mgh.harvard.edu (Eslami, Parastou) Date: Mon, 23 Oct 2017 21:00:12 +0000 Subject: [Paraview] Calculating time-averaged shear stress In-Reply-To: References: , Message-ID: Hi Shuhao, Thank you for your response. Yes, I found the TemporalStatistics filter as well. Could you please let me know how I can save it back as a .vtu file? Best Regards, Parastou ________________________________ From: ParaView on behalf of Shuhao Wu Sent: Monday, October 23, 2017 4:46:24 PM To: paraview at paraview.org Subject: Re: [Paraview] Calculating time-averaged shear stress I believe you're looking for the TemporalStatistics filter. Specifically what you want maybe something along the lines of: temporal_statistics = TemporalStatistics(Input=vtk_data) temporal_statistics.ComputeAverage = 1 temporal_statistics.ComputeMinimum = 0 temporal_statistics.ComputeMaximum = 0 temporal_statistics.ComputeStandardDeviation = 0 This should make the computation slightly faster as you don't need to compute and store the stddev, min, and max. Shuhao On 2017-10-23 02:36 PM, Eslami, Parastou wrote: > Hi Everyone, > > > I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to > > 1. Read the vtu files for each time step > 2. calculate the magnitude of shear stress > 3. calculate time-averaged shear stress for all the elements in my geometry > 4. output/write a vtu file and load it back to paraview. > > I think I have been able to successfully implement steps 1 and 2 (please see bellow) but am completely clueless on how to do 3 and 4. Could anyone help me with this? I also should mention that I have tried the Temporal Statistics Filter and it seems to be working fine, but would like to have a way to do it with pythons scripting as well. > > > Thanks, > Parastou > > > #### import the simple module from the paraview > from paraview.simple import * > import numpy as np > #### disable automatic camera reset on 'Show' > paraview.simple._DisableFirstRenderCameraReset() > > dumm_vWSS = [] > > for i in range(4500, 4550, 50): > f = "\...\.../all_results_0" + str(i) + ".vtu" > print i > # create a new 'XML Unstructured Grid Reader' > all_results = XMLUnstructuredGridReader(FileName=f) > all_results.CellArrayStatus = ['GlobalElementID'] > all_results.PointArrayStatus = ['GlobalNodeID', 'vinplane_traction', 'vWSS', 'average_speed', 'average_pressure', 'pressure', 'velocity', 'timeDeriv'] > # create a new 'Calculator' > calculator1 = Calculator(Input=all_results) > calculator1.Function = '' > # Properties modified on calculator1 > calculator1.ResultArrayName = 'WSS mag' > calculator1.Function = 'mag(vWSS)' > # get the data points > SetActiveSource(calculator1) > calculator1.UpdatePipeline() > vWSSdata=servermanager.Fetch(calculator1) > vWSSPoints =vWSSdata.GetPoints() > vWSSPointData =vWSSdata.GetPointData() > vWSSArrayData=vWSSPointData.GetArray('WSS mag') > dumm_vWSS.append(vWSSArrayData) > print dumm_vWSS > > > > Parastou Eslami, PhD > Post-doctoral Fellow, Harvard University > Department of Radiology, Massachusetts General Hospital > > > > > > > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the e-mail > contains patient information, please contact the Partners Compliance HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in error > but does not contain patient information, please contact the sender and properly > dispose of the e-mail. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From shuhao at shuhaowu.com Mon Oct 23 17:03:37 2017 From: shuhao at shuhaowu.com (Shuhao Wu) Date: Mon, 23 Oct 2017 17:03:37 -0400 Subject: [Paraview] Calculating time-averaged shear stress In-Reply-To: References: Message-ID: <8ca3aa33-e662-3584-994a-79d072293263@shuhaowu.com> There's the `SaveData` function you can use. Just save via a .vtu extension. I personally also use CompressorType="LZ4" Try doing this in the paraview gui first and then record it into Python. Then you can see how everything is done. Shuhao On 2017-10-23 05:00 PM, Eslami, Parastou wrote: > Hi Shuhao, > > > Thank you for your response. Yes, I found the TemporalStatistics filter as well. Could you please let me know how I can save it back as a .vtu file? > > > Best Regards, > > Parastou > > > > ________________________________ > From: ParaView on behalf of Shuhao Wu > Sent: Monday, October 23, 2017 4:46:24 PM > To: paraview at paraview.org > Subject: Re: [Paraview] Calculating time-averaged shear stress > > I believe you're looking for the TemporalStatistics filter. Specifically > what you want maybe something along the lines of: > > temporal_statistics = TemporalStatistics(Input=vtk_data) > temporal_statistics.ComputeAverage = 1 > temporal_statistics.ComputeMinimum = 0 > temporal_statistics.ComputeMaximum = 0 > temporal_statistics.ComputeStandardDeviation = 0 > > This should make the computation slightly faster as you don't need to > compute and store the stddev, min, and max. > > Shuhao > > On 2017-10-23 02:36 PM, Eslami, Parastou wrote: >> Hi Everyone, >> >> >> I'm very new to Paraview and python scripting. I have a series of time dependent .vtu files and would like to >> >> 1. Read the vtu files for each time step >> 2. calculate the magnitude of shear stress >> 3. calculate time-averaged shear stress for all the elements in my geometry >> 4. output/write a vtu file and load it back to paraview. >> >> I think I have been able to successfully implement steps 1 and 2 (please see bellow) but am completely clueless on how to do 3 and 4. Could anyone help me with this? I also should mention that I have tried the Temporal Statistics Filter and it seems to be working fine, but would like to have a way to do it with pythons scripting as well. >> >> >> Thanks, >> Parastou >> >> >> #### import the simple module from the paraview >> from paraview.simple import * >> import numpy as np >> #### disable automatic camera reset on 'Show' >> paraview.simple._DisableFirstRenderCameraReset() >> >> dumm_vWSS = [] >> >> for i in range(4500, 4550, 50): >> f = "\...\.../all_results_0" + str(i) + ".vtu" >> print i >> # create a new 'XML Unstructured Grid Reader' >> all_results = XMLUnstructuredGridReader(FileName=f) >> all_results.CellArrayStatus = ['GlobalElementID'] >> all_results.PointArrayStatus = ['GlobalNodeID', 'vinplane_traction', 'vWSS', 'average_speed', 'average_pressure', 'pressure', 'velocity', 'timeDeriv'] >> # create a new 'Calculator' >> calculator1 = Calculator(Input=all_results) >> calculator1.Function = '' >> # Properties modified on calculator1 >> calculator1.ResultArrayName = 'WSS mag' >> calculator1.Function = 'mag(vWSS)' >> # get the data points >> SetActiveSource(calculator1) >> calculator1.UpdatePipeline() >> vWSSdata=servermanager.Fetch(calculator1) >> vWSSPoints =vWSSdata.GetPoints() >> vWSSPointData =vWSSdata.GetPointData() >> vWSSArrayData=vWSSPointData.GetArray('WSS mag') >> dumm_vWSS.append(vWSSArrayData) >> print dumm_vWSS >> >> >> >> Parastou Eslami, PhD >> Post-doctoral Fellow, Harvard University >> Department of Radiology, Massachusetts General Hospital >> >> >> >> >> >> >> >> >> The information in this e-mail is intended only for the person to whom it is >> addressed. If you believe this e-mail was sent to you in error and the e-mail >> contains patient information, please contact the Partners Compliance HelpLine at >> http://www.partners.org/complianceline . If the e-mail was sent to you in error >> but does not contain patient information, please contact the sender and properly >> dispose of the e-mail. >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > From damora at us.ibm.com Mon Oct 23 17:25:44 2017 From: damora at us.ibm.com (Bruce D'Amora) Date: Mon, 23 Oct 2017 17:25:44 -0400 Subject: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2 Message-ID: I think there is an issue with volume rendering on Paraview v5.4.1 using EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try to volume render results in a segfault. Always seem to get these errors, but only when I try volume rendering. Warning: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 272 vtkEGLRenderWindow (0x1003dad7340): Setting an EGL display to device index: 0 require EGL_EXT_device_base EGL_EXT_platform_device EGL_EXT_platform_base extensions ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 341 vtkEGLRenderWindow (0x1003dad7340): Only EGL 1.4 and greater allows OpenGL as client API. See eglBindAPI for more information. ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 819 vtkEGLRenderWindow (0x1003dad7340): GLEW could not be initialized. _______________________________ Bruce D'Amora -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Oct 23 20:44:48 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 23 Oct 2017 20:44:48 -0400 Subject: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2 In-Reply-To: References: Message-ID: Hi, It may be a driver issue. Which NVIDIA driver version are you using? According to https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ you'll need at lest 355.11. Cheers, Andy On Mon, Oct 23, 2017 at 5:25 PM, Bruce D'Amora wrote: > I think there is an issue with volume rendering on Paraview v5.4.1 using > EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try > to volume render results in a segfault. > Always seem to get these errors, but only when I try volume rendering. > > Warning: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 272 > vtkEGLRenderWindow (0x1003dad7340): Setting an EGL display to device > index: 0 require EGL_EXT_device_base EGL_EXT_platform_device > EGL_EXT_platform_base extensions > > ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 341 > vtkEGLRenderWindow (0x1003dad7340): Only EGL 1.4 and greater allows OpenGL > as client API. See eglBindAPI for more information. > > ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 819 > vtkEGLRenderWindow (0x1003dad7340): GLEW could not be initialized. > _______________________________ > Bruce D'Amora > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From damora at us.ibm.com Tue Oct 24 07:11:16 2017 From: damora at us.ibm.com (Bruce D'Amora) Date: Tue, 24 Oct 2017 07:11:16 -0400 Subject: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2 In-Reply-To: References: Message-ID: using 384.61 driver. Does pvserver use software rendering for surface, wireframe, outline, points? Rendering in those modes works, but when I switch to volume rendering it crashes. I wonder if I'm just switching to H/W rendering when I switch to volume mode and it is crashing. _______________________________ Bruce D'Amora Senior Technical Staff Member Manager, Cognitive and Cloud Solutions Data Centric Solutions IBM T. J. Watson Research Center 914-945-4514 (T/L 862-4514) From: Andy Bauer To: "Bruce D'Amora" Cc: "paraview at paraview.org" Date: 10/23/2017 08:44 PM Subject: Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2 Hi, It may be a driver issue. Which NVIDIA driver version are you using? According to https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/ you'll need at lest 355.11. Cheers, Andy On Mon, Oct 23, 2017 at 5:25 PM, Bruce D'Amora wrote: I think there is an issue with volume rendering on Paraview v5.4.1 using EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try to volume render results in a segfault. Always seem to get these errors, but only when I try volume rendering. Warning: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 272 vtkEGLRenderWindow (0x1003dad7340): Setting an EGL display to device index: 0 require EGL_EXT_device_base EGL_EXT_platform_device EGL_EXT_platform_base extensions ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 341 vtkEGLRenderWindow (0x1003dad7340): Only EGL 1.4 and greater allows OpenGL as client API. See eglBindAPI for more information. ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 819 vtkEGLRenderWindow (0x1003dad7340): GLEW could not be initialized. _______________________________ Bruce D'Amora _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Tue Oct 24 10:07:49 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Tue, 24 Oct 2017 10:07:49 -0400 Subject: [Paraview] Paraview v5.4.1 using EGL on ppc64le RHEL7.2 In-Reply-To: References: Message-ID: Hi, It should do hardware rendering in all cases. If you're connecting the GUI to the EGL pvserver though the rendering can switch from being done on the client vs. being done on the server. You can control where the rendering is being done in your settings under the Render View by setting the Remote Render Threshold. Also, what kind of dataset do you have? It's possible that the dataset type can only be rendered with a single process. Best, Andy On Tue, Oct 24, 2017 at 7:11 AM, Bruce D'Amora wrote: > using 384.61 driver. Does pvserver use software rendering for surface, > wireframe, outline, points? Rendering in those modes works, but when I > switch to volume rendering it crashes. I wonder if I'm just switching to > H/W rendering when I switch to volume mode and it is crashing. > > _______________________________ > Bruce D'Amora > Senior Technical Staff Member > Manager, Cognitive and Cloud Solutions > Data Centric Solutions > IBM T. J. Watson Research Center > 914-945-4514 <(914)%20945-4514> (T/L 862-4514) > > > > From: Andy Bauer > To: "Bruce D'Amora" > Cc: "paraview at paraview.org" > Date: 10/23/2017 08:44 PM > Subject: Re: [Paraview] Paraview v5.4.1 using EGL on ppc64le > RHEL7.2 > ------------------------------ > > > > Hi, > > It may be a driver issue. Which NVIDIA driver version are you using? > According to > *https://blog.kitware.com/off-screen-rendering-through-the-native-platform-interface-egl/* > you'll > need at lest 355.11. > > Cheers, > Andy > > On Mon, Oct 23, 2017 at 5:25 PM, Bruce D'Amora <*damora at us.ibm.com* > > wrote: > I think there is an issue with volume rendering on Paraview v5.4.1 using > EGL on ppc64le RHEL 7.2 and client-server rendering. Any model that I try > to volume render results in a segfault. > Always seem to get these errors, but only when I try volume rendering. > > Warning: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 272 > vtkEGLRenderWindow (0x1003dad7340): Setting an EGL display to device > index: 0 require EGL_EXT_device_base EGL_EXT_platform_device > EGL_EXT_platform_base extensions > > ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 341 > vtkEGLRenderWindow (0x1003dad7340): Only EGL 1.4 and greater allows OpenGL > as client API. See eglBindAPI for more information. > > ERROR: In /gsa/yktgsa/home/s/a/sawkor/ess/ParaView-v5.4.1/VTK/ > Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 819 > vtkEGLRenderWindow (0x1003dad7340): GLEW could not be initialized. > _______________________________ > Bruce D'Amora > > > > _______________________________________________ > Powered by *www.kitware.com* > > > > Visit other Kitware open-source projects at > *http://www.kitware.com/opensource/opensource.html* > > > Please keep messages on-topic and check the ParaView Wiki at: > *http://paraview.org/Wiki/ParaView* > > > Search the list archives at: *http://markmail.org/search/?q=ParaView* > > > Follow this link to subscribe/unsubscribe: > *http://public.kitware.com/mailman/listinfo/paraview* > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Tue Oct 24 10:51:09 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Tue, 24 Oct 2017 16:51:09 +0200 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) Message-ID: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> Hello to the list, I have openSUSE tumbleweed with gcc 7.2.1 fontconfig 2.12.1 does not compile with the error at the end of this mail. Building the current fontconfig 2.12.6 works for me, maybe the version could be upgraded? Regards, Fabian Here is the error: Performing build step for 'fontconfig' Making all in fontconfig Making all in fc-blanks Making all in fc-case Making all in fc-lang Making all in fc-glyphname Making all in src CC fcatomic.lo CC fcblanks.lo CC fccache.lo CC fccfg.lo CC fccharset.lo CC fccompat.lo CC fcdbg.lo CC fcdefault.lo CC fcdir.lo CC fcformat.lo CC fcfreetype.lo CC fcfs.lo CC fcinit.lo CC fclang.lo CC fclist.lo CC fcmatch.lo CC fcmatrix.lo CC fcname.lo CC fcobjs.lo CC fcpat.lo fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function); did you mean 'PRI_WIDTH_STRONG'? #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK }, ^ fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT' FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL) ^~~~~~~~~ fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function); did you mean 'PRI_WIDTH_WEAK'? #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK }, ^ fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT' FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL) ^~~~~~~~~ gmake[6]: *** [Makefile:633: fcmatch.lo] Error 1 From dave.demarle at kitware.com Tue Oct 24 12:14:51 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 24 Oct 2017 12:14:51 -0400 Subject: [Paraview] anyone using vtkHyperOctree? Message-ID: I would like to deprecate and remove this class. I believe vtkHyperOctree was the forerunner to vtkHyperTreeGrid. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Tue Oct 24 12:40:28 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Tue, 24 Oct 2017 18:40:28 +0200 Subject: [Paraview] Remote rendering with pvpython + grab remote image data In-Reply-To: References: Message-ID: Thank you, Utkarsh, with view.RemoteRenderThreshold = 0, rendering is now done in the right place. Kolja On Mon, Oct 23, 2017 at 7:47 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Koija, > > > But I have still no clue how to make the pvserver render the scene > remotely and only transfer the rendered image to the pvpython client > instead of all 3D datasets (which will be huge). > > By default, ParaView will do remote rendering, if possible when the > geometry size exceeds ~20MBs. You can change it as following to force > remote rendering for all data. > > ... > simple.Show(simple.Cone()) > view = simple.GetActiveView() > view.RemoteRenderThreshold = 0 > > Utkarsh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Tue Oct 24 12:49:53 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Tue, 24 Oct 2017 18:49:53 +0200 Subject: [Paraview] LiveInsituLink proxy in pvpython client Message-ID: Hello, Are there any examples how to receive extracts from Catalyst simulations in a batch pvpython script? My first attempt looks as attached. I connect to a pvserver running on localhost. Then I create a LiveInsituLink proxy, set the insitu port to 22222 and initialize the proxy. Finally, I repeat ProcessEvents(), which I hoped would allow me to interact with the Catalyst simulation. However, when I first start pvserver, then the "coproc.py" script (attached), and finally a Catalyst example (e.g. Examples/Catalyst/CFullExample/FEDriver.c), nothing useful happens. The callback, which should react to any LiveInsituLink events, is only called during initialization (UpdatePropertyEvent and ModifiedEvent), then never again. lil.GetTimeStep() in the endless loop shows always the same (uninitialized?) value, there are no Debug messages from the LiveInsituLink proxy. How can I receive a notification, when a Catalyst simulation connects? How can I get a list of available extracts? Thank you Kolja -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: coproc.py Type: application/octet-stream Size: 654 bytes Desc: not available URL: From leonardopessanha74 at gmail.com Tue Oct 24 14:50:53 2017 From: leonardopessanha74 at gmail.com (=?UTF-8?Q?L=C3=A9o_Pessanha?=) Date: Tue, 24 Oct 2017 16:50:53 -0200 Subject: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information In-Reply-To: References: Message-ID: Thanks Utkarsh! This change would take a build right? Can't do it right now =/ My goal is to know what should I do after a cameraInstance.Pitch(90) > and before a Render() > In order not to get the warning Resetting view-up since view plane normal is parallel > I've tried cameraInstance.ComputeViewPlaneNormal() > but with no sucess... Do you know why and can explain me the reason of this warning ? More important, how to get rid of it? hahaha My goal trying to print the camera attributes was to debug this info! Thanks in advance! Leonardo Pessanha Laboratory of Computational Methods in Engineering Federal University of Rio de Janeiro - COPPE Rio de Janeiro, RJ, Brasil 2017-10-23 13:01 GMT-02:00 Utkarsh Ayachit : > Leo, > > You can't access it in Python since the Python script is not run on the > server side. If your goal is to debug what thet camera is set to, you can > put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. > That's where the local camera on each rank is "prepped" for rendering a > frame. > > Utkarsh > > On Mon, Oct 23, 2017 at 9:20 AM, L?o Pessanha < > leonardopessanha74 at gmail.com> wrote: > >> Hi! >> >> I would like to know if there's a way to acess the information/attributes >> of the cameras there are created trough a .pvx file >> >> To acess the attributes in the camera of the active Layout/RenderView I >> do: >> >> 1 - Open Python Shell >> 2 - camera = GetActiveCamera() >> 3 - print(camera) >> >> And the output is: >> >> vtkOpenGLCamera (0x4a45e80) >> >> Debug: Off >> >> Modified Time: 405029 >> >> Reference Count: 5 >> >> Registered Events: >> >> Registered Observers: >> >> (none) >> >> ClippingRange: (1.63277, 5.56498) >> >> DirectionOfProjection: (0.526409, 0.492965, -0.692733) >> >> Distance: 3.37001 >> >> EyeAngle: 2 >> >> FocalDisk: 1 >> >> FocalPoint: (0, 0, 0) >> >> ViewShear: (0, 0, 1) >> >> ParallelProjection: Off >> >> ParallelScale: 0.872667 >> >> Position: (-1.77401, -1.6613, 2.33452) >> >> Stereo: Off >> >> Left Eye: 1 >> >> Thickness: 3.93221 >> >> ViewAngle: 30 >> >> UseHorizontalViewAngle: 0 >> >> UserTransform: (none) >> >> (none) >> >> FreezeFocalPoint: (none) >> >> ViewPlaneNormal: (-0.526409, -0.492965, 0.692733) >> >> ViewUp: (-0.0865543, 0.841596, 0.533127) >> >> WindowCenter: (0, 0) >> >> UseOffAxisProjection: (0) >> >> ScreenBottomLeft: (-0.5, -0.5, -0.5) >> >> ScreenBottomRight: (0.5, -0.5, -0.5) >> >> ScreenTopRight: (0.5, 0.5, -0.5) >> >> EyeSeparation: (0.06) >> >> WorldToScreenMatrix: (0x4a457c0 >> >> Debug: Off >> >> Modified Time: 155883 >> >> Reference Count: 1 >> >> Registered Events: (none) >> >> Elements: >> >> 1 0 0 0 >> >> 0 1 0 0 >> >> 0 0 1 0 >> >> 0 0 0 1 >> >> ) >> >> EyeTransformMatrix: (0x4a458b0 >> >> Debug: Off >> >> Modified Time: 155885 >> >> Reference Count: 1 >> >> Registered Events: (none) >> >> Elements: >> >> 1 0 0 0 >> >> 0 1 0 0 >> >> 0 0 1 0 >> >> 0 0 0 1 >> >> ) >> >> ModelTransformMatrix: (0x4a459a0 >> >> Debug: Off >> >> Modified Time: 155887 >> >> Reference Count: 1 >> >> Registered Events: (none) >> >> Elements: >> >> 1 0 0 0 >> >> 0 1 0 0 >> >> 0 0 1 0 >> >> 0 0 0 1 >> >> ) >> >> ProjectionTransform: (0x4a46280 >> >> Debug: Off >> >> Modified Time: 405415 >> >> Reference Count: 1 >> >> Registered Events: (none) >> >> Inverse: (0) >> >> Matrix: (0x4a46330) >> >> Debug: Off >> >> Modified Time: 405416 >> >> Reference Count: 1 >> >> Registered Events: (none) >> >> Elements: >> >> 3.76067 0 0 0 >> >> 0 3.73205 0 0 >> >> 0 0 -1.83046 -4.62147 >> >> 0 0 -1 0 >> >> Input: (0) >> >> InverseFlag: 0 >> >> NumberOfConcatenatedTransforms: 1 >> >> 0: vtkSimpleTransform at 0x6ecdae0 >> >> ) >> >> >> *How to get these informations of the cameras created from a .pvx file?* >> >> >> >> Thanks in advance, >> Leonardo Pessanha >> Laboratory of Computational Methods in Engineering >> Federal University of Rio de Janeiro - COPPE >> Rio de Janeiro, RJ, Brasil >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Tue Oct 24 14:58:32 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Tue, 24 Oct 2017 14:58:32 -0400 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> Message-ID: <20171024185832.GA12802@megas.kitware.com> On Tue, Oct 24, 2017 at 16:51:09 +0200, Fabian Wein wrote: > fontconfig 2.12.1 does not compile with the error at the end of this > mail. > > Building the current fontconfig 2.12.6 works for me, maybe the version > could be upgraded? I've pushed an MR for the common-superbuild here: https://gitlab.kitware.com/paraview/common-superbuild/merge_requests/196 Followup paraview-superbuild fix here: https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/377 --Ben From damora at us.ibm.com Tue Oct 24 18:18:03 2017 From: damora at us.ibm.com (Bruce D'Amora) Date: Tue, 24 Oct 2017 18:18:03 -0400 Subject: [Paraview] paraview 5.4.1 configure error on ppc64le Message-ID: What does this message mean: CMake Error in Wrapping/ClientServer/CMakeLists.txt: Found relative path while evaluating include directories of "vtkPVServerImplementationCoreCS": "NONE/include" I get a lot of them during configure, but only on Ubuntu ppc64le I don't have an issue configuring and building on rhel7.2/ppc64le. I assume there is something different in my rhel environment vs my ubuntu env. _______________________________ Bruce D'Amora -------------- next part -------------- An HTML attachment was scrubbed... URL: From antech777 at gmail.com Wed Oct 25 02:41:39 2017 From: antech777 at gmail.com (Andrew) Date: Wed, 25 Oct 2017 09:41:39 +0300 Subject: [Paraview] Equally spaced points on a slice (for the streamlines) In-Reply-To: References: Message-ID: Hello, sorry for being late. The slice may be oriented arbitrary, it may be not a flat but cylinder slice e.t.c. But often I need just axis-aligned slices. Thanks for suggestion about sources. 2017-10-23 18:03 GMT+03:00 Utkarsh Ayachit : > Is the slice axis aligned? If so, you can use a regular source eg. Wavelet > or Mandlebrot to generate the evenly spaced points by setting the extents > appropriately. > > Utkarsh > > On Mon, Oct 23, 2017 at 2:41 AM, Andrew wrote: > >> Hello. >> I need to distribute points on a slice equally to start streamlines from >> these points. The problem is that the Mask Points filter seems to not to >> have such option. I tried all combinations of randomizing in this filter >> but the problem persist. My mesh is unstructured tetra with inflation >> layers on wall so there are lots of cells (points) at the wall and almost >> all streamlines start in near-wall region while I need their starting >> points to be equally distributed along the slice. Is there a way to do it >> in ParaView? >> Thanks for attention... >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Wed Oct 25 07:35:51 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Wed, 25 Oct 2017 13:35:51 +0200 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <20171024185832.GA12802@megas.kitware.com> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> <20171024185832.GA12802@megas.kitware.com> Message-ID: <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> > I've pushed an MR for the common-superbuild here: Ben, thank you! So the current master will have the upgrade within a few days? Cheers, Fabian From edo.paskino at gmail.com Wed Oct 25 07:46:46 2017 From: edo.paskino at gmail.com (Edoardo Pasca) Date: Wed, 25 Oct 2017 12:46:46 +0100 Subject: [Paraview] Programmable filter VTK/numpy In-Reply-To: References: Message-ID: Hallo Cory and all, I've spent a few minutes trying to find out where my script crashes: 1) I load a MetaImage and the scalars are named 'MetaImage' 2) Paraview crashes if I use inData = dsa.WrapDataObject(inputs[0]) B = inData.PointData['array_name'] # best practice is to name the array 3) If I use the outData = dsa.WrapDataObject(output) outData.PointData.append(A,'new_array_name') the output contains nothing. It says type Uniform Rectilinear Grid but there is no point inside. Thanks Edo On Fri, Oct 20, 2017 at 3:48 PM, Cory Quammen wrote: > On Thu, Oct 19, 2017 at 11:02 AM, Edoardo Pasca > wrote: > >> Hi Cory, >> >> thanks for your reply. I'd love to simplify the code like that but there >> are 2 issues with that programmable filter >> >> 1) I miss information on the input and output variables. Where are >> defined? >> > > It's a bit complicated to select them in the user interface, but it is > possible. There was a related discussion on the mailing list recently on > how to do this: http://paraview.markmail.org/thread/j4ynkclxcucpqoa5 > > In the worst case, you can hard-code the array names if they don't change. > Relying on the active scalar attribute is old-style VTK and may go away > someday in the not-too-near future. Or you could just keep your original > code for defining array B. > > >> 2) Paraview crashes. Paraview for windows 5.4.1 and 5.3.0 (official >> kitware build) >> >> It seems a memory access problem. >> > > To debug, I suggest writing your Programmable Filter script a few lines at > a time to determine which line causes the crash. > > HTH, > Cory > > >> Edo >> >> On Thu, Oct 19, 2017 at 2:52 PM, Cory Quammen >> wrote: >> >>> Hi Edo, >>> >>> Documentation for the VTK/Numpy adapter can be found here: >>> >>> https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/par >>> aview.vtk.numpy_interface.html?highlight=numpy_interface# >>> numpy-interface-package >>> >>> You will likely be interested in the dataset_adapter module that >>> provides a convenient way to wrap VTK data objects in a Python class that >>> provides easy read/write access to VTK data arrays as Numpy arrays. >>> >>> You could simplify your code quite a bit using this adapter as in the >>> following: >>> >>> import numpy >>> >>> from vtk.util import numpy_support, vtkImageImportFromArray >>> >>> import vtk.numpy_interface.dataset_adapter as dsa >>> >>> >>> inData = dsa.WrapDataObject(inputs[0]) >>> >>> B = inData.PointData['array_name'] # best practice is to name the array >>> >>> >>> #B = numpy_support.vtk_to_numpy( >>> >>> # inputs[0].GetPointData().GetScalars()) >>> >>> >>> ifLarger = lambda x,M: x if x<=M else 0 >>> >>> fgt = numpy.frompyfunc(ifLarger,2,1) >>> >>> #A = fgt(B,int(2**16*0.8)) >>> >>> >>> ifSmaller = lambda x,M: x if x>M else 0 >>> >>> flt = numpy.frompyfunc(ifSmaller,2,1) >>> >>> #A = flt(B,int(2**16*0.3)) >>> >>> >>> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >>> >>> fbetw = numpy.frompyfunc(ifBetween,3,1) >>> >>> >>> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >>> >>> >>> outData = dsa.WrapDataObject(output) >>> >>> outData.PointData.append(A,'new_array_name') >>> >>> >>> #A = numpy.asarray(A,dtype=uint16) >>> >>> #dims = inputs[0].GetDimensions() >>> >>> #A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >>> >>> #A = numpy.ascontiguousarray(A) >>> >>> #importer = vtkImageImportFromArray.vtkImageImportFromArray() >>> >>> #importer.SetArray(A) >>> >>> #importer.SetDataSpacing(inputs[0].GetSpacing()) >>> >>> #importer.SetDataOrigin(inputs[0].GetOrigin()) >>> >>> #importer.Update() >>> >>> >>> #output.DeepCopy(importer.GetOutput()) >>> >>> >>> Hope that helps, >>> >>> Cory >>> >>> On Tue, Oct 17, 2017 at 10:38 AM, Edoardo Pasca >>> wrote: >>> >>>> Hi there, >>>> >>>> In my programmable filter I want to use numpy to perform some >>>> operations on the pixels (in this case a simple thresholding). I've come up >>>> with this solution which works. I'm wondering if there are other ways to do >>>> the conversion from numpy array to vtkImageData. >>>> >>>> in the following code I get a numpy array out of the input vtkImageData >>>> as B. Then I do something on the content an store the result in a numpy >>>> array, A. >>>> >>>> Then I convert the numpy array to a vtkImageData with >>>> vtkImageImportFromArray importer class. >>>> Finally I copy the importer output to the output of the programmable >>>> filter. >>>> >>>> Thanks for any suggestions >>>> >>>> Edo >>>> >>>> import numpy >>>> >>>> from vtk.util import numpy_support, vtkImageImportFromArray >>>> >>>> import vtk.numpy_interface.dataset_adapter as dsa >>>> >>>> >>>> B = numpy_support.vtk_to_numpy( >>>> >>>> inputs[0].GetPointData().GetScalars()) >>>> >>>> >>>> ifLarger = lambda x,M: x if x<=M else 0 >>>> >>>> fgt = numpy.frompyfunc(ifLarger,2,1) >>>> >>>> #A = fgt(B,int(2**16*0.8)) >>>> >>>> >>>> ifSmaller = lambda x,M: x if x>M else 0 >>>> >>>> flt = numpy.frompyfunc(ifSmaller,2,1) >>>> >>>> #A = flt(B,int(2**16*0.3)) >>>> >>>> >>>> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >>>> >>>> fbetw = numpy.frompyfunc(ifBetween,3,1) >>>> >>>> >>>> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >>>> >>>> >>>> >>>> A = numpy.asarray(A,dtype=uint16) >>>> >>>> dims = inputs[0].GetDimensions() >>>> >>>> A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >>>> >>>> A = numpy.ascontiguousarray(A) >>>> >>>> importer = vtkImageImportFromArray.vtkImageImportFromArray() >>>> >>>> importer.SetArray(A) >>>> >>>> importer.SetDataSpacing(inputs[0].GetSpacing()) >>>> >>>> importer.SetDataOrigin(inputs[0].GetOrigin()) >>>> >>>> importer.Update() >>>> >>>> >>>> output.DeepCopy(importer.GetOutput()) >>>> >>>> >>>> >>>> -- >>>> Edo >>>> I know you think you understand what you thought I said, but I'm not >>>> sure you realize that what you heard is not what I meant (prob. Alan >>>> Greenspan) >>>> :wq >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >> >> >> >> -- >> Edo >> I know you think you understand what you thought I said, but I'm not sure >> you realize that what you heard is not what I meant (prob. Alan Greenspan) >> :wq >> > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. > -- Edo I know you think you understand what you thought I said, but I'm not sure you realize that what you heard is not what I meant (prob. Alan Greenspan) :wq -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Wed Oct 25 09:01:57 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 25 Oct 2017 09:01:57 -0400 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> <20171024185832.GA12802@megas.kitware.com> <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> Message-ID: <20171025130157.GA5635@megas.kitware.com> On Wed, Oct 25, 2017 at 13:35:51 +0200, Fabian Wein wrote: > thank you! So the current master will have the upgrade within a few days? Hopefully. I need to get `gperf` onto the build machine since it is a new build dependency of fontconfig. --Ben From cory.quammen at kitware.com Wed Oct 25 09:08:12 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 25 Oct 2017 09:08:12 -0400 Subject: [Paraview] Programmable filter VTK/numpy In-Reply-To: References: Message-ID: You should change 'array_name' to 'MetaImage'. Sorry I didn't make it clear that 'array_name' is just a placeholder for whatever name your array has. Cory On Wed, Oct 25, 2017 at 7:46 AM, Edoardo Pasca wrote: > Hallo Cory and all, > > I've spent a few minutes trying to find out where my script crashes: > > 1) I load a MetaImage and the scalars are named 'MetaImage' > > 2) Paraview crashes if I use inData = dsa.WrapDataObject(inputs[0]) > > B = inData.PointData['array_name'] # best practice is to name the array > > > 3) If I use the outData = dsa.WrapDataObject(output) > > outData.PointData.append(A,'new_array_name') > > > the output contains nothing. It says type Uniform Rectilinear Grid but there is no point inside. > > > Thanks > > > Edo > > > On Fri, Oct 20, 2017 at 3:48 PM, Cory Quammen > wrote: > >> On Thu, Oct 19, 2017 at 11:02 AM, Edoardo Pasca >> wrote: >> >>> Hi Cory, >>> >>> thanks for your reply. I'd love to simplify the code like that but there >>> are 2 issues with that programmable filter >>> >>> 1) I miss information on the input and output variables. Where are >>> defined? >>> >> >> It's a bit complicated to select them in the user interface, but it is >> possible. There was a related discussion on the mailing list recently on >> how to do this: http://paraview.markmail.org/thread/j4ynkclxcucpqoa5 >> >> In the worst case, you can hard-code the array names if they don't >> change. Relying on the active scalar attribute is old-style VTK and may go >> away someday in the not-too-near future. Or you could just keep your >> original code for defining array B. >> >> >>> 2) Paraview crashes. Paraview for windows 5.4.1 and 5.3.0 (official >>> kitware build) >>> >>> It seems a memory access problem. >>> >> >> To debug, I suggest writing your Programmable Filter script a few lines >> at a time to determine which line causes the crash. >> >> HTH, >> Cory >> >> >>> Edo >>> >>> On Thu, Oct 19, 2017 at 2:52 PM, Cory Quammen >>> wrote: >>> >>>> Hi Edo, >>>> >>>> Documentation for the VTK/Numpy adapter can be found here: >>>> >>>> https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/par >>>> aview.vtk.numpy_interface.html?highlight=numpy_interface#num >>>> py-interface-package >>>> >>>> You will likely be interested in the dataset_adapter module that >>>> provides a convenient way to wrap VTK data objects in a Python class that >>>> provides easy read/write access to VTK data arrays as Numpy arrays. >>>> >>>> You could simplify your code quite a bit using this adapter as in the >>>> following: >>>> >>>> import numpy >>>> >>>> from vtk.util import numpy_support, vtkImageImportFromArray >>>> >>>> import vtk.numpy_interface.dataset_adapter as dsa >>>> >>>> >>>> inData = dsa.WrapDataObject(inputs[0]) >>>> >>>> B = inData.PointData['array_name'] # best practice is to name the array >>>> >>>> >>>> #B = numpy_support.vtk_to_numpy( >>>> >>>> # inputs[0].GetPointData().GetScalars()) >>>> >>>> >>>> ifLarger = lambda x,M: x if x<=M else 0 >>>> >>>> fgt = numpy.frompyfunc(ifLarger,2,1) >>>> >>>> #A = fgt(B,int(2**16*0.8)) >>>> >>>> >>>> ifSmaller = lambda x,M: x if x>M else 0 >>>> >>>> flt = numpy.frompyfunc(ifSmaller,2,1) >>>> >>>> #A = flt(B,int(2**16*0.3)) >>>> >>>> >>>> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >>>> >>>> fbetw = numpy.frompyfunc(ifBetween,3,1) >>>> >>>> >>>> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >>>> >>>> >>>> outData = dsa.WrapDataObject(output) >>>> >>>> outData.PointData.append(A,'new_array_name') >>>> >>>> >>>> #A = numpy.asarray(A,dtype=uint16) >>>> >>>> #dims = inputs[0].GetDimensions() >>>> >>>> #A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >>>> >>>> #A = numpy.ascontiguousarray(A) >>>> >>>> #importer = vtkImageImportFromArray.vtkImageImportFromArray() >>>> >>>> #importer.SetArray(A) >>>> >>>> #importer.SetDataSpacing(inputs[0].GetSpacing()) >>>> >>>> #importer.SetDataOrigin(inputs[0].GetOrigin()) >>>> >>>> #importer.Update() >>>> >>>> >>>> #output.DeepCopy(importer.GetOutput()) >>>> >>>> >>>> Hope that helps, >>>> >>>> Cory >>>> >>>> On Tue, Oct 17, 2017 at 10:38 AM, Edoardo Pasca >>>> wrote: >>>> >>>>> Hi there, >>>>> >>>>> In my programmable filter I want to use numpy to perform some >>>>> operations on the pixels (in this case a simple thresholding). I've come up >>>>> with this solution which works. I'm wondering if there are other ways to do >>>>> the conversion from numpy array to vtkImageData. >>>>> >>>>> in the following code I get a numpy array out of the input >>>>> vtkImageData as B. Then I do something on the content an store the result >>>>> in a numpy array, A. >>>>> >>>>> Then I convert the numpy array to a vtkImageData with >>>>> vtkImageImportFromArray importer class. >>>>> Finally I copy the importer output to the output of the programmable >>>>> filter. >>>>> >>>>> Thanks for any suggestions >>>>> >>>>> Edo >>>>> >>>>> import numpy >>>>> >>>>> from vtk.util import numpy_support, vtkImageImportFromArray >>>>> >>>>> import vtk.numpy_interface.dataset_adapter as dsa >>>>> >>>>> >>>>> B = numpy_support.vtk_to_numpy( >>>>> >>>>> inputs[0].GetPointData().GetScalars()) >>>>> >>>>> >>>>> ifLarger = lambda x,M: x if x<=M else 0 >>>>> >>>>> fgt = numpy.frompyfunc(ifLarger,2,1) >>>>> >>>>> #A = fgt(B,int(2**16*0.8)) >>>>> >>>>> >>>>> ifSmaller = lambda x,M: x if x>M else 0 >>>>> >>>>> flt = numpy.frompyfunc(ifSmaller,2,1) >>>>> >>>>> #A = flt(B,int(2**16*0.3)) >>>>> >>>>> >>>>> ifBetween = lambda x,m,M: ifSmaller(x,m) if x<=M else 0 >>>>> >>>>> fbetw = numpy.frompyfunc(ifBetween,3,1) >>>>> >>>>> >>>>> A = fbetw(B,int(2**16*0.3), int(2**16*0.95)) >>>>> >>>>> >>>>> >>>>> A = numpy.asarray(A,dtype=uint16) >>>>> >>>>> dims = inputs[0].GetDimensions() >>>>> >>>>> A = numpy.reshape(A, (dims[2],dims[1],dims[0]), order='C') >>>>> >>>>> A = numpy.ascontiguousarray(A) >>>>> >>>>> importer = vtkImageImportFromArray.vtkImageImportFromArray() >>>>> >>>>> importer.SetArray(A) >>>>> >>>>> importer.SetDataSpacing(inputs[0].GetSpacing()) >>>>> >>>>> importer.SetDataOrigin(inputs[0].GetOrigin()) >>>>> >>>>> importer.Update() >>>>> >>>>> >>>>> output.DeepCopy(importer.GetOutput()) >>>>> >>>>> >>>>> >>>>> -- >>>>> Edo >>>>> I know you think you understand what you thought I said, but I'm not >>>>> sure you realize that what you heard is not what I meant (prob. Alan >>>>> Greenspan) >>>>> :wq >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>> >>> >>> >>> -- >>> Edo >>> I know you think you understand what you thought I said, but I'm not >>> sure you realize that what you heard is not what I meant (prob. Alan >>> Greenspan) >>> :wq >>> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> > > > > -- > Edo > I know you think you understand what you thought I said, but I'm not sure > you realize that what you heard is not what I meant (prob. Alan Greenspan) > :wq > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Wed Oct 25 09:13:10 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 25 Oct 2017 09:13:10 -0400 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> <20171024185832.GA12802@megas.kitware.com> <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> Message-ID: <20171025131310.GC5635@megas.kitware.com> On Wed, Oct 25, 2017 at 13:35:51 +0200, Fabian Wein wrote: > thank you! So the current master will have the upgrade within a few days? It's not so simple :( . There's a build failure with older compilers: https://open.cdash.org/viewNotes.php?buildid=5114526 --Ben From andy.bauer at kitware.com Wed Oct 25 10:05:18 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 25 Oct 2017 10:05:18 -0400 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: Hi Kolja, I can't recall if anyone tried the Catalyst Live connection through pvpython but I don't think anyone has done that yet. The design was meant to go through the GUI. My suggestion would be to start looking at the DoLiveVisualization() method in coprocessing.py. Cheers, Andy On Tue, Oct 24, 2017 at 12:49 PM, Kolja Petersen wrote: > Hello, > Are there any examples how to receive extracts from Catalyst simulations > in a batch pvpython script? > > My first attempt looks as attached. I connect to a pvserver running on > localhost. Then I create a LiveInsituLink proxy, set the insitu port to > 22222 and initialize the proxy. Finally, I repeat ProcessEvents(), which I > hoped would allow me to interact with the Catalyst simulation. > > However, when I first start pvserver, then the "coproc.py" script > (attached), and finally a Catalyst example (e.g. > Examples/Catalyst/CFullExample/FEDriver.c), nothing useful happens. The > callback, which should react to any LiveInsituLink events, is only called > during initialization (UpdatePropertyEvent and ModifiedEvent), then never > again. lil.GetTimeStep() in the endless loop shows always the same > (uninitialized?) value, there are no Debug messages from the LiveInsituLink > proxy. > > How can I receive a notification, when a Catalyst simulation connects? > How can I get a list of available extracts? > 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: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Oct 25 10:12:44 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 25 Oct 2017 10:12:44 -0400 Subject: [Paraview] Python Scripting - Acess vtkOpenGL cameras from .pvx files information In-Reply-To: References: Message-ID: Leo, To handle 90-degree pitch or elevation, do the following: camera.Pitch(90) camera.OrthogonalizeViewUp() Render() Utkarsh On Tue, Oct 24, 2017 at 2:50 PM, L?o Pessanha wrote: > Thanks Utkarsh! > > This change would take a build right? Can't do it right now =/ > > My goal is to know what should I do after a > > cameraInstance.Pitch(90) >> > > and before a > > Render() >> > > In order not to get the warning > > Resetting view-up since view plane normal is parallel >> > > I've tried > > cameraInstance.ComputeViewPlaneNormal() >> > > but with no sucess... > > Do you know why and can explain me the reason of this warning ? > More important, how to get rid of it? hahaha > My goal trying to print the camera attributes was to debug this info! > > Thanks in advance! > > > > Leonardo Pessanha > Laboratory of Computational Methods in Engineering > Federal University of Rio de Janeiro - COPPE > Rio de Janeiro, RJ, Brasil > > > 2017-10-23 13:01 GMT-02:00 Utkarsh Ayachit : > >> Leo, >> >> You can't access it in Python since the Python script is not run on the >> server side. If your goal is to debug what thet camera is set to, you can >> put cout's to print the camera in `vtkCaveSynchronizedRenderers::HandleStartRender`. >> That's where the local camera on each rank is "prepped" for rendering a >> frame. >> >> Utkarsh >> >> On Mon, Oct 23, 2017 at 9:20 AM, L?o Pessanha < >> leonardopessanha74 at gmail.com> wrote: >> >>> Hi! >>> >>> I would like to know if there's a way to acess the >>> information/attributes of the cameras there are created trough a .pvx file >>> >>> To acess the attributes in the camera of the active Layout/RenderView I >>> do: >>> >>> 1 - Open Python Shell >>> 2 - camera = GetActiveCamera() >>> 3 - print(camera) >>> >>> And the output is: >>> >>> vtkOpenGLCamera (0x4a45e80) >>> >>> Debug: Off >>> >>> Modified Time: 405029 >>> >>> Reference Count: 5 >>> >>> Registered Events: >>> >>> Registered Observers: >>> >>> (none) >>> >>> ClippingRange: (1.63277, 5.56498) >>> >>> DirectionOfProjection: (0.526409, 0.492965, -0.692733) >>> >>> Distance: 3.37001 >>> >>> EyeAngle: 2 >>> >>> FocalDisk: 1 >>> >>> FocalPoint: (0, 0, 0) >>> >>> ViewShear: (0, 0, 1) >>> >>> ParallelProjection: Off >>> >>> ParallelScale: 0.872667 >>> >>> Position: (-1.77401, -1.6613, 2.33452) >>> >>> Stereo: Off >>> >>> Left Eye: 1 >>> >>> Thickness: 3.93221 >>> >>> ViewAngle: 30 >>> >>> UseHorizontalViewAngle: 0 >>> >>> UserTransform: (none) >>> >>> (none) >>> >>> FreezeFocalPoint: (none) >>> >>> ViewPlaneNormal: (-0.526409, -0.492965, 0.692733) >>> >>> ViewUp: (-0.0865543, 0.841596, 0.533127) >>> >>> WindowCenter: (0, 0) >>> >>> UseOffAxisProjection: (0) >>> >>> ScreenBottomLeft: (-0.5, -0.5, -0.5) >>> >>> ScreenBottomRight: (0.5, -0.5, -0.5) >>> >>> ScreenTopRight: (0.5, 0.5, -0.5) >>> >>> EyeSeparation: (0.06) >>> >>> WorldToScreenMatrix: (0x4a457c0 >>> >>> Debug: Off >>> >>> Modified Time: 155883 >>> >>> Reference Count: 1 >>> >>> Registered Events: (none) >>> >>> Elements: >>> >>> 1 0 0 0 >>> >>> 0 1 0 0 >>> >>> 0 0 1 0 >>> >>> 0 0 0 1 >>> >>> ) >>> >>> EyeTransformMatrix: (0x4a458b0 >>> >>> Debug: Off >>> >>> Modified Time: 155885 >>> >>> Reference Count: 1 >>> >>> Registered Events: (none) >>> >>> Elements: >>> >>> 1 0 0 0 >>> >>> 0 1 0 0 >>> >>> 0 0 1 0 >>> >>> 0 0 0 1 >>> >>> ) >>> >>> ModelTransformMatrix: (0x4a459a0 >>> >>> Debug: Off >>> >>> Modified Time: 155887 >>> >>> Reference Count: 1 >>> >>> Registered Events: (none) >>> >>> Elements: >>> >>> 1 0 0 0 >>> >>> 0 1 0 0 >>> >>> 0 0 1 0 >>> >>> 0 0 0 1 >>> >>> ) >>> >>> ProjectionTransform: (0x4a46280 >>> >>> Debug: Off >>> >>> Modified Time: 405415 >>> >>> Reference Count: 1 >>> >>> Registered Events: (none) >>> >>> Inverse: (0) >>> >>> Matrix: (0x4a46330) >>> >>> Debug: Off >>> >>> Modified Time: 405416 >>> >>> Reference Count: 1 >>> >>> Registered Events: (none) >>> >>> Elements: >>> >>> 3.76067 0 0 0 >>> >>> 0 3.73205 0 0 >>> >>> 0 0 -1.83046 -4.62147 >>> >>> 0 0 -1 0 >>> >>> Input: (0) >>> >>> InverseFlag: 0 >>> >>> NumberOfConcatenatedTransforms: 1 >>> >>> 0: vtkSimpleTransform at 0x6ecdae0 >>> >>> ) >>> >>> >>> *How to get these informations of the cameras created from a .pvx file?* >>> >>> >>> >>> Thanks in advance, >>> Leonardo Pessanha >>> Laboratory of Computational Methods in Engineering >>> Federal University of Rio de Janeiro - COPPE >>> Rio de Janeiro, RJ, Brasil >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 25 12:32:57 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 25 Oct 2017 16:32:57 +0000 Subject: [Paraview] multiple scalar fields Message-ID: <0E1B8ACF-3492-40D0-A7E9-E355E2605AF6@iu.edu> How does one use 2 (or more) scalar fields in a dataset, e.g. one for a colormap, one to scale glyphs? E.g., Pgmable Source: pdo = self.GetPolyDataOutput() num_pts = 2 newPts = vtk.vtkPoints() cell_color_ID = vtk.vtkFloatArray() cell_radius = vtk.vtkFloatArray() cell_color_ID.SetName('cell_color_ID') cell_radius.SetName('cell_radius') newPts.InsertPoint(0, -1,0,0) cell_color_ID.InsertNextValue(1) cell_radius.InsertNextValue(0.2) newPts.InsertPoint(1, 1,0,0) cell_color_ID.InsertNextValue(2) cell_radius.InsertNextValue(0.3) pdo.SetPoints(newPts) pdo.GetPointData().SetScalars(cell_color_ID) pdo.GetPointData().SetScalars(cell_radius) # overrides the 1st verts = vtk.vtkCellArray() for idx in range(0, num_pts): verts.InsertNextCell(1) verts.InsertCellPoint(idx) pdo.SetVerts(verts) thanks, Randy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Oct 25 13:26:59 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Oct 2017 13:26:59 -0400 Subject: [Paraview] multiple scalar fields In-Reply-To: <0E1B8ACF-3492-40D0-A7E9-E355E2605AF6@iu.edu> References: <0E1B8ACF-3492-40D0-A7E9-E355E2605AF6@iu.edu> Message-ID: Give each array a name (vtkDataArray::SetName()) and use AddArray (vtkFieldData:AddArray()) instead of using the atttibutes based API (vtkDataSetAttributes::Set{Scalars/Tensors/Vectors....}) ParaView uses named array access almost exclusively anyway. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Oct 25, 2017 at 12:32 PM, Heiland, Randy wrote: > How does one use 2 (or more) scalar fields in a dataset, e.g. one for a > colormap, one to scale glyphs? E.g., Pgmable Source: > > pdo = self.GetPolyDataOutput() > > num_pts = 2 > newPts = vtk.vtkPoints() > cell_color_ID = vtk.vtkFloatArray() > cell_radius = vtk.vtkFloatArray() > > cell_color_ID.SetName('cell_color_ID') > cell_radius.SetName('cell_radius') > > newPts.InsertPoint(0, -1,0,0) > cell_color_ID.InsertNextValue(1) > cell_radius.InsertNextValue(0.2) > > newPts.InsertPoint(1, 1,0,0) > cell_color_ID.InsertNextValue(2) > cell_radius.InsertNextValue(0.3) > > pdo.SetPoints(newPts) > pdo.GetPointData().SetScalars(cell_color_ID) > pdo.GetPointData().SetScalars(cell_radius) # overrides the 1st > > verts = vtk.vtkCellArray() > for idx in range(0, num_pts): > verts.InsertNextCell(1) > verts.InsertCellPoint(idx) > pdo.SetVerts(verts) > > > thanks, Randy > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Wed Oct 25 13:42:10 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Wed, 25 Oct 2017 19:42:10 +0200 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: Thank you, Andy, unfortunately your answer has shown me how little I understand about Catalyst. But maybe it leads in the right direction after some work from my side. Just to make sure that we are talking about the same thing: My pvpython client is supposed to automate some of the visualization functionality of the paraview GUI. The coprocessing.py is in charge of the other side of the link, namely to provide data to the visualization side, if I understand correctly? I rather followed what happens in the constructor pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager(int connection_port, pqServer* server), which creates a vtkSMLiveInsituLinkProxy, not a vtkLiveInsituLink as coprocessing.py. Now I saw that the vtkLiveInsituLink class can have ProcessType LIVE (for the visualization side? as server side object of the proxy created by paraview?) or INSITU (for the simulation side?). So apparently the same class can take both roles? If yes, that'd clarify some of my confusion. But still I don't see how coprocessing.py helps me to implement a python visualization client? Then, following the creation of a vtkSMLiveInsituLinkProxy in the pqLiveInsituVisualizationManager constructor, this proxy's server side vtkLiveInsituLink calls "parallelController->TriggerRMIOnAllChildren(INITIALIZE_CONNECTION);" inside vtkLiveInsituLink::InsituConnect(vtkMultiProcessController* proc0NodesController). This seems to be the first RMI sent over the link. Is there any possibility to log the transmission or reception of this RMI? I don't find it in the cslogs. I think I could make some progress if I am able to debug where those messages are sent to, and why the python client doesn't react to them. Thank you Kolja On Wed, Oct 25, 2017 at 4:05 PM, Andy Bauer wrote: > Hi Kolja, > > I can't recall if anyone tried the Catalyst Live connection through > pvpython but I don't think anyone has done that yet. The design was meant > to go through the GUI. My suggestion would be to start looking at the > DoLiveVisualization() method in coprocessing.py. > > Cheers, > Andy > > On Tue, Oct 24, 2017 at 12:49 PM, Kolja Petersen > wrote: > >> Hello, >> Are there any examples how to receive extracts from Catalyst simulations >> in a batch pvpython script? >> >> My first attempt looks as attached. I connect to a pvserver running on >> localhost. Then I create a LiveInsituLink proxy, set the insitu port to >> 22222 and initialize the proxy. Finally, I repeat ProcessEvents(), which I >> hoped would allow me to interact with the Catalyst simulation. >> >> However, when I first start pvserver, then the "coproc.py" script >> (attached), and finally a Catalyst example (e.g. >> Examples/Catalyst/CFullExample/FEDriver.c), nothing useful happens. The >> callback, which should react to any LiveInsituLink events, is only called >> during initialization (UpdatePropertyEvent and ModifiedEvent), then never >> again. lil.GetTimeStep() in the endless loop shows always the same >> (uninitialized?) value, there are no Debug messages from the LiveInsituLink >> proxy. >> >> How can I receive a notification, when a Catalyst simulation connects? >> How can I get a list of available extracts? >> 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: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 25 15:16:51 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 25 Oct 2017 19:16:51 +0000 Subject: [Paraview] OSPRay, scaled spheres Message-ID: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> Just want to make sure I?m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I?m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later. thanks, Randy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Oct 25 15:35:39 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Oct 2017 15:35:39 -0400 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> Message-ID: To change the size based on values: check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max. Note 2:Cutter will not cut through the implicit spheres. Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy wrote: > Just want to make sure I?m not missing something. In my Pgmable Source > PolyData, I render Points and love the OSPRay-rendered spheres. However, is > there any mechanism for (independently) scaling these, i.e., other than the > fixed Point Size? Or is the only way to get scalar-value scaled spheres via > the Glyph filter? If so, is it possible to control the > resolution/triangulation of that glyph? Basically, I?m looking for ways of > getting high-res spheres, but will also want to use vtkCutter on them later. > > thanks, Randy > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 25 16:29:16 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 25 Oct 2017 20:29:16 +0000 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> Message-ID: <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface). If I could independently scale the implicit spheres and use OSPRay, I?d prefer that until I do the vtkCutter. (thanks for confirming, Note 2) > On Oct 25, 2017, at 3:35 PM, David E DeMarle wrote: > > To change the size based on values: > check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab > Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. > Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. > > Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max. > > Note 2:Cutter will not cut through the implicit spheres. > > Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side. > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy > wrote: > Just want to make sure I?m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I?m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later. > > thanks, Randy > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Oct 25 16:46:57 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Oct 2017 16:46:57 -0400 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> Message-ID: That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource. In the glyph filter, use 2D glyph, VERTEX. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy wrote: > I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not > the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering > the chunky polygonalized spherical glyphs (Representation = Surface). > > If I could independently scale the implicit spheres and use OSPRay, I?d > prefer that until I do the vtkCutter. (thanks for confirming, Note 2) > > > > On Oct 25, 2017, at 3:35 PM, David E DeMarle > wrote: > > To change the size based on values: > check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab > Choose the array name you want to scale by with "OSPRay Scale Array" > pulldown. > Define your value to radius transfer function via the "OSPRay Scale > Function" popup editor. > > Note 1: the transfer function is defined to map between 0.0 and 1.0 and > clamp outside of that range. Use a calculator to scale and bias into that > range. If you don't like having to do this, file a feature request to > remind the developers to implement it one of these days such that min is > defined to be array min and max. > > Note 2:Cutter will not cut through the implicit spheres. > > Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale > Array and Scale Transfer Function (which I riffed off of) are similar. I'm > not sure about scale and bias and cut with this GL shader based side. > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > > Clifton Park, NY 12065 > > -8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy wrote: > >> Just want to make sure I?m not missing something. In my Pgmable Source >> PolyData, I render Points and love the OSPRay-rendered spheres. However, is >> there any mechanism for (independently) scaling these, i.e., other than the >> fixed Point Size? Or is the only way to get scalar-value scaled spheres via >> the Glyph filter? If so, is it possible to control the >> resolution/triangulation of that glyph? Basically, I?m looking for ways of >> getting high-res spheres, but will also want to use vtkCutter on them later. >> >> thanks, Randy >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 25 17:11:50 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 25 Oct 2017 21:11:50 +0000 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> Message-ID: <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then where is VERTEX? In the Display block, I choose Representation = Points which produces a blobby mess. But a very *smooth* blobby mess :) > On Oct 25, 2017, at 4:46 PM, David E DeMarle wrote: > > That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource. > > In the glyph filter, use 2D glyph, VERTEX. > > > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy > wrote: > I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface). > > If I could independently scale the implicit spheres and use OSPRay, I?d prefer that until I do the vtkCutter. (thanks for confirming, Note 2) > > > >> On Oct 25, 2017, at 3:35 PM, David E DeMarle > wrote: >> >> To change the size based on values: >> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >> Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. >> Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. >> >> Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max. >> >> Note 2:Cutter will not cut through the implicit spheres. >> >> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side. >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065 -8662 >> Phone: 518-881-4909 >> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy > wrote: >> Just want to make sure I?m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I?m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later. >> >> thanks, Randy >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Wed Oct 25 17:14:55 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 25 Oct 2017 17:14:55 -0400 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> Message-ID: click the gear to show advanced properties, or use search field for glyph type. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy wrote: > You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. > Then where is VERTEX? In the Display block, I choose Representation = > Points which produces a blobby mess. But a very *smooth* blobby mess :) > > On Oct 25, 2017, at 4:46 PM, David E DeMarle > wrote: > > That control is only available if the representation type is surface, this > could explain why you don't see it on the ProgrammableSource. > > In the glyph filter, use 2D glyph, VERTEX. > > > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > > Clifton Park, NY 12065 > > -8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy wrote: > >> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not >> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering >> the chunky polygonalized spherical glyphs (Representation = Surface). >> >> If I could independently scale the implicit spheres and use OSPRay, I?d >> prefer that until I do the vtkCutter. (thanks for confirming, Note 2) >> >> >> >> On Oct 25, 2017, at 3:35 PM, David E DeMarle >> wrote: >> >> To change the size based on values: >> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >> Choose the array name you want to scale by with "OSPRay Scale Array" >> pulldown. >> Define your value to radius transfer function via the "OSPRay Scale >> Function" popup editor. >> >> Note 1: the transfer function is defined to map between 0.0 and 1.0 and >> clamp outside of that range. Use a calculator to scale and bias into that >> range. If you don't like having to do this, file a feature request to >> remind the developers to implement it one of these days such that min is >> defined to be array min and max. >> >> Note 2:Cutter will not cut through the implicit spheres. >> >> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale >> Array and Scale Transfer Function (which I riffed off of) are similar. I'm >> not sure about scale and bias and cut with this GL shader based side. >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> >> Clifton Park, NY 12065 >> >> -8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy wrote: >> >>> Just want to make sure I?m not missing something. In my Pgmable Source >>> PolyData, I render Points and love the OSPRay-rendered spheres. However, is >>> there any mechanism for (independently) scaling these, i.e., other than the >>> fixed Point Size? Or is the only way to get scalar-value scaled spheres via >>> the Glyph filter? If so, is it possible to control the >>> resolution/triangulation of that glyph? Basically, I?m looking for ways of >>> getting high-res spheres, but will also want to use vtkCutter on them later. >>> >>> thanks, Randy >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Wed Oct 25 17:19:59 2017 From: heiland at iu.edu (Heiland, Randy) Date: Wed, 25 Oct 2017 21:19:59 +0000 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> Message-ID: <3DEE03C2-FA22-4068-9AEE-EACF2172A90D@iu.edu> Beauty. Thanks!! (I really need to take time to read the entire PV Guide) > On Oct 25, 2017, at 5:14 PM, David E DeMarle wrote: > > click the gear to show advanced properties, or use search field for glyph type. > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 > > On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy > wrote: > You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then where is VERTEX? In the Display block, I choose Representation = Points which produces a blobby mess. But a very *smooth* blobby mess :) > >> On Oct 25, 2017, at 4:46 PM, David E DeMarle > wrote: >> >> That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource. >> >> In the glyph filter, use 2D glyph, VERTEX. >> >> >> >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065 -8662 >> Phone: 518-881-4909 >> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy > wrote: >> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface). >> >> If I could independently scale the implicit spheres and use OSPRay, I?d prefer that until I do the vtkCutter. (thanks for confirming, Note 2) >> >> >> >>> On Oct 25, 2017, at 3:35 PM, David E DeMarle > wrote: >>> >>> To change the size based on values: >>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >>> Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. >>> Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. >>> >>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max. >>> >>> Note 2:Cutter will not cut through the implicit spheres. >>> >>> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side. >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> Principal Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065 -8662 >>> Phone: 518-881-4909 >>> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy > wrote: >>> Just want to make sure I?m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I?m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later. >>> >>> thanks, Randy >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From heiland at iu.edu Thu Oct 26 06:16:14 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 10:16:14 +0000 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: <3DEE03C2-FA22-4068-9AEE-EACF2172A90D@iu.edu> References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> <3DEE03C2-FA22-4068-9AEE-EACF2172A90D@iu.edu> Message-ID: Recapping, hopefully the relevant bits: Pipeline: PgmableSource -> Glyph (only show Glyph) Glyph Properties: Source: 2D Glyph Type: Vertex Active Attrs: Scalars: cell_radius Scaling: Mode: scalar Factor: 1 OSPRay Use Scale Array - yes Scale Array: cell_radius Enable OSPRay - yes Let?s say my cell_radius has a range [5,10] I cannot figure out how to scale up my cells to be large enough. I?ve dabbled with the OSPRay Scale Function editor, with no success. The Scaling Factor above seems to have no effect. Is there a global scaling factor I?m missing? (irrelevant bit, I think? I?m Masking: Every Nth Point) I?ll experiment with my simple 2 cell example later? > On Oct 25, 2017, at 5:19 PM, Heiland, Randy wrote: > > Beauty. Thanks!! (I really need to take time to read the entire PV Guide) > >> On Oct 25, 2017, at 5:14 PM, David E DeMarle > wrote: >> >> click the gear to show advanced properties, or use search field for glyph type. >> >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> Clifton Park, NY 12065-8662 >> Phone: 518-881-4909 >> >> On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy > wrote: >> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then where is VERTEX? In the Display block, I choose Representation = Points which produces a blobby mess. But a very *smooth* blobby mess :) >> >>> On Oct 25, 2017, at 4:46 PM, David E DeMarle > wrote: >>> >>> That control is only available if the representation type is surface, this could explain why you don't see it on the ProgrammableSource. >>> >>> In the glyph filter, use 2D glyph, VERTEX. >>> >>> >>> >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> Principal Engineer >>> 21 Corporate Drive >>> Clifton Park, NY 12065 -8662 >>> Phone: 518-881-4909 >>> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy > wrote: >>> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering the chunky polygonalized spherical glyphs (Representation = Surface). >>> >>> If I could independently scale the implicit spheres and use OSPRay, I?d prefer that until I do the vtkCutter. (thanks for confirming, Note 2) >>> >>> >>> >>>> On Oct 25, 2017, at 3:35 PM, David E DeMarle > wrote: >>>> >>>> To change the size based on values: >>>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >>>> Choose the array name you want to scale by with "OSPRay Scale Array" pulldown. >>>> Define your value to radius transfer function via the "OSPRay Scale Function" popup editor. >>>> >>>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and clamp outside of that range. Use a calculator to scale and bias into that range. If you don't like having to do this, file a feature request to remind the developers to implement it one of these days such that min is defined to be array min and max. >>>> >>>> Note 2:Cutter will not cut through the implicit spheres. >>>> >>>> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale Array and Scale Transfer Function (which I riffed off of) are similar. I'm not sure about scale and bias and cut with this GL shader based side. >>>> >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> Principal Engineer >>>> 21 Corporate Drive >>>> Clifton Park, NY 12065 -8662 >>>> Phone: 518-881-4909 >>>> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy > wrote: >>>> Just want to make sure I?m not missing something. In my Pgmable Source PolyData, I render Points and love the OSPRay-rendered spheres. However, is there any mechanism for (independently) scaling these, i.e., other than the fixed Point Size? Or is the only way to get scalar-value scaled spheres via the Glyph filter? If so, is it possible to control the resolution/triangulation of that glyph? Basically, I?m looking for ways of getting high-res spheres, but will also want to use vtkCutter on them later. >>>> >>>> thanks, Randy >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >>> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Thu Oct 26 09:04:52 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 26 Oct 2017 09:04:52 -0400 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> <3DEE03C2-FA22-4068-9AEE-EACF2172A90D@iu.edu> Message-ID: Looks like: 1) I was wrong, you don't need to scale and bias the input array into 0..1. The transfer function editor widget's piecewise range controls let you specify what the input domain extent. 2) You are correct that there isn't currently a way to get the radii to be > 1.0 when applying the transfer function. Without the transfer function, the point size control sets the radii for all points. With it the transfer function's output (which is defined to be 0..1) controls the radii of each point. Please file a bug report. Notes: With Point Gaussian representation there is an extra "point gaussian radius" control that gets factored in. We could do that with ospray, or factor in the existing point size, or possible extend the transfer function editor widget to change the range extent to something other than 0..1. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Oct 26, 2017 at 6:16 AM, Heiland, Randy wrote: > Recapping, hopefully the relevant bits: > > Pipeline: PgmableSource -> Glyph (only show Glyph) > > Glyph Properties: > Source: 2D Glyph > Type: Vertex > Active Attrs: Scalars: cell_radius > Scaling: Mode: scalar > Factor: 1 > > OSPRay Use Scale Array - yes > Scale Array: cell_radius > Enable OSPRay - yes > > Let?s say my cell_radius has a range [5,10] > > I cannot figure out how to scale up my cells to be large enough. I?ve > dabbled with the OSPRay Scale Function editor, with no success. > > The Scaling Factor above seems to have no effect. Is there a global > scaling factor I?m missing? > > (irrelevant bit, I think? I?m Masking: Every Nth Point) > > I?ll experiment with my simple 2 cell example later? > > > On Oct 25, 2017, at 5:19 PM, Heiland, Randy wrote: > > Beauty. Thanks!! (I really need to take time to read the entire PV Guide) > > On Oct 25, 2017, at 5:14 PM, David E DeMarle > wrote: > > click the gear to show advanced properties, or use search field for glyph > type. > > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > > Clifton Park, NY 12065 > > -8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy wrote: > >> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. >> Then where is VERTEX? In the Display block, I choose Representation = >> Points which produces a blobby mess. But a very *smooth* blobby mess :) >> >> On Oct 25, 2017, at 4:46 PM, David E DeMarle >> wrote: >> >> That control is only available if the representation type is surface, >> this could explain why you don't see it on the ProgrammableSource. >> >> In the glyph filter, use 2D glyph, VERTEX. >> >> >> >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> >> Clifton Park, NY 12065 >> >> -8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy wrote: >> >>> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, not >>> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering >>> the chunky polygonalized spherical glyphs (Representation = Surface). >>> >>> If I could independently scale the implicit spheres and use OSPRay, I?d >>> prefer that until I do the vtkCutter. (thanks for confirming, Note 2) >>> >>> >>> >>> On Oct 25, 2017, at 3:35 PM, David E DeMarle >>> wrote: >>> >>> To change the size based on values: >>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >>> Choose the array name you want to scale by with "OSPRay Scale Array" >>> pulldown. >>> Define your value to radius transfer function via the "OSPRay Scale >>> Function" popup editor. >>> >>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and >>> clamp outside of that range. Use a calculator to scale and bias into that >>> range. If you don't like having to do this, file a feature request to >>> remind the developers to implement it one of these days such that min is >>> defined to be array min and max. >>> >>> Note 2:Cutter will not cut through the implicit spheres. >>> >>> Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale >>> Array and Scale Transfer Function (which I riffed off of) are similar. I'm >>> not sure about scale and bias and cut with this GL shader based side. >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> Principal Engineer >>> 21 Corporate Drive >>> >>> Clifton Park, NY 12065 >>> >>> -8662 >>> Phone: 518-881-4909 <(518)%20881-4909> >>> >>> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy wrote: >>> >>>> Just want to make sure I?m not missing something. In my Pgmable Source >>>> PolyData, I render Points and love the OSPRay-rendered spheres. However, is >>>> there any mechanism for (independently) scaling these, i.e., other than the >>>> fixed Point Size? Or is the only way to get scalar-value scaled spheres via >>>> the Glyph filter? If so, is it possible to control the >>>> resolution/triangulation of that glyph? Basically, I?m looking for ways of >>>> getting high-res spheres, but will also want to use vtkCutter on them later. >>>> >>>> thanks, Randy >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >>> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Thu Oct 26 09:45:29 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Thu, 26 Oct 2017 09:45:29 -0400 Subject: [Paraview] OSPRay, scaled spheres In-Reply-To: References: <709F61B6-27FB-4AE9-AF5D-6D4A31365965@iu.edu> <619F0120-CA43-4CB5-92CB-0DAFCA1C4F0B@iu.edu> <87D5BB89-4AF5-4FA8-8F65-60CD167B0BCF@iu.edu> <3DEE03C2-FA22-4068-9AEE-EACF2172A90D@iu.edu> Message-ID: A patch to factor in point size control can be found here: https://gitlab.kitware.com/vtk/vtk/merge_requests/3499 David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Oct 26, 2017 at 9:04 AM, David E DeMarle wrote: > Looks like: > > 1) I was wrong, you don't need to scale and bias the input array into > 0..1. The transfer function editor widget's piecewise range controls let > you specify what the input domain extent. > > 2) You are correct that there isn't currently a way to get the radii to be > > 1.0 when applying the transfer function. Without the transfer function, > the point size control sets the radii for all points. With it the transfer > function's output (which is defined to be 0..1) controls the radii of each > point. Please file a bug report. > > Notes: With Point Gaussian representation there is an extra "point > gaussian radius" control that gets factored in. We could do that with > ospray, or factor in the existing point size, or possible extend the > transfer function editor widget to change the range extent to something > other than 0..1. > > > David E DeMarle > Kitware, Inc. > Principal Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4909 <(518)%20881-4909> > > On Thu, Oct 26, 2017 at 6:16 AM, Heiland, Randy wrote: > >> Recapping, hopefully the relevant bits: >> >> Pipeline: PgmableSource -> Glyph (only show Glyph) >> >> Glyph Properties: >> Source: 2D Glyph >> Type: Vertex >> Active Attrs: Scalars: cell_radius >> Scaling: Mode: scalar >> Factor: 1 >> >> OSPRay Use Scale Array - yes >> Scale Array: cell_radius >> Enable OSPRay - yes >> >> Let?s say my cell_radius has a range [5,10] >> >> I cannot figure out how to scale up my cells to be large enough. I?ve >> dabbled with the OSPRay Scale Function editor, with no success. >> >> The Scaling Factor above seems to have no effect. Is there a global >> scaling factor I?m missing? >> >> (irrelevant bit, I think? I?m Masking: Every Nth Point) >> >> I?ll experiment with my simple 2 cell example later? >> >> >> On Oct 25, 2017, at 5:19 PM, Heiland, Randy wrote: >> >> Beauty. Thanks!! (I really need to take time to read the entire PV Guide) >> >> On Oct 25, 2017, at 5:14 PM, David E DeMarle >> wrote: >> >> click the gear to show advanced properties, or use search field for glyph >> type. >> >> >> >> David E DeMarle >> Kitware, Inc. >> Principal Engineer >> 21 Corporate Drive >> >> Clifton Park, NY 12065 >> >> -8662 >> Phone: 518-881-4909 <(518)%20881-4909> >> >> On Wed, Oct 25, 2017 at 5:11 PM, Heiland, Randy wrote: >> >>> You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. >>> Then where is VERTEX? In the Display block, I choose Representation = >>> Points which produces a blobby mess. But a very *smooth* blobby mess :) >>> >>> On Oct 25, 2017, at 4:46 PM, David E DeMarle >>> wrote: >>> >>> That control is only available if the representation type is surface, >>> this could explain why you don't see it on the ProgrammableSource. >>> >>> In the glyph filter, use 2D glyph, VERTEX. >>> >>> >>> >>> >>> >>> David E DeMarle >>> Kitware, Inc. >>> Principal Engineer >>> 21 Corporate Drive >>> >>> Clifton Park, NY 12065 >>> >>> -8662 >>> Phone: 518-881-4909 <(518)%20881-4909> >>> >>> On Wed, Oct 25, 2017 at 4:29 PM, Heiland, Randy wrote: >>> >>>> I only see the ?OSPRay Use Scale Array? on the Properties for Glyph, >>>> not the Props for the ProgrammableSource. Expected? And so, OSPRay is >>>> rendering the chunky polygonalized spherical glyphs (Representation = >>>> Surface). >>>> >>>> If I could independently scale the implicit spheres and use OSPRay, I?d >>>> prefer that until I do the vtkCutter. (thanks for confirming, Note 2) >>>> >>>> >>>> >>>> On Oct 25, 2017, at 3:35 PM, David E DeMarle >>>> wrote: >>>> >>>> To change the size based on values: >>>> check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab >>>> Choose the array name you want to scale by with "OSPRay Scale Array" >>>> pulldown. >>>> Define your value to radius transfer function via the "OSPRay Scale >>>> Function" popup editor. >>>> >>>> Note 1: the transfer function is defined to map between 0.0 and 1.0 and >>>> clamp outside of that range. Use a calculator to scale and bias into that >>>> range. If you don't like having to do this, file a feature request to >>>> remind the developers to implement it one of these days such that min is >>>> defined to be array min and max. >>>> >>>> Note 2:Cutter will not cut through the implicit spheres. >>>> >>>> Note 3: Point Gaussian representation's Use Scalar Array, Guassian >>>> Scale Array and Scale Transfer Function (which I riffed off of) are >>>> similar. I'm not sure about scale and bias and cut with this GL shader >>>> based side. >>>> >>>> >>>> David E DeMarle >>>> Kitware, Inc. >>>> Principal Engineer >>>> 21 Corporate Drive >>>> >>>> Clifton Park, NY 12065 >>>> >>>> -8662 >>>> Phone: 518-881-4909 <(518)%20881-4909> >>>> >>>> On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy wrote: >>>> >>>>> Just want to make sure I?m not missing something. In my Pgmable Source >>>>> PolyData, I render Points and love the OSPRay-rendered spheres. However, is >>>>> there any mechanism for (independently) scaling these, i.e., other than the >>>>> fixed Point Size? Or is the only way to get scalar-value scaled spheres via >>>>> the Glyph filter? If so, is it possible to control the >>>>> resolution/triangulation of that glyph? Basically, I?m looking for ways of >>>>> getting high-res spheres, but will also want to use vtkCutter on them later. >>>>> >>>>> thanks, Randy >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>>> >>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Thu Oct 26 10:14:34 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 14:14:34 +0000 Subject: [Paraview] vtkCutter Message-ID: I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Oct 26 10:18:55 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 26 Oct 2017 10:18:55 -0400 Subject: [Paraview] vtkCutter In-Reply-To: References: Message-ID: Sounds like you want the Slice filter. On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: > I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR > CutPlane). If not, any advice on how to accomplish it for some polydata? > https://www.paraview.org/Wiki/Python_Programmable_Filter ? > > Thanks! > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Thu Oct 26 10:24:15 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 14:24:15 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: Message-ID: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> Is there a property that lets me cap the results? > On Oct 26, 2017, at 10:18 AM, Cory Quammen wrote: > > Sounds like you want the Slice filter. > > On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: > I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? > > Thanks! > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Oct 26 10:33:35 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 26 Oct 2017 10:33:35 -0400 Subject: [Paraview] vtkCutter In-Reply-To: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> Message-ID: I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: > Is there a property that lets me cap the results? > > On Oct 26, 2017, at 10:18 AM, Cory Quammen > wrote: > > Sounds like you want the Slice filter. > > On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: > >> I?m not seeing the vtkCutter in the list of filters (well, perhaps the >> AMR CutPlane). If not, any advice on how to accomplish it for some >> polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >> >> Thanks! >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > 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 heiland at iu.edu Thu Oct 26 10:35:29 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 14:35:29 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> Message-ID: <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Yes, sorry I wasn?t clear. > On Oct 26, 2017, at 10:33 AM, Cory Quammen wrote: > > I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? > > On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy > wrote: > Is there a property that lets me cap the results? > >> On Oct 26, 2017, at 10:18 AM, Cory Quammen > wrote: >> >> Sounds like you want the Slice filter. >> >> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: >> I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >> >> Thanks! >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From heiland at iu.edu Thu Oct 26 10:58:46 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 14:58:46 +0000 Subject: [Paraview] my current State/.pvsm ? Message-ID: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> I sometimes have multiple PVs running and don?t remember the names of the .pvsm State files I've loaded into each. Then I want to Save State and it pops up the file dialog to have me choose/enter the filename, but I don?t remember :) Is the current State filename hiding somewhere in the GUI? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From mathieu.westphal at kitware.com Thu Oct 26 11:02:17 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Thu, 26 Oct 2017 17:02:17 +0200 Subject: [Paraview] my current State/.pvsm ? In-Reply-To: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> References: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> Message-ID: Hello It should be visible in the File->Recent Files menu Best, On 26 Oct 2017 4:58 pm, "Heiland, Randy" wrote: > I sometimes have multiple PVs running and don?t remember the names of the > .pvsm State files I've loaded into each. Then I want to Save State and it > pops up the file dialog to have me choose/enter the filename, but I don?t > remember :) Is the current State filename hiding somewhere in the GUI? > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Thu Oct 26 11:06:32 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 26 Oct 2017 11:06:32 -0400 Subject: [Paraview] my current State/.pvsm ? In-Reply-To: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> References: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> Message-ID: > Is the current State filename hiding somewhere in the GUI? Alas no. There's no notion of current state file in ParaView and hence no way to know what state file was loaded in the current instance. From heiland at iu.edu Thu Oct 26 11:09:07 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 15:09:07 +0000 Subject: [Paraview] my current State/.pvsm ? In-Reply-To: References: <0CAB99A6-1375-45CF-9D22-7EB220B44061@iu.edu> Message-ID: <8C4AD779-8CDC-4CC7-A514-5CDD7C90BC37@iu.edu> No worries, Mathieu?s solution works - look at the most recent in File->Recent. Thanks! > On Oct 26, 2017, at 11:06 AM, Utkarsh Ayachit wrote: > >> Is the current State filename hiding somewhere in the GUI? > > Alas no. There's no notion of current state file in ParaView and hence > no way to know what state file was loaded in the current instance. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Oct 26 11:10:49 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 26 Oct 2017 11:10:49 -0400 Subject: [Paraview] vtkCutter In-Reply-To: <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Message-ID: There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. Cory [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy wrote: > Yes, sorry I wasn?t clear. > > On Oct 26, 2017, at 10:33 AM, Cory Quammen > wrote: > > I'm not sure what you mean. Are you trying to clip some polygonal geometry > with a plane and want to fill in the hole created with a polygon? > > On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: > >> Is there a property that lets me cap the results? >> >> On Oct 26, 2017, at 10:18 AM, Cory Quammen >> wrote: >> >> Sounds like you want the Slice filter. >> >> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: >> >>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the >>> AMR CutPlane). If not, any advice on how to accomplish it for some >>> polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>> >>> Thanks! >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> > > > -- > 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 heiland at iu.edu Thu Oct 26 11:15:43 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 15:15:43 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Message-ID: Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres. > On Oct 26, 2017, at 11:10 AM, Cory Quammen wrote: > > There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. > > Cory > > [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only > > On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy > wrote: > Yes, sorry I wasn?t clear. > >> On Oct 26, 2017, at 10:33 AM, Cory Quammen > wrote: >> >> I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? >> >> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy > wrote: >> Is there a property that lets me cap the results? >> >>> On Oct 26, 2017, at 10:18 AM, Cory Quammen > wrote: >>> >>> Sounds like you want the Slice filter. >>> >>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: >>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>> >>> Thanks! >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From cory.quammen at kitware.com Thu Oct 26 11:18:10 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 26 Oct 2017 11:18:10 -0400 Subject: [Paraview] vtkCutter In-Reply-To: References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Message-ID: On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy wrote: > Thanks! Before I start down that path, will this handle multiple, disjoint > polylines? E.g., a plane slicing through 2 spheres; I just want to cap the > sliced spheres. > I'm about 95% sure it will. It is fairly robust IIRC. Cory > On Oct 26, 2017, at 11:10 AM, Cory Quammen > wrote: > > There isn't a filter exposed in ParaView to do this. You could expose > vtkContourTriangulator in an XML plugin [1] and apply that to the polyline > created by the planar Slice through your polygonal geometry. > > Cory > > [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only > > On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy wrote: > >> Yes, sorry I wasn?t clear. >> >> On Oct 26, 2017, at 10:33 AM, Cory Quammen >> wrote: >> >> I'm not sure what you mean. Are you trying to clip some polygonal >> geometry with a plane and want to fill in the hole created with a polygon? >> >> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: >> >>> Is there a property that lets me cap the results? >>> >>> On Oct 26, 2017, at 10:18 AM, Cory Quammen >>> wrote: >>> >>> Sounds like you want the Slice filter. >>> >>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: >>> >>>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the >>>> AMR CutPlane). If not, any advice on how to accomplish it for some >>>> polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>>> >>>> Thanks! >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: >>>> http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> > > > -- > 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 louise.davies at stfc.ac.uk Thu Oct 26 11:24:19 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Thu, 26 Oct 2017 15:24:19 +0000 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file Message-ID: Hello all, I'm specifying some plugins to load with Visualizer, and I want to be able to apply filters from these plugins in Visualizer. I've copied the defaultProxies.json file from the ParaView source code and I don't know how to get ParaView to recognise my plugin filter name. For example, I specify on the command line I want to load the default AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter in Visualizer. However, all of the names I can find related to the Flying Edges 3D filter in its .xml file (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. When I click on the item in the filters pane it does nothing. Am I understanding this incorrectly? Does it work differently for filters loaded from plugins than from default ParaView filters? Kind Regards, Louise -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.wittenburg at kitware.com Thu Oct 26 11:30:08 2017 From: scott.wittenburg at kitware.com (Scott Wittenburg) Date: Thu, 26 Oct 2017 09:30:08 -0600 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: Hi Louise, Off the top of my head, I would think that what you are doing should work, but maybe Seb can chime in otherwise. In your application server code, do you register the "ParaViewWebStartupPluginLoader" before the "ParaViewWebProxyManager"? Scott On Thu, Oct 26, 2017 at 9:24 AM, wrote: > Hello all, > > > > I?m specifying some plugins to load with Visualizer, and I want to be able > to apply filters from these plugins in Visualizer. I?ve copied the > defaultProxies.json > > file from the ParaView source code and I don?t know how to get ParaView to > recognise my plugin filter name. > > > > For example, I specify on the command line I want to load the default > AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter > in Visualizer. However, all of the names I can find related to the Flying > Edges 3D filter in its .xml file > > (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. > When I click on the item in the filters pane it does nothing. > > > > Am I understanding this incorrectly? Does it work differently for filters > loaded from plugins than from default ParaView filters? > > > > Kind Regards, > > > > Louise > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Thu Oct 26 11:37:06 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Thu, 26 Oct 2017 15:37:06 +0000 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: Hi Scott, I am using the default pvw-visualizer.py server file, which does register ParaViewWebStartupPluginLoader before ParaViewWebProxyManager. For clarification, this is what I?m adding to my json file (using the Flying Edges 3D example): In the ?filters? section: { "name": "FlyingEdges3D", "label": "Flying Edges 3D"} Louise From: Scott Wittenburg [mailto:scott.wittenburg at kitware.com] Sent: 26 October 2017 16:30 To: Davies, Louise (STFC,RAL,SC) Cc: paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file Hi Louise, Off the top of my head, I would think that what you are doing should work, but maybe Seb can chime in otherwise. In your application server code, do you register the "ParaViewWebStartupPluginLoader" before the "ParaViewWebProxyManager"? Scott On Thu, Oct 26, 2017 at 9:24 AM, > wrote: Hello all, I?m specifying some plugins to load with Visualizer, and I want to be able to apply filters from these plugins in Visualizer. I?ve copied the defaultProxies.json file from the ParaView source code and I don?t know how to get ParaView to recognise my plugin filter name. For example, I specify on the command line I want to load the default AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter in Visualizer. However, all of the names I can find related to the Flying Edges 3D filter in its .xml file (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. When I click on the item in the filters pane it does nothing. Am I understanding this incorrectly? Does it work differently for filters loaded from plugins than from default ParaView filters? Kind Regards, Louise _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott.wittenburg at kitware.com Thu Oct 26 11:53:27 2017 From: scott.wittenburg at kitware.com (Scott Wittenburg) Date: Thu, 26 Oct 2017 09:53:27 -0600 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: I see, I read your first email a bit too quickly. So you do see the filter appear in the web ui, but it just doesn't have any effect you can see. A few more questions then: 1) Is there any log output you can share? 2) what version of paraview are you running? 3) what filter or dataset type are you giving as input to the flying edges filter? Scott On Thu, Oct 26, 2017 at 9:37 AM, wrote: > Hi Scott, > > > > I am using the default pvw-visualizer.py server file, which does register ParaViewWebStartupPluginLoader > before ParaViewWebProxyManager. > > > > For clarification, this is what I?m adding to my json file (using the > Flying Edges 3D example): > > > > In the ?filters? section: > > { "name": "FlyingEdges3D", "label": "Flying Edges 3D"} > > > > Louise > > > > *From:* Scott Wittenburg [mailto:scott.wittenburg at kitware.com] > *Sent:* 26 October 2017 16:30 > *To:* Davies, Louise (STFC,RAL,SC) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Specifying filters from plugins in ParaViewWeb > Visualizer proxy file > > > > Hi Louise, > > > > Off the top of my head, I would think that what you are doing should > work, but maybe Seb can chime in otherwise. In your application server > code, do you register the "ParaViewWebStartupPluginLoader" before the > "ParaViewWebProxyManager"? > > > > Scott > > > > On Thu, Oct 26, 2017 at 9:24 AM, wrote: > > Hello all, > > > > I?m specifying some plugins to load with Visualizer, and I want to be able > to apply filters from these plugins in Visualizer. I?ve copied the > defaultProxies.json > > file from the ParaView source code and I don?t know how to get ParaView to > recognise my plugin filter name. > > > > For example, I specify on the command line I want to load the default > AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter > in Visualizer. However, all of the names I can find related to the Flying > Edges 3D filter in its .xml file > > (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. > When I click on the item in the filters pane it does nothing. > > > > Am I understanding this incorrectly? Does it work differently for filters > loaded from plugins than from default ParaView filters? > > > > Kind Regards, > > > > Louise > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Thu Oct 26 11:54:54 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Thu, 26 Oct 2017 11:54:54 -0400 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: I inlined some answers below... On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen wrote: > Thank you, Andy, > unfortunately your answer has shown me how little I understand about > Catalyst. But maybe it leads in the right direction after some work from my > side. > > Just to make sure that we are talking about the same thing: My pvpython > client is supposed to automate some of the visualization functionality of > the paraview GUI. The coprocessing.py is in charge of the other side of the > link, namely to provide data to the visualization side, if I understand > correctly? I rather followed what happens in the constructor > pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager(int > connection_port, pqServer* server), which creates a > vtkSMLiveInsituLinkProxy, not a vtkLiveInsituLink as coprocessing.py. > Yes, coprocessing.py should only be used on the simulation side. > > Now I saw that the vtkLiveInsituLink class can have ProcessType LIVE (for > the visualization side? as server side object of the proxy created by > paraview?) or INSITU (for the simulation side?). So apparently the same > class can take both roles? If yes, that'd clarify some of my confusion. But > still I don't see how coprocessing.py helps me to implement a python > visualization client? > > Yes, the same class does work in both roles with the LIVE ProcessType being the visualization side and the INSITU being the simulation side. Things get a little murkier when there is a separate pvserver from the client that connects to the simulation. > Then, following the creation of a vtkSMLiveInsituLinkProxy in the > pqLiveInsituVisualizationManager constructor, this proxy's server side > vtkLiveInsituLink calls "parallelController->TriggerRMIOnAllChildren(INITIALIZE_CONNECTION);" > inside vtkLiveInsituLink::InsituConnect(vtkMultiProcessController* > proc0NodesController). This seems to be the first RMI sent over the link. > Is there any possibility to log the transmission or reception of this RMI? > I don't find it in the cslogs. > I think I could make some progress if I am able to debug where those > messages are sent to, and why the python client doesn't react to them. > I believe the cslogs are only between the client and server. You may be able to print the cslogs on the simulation side as well but I haven't tried that to verify that it works. > Thank you > Kolja > > On Wed, Oct 25, 2017 at 4:05 PM, Andy Bauer > wrote: > >> Hi Kolja, >> >> I can't recall if anyone tried the Catalyst Live connection through >> pvpython but I don't think anyone has done that yet. The design was meant >> to go through the GUI. My suggestion would be to start looking at the >> DoLiveVisualization() method in coprocessing.py. >> >> Cheers, >> Andy >> >> On Tue, Oct 24, 2017 at 12:49 PM, Kolja Petersen > > wrote: >> >>> Hello, >>> Are there any examples how to receive extracts from Catalyst simulations >>> in a batch pvpython script? >>> >>> My first attempt looks as attached. I connect to a pvserver running on >>> localhost. Then I create a LiveInsituLink proxy, set the insitu port to >>> 22222 and initialize the proxy. Finally, I repeat ProcessEvents(), which I >>> hoped would allow me to interact with the Catalyst simulation. >>> >>> However, when I first start pvserver, then the "coproc.py" script >>> (attached), and finally a Catalyst example (e.g. >>> Examples/Catalyst/CFullExample/FEDriver.c), nothing useful happens. The >>> callback, which should react to any LiveInsituLink events, is only called >>> during initialization (UpdatePropertyEvent and ModifiedEvent), then never >>> again. lil.GetTimeStep() in the endless loop shows always the same >>> (uninitialized?) value, there are no Debug messages from the LiveInsituLink >>> proxy. >>> >>> How can I receive a notification, when a Catalyst simulation connects? >>> How can I get a list of available extracts? >>> 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: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 224252 at via.dk Thu Oct 26 11:56:59 2017 From: 224252 at via.dk (Doina Gumeniuc (224252 MAHS)) Date: Thu, 26 Oct 2017 15:56:59 +0000 Subject: [Paraview] Tube around a center line Message-ID: Hi all, I have got a tube with various diameters along its height. I have the coordinates of the points which form the center line and the scalar value of the diameters. IS there a way to generate the tube shape arounda centre line using diameter, in a vtk input file without having to show the point coordinates around the tube? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Oct 26 12:02:08 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 26 Oct 2017 10:02:08 -0600 Subject: [Paraview] Tube around a center line In-Reply-To: References: Message-ID: The Tube filter is made for that. On Thu, Oct 26, 2017 at 9:56 AM, Doina Gumeniuc (224252 MAHS) <224252 at via.dk > wrote: > Hi all, > > > I have got a tube with various diameters along its height. I have the > coordinates of the points which form the center line and the scalar value > of the diameters. IS there a way to generate the tube shape arounda centre > line using diameter, in a vtk input file without having to show the > point coordinates around the tube? > > > Thank you! > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Thu Oct 26 12:06:49 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Thu, 26 Oct 2017 16:06:49 +0000 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: Hi Scott, Yes, the ui item is there but all that happens is that the logo flickers for like a second then nothing. 1. I have no log output other than the regular output I get via starting the server 2. Running 5.4.1, compiled from source 3. It?s an .mha file, looking at the file info gives ?Image (Uniform Rectilinear Grid)?. Note that I?m using the flying edges filter as an example since it?s a standard plugin and I can get it to apply to this dataset in ParaView desktop, so I don?t think it is the datatype. It also doesn?t work if I use a Wavelet like specified in this blog post: https://blog.kitware.com/accelerated-filters-in-paraview-5/ Louise From: Scott Wittenburg [mailto:scott.wittenburg at kitware.com] Sent: 26 October 2017 16:53 To: Davies, Louise (STFC,RAL,SC) Cc: paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file I see, I read your first email a bit too quickly. So you do see the filter appear in the web ui, but it just doesn't have any effect you can see. A few more questions then: 1) Is there any log output you can share? 2) what version of paraview are you running? 3) what filter or dataset type are you giving as input to the flying edges filter? Scott On Thu, Oct 26, 2017 at 9:37 AM, > wrote: Hi Scott, I am using the default pvw-visualizer.py server file, which does register ParaViewWebStartupPluginLoader before ParaViewWebProxyManager. For clarification, this is what I?m adding to my json file (using the Flying Edges 3D example): In the ?filters? section: { "name": "FlyingEdges3D", "label": "Flying Edges 3D"} Louise From: Scott Wittenburg [mailto:scott.wittenburg at kitware.com] Sent: 26 October 2017 16:30 To: Davies, Louise (STFC,RAL,SC) > Cc: paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file Hi Louise, Off the top of my head, I would think that what you are doing should work, but maybe Seb can chime in otherwise. In your application server code, do you register the "ParaViewWebStartupPluginLoader" before the "ParaViewWebProxyManager"? Scott On Thu, Oct 26, 2017 at 9:24 AM, > wrote: Hello all, I?m specifying some plugins to load with Visualizer, and I want to be able to apply filters from these plugins in Visualizer. I?ve copied the defaultProxies.json file from the ParaView source code and I don?t know how to get ParaView to recognise my plugin filter name. For example, I specify on the command line I want to load the default AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter in Visualizer. However, all of the names I can find related to the Flying Edges 3D filter in its .xml file (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. When I click on the item in the filters pane it does nothing. Am I understanding this incorrectly? Does it work differently for filters loaded from plugins than from default ParaView filters? Kind Regards, Louise _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Thu Oct 26 12:11:02 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Thu, 26 Oct 2017 10:11:02 -0600 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: Another easy approach (not great but easy), is to check that plugin in ParaView Qt ui as auto load and then make sure Visualizer is not started with the "-dr" argument. That way, the plugin will load at start time. On Thu, Oct 26, 2017 at 10:06 AM, wrote: > Hi Scott, > > > > Yes, the ui item is there but all that happens is that the logo flickers > for like a second then nothing. > > > > 1. I have no log output other than the regular output I get via > starting the server > > 2. Running 5.4.1, compiled from source > > 3. It?s an .mha file, looking at the file info gives ?Image > (Uniform Rectilinear Grid)?. Note that I?m using the flying edges filter as > an example since it?s a standard plugin and I can get it to apply to this > dataset in ParaView desktop, so I don?t think it is the datatype. It also > doesn?t work if I use a Wavelet like specified in this blog post: > https://blog.kitware.com/accelerated-filters-in-paraview-5/ > > > > Louise > > > > *From:* Scott Wittenburg [mailto:scott.wittenburg at kitware.com] > *Sent:* 26 October 2017 16:53 > > *To:* Davies, Louise (STFC,RAL,SC) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Specifying filters from plugins in ParaViewWeb > Visualizer proxy file > > > > I see, I read your first email a bit too quickly. So you do see the > filter appear in the web ui, but it just doesn't have any effect you can > see. A few more questions then: 1) Is there any log output you can > share? 2) what version of paraview are you running? 3) what filter or > dataset type are you giving as input to the flying edges filter? > > > > Scott > > > > On Thu, Oct 26, 2017 at 9:37 AM, wrote: > > Hi Scott, > > > > I am using the default pvw-visualizer.py server file, which does register > ParaViewWebStartupPluginLoader before ParaViewWebProxyManager. > > > > For clarification, this is what I?m adding to my json file (using the > Flying Edges 3D example): > > > > In the ?filters? section: > > { "name": "FlyingEdges3D", "label": "Flying Edges 3D"} > > > > Louise > > > > *From:* Scott Wittenburg [mailto:scott.wittenburg at kitware.com] > *Sent:* 26 October 2017 16:30 > *To:* Davies, Louise (STFC,RAL,SC) > *Cc:* paraview at paraview.org > *Subject:* Re: [Paraview] Specifying filters from plugins in ParaViewWeb > Visualizer proxy file > > > > Hi Louise, > > > > Off the top of my head, I would think that what you are doing should > work, but maybe Seb can chime in otherwise. In your application server > code, do you register the "ParaViewWebStartupPluginLoader" before the > "ParaViewWebProxyManager"? > > > > Scott > > > > On Thu, Oct 26, 2017 at 9:24 AM, wrote: > > Hello all, > > > > I?m specifying some plugins to load with Visualizer, and I want to be able > to apply filters from these plugins in Visualizer. I?ve copied the > defaultProxies.json > > file from the ParaView source code and I don?t know how to get ParaView to > recognise my plugin filter name. > > > > For example, I specify on the command line I want to load the default > AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter > in Visualizer. However, all of the names I can find related to the Flying > Edges 3D filter in its .xml file > > (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. > When I click on the item in the filters pane it does nothing. > > > > Am I understanding this incorrectly? Does it work differently for filters > loaded from plugins than from default ParaView filters? > > > > Kind Regards, > > > > Louise > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rrossi at red-fluid.com Thu Oct 26 14:49:20 2017 From: rrossi at red-fluid.com (Riccardo Rossi) Date: Thu, 26 Oct 2017 20:49:20 +0200 Subject: [Paraview] Default colorbar style Message-ID: <00b001d34e8b$23e35cc0$6baa1640$@red-fluid.com> Hi All. I'm using Paraview 4.3.1 64bit on Linux (the system can't digest the 5.4 release for now) and I'm struggling to get the same colorbar style for any variable on any render view and layout, i.e. once for all. As I understand, using "Save current colormap settings as default" in the "Color Map Editor" Panel and "Save current settings value as default" in the "Edit Color Legend Parameter" panel should do the trick but changing the variable resets the font size of both title and text/annotations. Also, rescaling the colorbar changes the font size to make them fit below a certain length or width of the bar which is also very annoying. I was thus wondering if I'm doing anything/expecting something wrong or if there is anybody experiencing the same issue. Thanks, R --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Thu Oct 26 15:20:47 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 26 Oct 2017 19:20:47 +0000 Subject: [Paraview] [EXTERNAL] Default colorbar style In-Reply-To: <00b001d34e8b$23e35cc0$6baa1640$@red-fluid.com> References: <00b001d34e8b$23e35cc0$6baa1640$@red-fluid.com> Message-ID: <11cf673eb8e64b52a1e284fa1cc11f66@ES01AMSNLNT.srn.sandia.gov> I remember some weirdnesses with the colormap for PV 4.*. Kitware has rewritten this code, and it really is working nice. Would it be possible to install the latest version of PV? 5.4.1 is being a reliable workhorse. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Riccardo Rossi Sent: Thursday, October 26, 2017 12:49 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Default colorbar style Hi All. I'm using Paraview 4.3.1 64bit on Linux (the system can't digest the 5.4 release for now) and I'm struggling to get the same colorbar style for any variable on any render view and layout, i.e. once for all. As I understand, using "Save current colormap settings as default" in the "Color Map Editor" Panel and "Save current settings value as default" in the "Edit Color Legend Parameter" panel should do the trick but changing the variable resets the font size of both title and text/annotations. Also, rescaling the colorbar changes the font size to make them fit below a certain length or width of the bar which is also very annoying. I was thus wondering if I'm doing anything/expecting something wrong or if there is anybody experiencing the same issue. Thanks, R [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif] Virus-free. www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rrossi at red-fluid.com Thu Oct 26 15:40:58 2017 From: rrossi at red-fluid.com (Riccardo Rossi) Date: Thu, 26 Oct 2017 21:40:58 +0200 Subject: [Paraview] [EXTERNAL] Default colorbar style In-Reply-To: <11cf673eb8e64b52a1e284fa1cc11f66@ES01AMSNLNT.srn.sandia.gov> References: <00b001d34e8b$23e35cc0$6baa1640$@red-fluid.com> <11cf673eb8e64b52a1e284fa1cc11f66@ES01AMSNLNT.srn.sandia.gov> Message-ID: <00bf01d34e92$59914240$0cb3c6c0$@red-fluid.com> Hey Alan. Yes, I've tried the 5.4.1. on Windows and seems to work fine with scalar variables, but the font size/color are restored to defauls values for vector data. Also, saving settings as default does not apply to colormap size and location which is also very annoying. R From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, October 26, 2017 9:21 PM To: Riccardo Rossi ; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Default colorbar style I remember some weirdnesses with the colormap for PV 4.*. Kitware has rewritten this code, and it really is working nice. Would it be possible to install the latest version of PV? 5.4.1 is being a reliable workhorse. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Riccardo Rossi Sent: Thursday, October 26, 2017 12:49 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Default colorbar style Hi All. I'm using Paraview 4.3.1 64bit on Linux (the system can't digest the 5.4 release for now) and I'm struggling to get the same colorbar style for any variable on any render view and layout, i.e. once for all. As I understand, using "Save current colormap settings as default" in the "Color Map Editor" Panel and "Save current settings value as default" in the "Edit Color Legend Parameter" panel should do the trick but changing the variable resets the font size of both title and text/annotations. Also, rescaling the colorbar changes the font size to make them fit below a certain length or width of the bar which is also very annoying. I was thus wondering if I'm doing anything/expecting something wrong or if there is anybody experiencing the same issue. Thanks, R Virus-free. www.avast.com --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: not available URL: From hero.jairaj at gmail.com Thu Oct 26 18:18:55 2017 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Thu, 26 Oct 2017 17:18:55 -0500 Subject: [Paraview] Error with plot selection over time Message-ID: Hey all I have unstructured grid vtu/vtk type data. When I select some cells and try "plot selection over time", it gives me error Type mismatch: source: double dest: idtype. This error has never occurred before, when I tried to use this. Thank you all! -- Jairaj Mathur, Mechanical Engineering Washington University in St Louis -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Thu Oct 26 19:57:14 2017 From: heiland at iu.edu (Heiland, Randy) Date: Thu, 26 Oct 2017 23:57:14 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Message-ID: <05422D06-8D83-49E1-A2C5-3DB3D6E36049@iu.edu> Thanks very much, Cory! It did indeed (mostly) work for me. Wow, I continue to be amazed at PV. That was a super simple solution, thanks to the XML plugin option (and vtkContourTriangulator). I say ?mostly? because I had some intersecting spheres in my test case and the filter got a bit confused, but overall it was quite robust. -Randy > On Oct 26, 2017, at 11:18 AM, Cory Quammen wrote: > > On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy > wrote: > Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres. > > I'm about 95% sure it will. It is fairly robust IIRC. > > Cory >> On Oct 26, 2017, at 11:10 AM, Cory Quammen > wrote: >> >> There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. >> >> Cory >> >> [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only >> >> On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy > wrote: >> Yes, sorry I wasn?t clear. >> >>> On Oct 26, 2017, at 10:33 AM, Cory Quammen > wrote: >>> >>> I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? >>> >>> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy > wrote: >>> Is there a property that lets me cap the results? >>> >>>> On Oct 26, 2017, at 10:18 AM, Cory Quammen > wrote: >>>> >>>> Sounds like you want the Slice filter. >>>> >>>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: >>>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>>> >>>> Thanks! >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>> >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From heiland at iu.edu Thu Oct 26 20:38:29 2017 From: heiland at iu.edu (Heiland, Randy) Date: Fri, 27 Oct 2017 00:38:29 +0000 Subject: [Paraview] POV Exporter, spheres/geom/colors Message-ID: I have a simple 2-point Pgmable Source (below) and render it 1) as 2D Glyphs/Vertex (with the nice OSPRay, and scaled spheres), and 2) as various 3D/geometric glyphs. Then I Export the scenes as POV files. Only the geometric (non 2D/Vertex) glyphs generate partially-meaningful POV output. However, there?s no color associated with the geometry. Thoughts? The last related thread I saw was at: http://markmail.org/search/?q=ParaView+povray#query:ParaView%20povray%20order%3Adate-backward+page:1+mid:6xiimz4cus55dwhh+state:results -Randy pdo = self.GetPolyDataOutput() num_pts = 2 print "num_pts =",num_pts newPts = vtk.vtkPoints() cell_color_ID = vtk.vtkFloatArray() cell_radius = vtk.vtkFloatArray() cell_color_ID.SetName('cell_color_ID') cell_radius.SetName('cell_radius') newPts.InsertPoint(0, -1,0,0) cell_color_ID.InsertNextValue(1) cell_radius.InsertNextValue(0.5) newPts.InsertPoint(1, 1,0,0) cell_color_ID.InsertNextValue(2) cell_radius.InsertNextValue(0.7) pdo.SetPoints(newPts) pdo.GetPointData().AddArray(cell_color_ID) pdo.GetPointData().AddArray(cell_radius) verts = vtk.vtkCellArray() for idx in range(0, num_pts): verts.InsertNextCell(1) verts.InsertCellPoint(idx) pdo.SetVerts(verts) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From wascott at sandia.gov Thu Oct 26 21:37:26 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Oct 2017 01:37:26 +0000 Subject: [Paraview] [EXTERNAL] Default colorbar style In-Reply-To: <00bf01d34e92$59914240$0cb3c6c0$@red-fluid.com> References: <00b001d34e8b$23e35cc0$6baa1640$@red-fluid.com> <11cf673eb8e64b52a1e284fa1cc11f66@ES01AMSNLNT.srn.sandia.gov> <00bf01d34e92$59914240$0cb3c6c0$@red-fluid.com> Message-ID: Works for me! Try deleting your configuration files. You may have some old trash in there. https://www.paraview.org/Wiki/ParaView_Settings_Files Then, in the Color Editor, change your color table. Down at the bottom, left, there is a little cute icon that says "save current color map settings...." Then, open your color legend editor. Tiny icon, top right. Change what you want. Be sure to Apply. Now, little arrow at the bottom, green arrow saving stuff on disk. This held the state after killing and reopening ParaView. The variable I tested on is a vector. File/ Open/ Examples/ disk_out_ref.exo/ all variables on/ Apply. Now, color by V. Alan From: Riccardo Rossi [mailto:rrossi at red-fluid.com] Sent: Thursday, October 26, 2017 1:41 PM To: Scott, W Alan ; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Default colorbar style Hey Alan. Yes, I've tried the 5.4.1. on Windows and seems to work fine with scalar variables, but the font size/color are restored to defauls values for vector data. Also, saving settings as default does not apply to colormap size and location which is also very annoying. R From: Scott, W Alan [mailto:wascott at sandia.gov] Sent: Thursday, October 26, 2017 9:21 PM To: Riccardo Rossi >; paraview at paraview.org Subject: RE: [EXTERNAL] [Paraview] Default colorbar style I remember some weirdnesses with the colormap for PV 4.*. Kitware has rewritten this code, and it really is working nice. Would it be possible to install the latest version of PV? 5.4.1 is being a reliable workhorse. Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Riccardo Rossi Sent: Thursday, October 26, 2017 12:49 PM To: paraview at paraview.org Subject: [EXTERNAL] [Paraview] Default colorbar style Hi All. I'm using Paraview 4.3.1 64bit on Linux (the system can't digest the 5.4 release for now) and I'm struggling to get the same colorbar style for any variable on any render view and layout, i.e. once for all. As I understand, using "Save current colormap settings as default" in the "Color Map Editor" Panel and "Save current settings value as default" in the "Edit Color Legend Parameter" panel should do the trick but changing the variable resets the font size of both title and text/annotations. Also, rescaling the colorbar changes the font size to make them fit below a certain length or width of the bar which is also very annoying. I was thus wondering if I'm doing anything/expecting something wrong or if there is anybody experiencing the same issue. Thanks, R [Image removed by sender.] Virus-free. www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: image001.jpg URL: From utkarsh.ayachit at kitware.com Thu Oct 26 22:46:04 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 26 Oct 2017 22:46:04 -0400 Subject: [Paraview] Script for exporting multiple scenes In-Reply-To: References: Message-ID: Claudio, Attached is an example script with a demo vtu file used for it. Hope that helps. Utkarsh On Mon, Oct 23, 2017 at 8:55 AM, Ing. Claudio Pascarelli < claudio.pascarelli at unisalento.it> wrote: > Hi, > > these are the first times that I'm using Paraview and Python. > > > I would like to create a script that: > > > 1 - Read the number and name of properties (variables/contour plot) that I > have in my .vtu file (for instance TEMPERATURE and TH_FLUX) > > 2 - Export every contour plot (Export Scenes) in vrml format, looping > among them (like a "for" cycle), with the right name (for instance > VtuName_TEMPERATURE.vrml and VtuName_TH_FLUX.vrml) > > > A priori I do not know how many and which are these properties so I think > that I need first lo list them in some way. > > > If I record a trace this is what I obtain > > > ************************************************************ > *************** > > #### import the simple module from the paraview > from paraview.simple import * > #### disable automatic camera reset on 'Show' > paraview.simple._DisableFirstRenderCameraReset() > > # get active source. > valvola_XXX_termicovtu = GetActiveSource() > > # get active view > renderView1 = GetActiveViewOrCreate('RenderView') > # uncomment following to set a specific view size > # renderView1.ViewSize = [763, 502] > > # get display properties > valvola_XXX_termicovtuDisplay = GetDisplayProperties(valvola_XXX_termicovtu, > view=renderView1) > > # set scalar coloring > ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TEMP')) > > # rescale color and/or opacity maps used to include current data range > valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, > False) > > # show color bar/color legend > valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) > > # get color transfer function/color map for 'TEMP' > tEMPLUT = GetColorTransferFunction('TEMP') > > # export view > ExportView('C:/Users/User/Desktop/TEMP.vrml', view=renderView1) > > # set scalar coloring > ColorBy(valvola_XXX_termicovtuDisplay, ('POINTS', 'TH_FLUX', 'Magnitude')) > > # Hide the scalar bar for this color map if no visible data is colored by > it. > HideScalarBarIfNotNeeded(tEMPLUT, renderView1) > > # rescale color and/or opacity maps used to include current data range > valvola_XXX_termicovtuDisplay.RescaleTransferFunctionToDataRange(True, > False) > > # show color bar/color legend > valvola_XXX_termicovtuDisplay.SetScalarBarVisibility(renderView1, True) > > # get color transfer function/color map for 'TH_FLUX' > tH_FLUXLUT = GetColorTransferFunction('TH_FLUX') > > # export view > ExportView('C:/Users/User/Desktop/TH_FLUX.vrml', view=renderView1) > > #### saving camera placements for all active views > > # current camera placement for renderView1 > renderView1.CameraPosition = [-0.09199999999789327, 0.0665, > 0.7345691646101393] > renderView1.CameraFocalPoint = [-0.09199999999789327, 0.0665, -0.05375] > renderView1.CameraParallelScale = 0.2040320134204131 > > #### uncomment the following to render all views > # RenderAllViews() > # alternatively, if you want to write images, you can use > SaveScreenshot(...). > > ******************************************************* > > > Thank you!!!! > > > Claudio Pascarelli > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: foo.vtu.tar.gz Type: application/x-gzip Size: 97155 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: script.py Type: text/x-python Size: 684 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Thu Oct 26 22:58:58 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 26 Oct 2017 22:58:58 -0400 Subject: [Paraview] POV Exporter, spheres/geom/colors In-Reply-To: References: Message-ID: Randy, That's indeed a bug, I've reported the issue and the cause here: https://gitlab.kitware.com/paraview/paraview/issues/17802 Utkarsh On Thu, Oct 26, 2017 at 8:38 PM, Heiland, Randy wrote: > I have a simple 2-point Pgmable Source (below) and render it 1) as 2D > Glyphs/Vertex (with the nice OSPRay, and scaled spheres), and 2) as various > 3D/geometric glyphs. Then I Export the scenes as POV files. Only the > geometric (non 2D/Vertex) glyphs generate partially-meaningful POV output. > However, there?s no color associated with the geometry. Thoughts? > > The last related thread I saw was at: > http://markmail.org/search/?q=ParaView+povray#query: > ParaView%20povray%20order%3Adate-backward+page:1+mid: > 6xiimz4cus55dwhh+state:results > > > -Randy > > pdo = self.GetPolyDataOutput() > num_pts = 2 > print "num_pts =",num_pts > newPts = vtk.vtkPoints() > cell_color_ID = vtk.vtkFloatArray() > cell_radius = vtk.vtkFloatArray() > > cell_color_ID.SetName('cell_color_ID') > cell_radius.SetName('cell_radius') > > newPts.InsertPoint(0, -1,0,0) > cell_color_ID.InsertNextValue(1) > cell_radius.InsertNextValue(0.5) > > newPts.InsertPoint(1, 1,0,0) > cell_color_ID.InsertNextValue(2) > cell_radius.InsertNextValue(0.7) > > pdo.SetPoints(newPts) > pdo.GetPointData().AddArray(cell_color_ID) > pdo.GetPointData().AddArray(cell_radius) > > verts = vtk.vtkCellArray() > for idx in range(0, num_pts): > verts.InsertNextCell(1) > verts.InsertCellPoint(idx) > pdo.SetVerts(verts) > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From louise.davies at stfc.ac.uk Fri Oct 27 03:56:41 2017 From: louise.davies at stfc.ac.uk (louise.davies at stfc.ac.uk) Date: Fri, 27 Oct 2017 07:56:41 +0000 Subject: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file In-Reply-To: References: Message-ID: Hi Sebastien, I?ve made it so that the plugin autoloads (and I?ve checked that the plugins are autoloading by selecting a reader plugin as autoload as well, and it does indeed allow me to open the associated filetype without me loading the plugin via the command line) and I still have the same result in Visualizer ? the filter does not apply or appear in the pipeline. Due to this, it must be how I am specifying the filter in the proxies file rather than the plugins not loading (I would think). What property in the plugin xml should I be using in my proxies json file? Kind Regards, Louise From: Sebastien Jourdain [mailto:sebastien.jourdain at kitware.com] Sent: 26 October 2017 17:11 To: Davies, Louise (STFC,RAL,SC) Cc: Scott Wittenburg ; paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file Another easy approach (not great but easy), is to check that plugin in ParaView Qt ui as auto load and then make sure Visualizer is not started with the "-dr" argument. That way, the plugin will load at start time. On Thu, Oct 26, 2017 at 10:06 AM, > wrote: Hi Scott, Yes, the ui item is there but all that happens is that the logo flickers for like a second then nothing. 1. I have no log output other than the regular output I get via starting the server 2. Running 5.4.1, compiled from source 3. It?s an .mha file, looking at the file info gives ?Image (Uniform Rectilinear Grid)?. Note that I?m using the flying edges filter as an example since it?s a standard plugin and I can get it to apply to this dataset in ParaView desktop, so I don?t think it is the datatype. It also doesn?t work if I use a Wavelet like specified in this blog post: https://blog.kitware.com/accelerated-filters-in-paraview-5/ Louise From: Scott Wittenburg [mailto:scott.wittenburg at kitware.com] Sent: 26 October 2017 16:53 To: Davies, Louise (STFC,RAL,SC) > Cc: paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file I see, I read your first email a bit too quickly. So you do see the filter appear in the web ui, but it just doesn't have any effect you can see. A few more questions then: 1) Is there any log output you can share? 2) what version of paraview are you running? 3) what filter or dataset type are you giving as input to the flying edges filter? Scott On Thu, Oct 26, 2017 at 9:37 AM, > wrote: Hi Scott, I am using the default pvw-visualizer.py server file, which does register ParaViewWebStartupPluginLoader before ParaViewWebProxyManager. For clarification, this is what I?m adding to my json file (using the Flying Edges 3D example): In the ?filters? section: { "name": "FlyingEdges3D", "label": "Flying Edges 3D"} Louise From: Scott Wittenburg [mailto:scott.wittenburg at kitware.com] Sent: 26 October 2017 16:30 To: Davies, Louise (STFC,RAL,SC) > Cc: paraview at paraview.org Subject: Re: [Paraview] Specifying filters from plugins in ParaViewWeb Visualizer proxy file Hi Louise, Off the top of my head, I would think that what you are doing should work, but maybe Seb can chime in otherwise. In your application server code, do you register the "ParaViewWebStartupPluginLoader" before the "ParaViewWebProxyManager"? Scott On Thu, Oct 26, 2017 at 9:24 AM, > wrote: Hello all, I?m specifying some plugins to load with Visualizer, and I want to be able to apply filters from these plugins in Visualizer. I?ve copied the defaultProxies.json file from the ParaView source code and I don?t know how to get ParaView to recognise my plugin filter name. For example, I specify on the command line I want to load the default AcceleratedAlgorithms plugin. I want to expose the Flying Edges 3D filter in Visualizer. However, all of the names I can find related to the Flying Edges 3D filter in its .xml file (e.g. FlyingEdges3D, vtkFlyingEdges3D) do not allow me to use the filter. When I click on the item in the filters pane it does nothing. Am I understanding this incorrectly? Does it work differently for filters loaded from plugins than from default ParaView filters? Kind Regards, Louise _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Fri Oct 27 06:16:28 2017 From: heiland at iu.edu (Heiland, Randy) Date: Fri, 27 Oct 2017 10:16:28 +0000 Subject: [Paraview] Extract Cells by Region, glyphs Message-ID: <960D32EA-CBAE-44AB-9E4C-E0C2C93C5FA3@iu.edu> I?m using this filter on my polydata (points) and it extracts them as expected (using Intersect with Plane). I display the resulting points with OSPRay. Then I use a Glyph filter on those results, but only some of the points are glyphed. See attachment. Suggestions? thanks, Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pv_extract_glyphs.jpeg Type: image/jpeg Size: 142252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From dave.demarle at kitware.com Fri Oct 27 07:37:01 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Fri, 27 Oct 2017 07:37:01 -0400 Subject: [Paraview] Extract Cells by Region, glyphs In-Reply-To: <960D32EA-CBAE-44AB-9E4C-E0C2C93C5FA3@iu.edu> References: <960D32EA-CBAE-44AB-9E4C-E0C2C93C5FA3@iu.edu> Message-ID: They glyph filter's default is to sub sample. You can choose the total number of samples and among different subsample strategies, via the gui. Click the gear too see all controls if necessary. On Oct 27, 2017 6:16 AM, "Heiland, Randy" wrote: > I?m using this filter on my polydata (points) and it extracts them as > expected (using Intersect with Plane). I display the resulting points with > OSPRay. Then I use a Glyph filter on those results, but only some of the > points are glyphed. See attachment. Suggestions? > > thanks, Randy > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pv_extract_glyphs.jpeg Type: image/jpeg Size: 142252 bytes Desc: not available URL: From dennis_conklin at goodyear.com Fri Oct 27 07:38:29 2017 From: dennis_conklin at goodyear.com (Dennis Conklin) Date: Fri, 27 Oct 2017 11:38:29 +0000 Subject: [Paraview] Extract Cells by Region, glyphs Message-ID: Randy, Is it possible you have not switched Masking Glyph Mode to All Points? I've forgotten that a few time myself! Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Fri Oct 27 08:44:59 2017 From: heiland at iu.edu (Heiland, Randy) Date: Fri, 27 Oct 2017 12:44:59 +0000 Subject: [Paraview] Extract Cells by Region, glyphs In-Reply-To: References: <960D32EA-CBAE-44AB-9E4C-E0C2C93C5FA3@iu.edu> Message-ID: <23EB2939-BE31-4443-9467-49F10D49C774@iu.edu> Crap. Yes. I need to expand my mental checklist :) Thanks! > On Oct 27, 2017, at 7:37 AM, David E DeMarle wrote: > > They glyph filter's default is to sub sample. You can choose the total number of samples and among different subsample strategies, via the gui. Click the gear too see all controls if necessary. > > On Oct 27, 2017 6:16 AM, "Heiland, Randy" > wrote: > I?m using this filter on my polydata (points) and it extracts them as expected (using Intersect with Plane). I display the resulting points with OSPRay. Then I use a Glyph filter on those results, but only some of the points are glyphed. See attachment. Suggestions? > > thanks, Randy > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From jhaase1 at nd.edu Fri Oct 27 10:40:07 2017 From: jhaase1 at nd.edu (John Haase) Date: Fri, 27 Oct 2017 10:40:07 -0400 Subject: [Paraview] TemporalInterpolator error Message-ID: Hello all, I am trying to compare two data set, so I use the Temporal Interpolator to make certain the time steps match. It works; however, I get the error ERROR: In > /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkMultiTimeStepAlgorithm.cxx, > line 125 > vtkTemporalInterpolator (0x3c900f0): No temporal data has been requested. > ERROR: In > /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, > line 784 > vtkPVCompositeDataPipeline (0x3c94820): Algorithm > vtkTemporalInterpolator(0x3c900f0) returned failure for request: > vtkInformation (0x3cfdf80) > Debug: Off > Modified Time: 239712 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_DATA > FORWARD_DIRECTION: 0 > ALGORITHM_AFTER_FORWARD: 1 > FROM_OUTPUT_PORT: 0 > > > ERROR: In > /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkMultiTimeStepAlgorithm.cxx, > line 125 > vtkTemporalInterpolator (0x3ca5720): No temporal data has been requested. > ERROR: In > /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, > line 784 > vtkPVCompositeDataPipeline (0x3cac7c0): Algorithm > vtkTemporalInterpolator(0x3ca5720) returned failure for request: > vtkInformation (0x3cfdf80) > Debug: Off > Modified Time: 241098 > Reference Count: 1 > Registered Events: (none) > Request: REQUEST_DATA > FORWARD_DIRECTION: 0 > ALGORITHM_AFTER_FORWARD: 1 > FROM_OUTPUT_PORT: 0 Any idea if I can change something in my process to fix this? Regards, John R. Haase jhaase1 at nd.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Fri Oct 27 12:51:40 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Fri, 27 Oct 2017 18:51:40 +0200 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: More questions below... On Thu, Oct 26, 2017 at 5:54 PM, Andy Bauer wrote: > I inlined some answers below... > > On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen > wrote: > >> Thank you, Andy, >> unfortunately your answer has shown me how little I understand about >> Catalyst. But maybe it leads in the right direction after some work from my >> side. >> >> Just to make sure that we are talking about the same thing: My pvpython >> client is supposed to automate some of the visualization functionality of >> the paraview GUI. The coprocessing.py is in charge of the other side of the >> link, namely to provide data to the visualization side, if I understand >> correctly? I rather followed what happens in the constructor >> pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager(int >> connection_port, pqServer* server), which creates a >> vtkSMLiveInsituLinkProxy, not a vtkLiveInsituLink as coprocessing.py. >> > > Yes, coprocessing.py should only be used on the simulation side. > So, did you suggest, coprocessing.py could also help to develop the visualization side? If yes, how? Or was my first email too unclear, so that my intention was not obvious? > >> >> Now I saw that the vtkLiveInsituLink class can have ProcessType LIVE (for >> the visualization side? as server side object of the proxy created by >> paraview?) or INSITU (for the simulation side?). So apparently the same >> class can take both roles? If yes, that'd clarify some of my confusion. But >> still I don't see how coprocessing.py helps me to implement a python >> visualization client? >> >> > Yes, the same class does work in both roles with the LIVE ProcessType > being the visualization side and the INSITU being the simulation side. > Things get a little murkier when there is a separate pvserver from the > client that connects to the simulation. > What do you mean by "murkier"? Paraview also uses a proxy (to a vtkLiveInsituLink instance either on a pvserver or on the builtin server), not the class itself. Do you have an easier solution (C++ or python) by using vtkInsituLink directly? Are there any design documents from Kitware that show the timings and message exchange between Catalyst, pvserver and Paraview (or other clients)? I don't know Kitware's publishing policies. My impression was always that you are not just developing the Paraview application but also an open source visualization programming framework. Maybe I'm wrong, but I am missing some kind of "Paraview Programming Guide" that goes beyond a User's Guide, to enable others understand the concepts behind Paraview and contribute at a deeper level than just adding filters and data processing algorithms. Anyway, thanks for your explanations, although I couldn't make much progress. Kolja -------------- next part -------------- An HTML attachment was scrubbed... URL: From quentin at arrivo-loop.com Fri Oct 27 13:46:36 2017 From: quentin at arrivo-loop.com (Quentin d'Avout) Date: Fri, 27 Oct 2017 10:46:36 -0700 Subject: [Paraview] Disable auto show Message-ID: <6421df2f828290b86f7ebcf8de09e7e4@mail.gmail.com> Hi All, I would like to disable the auto show setting, but couldn?t find such a setting in the settings? When you create and apply a new filter, paraview automatically shows that new filter in a view. I would like to disable that. Thanks Quentin -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Fri Oct 27 14:05:03 2017 From: heiland at iu.edu (Heiland, Randy) Date: Fri, 27 Oct 2017 18:05:03 +0000 Subject: [Paraview] vtkCutter In-Reply-To: References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> Message-ID: <3715C119-4381-4B14-8F7C-EE8490710A68@iu.edu> The Properties for the vtkContourTriangulator filter don?t seem to allow coloring by a scalar field. Is that expected? > On Oct 26, 2017, at 11:18 AM, Cory Quammen wrote: > > On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy > wrote: > Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres. > > I'm about 95% sure it will. It is fairly robust IIRC. > > Cory >> On Oct 26, 2017, at 11:10 AM, Cory Quammen > wrote: >> >> There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. >> >> Cory >> >> [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only >> >> On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy > wrote: >> Yes, sorry I wasn?t clear. >> >>> On Oct 26, 2017, at 10:33 AM, Cory Quammen > wrote: >>> >>> I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? >>> >>> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy > wrote: >>> Is there a property that lets me cap the results? >>> >>>> On Oct 26, 2017, at 10:18 AM, Cory Quammen > wrote: >>>> >>>> Sounds like you want the Slice filter. >>>> >>>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: >>>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>>> >>>> Thanks! >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView >>>> >>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>> >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >> >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. > > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From andy.bauer at kitware.com Fri Oct 27 14:38:30 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Fri, 27 Oct 2017 14:38:30 -0400 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: Unfortunately there's no comprehensive "developing paraview" guide. It can be used as a framework for other applications and has been designed to do that but we haven't had any funding to work on a comprehensive guide for that. I haven't looked at the Live parts in depth in a while so my memory is probably fuzzy on that and it would take a good bit of time for me to familiarize myself with that part of the code. By murky I mean that things get a bit confusing when you're looking at the classes for both the client, server and in situ side. Kitware does offer support services if this is important to get working for you. Best, Andy On Fri, Oct 27, 2017 at 12:51 PM, Kolja Petersen wrote: > More questions below... > > On Thu, Oct 26, 2017 at 5:54 PM, Andy Bauer > wrote: > >> I inlined some answers below... >> >> On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen >> wrote: >> >>> Thank you, Andy, >>> unfortunately your answer has shown me how little I understand about >>> Catalyst. But maybe it leads in the right direction after some work from my >>> side. >>> >>> Just to make sure that we are talking about the same thing: My pvpython >>> client is supposed to automate some of the visualization functionality of >>> the paraview GUI. The coprocessing.py is in charge of the other side of the >>> link, namely to provide data to the visualization side, if I understand >>> correctly? I rather followed what happens in the constructor >>> pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager(int >>> connection_port, pqServer* server), which creates a >>> vtkSMLiveInsituLinkProxy, not a vtkLiveInsituLink as coprocessing.py. >>> >> >> Yes, coprocessing.py should only be used on the simulation side. >> > > So, did you suggest, coprocessing.py could also help to develop the > visualization side? If yes, how? Or was my first email too unclear, so that > my intention was not obvious? > > >> >>> >>> Now I saw that the vtkLiveInsituLink class can have ProcessType LIVE >>> (for the visualization side? as server side object of the proxy created by >>> paraview?) or INSITU (for the simulation side?). So apparently the same >>> class can take both roles? If yes, that'd clarify some of my confusion. But >>> still I don't see how coprocessing.py helps me to implement a python >>> visualization client? >>> >>> >> Yes, the same class does work in both roles with the LIVE ProcessType >> being the visualization side and the INSITU being the simulation side. >> Things get a little murkier when there is a separate pvserver from the >> client that connects to the simulation. >> > > What do you mean by "murkier"? Paraview also uses a proxy (to a > vtkLiveInsituLink instance either on a pvserver or on the builtin server), > not the class itself. Do you have an easier solution (C++ or python) by > using vtkInsituLink directly? > > Are there any design documents from Kitware that show the timings and > message exchange between Catalyst, pvserver and Paraview (or other > clients)? I don't know Kitware's publishing policies. My impression was > always that you are not just developing the Paraview application but also > an open source visualization programming framework. Maybe I'm wrong, but I > am missing some kind of "Paraview Programming Guide" that goes beyond a > User's Guide, to enable others understand the concepts behind Paraview and > contribute at a deeper level than just adding filters and data processing > algorithms. > Anyway, thanks for your explanations, although I couldn't make much > progress. > Kolja > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Fri Oct 27 14:49:55 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Fri, 27 Oct 2017 20:49:55 +0200 Subject: [Paraview] LiveInsituLink proxy in pvpython client In-Reply-To: References: Message-ID: What is meant by support services? Step-by-step guidance to solve the problem or a complete solution? How much would it cost if you developed a python client script that connects to a pvserver, waits for an insitu connection and writes rendered images of all data available from catalyst to disk for all time steps? 200$, 2000$, 20000$? Thank you Kolja On Fri, Oct 27, 2017 at 8:38 PM, Andy Bauer wrote: > Unfortunately there's no comprehensive "developing paraview" guide. It can > be used as a framework for other applications and has been designed to do > that but we haven't had any funding to work on a comprehensive guide for > that. > > I haven't looked at the Live parts in depth in a while so my memory is > probably fuzzy on that and it would take a good bit of time for me to > familiarize myself with that part of the code. By murky I mean that things > get a bit confusing when you're looking at the classes for both the client, > server and in situ side. Kitware does offer support services if this is > important to get working for you. > > Best, > Andy > > On Fri, Oct 27, 2017 at 12:51 PM, Kolja Petersen > wrote: > >> More questions below... >> >> On Thu, Oct 26, 2017 at 5:54 PM, Andy Bauer >> wrote: >> >>> I inlined some answers below... >>> >>> On Wed, Oct 25, 2017 at 1:42 PM, Kolja Petersen >> > wrote: >>> >>>> Thank you, Andy, >>>> unfortunately your answer has shown me how little I understand about >>>> Catalyst. But maybe it leads in the right direction after some work from my >>>> side. >>>> >>>> Just to make sure that we are talking about the same thing: My pvpython >>>> client is supposed to automate some of the visualization functionality of >>>> the paraview GUI. The coprocessing.py is in charge of the other side of the >>>> link, namely to provide data to the visualization side, if I understand >>>> correctly? I rather followed what happens in the constructor >>>> pqLiveInsituVisualizationManager::pqLiveInsituVisualizationManager(int >>>> connection_port, pqServer* server), which creates a >>>> vtkSMLiveInsituLinkProxy, not a vtkLiveInsituLink as coprocessing.py. >>>> >>> >>> Yes, coprocessing.py should only be used on the simulation side. >>> >> >> So, did you suggest, coprocessing.py could also help to develop the >> visualization side? If yes, how? Or was my first email too unclear, so that >> my intention was not obvious? >> >> >>> >>>> >>>> Now I saw that the vtkLiveInsituLink class can have ProcessType LIVE >>>> (for the visualization side? as server side object of the proxy created by >>>> paraview?) or INSITU (for the simulation side?). So apparently the same >>>> class can take both roles? If yes, that'd clarify some of my confusion. But >>>> still I don't see how coprocessing.py helps me to implement a python >>>> visualization client? >>>> >>>> >>> Yes, the same class does work in both roles with the LIVE ProcessType >>> being the visualization side and the INSITU being the simulation side. >>> Things get a little murkier when there is a separate pvserver from the >>> client that connects to the simulation. >>> >> >> What do you mean by "murkier"? Paraview also uses a proxy (to a >> vtkLiveInsituLink instance either on a pvserver or on the builtin server), >> not the class itself. Do you have an easier solution (C++ or python) by >> using vtkInsituLink directly? >> >> Are there any design documents from Kitware that show the timings and >> message exchange between Catalyst, pvserver and Paraview (or other >> clients)? I don't know Kitware's publishing policies. My impression was >> always that you are not just developing the Paraview application but also >> an open source visualization programming framework. Maybe I'm wrong, but I >> am missing some kind of "Paraview Programming Guide" that goes beyond a >> User's Guide, to enable others understand the concepts behind Paraview and >> contribute at a deeper level than just adding filters and data processing >> algorithms. >> Anyway, thanks for your explanations, although I couldn't make much >> progress. >> Kolja >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From super_achie at hotmail.com Fri Oct 27 15:55:04 2017 From: super_achie at hotmail.com (Jimmy .) Date: Fri, 27 Oct 2017 19:55:04 +0000 Subject: [Paraview] Unable to run any catalyst live visualization on Mac OS Message-ID: Dear community, Please find the following issue: https://gitlab.kitware.com/paraview/paraview/issues/17752 Andrew redirected me to here. If someone with a Mac machine would be so kind to help me out on this, I would very much appreciate it. Best, Ahmad -------------- next part -------------- An HTML attachment was scrubbed... URL: From bravo.loic at gmail.com Fri Oct 27 17:19:23 2017 From: bravo.loic at gmail.com (LB) Date: Fri, 27 Oct 2017 23:19:23 +0200 Subject: [Paraview] How to select cells linked to selected points ? Message-ID: Hi, I've used the Find Data dialog to select a region of interest by filtering point data with the "is one of" criterion. I would like to extract the corresponding region, but clicking on "extract selection" does not extract the corresponding cells. Is there a way to select cells linked to selected points ? Regards, -- Elby -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Sat Oct 28 07:50:10 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Sat, 28 Oct 2017 13:50:10 +0200 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? Message-ID: Hello, I am trying to understand a Catalyst implementation detail. Because parallel Catalyst may transfer huge data to a parallel pvserver, I thought the Catalyst processes would have themselves added to the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only function that I know of for this task, and I find "MPI_Comm_spawn" nowhere in the code (searched case insensitive). I thought that the standard Catalyst TCP port 22222 was only used for control messages between Catalyst and pvserver, and data exchange would go via MPI. But apparently there is no MPI connection between Catalyst and pvserver, and all data are sent via TCP:22222, which could explain observed network bottlenecks. Can somebody clarify this implementation detail? Thanks Kolja -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnolde at gmx.net Sat Oct 28 10:36:03 2017 From: mnolde at gmx.net (Michael Nolde) Date: Sat, 28 Oct 2017 16:36:03 +0200 Subject: [Paraview] GIS - VTK/Blender - Converter In-Reply-To: References: Message-ID: Dear mailing list members, I'd like to announce 'geoTriMesh', a Python module I wrote to convert GIS data to the 3D visualisation environments. It has full support for donut- and multipolygons as well as projected coordinates. It works by creating a topological mesh by triangulating coordinate information from a source polygon and merging it with elevation and color raster data. The result is written to VTU unstructured grid to be imported into ParaView. X3D is also supported, as well as Python/mplot3d It's free (Apache License) and available as Python Module (installable via pip) as well as QGIS Plugin: https://github.com/flatpolar Also, I used the library to create a global elevation mesh dataset (spherical and flat projection), which can be downloaded here and used for private or commercial 3D modelling projects (CC-BY license): http://flatpolar.org/tocomee.html A detailed description of the dataset is available here: http://ijsdir.jrc.ec.europa.eu/index.php/ijsdir/article/view/455 I'm happy to receive feedback. Cheers, Michael From andy.bauer at kitware.com Sat Oct 28 11:05:35 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 28 Oct 2017 11:05:35 -0400 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? In-Reply-To: References: Message-ID: Hi, Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that the simulation code is linked with. You can use another MPI communicator as well. An example of that is in the Examples/Catalyst/MPISubCommunicatorExample source directory. Best, Andy On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen wrote: > Hello, > I am trying to understand a Catalyst implementation detail. > > Because parallel Catalyst may transfer huge data to a parallel pvserver, I > thought the Catalyst processes would have themselves added to the > pvserver's MPI communicator. However, MPI_Comm_spawn() is the only function > that I know of for this task, and I find "MPI_Comm_spawn" nowhere in the > code (searched case insensitive). > > I thought that the standard Catalyst TCP port 22222 was only used for > control messages between Catalyst and pvserver, and data exchange would go > via MPI. But apparently there is no MPI connection between Catalyst and > pvserver, and all data are sent via TCP:22222, which could explain observed > network bottlenecks. > > Can somebody clarify this implementation detail? > Thanks > 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: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Sat Oct 28 11:07:16 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 28 Oct 2017 11:07:16 -0400 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? In-Reply-To: References: Message-ID: FYI: pvserver will likely be run in a separate MPI job if you're doing a Live connection. On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer wrote: > Hi, > > Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that > the simulation code is linked with. You can use another MPI communicator as > well. An example of that is in the Examples/Catalyst/MPISubCommunicatorExample > source directory. > > Best, > Andy > > On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen > wrote: > >> Hello, >> I am trying to understand a Catalyst implementation detail. >> >> Because parallel Catalyst may transfer huge data to a parallel pvserver, >> I thought the Catalyst processes would have themselves added to the >> pvserver's MPI communicator. However, MPI_Comm_spawn() is the only function >> that I know of for this task, and I find "MPI_Comm_spawn" nowhere in the >> code (searched case insensitive). >> >> I thought that the standard Catalyst TCP port 22222 was only used for >> control messages between Catalyst and pvserver, and data exchange would go >> via MPI. But apparently there is no MPI connection between Catalyst and >> pvserver, and all data are sent via TCP:22222, which could explain observed >> network bottlenecks. >> >> Can somebody clarify this implementation detail? >> Thanks >> 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: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petersenkolja at gmail.com Sat Oct 28 12:57:38 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Sat, 28 Oct 2017 18:57:38 +0200 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? In-Reply-To: References: Message-ID: On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer wrote: > FYI: pvserver will likely be run in a separate MPI job if you're doing a > Live connection. > Yes, so the pvserver MPI job will have one MPI_COMM_WORLD, and the Catalyst enabled simulation will have a different MPI_COMM_WORLD. The question is how does Catalyst send its data to the other communicator? Afaik, their is no connection between the two unless the second communicator is spawned from the first by MPI_Comm_spawn(). Kolja > On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer > wrote: > >> Hi, >> >> Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that >> the simulation code is linked with. You can use another MPI communicator as >> well. An example of that is in the Examples/Catalyst/MPISubCommunicatorExample >> source directory. >> >> Best, >> Andy >> >> On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen >> wrote: >> >>> Hello, >>> I am trying to understand a Catalyst implementation detail. >>> >>> Because parallel Catalyst may transfer huge data to a parallel pvserver, >>> I thought the Catalyst processes would have themselves added to the >>> pvserver's MPI communicator. However, MPI_Comm_spawn() is the only function >>> that I know of for this task, and I find "MPI_Comm_spawn" nowhere in the >>> code (searched case insensitive). >>> >>> I thought that the standard Catalyst TCP port 22222 was only used for >>> control messages between Catalyst and pvserver, and data exchange would go >>> via MPI. But apparently there is no MPI connection between Catalyst and >>> pvserver, and all data are sent via TCP:22222, which could explain observed >>> network bottlenecks. >>> >>> Can somebody clarify this implementation detail? >>> Thanks >>> 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: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabian.wein at fau.de Sun Oct 29 15:10:26 2017 From: fabian.wein at fau.de (Fabian Wein) Date: Sun, 29 Oct 2017 20:10:26 +0100 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <20171025131310.GC5635@megas.kitware.com> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> <20171024185832.GA12802@megas.kitware.com> <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> <20171025131310.GC5635@megas.kitware.com> Message-ID: <819197A0-99E5-4D8D-84A1-F6B7A82D8D7D@fau.de> I could not find the build error in the link. The earliest version that builds for my gcc 7.2.1 is fontconfig-2.12.4, maybe this is a ?compromise?? Thanks, Fabian > Am 25.10.2017 um 15:13 schrieb Ben Boeckel : > > On Wed, Oct 25, 2017 at 13:35:51 +0200, Fabian Wein wrote: >> thank you! So the current master will have the upgrade within a few days? > > It's not so simple :( . There's a build failure with older compilers: > > https://open.cdash.org/viewNotes.php?buildid=5114526 > > --Ben From heiland at iu.edu Sun Oct 29 22:02:01 2017 From: heiland at iu.edu (Heiland, Randy) Date: Mon, 30 Oct 2017 02:02:01 +0000 Subject: [Paraview] C++ client, PV server Message-ID: Using just the binary PV download, can I render results from a C++ client? No parallelism. Everything?s local. thanks, Randy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From mathieu.westphal at kitware.com Mon Oct 30 03:54:37 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Mon, 30 Oct 2017 08:54:37 +0100 Subject: [Paraview] C++ client, PV server In-Reply-To: References: Message-ID: Hello You cannot use your own C++ client with the binary, since you will need to build your client againt a builded ParaView. However in the binaries you can find paraview executable wich is our main c++ client and can be used with pvserver. Best regards, Mathieu Westphal On Mon, Oct 30, 2017 at 3:02 AM, Heiland, Randy wrote: > Using just the binary PV download, can I render results from a C++ client? > No parallelism. Everything?s local. > > thanks, Randy > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Mon Oct 30 09:09:48 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 30 Oct 2017 09:09:48 -0400 Subject: [Paraview] superbuild: fontconfig too old to compile (current does) In-Reply-To: <819197A0-99E5-4D8D-84A1-F6B7A82D8D7D@fau.de> References: <70931dec-ef35-940a-5920-c717a0f999bd@fau.de> <20171024185832.GA12802@megas.kitware.com> <94bb233b-811e-5c76-8624-6b04f55e51a0@fau.de> <20171025131310.GC5635@megas.kitware.com> <819197A0-99E5-4D8D-84A1-F6B7A82D8D7D@fau.de> Message-ID: <20171030130948.GB32243@megas.kitware.com> On Sun, Oct 29, 2017 at 20:10:26 +0100, Fabian Wein wrote: > I could not find the build error in the link. > > The earliest version that builds for my gcc 7.2.1 is > fontconfig-2.12.4, maybe this is a ?compromise?? Ah, sorry, I forgot to report back here. The issue is fixed on master. It required an update to freetype as well. --Ben From aashish.chaudhary at kitware.com Mon Oct 30 10:27:13 2017 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Mon, 30 Oct 2017 14:27:13 +0000 Subject: [Paraview] GIS - VTK/Blender - Converter In-Reply-To: References: Message-ID: Hi Michael, This is great news. congratulations and thanks for sharing this information. Few of us would be happy to follow up with you on this. I will send another email on this matter. Thanks, On Sat, Oct 28, 2017 at 10:36 AM Michael Nolde wrote: > Dear mailing list members, > > I'd like to announce 'geoTriMesh', a Python module I wrote to convert > GIS data to the 3D visualisation environments. It has full support for > donut- and multipolygons as well as projected coordinates. It works by > creating a topological mesh by triangulating coordinate information from > a source polygon and merging it with elevation and color raster data. > The result is written to VTU unstructured grid to be imported into > ParaView. X3D is also supported, as well as Python/mplot3d > > It's free (Apache License) and available as Python Module (installable > via pip) as well as QGIS Plugin: > https://github.com/flatpolar > > Also, I used the library to create a global elevation mesh dataset > (spherical and flat projection), which can be downloaded here and used > for private or commercial 3D modelling projects (CC-BY license): > http://flatpolar.org/tocomee.html > > A detailed description of the dataset is available here: > http://ijsdir.jrc.ec.europa.eu/index.php/ijsdir/article/view/455 > > I'm happy to receive feedback. > > Cheers, Michael > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Oct 30 11:02:21 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 30 Oct 2017 11:02:21 -0400 Subject: [Paraview] vtkCutter In-Reply-To: <3715C119-4381-4B14-8F7C-EE8490710A68@iu.edu> References: <491E9975-4B93-49F3-B552-38AC8F73419B@iu.edu> <4B642176-CF72-43C9-95B9-3301A2071EEC@iu.edu> <3715C119-4381-4B14-8F7C-EE8490710A68@iu.edu> Message-ID: Hmm, vtkContourTriangulator may not copy point data to its output. You can use Resample With Dataset to get the point data back in the output of vtkContourTriangulator. Select the input to the triangulator as well as the triangulator itself and add a Resample With Dataset Set filter. Set the Input of this filter to the input of the triangulator filter, and set the Source to the triangulator filter itself. On Fri, Oct 27, 2017 at 2:05 PM, Heiland, Randy wrote: > The Properties for the vtkContourTriangulator filter don?t seem to allow > coloring by a scalar field. Is that expected? > > > > On Oct 26, 2017, at 11:18 AM, Cory Quammen > wrote: > > On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy wrote: > >> Thanks! Before I start down that path, will this handle multiple, >> disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to >> cap the sliced spheres. >> > > I'm about 95% sure it will. It is fairly robust IIRC. > > Cory > >> On Oct 26, 2017, at 11:10 AM, Cory Quammen >> wrote: >> >> There isn't a filter exposed in ParaView to do this. You could expose >> vtkContourTriangulator in an XML plugin [1] and apply that to the polyline >> created by the planar Slice through your polygonal geometry. >> >> Cory >> >> [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only >> >> On Thu, Oct 26, 2017 at 10:35 AM, Heiland, Randy wrote: >> >>> Yes, sorry I wasn?t clear. >>> >>> On Oct 26, 2017, at 10:33 AM, Cory Quammen >>> wrote: >>> >>> I'm not sure what you mean. Are you trying to clip some polygonal >>> geometry with a plane and want to fill in the hole created with a polygon? >>> >>> On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: >>> >>>> Is there a property that lets me cap the results? >>>> >>>> On Oct 26, 2017, at 10:18 AM, Cory Quammen >>>> wrote: >>>> >>>> Sounds like you want the Slice filter. >>>> >>>> On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy >>>> wrote: >>>> >>>>> I?m not seeing the vtkCutter in the list of filters (well, perhaps the >>>>> AMR CutPlane). If not, any advice on how to accomplish it for some polydata? >>>>> https://www.paraview.org/Wiki/Python_Programmable_Filter ? >>>>> >>>>> Thanks! >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/ >>>>> opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the ParaView Wiki at: >>>>> http://paraview.org/Wiki/ParaView >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>>> >>>> -- >>>> Cory Quammen >>>> Staff R&D Engineer >>>> Kitware, Inc. >>>> >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. >>> >>> >>> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> >> >> > > > -- > 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 andy.bauer at kitware.com Mon Oct 30 12:21:26 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 30 Oct 2017 12:21:26 -0400 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? In-Reply-To: References: Message-ID: Currently Catalyst sends its data to pvserver through sockets which will not likely not utilize an HPC's fast interconnect. We hope to address this in the future using ADIOS but I don't have a timetable on when that will be done. On Sat, Oct 28, 2017 at 12:57 PM, Kolja Petersen wrote: > > > On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer > wrote: > >> FYI: pvserver will likely be run in a separate MPI job if you're doing a >> Live connection. >> > > Yes, so the pvserver MPI job will have one MPI_COMM_WORLD, and the > Catalyst enabled simulation will have a different MPI_COMM_WORLD. > > The question is how does Catalyst send its data to the other communicator? > Afaik, their is no connection between the two unless the second > communicator is spawned from the first by MPI_Comm_spawn(). > Kolja > > >> On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer >> wrote: >> >>> Hi, >>> >>> Catalyst by default uses MPI_COMM_WORLD of the existing MPI library that >>> the simulation code is linked with. You can use another MPI communicator as >>> well. An example of that is in the Examples/Catalyst/MPISubCommunicatorExample >>> source directory. >>> >>> Best, >>> Andy >>> >>> On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen >> > wrote: >>> >>>> Hello, >>>> I am trying to understand a Catalyst implementation detail. >>>> >>>> Because parallel Catalyst may transfer huge data to a parallel >>>> pvserver, I thought the Catalyst processes would have themselves added to >>>> the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only >>>> function that I know of for this task, and I find "MPI_Comm_spawn" nowhere >>>> in the code (searched case insensitive). >>>> >>>> I thought that the standard Catalyst TCP port 22222 was only used for >>>> control messages between Catalyst and pvserver, and data exchange would go >>>> via MPI. But apparently there is no MPI connection between Catalyst and >>>> pvserver, and all data are sent via TCP:22222, which could explain observed >>>> network bottlenecks. >>>> >>>> Can somebody clarify this implementation detail? >>>> Thanks >>>> 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: >>>> http://public.kitware.com/mailman/listinfo/paraview >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heiland at iu.edu Mon Oct 30 12:37:51 2017 From: heiland at iu.edu (Heiland, Randy) Date: Mon, 30 Oct 2017 16:37:51 +0000 Subject: [Paraview] C++ client, PV server In-Reply-To: References: Message-ID: <0C34E924-C8C6-4246-8BD5-B1FBE5B89810@iu.edu> Thanks Mathieu. Hmm, too bad. Was hoping Catalyst might provide some magic workflow. Also saw this post from several years back (https://public.kitware.com/pipermail/paraview/2010-December/019693.html ) and was hoping evolution might have produced a solution :) Obviously, I need to do more homework into options. Randy > On Oct 30, 2017, at 3:54 AM, Mathieu Westphal wrote: > > Hello > > You cannot use your own C++ client with the binary, since you will need to build your client againt a builded ParaView. > However in the binaries you can find paraview executable wich is our main c++ client and can be used with pvserver. > > Best regards, > > Mathieu Westphal > > On Mon, Oct 30, 2017 at 3:02 AM, Heiland, Randy > wrote: > Using just the binary PV download, can I render results from a C++ client? No parallelism. Everything?s local. > > thanks, Randy > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4035 bytes Desc: not available URL: From petersenkolja at gmail.com Mon Oct 30 14:21:51 2017 From: petersenkolja at gmail.com (Kolja Petersen) Date: Mon, 30 Oct 2017 19:21:51 +0100 Subject: [Paraview] Does Catalyst add MPI processes or use TCP communication? In-Reply-To: References: Message-ID: Thanks for clarification, Andy. The Catalyst user guide gives the impression that it is also designed for live visualization of huge parallel data, which is kind of misleading if all data are sent via a single TCP connection between simulation and render server. I'd suggest you point this out in the user guide, could have saved us lots of headaches searching for the bottleneck. Kolja On Mon, Oct 30, 2017 at 5:21 PM, Andy Bauer wrote: > Currently Catalyst sends its data to pvserver through sockets which will > not likely not utilize an HPC's fast interconnect. We hope to address this > in the future using ADIOS but I don't have a timetable on when that will be > done. > > On Sat, Oct 28, 2017 at 12:57 PM, Kolja Petersen > wrote: > >> >> >> On Sat, Oct 28, 2017 at 5:07 PM, Andy Bauer >> wrote: >> >>> FYI: pvserver will likely be run in a separate MPI job if you're doing a >>> Live connection. >>> >> >> Yes, so the pvserver MPI job will have one MPI_COMM_WORLD, and the >> Catalyst enabled simulation will have a different MPI_COMM_WORLD. >> >> The question is how does Catalyst send its data to the other >> communicator? Afaik, their is no connection between the two unless the >> second communicator is spawned from the first by MPI_Comm_spawn(). >> Kolja >> >> >>> On Sat, Oct 28, 2017 at 11:05 AM, Andy Bauer >>> wrote: >>> >>>> Hi, >>>> >>>> Catalyst by default uses MPI_COMM_WORLD of the existing MPI library >>>> that the simulation code is linked with. You can use another MPI >>>> communicator as well. An example of that is in the >>>> Examples/Catalyst/MPISubCommunicatorExample source directory. >>>> >>>> Best, >>>> Andy >>>> >>>> On Sat, Oct 28, 2017 at 7:50 AM, Kolja Petersen < >>>> petersenkolja at gmail.com> wrote: >>>> >>>>> Hello, >>>>> I am trying to understand a Catalyst implementation detail. >>>>> >>>>> Because parallel Catalyst may transfer huge data to a parallel >>>>> pvserver, I thought the Catalyst processes would have themselves added to >>>>> the pvserver's MPI communicator. However, MPI_Comm_spawn() is the only >>>>> function that I know of for this task, and I find "MPI_Comm_spawn" nowhere >>>>> in the code (searched case insensitive). >>>>> >>>>> I thought that the standard Catalyst TCP port 22222 was only used for >>>>> control messages between Catalyst and pvserver, and data exchange would go >>>>> via MPI. But apparently there is no MPI connection between Catalyst and >>>>> pvserver, and all data are sent via TCP:22222, which could explain observed >>>>> network bottlenecks. >>>>> >>>>> Can somebody clarify this implementation detail? >>>>> Thanks >>>>> 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: >>>>> http://public.kitware.com/mailman/listinfo/paraview >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hero.jairaj at gmail.com Mon Oct 30 15:40:21 2017 From: hero.jairaj at gmail.com (Jairaj Mathur) Date: Mon, 30 Oct 2017 14:40:21 -0500 Subject: [Paraview] Error with plot selection over time In-Reply-To: References: Message-ID: Hey all I was thinking more about this, and I was wondering, is this because paraview can't find cell_id of the cells? Thanks Jairaj Mathur Mechanical Engineering Washington University in St Louis On Oct 26, 2017 4:18 PM, "Jairaj Mathur" wrote: > Hey all > > I have unstructured grid vtu/vtk type data. When I select some cells and > try "plot selection over time", it gives me error Type mismatch: source: > double dest: idtype. This error has never occurred before, when I tried to > use this. > > Thank you all! > > -- > Jairaj Mathur, > Mechanical Engineering > Washington University in St Louis > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From judyw at lanl.gov Mon Oct 30 20:14:30 2017 From: judyw at lanl.gov (White, Judy) Date: Tue, 31 Oct 2017 00:14:30 +0000 Subject: [Paraview] pvbatch Message-ID: <78066884-3237-4F18-A799-836FAA40566C@lanl.gov> I am having problems using pvbatch on the LANL machines. It works fine on paraview/5.2.0, but can?t find pvbatch with paraview/5.4.0. I contacted the consultants at LANL, and they suggested that I send this problem to you. Any help or suggestions would be appreciated! Thanks ? Judy White (505) 660-7424 [cid:image001.png at 01D351AA.ECF844A0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 72099 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Mon Oct 30 21:16:54 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 30 Oct 2017 21:16:54 -0400 Subject: [Paraview] pvbatch In-Reply-To: <78066884-3237-4F18-A799-836FAA40566C@lanl.gov> References: <78066884-3237-4F18-A799-836FAA40566C@lanl.gov> Message-ID: Seems like pvbatch is not in the path. Can you confirm that `module load paraview/5.4.0-osmesa` is indeed pointing to a valid PATH and that contains a `pvbatch` executable? Utkarsh On Mon, Oct 30, 2017 at 8:14 PM, White, Judy wrote: > I am having problems using pvbatch on the LANL machines. It works fine on > paraview/5.2.0, but can?t find pvbatch with paraview/5.4.0. I contacted > the consultants at LANL, and they suggested that I send this problem to you. > > Any help or suggestions would be appreciated! > > Thanks ? > > Judy White > > (505) 660-7424 > > > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 72099 bytes Desc: not available URL: From tossin at gmail.com Mon Oct 30 22:17:55 2017 From: tossin at gmail.com (Evan Kao) Date: Mon, 30 Oct 2017 19:17:55 -0700 Subject: [Paraview] Generate Ids filter gives Ids greater than number of points Message-ID: Hello all, I'm not sure if this is a bug, but the Generate Ids filter in Paraview is acting in an unexpected manner (currently using Paraview 5.4.0 installed from Windows binaries). For some reason, it generates point IDs higher than the number of points on the surface. The surface was extracted from a larger surface using the threshold filter. So the pipeline is: - Original Surface (19315 points) => Threshold Filter => Thresholded Surface (13383 points) - Thresholded Surface => Generate Ids Filter => Ids array has max Id of 19049 I also tested this in the Programmable Filter using vtkIdFilter. This gave me a different result, the one I expected, where the max Id is 13382. Since the underlying VTK class to Generate Ids seems to be vtkIdFilter, this seems really strange. Should this be the case and if yes, why? Is there a way to force Generate Ids to act like vtkIdFilter? Thanks for your time, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: From tossin at gmail.com Mon Oct 30 22:21:08 2017 From: tossin at gmail.com (Evan Kao) Date: Mon, 30 Oct 2017 19:21:08 -0700 Subject: [Paraview] Generate Ids filter gives Ids greater than number of points In-Reply-To: References: Message-ID: Sorry, nevermind. It turns out I already had an 'Ids' array on my surface and Generate Ids by default doesn't overwrite it. When specifying a different name, it works as expected. On Mon, Oct 30, 2017 at 7:17 PM, Evan Kao wrote: > Hello all, > > I'm not sure if this is a bug, but the Generate Ids filter in Paraview is > acting in an unexpected manner (currently using Paraview 5.4.0 installed > from Windows binaries). For some reason, it generates point IDs higher > than the number of points on the surface. The surface was extracted from a > larger surface using the threshold filter. So the pipeline is: > > - Original Surface (19315 points) => Threshold Filter => Thresholded > Surface (13383 points) > - Thresholded Surface => Generate Ids Filter => Ids array has max Id > of 19049 > > I also tested this in the Programmable Filter using vtkIdFilter. This > gave me a different result, the one I expected, where the max Id is 13382. > Since the underlying VTK class to Generate Ids seems to be vtkIdFilter, > this seems really strange. > > Should this be the case and if yes, why? Is there a way to force Generate > Ids to act like vtkIdFilter? > > Thanks for your time, > Evan Kao > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Oct 31 11:50:03 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 31 Oct 2017 11:50:03 -0400 Subject: [Paraview] Error with plot selection over time In-Reply-To: References: Message-ID: Jairaj, If you have dataset that can help reproduce this issue that you can share, that'll be great. Utkarsh On Mon, Oct 30, 2017 at 3:40 PM, Jairaj Mathur wrote: > Hey all > > I was thinking more about this, and I was wondering, is this because > paraview can't find cell_id of the cells? > > Thanks > > Jairaj Mathur > Mechanical Engineering > Washington University in St Louis > > On Oct 26, 2017 4:18 PM, "Jairaj Mathur" wrote: >> >> Hey all >> >> I have unstructured grid vtu/vtk type data. When I select some cells and >> try "plot selection over time", it gives me error Type mismatch: source: >> double dest: idtype. This error has never occurred before, when I tried to >> use this. >> >> Thank you all! >> >> -- >> 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: > http://public.kitware.com/mailman/listinfo/paraview > From ken.martin at kitware.com Tue Oct 31 14:51:35 2017 From: ken.martin at kitware.com (Ken Martin) Date: Tue, 31 Oct 2017 14:51:35 -0400 Subject: [Paraview] ParaView VR - issue with new steam vr In-Reply-To: References: Message-ID: We have fixed the issue and it has been merged into VTK master. Likewise the PV executable download for OpenVR has been updated as well. Thanks! Ken On Thu, Oct 19, 2017 at 2:19 PM, Ken Martin wrote: > > Be aware if you are using the ParaView VR version with OpenVR support that > a recent driver update from steam has introduced some issues causing events > to be processed with delays. We should have a fixed version up in a week or > so. > > Thanks > Ken > > > -- > 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. > -- 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: