Re: [Paraview] A general quesiton

2009-04-08 Thread Jean M. Favre
Battalgazi YILDIRIM wrote: Hi, I have just begun with python scripting in Paraview. I agree that I should use servermanager to communicate to Paraview Engine. But problem is (at least for me) how will I add my own source (or reader) in servermanager.source. is there any place or book I

[Paraview] libvtkPVServerManager.so: undefined reference

2009-04-08 Thread Jean M. Favre
when compiling paraview CVS with the option -DPARAVIEW_BUILD_QT_GUI=OFF , I have the following problem since yesterday. Linking CXX executable ../../bin/vtkSMExtractDocumentation ../../bin/libvtkPVServerManager.so: undefined reference to `vtkSMChartTableRepresentationProxy::GetNumberOfSeries()'

Re: [Paraview] adding axes via python scripting

2009-04-09 Thread Jean M. Favre
Michael Müller wrote: I just tried to add the CubeAxesRepresentation via python scripting using Paraview 3.4. Within the script I read some VTK-file, get its cell data, add a color legend and save the screenshot as png-file. It looks like the following: try the following: reader =

Re: [Paraview] Bug in Slice representation or in my XML ?

2009-04-20 Thread Jean M. Favre
Jérôme wrote: Dear list, Please find attached an XML that will expose vtkImageGaussianSource and vtkImageMagnitude to ParaView First of all, vtkImageGaussianSource behaves like it does not produce any data : - Add a Gaussian Source to the pipeline, - Apply - Then go to the

[Paraview] FieldData

2009-06-02 Thread Jean M. Favre
Can someone refresh my memory about FieldData? I have a dataset with PointData and FieldData. The FieldData contains multiple scalar arrays. Each array has a different number of tuples. ParaView (3.6) reads them without complaining. The Object Inspector shows the correct bounds ([min, max]),

Re: [Paraview] Mimicking the 'set view plane direction' GUI buttons in Python script

2009-07-09 Thread Jean M. Favre
Adriano Gagliardi wrote: //=== Is it possible Render() calls ResetCamera()? === You may look at the source code in /Utilities/VTKPythonWrapping/paraview/simple.py def Render(view=None): Renders the given view

Re: [Paraview] Rendering bug in ParaView-CVS

2009-08-14 Thread Jean M. Favre
Michael Wild wrote: True, but you could write a small utility which directly operates on your output data and scales it there scaling data while reading it only gets you that far, until what you are looking for are not just Colorful Visualization, but quantitative data analysis. I have similar

[Paraview] tiled display with gaps?

2009-08-25 Thread Jean M. Favre
I am having a problem running paraview-3.6 and paraview-CVS on a tiled display. There are large gaps (several 100s) of pixels between each tile, no matter what the -tmx and -tmy options are set to. ParaView 3.4 and EqualizerGraphics 0.9 work perfectly well on the same cluster and tiled display

[Paraview] XY Plots single precision

2009-08-26 Thread Jean M. Favre
Am I guessing right that XY Plots do not support double precision numbers? I have CSV tables of numbers in the range e+48 e+49. the paraview Spreadsheet view works fine, but the XY plot is empty. Too bad I have to export the data and do the final visualization with another tool. Jean

[Paraview] Integrate Variables not updating?

2009-08-26 Thread Jean M. Favre
I am running a parallel pipeline, using IntegrateVariables to calculate mass, volume, and other quantities in a region. I find that when the region is changed (e.g. a threshold of an iso-clip), IntegrateVariables does not update and recalculates. Going to the Python shell and forcing an

Re: [Paraview] Integrate Variables not updating?

2009-08-27 Thread Jean M. Favre
Berk Geveci wrote: Do you know if the filter executes at all? I am wondering if the bug is because the client is not pulling the results or because the filter is not executing. the filter is not executing at all. I have set up an animation of my threshold. The Timer log shows no activity from

Re: [Paraview] Integrate Variables not updating?

2009-08-27 Thread Jean M. Favre
Berk Geveci wrote: By any chance, is the filter visible on any views? If its visibility is turned off everywhere, it will not execute (by design). good catch. The filter was not visible. Once made visible, it updates correctly. the reason I did not make it visible is essentially because using

Re: [Paraview] animation + python

2009-08-28 Thread Jean M. Favre
Stephane PLOIX wrote: Hi, At the end of the python scripting wiki page (http://paraview.org/Wiki/ParaView/Python_Scripting), you give an example on how to create an animation via python. However, this animation is not visible in the Animation View, and I did not find how to save the

Re: [Paraview] Loading a Plugin from a Python-Script in 3.6.1

2009-08-31 Thread Jean M. Favre
Bernhard Gschaider wrote: Hi! I'm trying to update a pvpython-script from 3.4 to 3.6.1 Amongst other things it should load a Plugin. The plugin loads perfectly over the GUI, but when I try to do it from the script it fails with this message: File

Re: [Paraview] [PV-3.6.1] Problem compiling with Python in linux x86_64

2009-09-01 Thread Jean M. Favre
Renato Elias wrote: Moreover, how can I force the make process to be more verbose? make VERBOSE=1 :-) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[Paraview] Parallel Reading and Extent Translator

2009-09-10 Thread Jean M. Favre
Back in March 2009, I answered a question by another user (http://www.paraview.org/pipermail/paraview/2009-March/011303.html), asking how to override the default splitting of data chunks. By default, structured volumes are split among all 3 main directions. My answer, validated with version 3.4,

Re: [Paraview] forcing server to do all computations/rendering; unrelated, rendering vertices as pixels

2009-09-28 Thread Jean M. Favre
Christine Corbett Moran wrote: Hi, I have two questions I am hoping someone can give me some insight on. 1. How to force the server to do all computations and rendering? After playing around with the ParaView server settings, I haven't yet been able to force the server to do all

[Paraview] IntegrateAttributes gives different results when run in parallel?

2009-09-29 Thread Jean M. Favre
I could not find any test for IntegrateAttributes, and I am questioning the output generated when run in parallel, on a 2D surface mesh. Although the area computed is equal to the area computed by the serial builtin paraview, some other variables (but not all) show large differences in integrated

[Paraview] Array Calculator missing blocks in a hierarchical multi-block dataset

2009-10-19 Thread Jean M. Favre
I have a MB dataset of 4 objects, each block being itself a multi-block dataset. The first MB is a composite object of vtkStructuredGrids, while the last 3 are again multi-blocks, each one a composite of vtkStructuredGrids. This is not AMR, just a complex geometry, cleanly separated into

Re: [Paraview] Problems writing an .vtu file

2010-01-28 Thread Jean M. Favre
s.habbinga wrote: Hello everybody, I've been trying to write a c++ function to convert my data into .vtu files. Unfortunately, paraview isn't able to read my .vtu files. I get the following error-message: there is a typographic error in your file. Replace the line DataArray

[Paraview] GetDataInformation() troubles

2010-02-08 Thread Jean M. Favre
I am having troubles with a reader plugin which works well under 3.6.2 but is missing some DataInformation under the CVS version. Specifically, my reader produces a hierarchy of multi-blocks, so some data fields are only stored on some datasets, and PV3.6.2 correctly associates them and displays

Re: [Paraview] Cannot find SaveData for python scripting

2010-02-16 Thread Jean M. Favre
Fabian Wein wrote: Hi, I searched and googled but could not find the python call for SaveData(). All the writers can be found under... servermanager.writers dir(servermanager.writers) ['AnimationSceneImageWriter', 'CSVWriter', 'DataSetCSVWriter', 'DataSetWriter', 'EnSightWriter',

[Paraview] vtkHyperOctree

2010-02-17 Thread Jean M. Favre
Folks I am evaluating the possibilities of using the HyperOctree to support an astro-physics code. First question: Can we set a threshold to switch the GeometryFilter to a bounding box mode when loading an hyperoctree? By default the surface-mode is always ON and for an octree beyond 8 levels of

Re: [Paraview] Volumes of Interest

2010-02-18 Thread Jean M. Favre
Natalie Happenhofer wrote: Another topic - selecting volumes of interest: I can do that for one file, and it works well. But is it really necessary to repeat this procedure for every file I open in Paraview? Is it possible to select a volume of interest and for every file I open afterward,