[Paraview] Enabling vtkSplineFilter in ParaView

2010-06-01 Thread Jérôme
Hi, I was able to enable the vtkSplineFilter in ParaView-3.7 with the attached ServerManager XML. But with the current 3.9, I am having a segfault after the filter updates. Here is the WinXP32 call stack after the segfault : ntdll.dll!7c91120e() [Les frames ci-dessous sont

Re: [Paraview] Multi-Threading issues

2010-06-01 Thread liuning
Hi Biddiscombe, I do a similar thing. But I use a Qt thread instead of a timer. The thread controls the entire progress. I define a iteration steps in the thread, e.g.,1024. In each iteration, the thread triggers the slot accept() method (in ParaView3/Qt/Components/pqObjectInspectorWidget), in

Re: [Paraview] Enabling vtkSplineFilter in ParaView

2010-06-01 Thread Jérôme
Hi again ! I tried to replace the SplineFilter with a ProgrammableFilter containing the following script : input = self.GetInput() splineFilter = vtk.vtkSplineFilter() splineFilter.SetInput( input ) splineFilter.SetSubdivideToLength() splineFilter.SetLength( 1 ) splineFilter.Update( )

Re: [Paraview] [*] Re: [*] Build problem

2010-06-01 Thread rhushabh
Hi, The error related to command prompt was removed. But now during building I am getting 80% of the projects as failed with many types of errors. Please could you give me the exact link (other than the wiki page for build and install) to build it from scratch again. The specifications of my

Re: [Paraview] [*] Re: [*] Build problem

2010-06-01 Thread Utkarsh Ayachit
The Wiki page pretty much covers all that's necessary to build the software. You'll have to be a bit more elaborate than many types of errors before we can offer some concrete help. Are you using Qt binaries downloaded from Nokia's website? As mentioned on their download page, Nokia's binaries are

[Paraview] Finite-size voxels and Point vs. Cell Centered Image Data

2010-06-01 Thread Eric Nodwell
What is the standard way to represent image data in VTK/ParaView, where the image data is intended to represent finite sized voxels? Here the 3D image data represent values at the centre of voxels (or presumably some sort of weighted value centred on the voxel centre). This may seem like a

Re: [Paraview] Finite-size voxels and Point vs. Cell Centered Image Data

2010-06-01 Thread Francois Bertel
Hello, in vtkImageData, Dimension is the number of points along each axis, not the number of cells along each axis. If you want one voxel, then you need 2x2x2 points. Note that using GetDimension() is OK but SetDimension() is only here for backward compatibility, use SetExtent() instead:

Re: [Paraview] paraview - client-server

2010-06-01 Thread burlen
Hi, I have seen this error mostly relating to a plugin being loaded on the client side but not the server side. It looks like vtk1DTransferFunctionFilter, is part of a PointSprite plugin. You could check the tools-plugin manager dialog to see if the client and server have the same plugins

Re: [Paraview] extract cell volume with python

2010-06-01 Thread Fabian Braennstroem
Hello to all, thanks for your help. Oh, I think I got it... Regards! Fabian On 05/30/2010 02:36 PM, Andy Bauer wrote: There are a couple of gradient filters in ParaView (Gradient and Gradient of Unstructured DataSet in the filters menu). The one to use depends on the input grid you have.

Re: [Paraview] vtkCellLocator: Python

2010-06-01 Thread bastil2...@yahoo.de
Thanks Eric, all, but this does not seem to work at all. My loop looks something like this: input = self.GetInputDataObject(0, 0) output = self.GetOutputDataObject(0) if input.IsA(vtkMultiBlockDataSet): iter = input.NewIterator() iter.UnRegister(None) iter.InitTraversal() i=1

Re: [Paraview] Finite-size voxels and Point vs. Cell Centered Image Data

2010-06-01 Thread Eric Nodwell
Francois, Thank you for the reply. Using 2x2x2 points for one voxel is fine in principle. The difficulty is, you can't really conveniently (as far as I can tell) use a vtkImageData object for this purpose. Because now of course our scalar image data needs to be associated with cells, not to

Re: [Paraview] Finite-size voxels and Point vs. Cell Centered Image Data

2010-06-01 Thread burlen
Hi Eric, Because now of course our scalar image data needs to be associated with cells, not to points. But vtkImageData in many cases only deals with the scalar data attached to the PointData. Could you use the concept of a dual grid? In other words make your vis grid node centered with the

Re: [Paraview] vtkCellLocator: Python

2010-06-01 Thread Utkarsh Ayachit
Try the following: print iter.GetCurrentMetaData().Get(vtk.vtkCompositeDataSet.NAME()) Utkarsh On Tue, Jun 1, 2010 at 3:12 PM, bastil2...@yahoo.de bastil2...@yahoo.dewrote: Thanks Eric, all, but this does not seem to work at all. My loop looks something like this: input =

Re: [Paraview] Finite-size voxels and Point vs. Cell Centered Image Data

2010-06-01 Thread Eric Nodwell
Burlen, I assume by dual grid you mean creating two vtkImageData objects, which both contain pointers (properly registered and reference counted) to the same vtkDataArray object, but in one case, as the Scalars for the CellData, and in the other case as the Scalars for the PointsData. This

[Paraview] Compiling error with 3.8.0

2010-06-01 Thread Fred Fred
Hello, I have downloaded the 3.8 release source from the download page and I try to compile it on Mac OS X Leopard, using the classic cmake porcedure that has been successful with the 3.6.2 but I get a surprising error: [ 34%] Building CXX object

Re: [Paraview] Compiling error with 3.8.0

2010-06-01 Thread Dave Partyka
Turn VTK_USE_RPATH to ON or export DYLD_LIBRARY_PATH to your bin dir. On Tue, Jun 1, 2010 at 5:07 PM, Fred Fred stan1...@hotmail.fr wrote: Hello, I have downloaded the 3.8 release source from the download page and I try to compile it on Mac OS X Leopard, using the classic cmake porcedure

[Paraview] Gzipped image file load

2010-06-01 Thread Joohwi Lee
Hi, I tried to load gzipped NRRD file in Paraview, but it can't recognize the image saying that ERROR: In /home/kitware/Dashboard/MyTests/ParaView-3-8/ParaView-3.8/ParaView/VTK/Parallel/vtkPNrrdReader.cxx, line 365 vtkPNrrdReader (0x1d65a900): Unsupported encoding: gzip ERROR: In