Re: [Paraview] [Non-DoD Source] ANN: ParaView 5.1.2 available for download
So there is clearly something different going on with the Superbuild depending on whether or not git is enabled in the cmake command. If git is turned off : -DParaView_FROM_GIT=OFF \ -DParaView_URL=git://www.paraview.org/files/v5.1/ParaView-v5.1.2.tar.gz The the “make” process will dutifully download the tar ball and start processing, but installing the libraries in lib/paraview-5.0 [ 96%] Creating directories for 'paraview' [ 97%] Performing download step (download, verify and extract) for 'paraview' -- downloading... src='http://www.paraview.org/files/v5.1/ParaView-v5.1.2.tar.gz' dst='/home/angel/PV/5.1.2/Downloads/ParaView-v5.1.2.tar.gz' timeout='none' -- [download 0% complete] -- [download 1% complete] -- [download 98% complete] -- [download 99% complete] -- [download 100% complete] -- downloading... done -- verifying file... file='/home/angel/PV/5.1.2/Downloads/ParaView-v5.1.2.tar.gz' -- verifying file... done -- extracting... src='/home/angel/PV/5.1.2/Downloads/ParaView-v5.1.2.tar.gz' dst='/home/angel/PV/5.1.2/Build/paraview/src/paraview' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 98%] No patch step for 'paraview' [ 98%] No update step for 'paraview' [ 98%] Performing configure step for 'paraview' -- The C compiler identification is GNU 4.4.7 -- The CXX compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info However, if GIT is enable, there seems to be additional processing going on, specifically additional patches related to VTK? Here’s the output if -DParaView_FROM_GIT=ON \ [ 96%] Creating directories for 'paraview' [ 97%] Performing download step (git clone) for 'paraview' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/.git/ Note: checking out 'v5.1.2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 1f918ee... Update version to 5.1.2. Submodule 'ThirdParty/IceT/vtkicet' (https://gitlab.kitware.com/icet/icet.git) registered for path 'ThirdParty/IceT/vtkicet' Submodule 'ThirdParty/QtTesting/vtkqttesting' (https://github.com/Kitware/QtTesting.git) registered for path 'ThirdParty/QtTesting/vtkqttesting' Submodule 'ThirdParty/protobuf/vtkprotobuf' (https://gitlab.kitware.com/paraview/protobuf.git) registered for path 'ThirdParty/protobuf/vtkprotobuf' Submodule 'Utilities/VisItBridge' (https://gitlab.kitware.com/paraview/visitbridge.git) registered for path 'Utilities/VisItBridge' Submodule 'VTK' (https://gitlab.kitware.com/vtk/vtk.git) registered for path 'VTK' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/ThirdParty/IceT/vtkicet/.git/ Submodule path 'ThirdParty/IceT/vtkicet': checked out '0d08b037f3fa8b6e1a82ed2beb84e024c06f895f' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/ThirdParty/QtTesting/vtkqttesti ng/.git/ Submodule path 'ThirdParty/QtTesting/vtkqttesting': checked out '706d5cd1bbdd0658802da63b940c8bb2d1f3d192' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/ThirdParty/protobuf/vtkprotobuf /.git/ Submodule path 'ThirdParty/protobuf/vtkprotobuf': checked out '3637bc9efc2c29c54ee907e4341e39127599c4ec' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/Utilities/VisItBridge/.git/ Submodule path 'Utilities/VisItBridge': checked out 'f8dd33fcfd025fd5b878b07f4d2e7deb5573e379' Initialized empty Git repository in /local/PV/5.1.2/Build/paraview/src/paraview/VTK/.git/ Submodule path 'VTK': checked out '31b13ea55f8db68b64e9412b7896e0e8110aedfe' [ 98%] No patch step for 'paraview' [ 98%] Performing update step for 'paraview' [ 98%] Performing configure step for 'paraview' -- The C compiler identification is GNU 4.4.7 -- The CXX compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -Original Message- From: Rick Angelini Date: Thursday, July 28, 2016 at 4:09 PM To: Rick Angelini , Utkarsh Ayachit Cc: ParaView Developers , ParaView Subject: Re: [Paraview] [Non-DoD Source] ANN: ParaView 5.1.2 available for download I made slight change to my build script - turned GIT=OFF to GIT=ON, and I seem to have a clean build Changed this: cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/angel/pv-test/5.1.2 \ -Ddownload_location=`pwd`/../Download
[Paraview] Change request for Lights Dialog box
All, When one clicks the 'Edit' button for the Lights section in the Properties tab, the default behavior when [Enter] is pressed, is to reset all of the settings. As an example, if I were to change the Key light's Elevation, then hit [Enter], the value gets reset. This has bitten me more than once when I've made a handful of changes, and then accidentally hit [Enter] just to have all of my changes reset. It would be nice to have behavior consistent with the other Paraview dialog boxes. This is on OS X (El Capitan). I don't know if this is the behavior on Windows/Linux/other... -David Ortley ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] vtkImageReader2Factory.CreateImageReader2 returning null
Hello! I'm trying to read a jpeg file using python to use in a plane as a texture, I have this: from paraview.vtk.vtkIOImage import vtkImageReader2Factory reader = vtkImageReader2Factory.CreateImageReader2("/home/silencer/example.jpg") This doesn't display any errors when executing from the paraview python console, but when displaying reader (by entering "reader" in the console) it displays nothing so I guess it's null. I've made sure the jpg file is in that path. According to the documentation ( http://www.vtk.org/doc/nightly/html/classvtkImageReader2Factory.html) If no reader is found, null is returned. I guess that's what's happening? I've tried using from paraview.vtk.vtkIOImage import vtkJPEGReader but it was a shot in the dark. It didn't work, anyway :( Do you know what could be happening? thank you! Rodrigo ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Mass flow average
Hello. AFAIK, there is no any elementary filter to do it. I usually create a Density*Velocity and Density*Velocity*Scalar variables in Calculators and then apply an Integrate variable filter. It integrates by area so I get Rho*W*dF and Rho*W*Scalar*dF integrals. Dividing second by first I get mass flow average of Scalar. Velocity must be a normal to control surface component. On Jul 29, 2016 13:08, "stephaneンドング メファネ" wrote: > Hello, > > I would like to compute the massflow average of a scalar in paraview using > the available filters. Any idea on the procedure is welcome. > > Stephane > > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > 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
Re: [Paraview] pvpython and vtk classes and functions to create objects
Thank you for your answer Utkash! In this context, what is the texturePlane variable? Also, how can I add the created plane with texture to the pipeline? Is there any documentation on these functions or the interaction between VTK and ParaView? I'd like to try to figure out how to do what I want to do without having to bother you guys on the list. Thank you! Rodrigo On Tue, Jun 14, 2016 at 7:36 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Yes, you just need to import the appropriate module in python. > e.g. > > @exportRpc("my.test.rpc") > def myTestRPCFunction(self): > > from paraview.vtk.vtkIOImage import vtkImageReader2Factory > reader = vtkImageReader2Factory.CreateImageReader(filename) > > from paraview.vtk.vtkFiltersTexture import vtkTextureMapToPlane > texturePlane.SetInputConnection(reader.GetOutputPort()) > > > > return 0 > > On Sun, Jun 5, 2016 at 7:45 PM, Rodrigo Pelorosso > wrote: > > Hi! > > > > Is there a way to use python VTK functions and classes in paraview? I'm > > using paraview through paraviewweb and I've created an RPC that I can > call > > from the client to run paraview python code: > > > > @exportRpc("my.test.rpc") > > def myTestRPCFunction(self): > > return 0 > > > > I would like to create, inside this RPC, a plane with a texture applied. > > Searching the mailing list I found this thread, > > > > https://cmake.org/pipermail/paraview/2011-April/020848.html > > > > were someone's trying to accomplish this from a reader written in C++, > but I > > would really like to do something like that inside my RPC, is that > possible? > > > > Thank you! > > Rodrigo > > > > > > ___ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > > -- Nusive || Software Development and IT solutions www.nusive.com ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Mass flow average
Hello, I would like to compute the massflow average of a scalar in paraview using the available filters. Any idea on the procedure is welcome. Stephane ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview