[Paraview] Probe cell index of unstructured grids

2010-09-22 Thread waku
Dear all, I'd like to know how to probe cell index number of unstructured grids. For example, after loading unstructured data (typically Hexa or Tetra), I hope to know the cell index like below: 1) set x, y, and z 2) automatically probe the index number of the cell that includes the above (x,y,z

Re: [Paraview] Plugin that is a reader and a filter

2010-09-22 Thread David Doria
Sorry if I was not clear. Ideally I'd want to do the following: 1) click on a PolyData in the pipeline 2) go to Filter->ReadAndApplyTransform. 3) It should then ask me which transform file I want to read (the "reader" functionality" I mentioned). My vtkReadAndApplyTransform would then read this

Re: [Paraview] Computation of gradients fails

2010-09-22 Thread Martin Vymazal
Hello, you're right. I didn't notice that some of the elements have negative volumes. Thank you very much. Martin Vymazal Quoting "Moreland, Kenneth" : After taking a look at your mesh, I see that the problem is that you have some degenerate tetrahedra. That is, there are tetrahedra

Re: [Paraview] Computation of gradients fails

2010-09-22 Thread Moreland, Kenneth
After taking a look at your mesh, I see that the problem is that you have some degenerate tetrahedra. That is, there are tetrahedra where all 4 vertices are in a plane. In this case the tetrahedron is self-intersecting and the gradient is ill-defined (over constrained I believe), which is why

Re: [Paraview] pvbatch (3.8.0) rendering through OSmesa does not work on multiple nodes

2010-09-22 Thread Van Mierlo K.
I have compiled osmesa 7.5.2 and the newest release candidate osmesa 7.8.3-rc1. Unfortunately pvbatch 3.8.0 using either of these libraries gives the same output and the render error persists. I use the following command to configure / compile the osmesa library: ./configure --with-driver=osme

Re: [Paraview] Computation of gradients fails

2010-09-22 Thread Martin Vymazal
Hello Ken, I computed the x-velocity component using a calculator filter. Then I applied the 'Gradient of Unstructured Data Set' filter to the output of the previous filter. This is the place where the computation fails. I sent you the data in a private email. Best regards, Martin Vyma

Re: [Paraview] Plugin that is a reader and a filter

2010-09-22 Thread Utkarsh Ayachit
It may also be possible to create a composite filter in > ParaView.  However, I’m not sure anyone as actually tried to make a > composite filter that starts with a reader, so the implementation in > ParaView might not support that. Composite filters rather readers are indeed supported and will wor

Re: [Paraview] Plugin that is a reader and a filter

2010-09-22 Thread Moreland, Kenneth
It's not clear to me exactly what the original question is asking. Are you simply trying to define both a reader and filter in the same plugin? In that case, you provide two ProxyGroup elements in the server manager definition and place the reader and filter in the appropriate one. // defi

Re: [Paraview] Computation of gradients fails

2010-09-22 Thread Moreland, Kenneth
More information please. How are you extracting the x-component of the velocity? What filter are you running to compute the gradient? Would it be possible to post some example data that exhibits the problem so that we can replicate it? -Ken On 9/22/10 7:12 AM, "Martin Vymazal" wrote: Dear

Re: [Paraview] Build Custom Paraview and plugin in separate directories ?

2010-09-22 Thread Eric E. Monson
Hello, Yes, you can build custom (branded) versions of ParaView with 3.8. You can either build ParaView and all of its supporting libraries from source, and then build custom applications against that build, or you can now download a "ParaView Development Installation" which should have everyth

Re: [Paraview] Plugin that is a reader and a filter

2010-09-22 Thread Utkarsh Ayachit
Easiest solution would be apply the transform within the reader itself. You can easily create a vtk-level subclass for your reader that can do that. Then this is just a reader. Utkarsh On Tue, Sep 21, 2010 at 9:36 PM, David Doria wrote: > I want to make a plugin that will read a file (which cont

[Paraview] Computation of gradients fails

2010-09-22 Thread Martin Vymazal
Dear ParaView developers, I'm trying to compute gradient of my x-component of velocity on a grid of tetrahedra which has 55244 DOF. ParaView fails to compute the gradients with the following error message: Generic Warning: In /home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/Para

Re: [Paraview] Build Custom Paraview and plugin in separate directories ?

2010-09-22 Thread Utkarsh Ayachit
Yes, it possible. You may want to look at the Wiki for details: http://www.paraview.org/Wiki/ParaView#Compile.2FInstall Utkarsh On Wed, Sep 22, 2010 at 6:56 AM, R M wrote: > Hi everyone, > > I would like to know if it is possible to build a custom paraview (withe > version 3.8) in a specific dir

[Paraview] Build Custom Paraview and plugin in separate directories ?

2010-09-22 Thread R M
Hi everyone, I would like to know if it is possible to build a custom paraview (withe version 3.8) in a specific directory out of Paraview directory source code (the same for a plugin). I guess it is possible but I am new with cmake configuration and I would like to know how to do this. Tha