Re: [Paraview] Animating a function of a field

2017-01-04 Thread Cory Quammen
Aleksejs, The following should work: * add a Programmable Filter to the source that produces the unstructured grid with f and g. Set the Script property to data = self.GetOutput() data.ShallowCopy(self.GetInput()) and the RequestInformation Script to timeSteps = range(100) outInfo =

Re: [Paraview] upgrading reader module/plugin

2017-01-04 Thread Utkarsh Ayachit
Mark, As you can expect, connecting Qt widgets to vtkSMProperty's on proxies in a two-way-link is common in ParaView panels and hence ParaView provides quite a few ways for doing that. For your use-case, where you're connecting a QCheckBox to an IntVectorProperty on the proxy, your

[Paraview] upgrading reader module/plugin

2017-01-04 Thread Mark Olesen
I'm currently upgrading a reader module from using a pqAutoGeneratedObjectPanel to a using a property group widget (as per http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel). I have my bunch of properties in a PropertyGroup and have a panel_widget associated

Re: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View

2017-01-04 Thread Utkarsh Ayachit
This indeed sounds like Qt 5 + OpenGL2 rendering backend issue. I am actively working on a fix for that here: https://gitlab.kitware.com/paraview/paraview/merge_requests/1262 https://gitlab.kitware.com/vtk/vtk/merge_requests/2300 Qt5 support in ParaView is not official yet. We hope it have it

[Paraview] Reconfiguring external project

2017-01-04 Thread Fabian Wein
Hello, I successfully build my external project via cmake ../paraview-superbuild … —DENABLE_paraviewpluginsexternal:BOOL=ON … my CMakeLists.txt of my external project ist still work in progress. How can I make the cmake ../paraview-superbuild to execute by plugin’s CMakeLists.txt again?

Re: [Paraview] Custom Glyph

2017-01-04 Thread Bob Flandard
Excellent! Thanks Dave. Bob On 4 January 2017 at 20:36, David Lonie wrote: > On Wed, Jan 4, 2017 at 2:55 PM, Bob Flandard wrote: > >> Hi Dave, >> >> The multi-colored glyph mechanism using using multi-block data is already >> supported (see

Re: [Paraview] Custom source glyph error

2017-01-04 Thread David Lonie
I dug into the error a bit and at a glance, it seems like it might be an issue with the vtkCompositeDataPipeline (pinging Berk for this since he knows more about composite pipelines). The stack for the error is: 1 vtkDataObjectTree::SetDataSetFrom vtkDataObjectTree.cxx:305 2

Re: [Paraview] Custom Glyph

2017-01-04 Thread Cory Quammen
This might be obvious, but I'll chime in anyway. You could glyph the data twice, one with the part of the glyph that should be white and one with the part of the glyph that should be black. Then, just color the two glyphed geometries white and black as needed. - Cory On Wed, Jan 4, 2017 at 2:15

Re: [Paraview] Custom Glyph

2017-01-04 Thread David Lonie
cc'ing this reply to the list. On Wed, Jan 4, 2017 at 12:36 PM, Bob Flandard wrote: > Hi Dave, > > That sounds like an exciting feature. Will it be able to use a multiblock > source from the pipeline? > Yes -- there will be a drop-down menu on the property panel that lets

[Paraview] Opening VTK data exported with CompositeDataWriter

2017-01-04 Thread Patricio Palma C.
Dear all I am exporting vtkUnstructuredGrid and vtkPolyData wrapping them into a vtkMultiblockDataSet and then written using vtkCompositeDataWriter to create a data file in legacy format. Trying to open this file in Paraview 5.2 64bit cause the application to display the "Select Reader" dialog.

Re: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-04 Thread Sebastien Jourdain
Still in the same protocol.py file around line 141: def getAbsolutePath(self, relativePath): absolutePath = None if self.multiRoot == True: relPathParts = relativePath.replace('\\', '/').split('/') realBasePath = self.baseDirectoryMap[relPathParts[0]]

Re: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View

2017-01-04 Thread Ken Martin
Possibly unrelated, but we did see this odd behavior on some systems with a paraview built against Qt5. It seems it lacked a depth buffer in that case. On Wed, Jan 4, 2017 at 12:51 PM, Robert Sawko wrote: > > On this computer I have two PV installed. One from AUR and one

Re: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View

2017-01-04 Thread Robert Sawko
On this computer I have two PV installed. One from AUR and one compiled from OpenFOAM third party directory. The OpenFOAM works fine. It does say "Legacy Rendering Backend" in the title bar which may or may not be significant. The computer is running NVidia drivers and the card is Quadro. But I

Re: [Paraview] Custom source glyph error

2017-01-04 Thread Bob Flandard
Hi Dave, In the state file, the glyph source is already polyData - created using the sphere source (sensibly the gui doesn't allow selection of a non polyData glyph source). The composite dataset feature will be very useful for multi colored glyphs. Thanks, Bob On 4 January 2017 at 17:25,

Re: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-04 Thread Debopam Ghoshal
Hi Seb, We did print them, and found: relativePath: can.ex2 self.getAbsolutePath(relativePath): [] I do not have access to the machine right now. But will try out anything else you might need shortly. So just let me known what else we need to debug. On Wed, Jan 4, 2017 at 22:52 Sebastien

Re: [Paraview] [EXTERNAL] Re: Newer object always in front in Render View

2017-01-04 Thread Scott, W Alan
Can you replicate this bug with one of the downloads from Kitware (i.e., paraview.org)? The Kitware binaries work correctly for me... Then, we will have a better idea if it’s the OS/graphics/hardware or ParaView... Alan From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of David

Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread David Lonie
The cmake config looks ok to me. What sort of graphics set up are you using? Is this mesa, or on a GPU? It sounds like a driver bug or something may be causing the depth test to break, or maybe there's a misconfigured framebuffer. Does an earlier version of ParaView work on the same system? Dave

Re: [Paraview] Custom source glyph error

2017-01-04 Thread David Lonie
I believe the issue here is that the glyph source must be polydata at the moment. Does a dataset surface filter (or similar) help? I mentioned on the other thread that I'm working on improving the glyph representation so you won't need to use the filter to get custom glyphs. This patch will also

Re: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-04 Thread Sebastien Jourdain
Do you mind printing relativePath so we can understand what you are getting... Then, you most likely will have to debug self.getAbsolutePath(relativePath) call... On Wed, Jan 4, 2017 at 9:55 AM, Debopam Ghoshal wrote: > Hi Seb, > > We made the changes in the protocols.py

Re: [Paraview] Custom Glyph

2017-01-04 Thread David Lonie
I'm currently working on adding the ability to use custom glyphs with ParaView's glyph mapper. It will allow you to select a pipeline connection for the glyph type (rather than the static list of arrow, sphere, etc). Should be available in the next few weeks. Dave On Tue, Jan 3, 2017 at 4:41

Re: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-04 Thread Debopam Ghoshal
Hi Seb, We made the changes in the protocols.py file (highlighted) @exportRpc("pv.proxy.manager.create.reader") def open(self, relativePath): """ Open relative file paths, attempting to use the file extension to select from the configured readers. """

Re: [Paraview] plugins with 5.2

2017-01-04 Thread Utkarsh Ayachit
Burlen, Looking at the code, the problem is not with the plugin (or add_paraview_plugin), which indeed add the dependency as appropriate, the issue is in io/CMakeLists.txt [1]. When you use VTK_LIBRARIES, you're linking against all VTK modules and its dependencies, which is really an over kill.

Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread Robert Sawko
David, Thanks for a quick reply. Tried with -dr and it's the same. I am attaching my state file for spheres. It may help someone to reproduce. I am running it on Arch Linux and paraview is taken from AUR. I am just looking at the way the binary was generated and I see these options in cmake

Re: [Paraview] Newer object always in front in Render View

2017-01-04 Thread David E DeMarle
That's pretty crazy. You typically have to do some coding to get the layering effect. Try running with -dr to disable your preferences and settings. Also, please share more information about your binary and OS as well as passing along a state file to see if anyone can reproduce it. David E

Re: [Paraview] slicing a large VTK_POLYHEDRON

2017-01-04 Thread Pierre Van Hauwaert
Hi, As requested I attached with that email a list of 8 segfaulting polyhedrons. It happens with a centre of (0,0,0) and an oZ normal. Regards, Pierre On 01/04/2017 10:11 AM, Mathieu Westphal wrote: Hi It may be a different issue than the one i'm fixing. If you can share the segfaulting

[Paraview] Problem reading a numpy NPZ file in ParaView 5.2.0 on Windows

2017-01-04 Thread Guillaume Jacquenot
Hello everyone, I want to report a possible bug. I have a Python script that creates data, exports data in a numpy NPZ file, and reads it later in a ProgrammableFilter. With ParaView 5.1.2, everything works fine. However, when I try it with ParaView 5.2.0, I have a weird reading error. I have

Re: [Paraview] slicing a large VTK_POLYHEDRON

2017-01-04 Thread Mathieu Westphal
Hi It may be a different issue than the one i'm fixing. If you can share the segfaulting polyhedron, please do so i can take a look when i get back on this issue ( which my not be soon, feel free to find other solutions) Regards, Mathieu Westphal On Tue, Jan 3, 2017 at 10:46 PM, Pierre Van