[Paraview] Create a plugin

2010-04-23 Thread Christian Wohlschlager
** Reply Requested When Convenient ** Hy ! Is there a manual where i can read how to create a plugin where a simple programm should be executed . mfg christian ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] Time dependant field in Ensight Gold Format

2010-04-23 Thread Anthony Ruiz
Zhanping : I downloaded again the mac binaries today, and it is know working ... I don't know what happened. Regarding the paraview I built from sources, I guess the problem comes from conflicts between gcc 4.2.1 (apple version) python 2.6.4 (apple version, built with gcc 4.0.1) and qt 4.5.3.

Re: [Paraview] 3.8 RC1 regression in line chart ?

2010-04-23 Thread Dave Partyka
My apologies, There will be RC2 binaries shortly as Marcus said, this is fixed in the repository. On Fri, Apr 23, 2010 at 3:21 AM, Richard GRENON richard.gre...@onera.frwrote: Dave Partyka wrote: Richard, are you using Git now? Or is this with CVS? Hello Dave. No I don't use Git nor

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Aurélien Marsan
Maybe I have found a way to avoid the Programmable Source... But Is it possible to export an object created in the python shell directly into the pipeline of the paraview interface ? Le 22 avril 2010 15:36, Aurélien Marsan aur.mar...@gmail.com a écrit : Hi, A new thing I don't know how to do

[Paraview] Bug in Programmable Source

2010-04-23 Thread Aurélien Marsan
Hello, I use a personnal reader that creates a vtk.vtkStructuredGrid. I realize the programmable source, with this script : import PersoModule self.GetOutput().DeepCopy(PersoModule.Read(.)) If at first, I choose Output Data Type as PolyData, click on Apply, and then choose Output

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Aurélien Marsan
I found a solution to do what I wanted to do. Not really elegant, but it works. The best would be to encode the reader in the source code but I don't know how to do, and have no time for now. First, I use the tool Source - Data Object Generator, and create a MultiBlockDataSet. MB{} Then,

[Paraview] Install Flags for ParaView 3.8 RC 1 and OS X

2010-04-23 Thread Lee Peterson
Good Morning, I have been trying unsuccessfully to build the 3.8 RC 1 on OS X because of a problem with ffmpeg. Building ffmpeg from the source on the VTK site is unsuccessful if shared libraries are installed. There's a bug in the Makefile somewhere that tries to install a blank library

Re: [Paraview] Install Flags for ParaView 3.8 RC 1 and OS X

2010-04-23 Thread Dave Partyka
I attempted the same thing with the x86_64 RC1 binaries and have also experienced crashes using the latest version of ffmpeg. The Universal binary are using a very old version of ffmpeg but at least they work :-/. You can find that version in a tar.gz here.

[Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Christian Werner
Hi! I am about to install the latest Paraview on a 64-Bit Windows System. When doing this on a 32-bit Windows I made a bad and painful experience when trying to setup everything starting with a self-compiled QT. I finally succeeded when I skipped that QT compiling part and used a QT binary

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Michael Jackson
I usually use a self-built Qt 4.6.2 with ParaView. I have to admit that I have not done this in a while though, since maybe ParaView 3.6.2 days. I don't think I have ever had any problems with a self compiled Qt and ParaView on any platform and operating system (Windows 32 XP, 7 x64, OS X,

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Eric E. Monson
Hey Christian, I recently had to compile PV for Windows7 64-bit, and it didn't end up being that bad. I used Qt 4.6.2 open source (everywhere). I ran these commands from the 64-bit Visual Studio Pro command prompt (I can't remember if I was running as Administrator) in the Qt source

Re: [Paraview] Install Flags for ParaView 3.8 RC 1 and OS X

2010-04-23 Thread Lee Peterson
Sorry I didn't make it clearer in my posting. I tried that version. Actually I tried multiple versions of ffmpeg. The ffmpeg_source.tar.gz at http://vtk.org/VTK/resources/software.html#addons fails to build on OS X 10.5.x and 10.6.x (stopping at bitstream.c with extended registers have no

Re: [Paraview] Time dependant field in Ensight Gold Format

2010-04-23 Thread Zhanping Liu
I do not think so. Fortunately the problem disappeared. Good luck. -Zhanping On Fri, Apr 23, 2010 at 5:04 AM, Anthony Ruiz r...@cerfacs.fr wrote: Zhanping : I downloaded again the mac binaries today, and it is know working ... I don't know what happened. Regarding the paraview I built from

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Christian Werner
I am afraid my pipeline will get as big as about 10-15GB. We are doing analysis on huge volume data and have 32GB of RAM at our disposal. Well, I'll just give it a shot and may come back later when encountering some explicit problems. I thought maybe there are important compilation Parameters

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Utkarsh Ayachit
I've just committed a change to ParaView to allow setting output type to be a multiblock dataset. Commit id: c7472789ba86210e190f398a90eebc081a66d40c Utkarsh 2010/4/23 Aurélien Marsan aur.mar...@gmail.com: I found a solution to do what I wanted to do. Not really elegant, but it works. The

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Christian Werner
Ah, great, thanks. What I just wondered: do I need the whole SDK or just the runtime environment? It just turned out that if you want to download the complete SDK you need to compile with mingw anyway... Eric E. Monson schrieb: Hey Christian, I recently had to compile PV for Windows7 64-bit,

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Utkarsh Ayachit
Temporal DataSet! Filters shouldn't be producing temporal dataset explicitly. Why do you need it? Utkarsh 2010/4/23 Aurélien Marsan aur.mar...@gmail.com: thanks ! And so, could you add Temporal Data Set to this commit ? Le 23 avril 2010 16:28, Utkarsh Ayachit utkarsh.ayac...@kitware.com a

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Michael Jackson
Along those lines here is what I use to build Qt configure -nomake demos -nomake examples -debug-and-release -shared - fast -exceptions -stl -no-qt3-support nmake install will do NOTHING on Windows. Build Qt where you want it installed, ie, build it in place. Install is NOT supported on

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Michael Jackson
If you are building a 64 Bit Qt Application the only thing you need to download from Nokia is the Qt-Everywhere source code. There is nothing else there that will help you. They only have Pre-compiled 32 bit binaries for Visual Studio and MinGW. And you can not combine (Easily) MinGW

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Dave Partyka
Do you have Visual Studio? If so then the only thing you need is the source: http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.2.zip Extract that and the open a 64-bit Visual Studio Command Prompt Start - Programs - Microsoft Visual Studio 2008 - Visual Studio Tools - Visual

Re: [Paraview] Which QT for 64-Bit Version for Windows

2010-04-23 Thread Christian Werner
Thank you all! Good to know that Visual Studio Express won't do the job, that already saved me some trouble. I might think about switching to mingw before getting Visual Studio though... Best regards, Christian Dave Partyka schrieb: Do you have Visual Studio? If so then the only thing you

[Paraview] [Fwd: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake]

2010-04-23 Thread Mark Olesen
Forwarded Message From: Mark Olesen mark.ole...@faurecia.com To: ParaView Developers paraview-develop...@paraview.org Subject: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake Date: Fri, 23 Apr 2010 16:41:53 +0200 Since pulling paraview from the new git

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Aurélien Marsan
ah So : I use file in format v3d. For a mesh that contains two blocks, they would be called called block1_timestep1.v3d, block2_timestep1.v3d, block1_timestep2.v3d, block2_timestep2.v3d, etc... Actually, I open these v3d_files with a python tool that I have writen, translate them as

Re: [Paraview] [Fwd: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake]

2010-04-23 Thread Sven Buijssen
Hi Mark, You're git submodule Utilities/Xdmf2 is too recent. Let me guess. You checked out ParaView from git like this: % git clone git://paraview.org/ParaView.git % git submodule init % git submodule update Then, for some reason, you did something similar to % cd Utilities/Xdmf2/ % git branch

Re: [Paraview] [Fwd: CMake Error at Utilities/VTKClientServer/vtkClientServer.cmake]

2010-04-23 Thread Mark Olesen
... If you run then cmake, you'll get exactly the error you posted. Go back to your ParaView source repository (not the Xdmf2 subdir) and issue % git submodule update Submodule path 'Utilities/Xdmf2': checked out '17f7aadc96a0a72c0f8f6e21cd37900db73b1b1f' then try running cmake again. I

[Paraview] Polyline visualization in ParaView

2010-04-23 Thread Cristiano Malossi
Dear all, I would like export in an xdmf format the results of a 1D numerical simulation. Using polyline I have created a test file and I am able to visualize the line in paraview. However I have some issues: 1) I would like to visualize a 3D cylinder instead of the line. However, tube

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Aurélien Marsan
Yet I understand why it's not possible to work with TemporalDataSet in Paraview. The output of the PVDReader is a MultiBlockDataSet, and the PVDReader redirect the reader based on the time value. ... Is it possible to create a programmable source that would be aware of the timestep ? Or do I have

Re: [Paraview] Resample with Dataset (vtkValidPointMask)

2010-04-23 Thread David E DeMarle
I think you need to run Delauney on one of the point sets to turn the point samples floating in space into into a partitioning of space. Then the probe filter will be able to find values (interolating the values of the points that make up the containing cell) for the second set of points. David E

Re: [Paraview] Bug in Programmable Source

2010-04-23 Thread Berk Geveci
I suspect that this is because you did not set the whole extent in the RequestInformation script. You need something like: from paraview import util util.SetOutputWholeExtent(self, [0, 10, 0, 10, 0, 30]) where the list is i_min, i_max, j_min, j_max, k_min, k_max for the structured grid. In some

Re: [Paraview] Polyline visualization in ParaView

2010-04-23 Thread Eric E. Monson
Hey Christiano, First, I think there may be a couple problems with the data file. It works better for me if I change to NumberOfElements=9 and remove the BaseOffset specifier. (I'm not sure what that part of the API is for...) The Tube filter is for PolyData, and this file loads in as an

Re: [Paraview] Polyline visualization in ParaView

2010-04-23 Thread Berk Geveci
I would like export in an xdmf format the results of a 1D numerical simulation. Using polyline I have created a test file and I am able to visualize the line in paraview. However I have some issues: 1) I would like to visualize a 3D cylinder instead of the line. However, tube filter is

Re: [Paraview] Programmable Source MultiBlockDataSet

2010-04-23 Thread Utkarsh Ayachit
I've added an example to the Wiki showing how to produce timesteps from programmable source. http://www.paraview.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters.#Producing_Data_with_Timesteps_.28Source.29 There's one caveat currently. The GUI does not realize the

Re: [Paraview] Xdmf GlobalID attribute removed by Clip

2010-04-23 Thread David E DeMarle
The XDMF in 3.6 did not have the global id attribute so it did the unsafe thing and let filters have their way with them. It kept the array around, but in most cases the values in the array at the end of the pipeline were worthless. Not that XDMF does have global ids, the clip filter (like most

Re: [Paraview] Xdmf GlobalID attribute removed by Clip

2010-04-23 Thread Eric E. Monson
Hey Dave, I'll definitely try this sometime early next week, but I just wanted to point out something else, first, that may be interfering somewhere: If you look at the output of the Xdmf reader, like you said, it has allowed Global IDs to be set on the PointData, but they are not read in as

Re: [Paraview] Xdmf GlobalID attribute removed by Clip

2010-04-23 Thread David E DeMarle
Not reading in as vtkIdType is an independent bug. It is one we meant to fix, but haven't gotten to just yet. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Apr 23, 2010 at 4:30 PM, Eric E. Monson emon...@cs.duke.edu

Re: [Paraview] choppy derivatives

2010-04-23 Thread Peter Brady
Next question, My scalar data is written to the cell centers and I can't figure out how to get the coordinates of the cell centers in my programmable filter. After perusing the vtk documentation (as best as a Fortran programmer can) it looks I need to do something along the lines of input =

[Paraview] vtkPVTrivialProducer issues

2010-04-23 Thread wastrel
I used the the following snippet to generate data on the client side but ended up with errors: Code: sm = servermanager f = open('trivialproducer.xml', 'r') parser = sm.vtkSMXMLParser() parser.Parse(f.read()) parser.ProcessConfiguration(sm.vtkSMObject.GetProxyManager()) # Update the modules

Re: [Paraview] vtkPVTrivialProducer issues

2010-04-23 Thread Utkarsh Ayachit
You no longer need the initial part for loading the XML. You can directly use: tp = sm.sources.TrivialProducer() and that should work. Utkarsh On Fri, Apr 23, 2010 at 5:09 PM, wast...@gmail.com wrote: I used the the following snippet to generate data on the client side but ended up with

Re: [Paraview] Enabling dataset visibility wiggles camera

2010-04-23 Thread David Doria
On Mon, Feb 22, 2010 at 7:36 PM, pat marion pat.mar...@kitware.com wrote: Also, I loaded your sparse.vtp and dense.vtp files into another vtk based application, and there is no movement, so it's either a paraview bug or paraview is using a different representation/mapper than my app. Pat I

Re: [Paraview] vtkPVTrivialProducer issues

2010-04-23 Thread wastrel
Thanks, but still not working. See below for the errors: getting appended vtkXMLUnstructuredGridReader : [ ...] vtkXMLUnstructuredGridReader : [ ...] vtkReductionFilter : [ ...] vtkClientServerMoveData : [ ...] Traceback (most recent call last): File convert.py,

Re: [Paraview] vtkPVTrivialProducer issues

2010-04-23 Thread wastrel
I also tried with Paraview-3.6.2. Below is the code: #! /usr/bin/pvpython from paraview.simple import * from paraview.simple import servermanager as sm from paraview import vtk # connect internally connection=sm.Connect() # Set the pvpython path INPUTFILE=test.vtu OUTPUTFILE=tested.vtu #

Re: [Paraview] vtkPVTrivialProducer issues

2010-04-23 Thread wastrel
Is there any possible ways to write out the client-side data? On Fri, Apr 23, 2010 at 4:44 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You no longer need the initial part for loading the XML. You can directly use: tp = sm.sources.TrivialProducer() and that should work.