[Paraview] Extension from Plugin-Reader does not apper - QT 4.4 issue?

2008-11-19 Thread Fabian Wein
Hi, I want to write a Reader for Paraview (I guess a plugin is better than directly hacking into the Paraview source). As I have to base on an vtkUnstructuredGridAlgorithm I cloned the vtkGAMBITReader as it was the shortest (Only change of name, no functionality yet). I follwed the Plugin-HowTO

Re: [Paraview] Ghost cells for standalone Paraview

2008-12-04 Thread Fabian Wein
Hi Ken, thanks a lot - you solved the issue! :) It works fine with the clip filter - memory consumption seems to be in the green range! Best regards from ol' Europe, Fabian OK, I understand now. What you are asking for is not exactly what VTK/ParaView considers ghost cells. You want add a

[Paraview] Questions about Multiblock

2008-12-05 Thread Fabian Wein
Hi, I export VTK multiblock files. I have the following questions: * How can I assign names to the datasets? I googled and found a hint to use name in the pvd file but this is ignored. * Is it possible to write the blocks to a single file? * Paraview crashes when I load the pvd file: VTKFile

Re: [Paraview] Questions about Multiblock

2008-12-09 Thread Fabian Wein
Hi Berk, * How can I assign names to the datasets? I googled and found a hint to use name in the pvd file but this is ignored. This is currently not supported. It shouldn't be too hard to implement. You can file a feature request at http://paraview.org/Bug. I just assigned - thanks

[Paraview] Current state of LiveData

2009-10-07 Thread Fabian Wein
Hi, we have own reader implemented which I want to extend for live data. I found the comment from 2008 that support for live data ist was planned. What is the current state, what do I have to do to implement live data by myself? I plan to read my data by myself via a thread (a good idea) and

[Paraview] In which version are the Python GUI tools?

2009-10-07 Thread Fabian Wein
Hi, I found http://www.itk.org/Wiki/Python_GUI_Tools and also the In-Situ talk. I just don't have the trace/... buttons in my pathon console for my Paraview 3.6.1 (Linux, 64-bit) ??? Thanks, Fabian ___ Powered by www.kitware.com Visit other Kitware

Re: [Paraview] Current state of LiveData

2009-10-12 Thread Fabian Wein
Hi David, 1) You have to recognize when data is available and complete, and you need some sort of atomicity guarantee. Ie, you don't want a reader trying to read a half written file, and you don't want the some process modifying the file while the reader is halfway through reading it. 2)

[Paraview] Live Data does update but doesn't refresh

2009-10-12 Thread Fabian Wein
Thanks to David's help I come to a certain extend to an extension of my reader to do live updates. Background: I want to to in-situ optimization, on request the optimization shall be restarted with new parameters and I want to see the most current result. The optimization results are

[Paraview] new thread: Live Data does update but doesn't refresh

2009-10-12 Thread Fabian Wein
Thanks to David's help I come to a certain extend to an extension of my reader to do live updates. Background: I want to to in-situ optimization, on request the optimization shall be restarted with new parameters and I want to see the most current result. The optimization results are

[Paraview] Please help!! How to force Render() from a reader

2009-10-13 Thread Fabian Wein
works, I trigger RequestUpdateExtent() for a valid time-value not read up to now. This time value is request by RequestData() and I return the new data - there is just no rendering. I have no idea about how to force it. Thank you very much! Fabian Wein

[Paraview] Python Render() has no effect

2009-10-13 Thread Fabian Wein
I'm still struggling with my live data reader. A thread calls Update() on my algorithm. This leada to a RequestData() and I give back the current data - independend of the requested time step. It's just not displayed. I tried with python Render() GetRenderView().StillRender() Show() all has no

[Paraview] How to invalidate data

2009-10-13 Thread Fabian Wein
Dear last resource :) My last idea to make my live data reader work is to use animation. Independed on what time value is requested I give back the current data. I'll need a repeated loop for that - but once the time values are read, they are cached and not requested again from my reader. How

Re: [Paraview] Please help!! How to force Render() from a reader

2009-10-14 Thread Fabian Wein
Hi Takuya, I am not sure what you mean by a thread (a client side code?), but perhaps you can simply write pqApplicationCore::instance()-render(); This has no effect. Meanwhile I think this is because of the client/server structure. Update within the reader forces RequestUpdateExtent and

Re: [Paraview] Python Render() has no effect

2009-10-14 Thread Fabian Wein
Hi, You should be able to do it from C++. If you have a pqProxy/pqPipelineSource, you can call getProxy() to get the proxy object. Sorry, I don't understand. I actually have a reader derived from vtkMultiBlockDataSetAlgorithm What happens if you call MarkModified(None) on your source

Re: [Paraview] Please help!! How to force Render() from a reader

2009-10-14 Thread Fabian Wein
Hi Takuya, Perhaps you are right in that you need a gui (client) part. (PV experts: correct me if I am wrong) Is there a complete code example anywhere? Here is what I have in the gui (client) part for the pesudo live updating of my time-aware reader (I am using a QTimer for periodically

Re: [Paraview] How to invalidate data

2009-10-14 Thread Fabian Wein
Hi, The animation idea for in-situ does not work as smooth as required. How can I mark data modified from my read in C++ such that it is requested by the animation and time stepping again? The animation cache cannot be set below 10K. It would be a great help to know that this is not possible

[Paraview] Communication from Python to own C++ reader

2009-10-15 Thread Fabian Wein
Hi, it's me again - I have the impression that nothing that I try really works :( But I'm getting closer :) I get access to my reader from python via r = GetSources().items()[0][1] I want to get an integer value from my reader. The only way I know to do this, is: *.h

Re: [Paraview] How to invalidate data

2009-10-16 Thread Fabian Wein
Hi David, Sorry Fabian, I've been quite busy at Vis and haven't been able to help. I can understand! For my tight deadline we skipped paraview and implemented a simple standalone live-data-visualization tody in Qt for a presentation next week - hence I'm not under pressure any more. But I will

[Paraview] Cannot find SaveData for python scripting

2010-02-16 Thread Fabian Wein
Hi, I searched and googled but could not find the python call for SaveData(). I import my data by my own reader and want to export it as VTK file by scripting. Any hints? Is there a doxygen documentation or something like that for the complete python interface? I just have the examples from the

Re: [Paraview] Cannot find SaveData for python scripting

2010-02-16 Thread Fabian Wein
Hi Adriano, To save a state: servermanager.SaveState() To load a state: servermanager.LoadState() If there is a command you are looking for that doesn't appear using dir(), then try dir(servermanager) as it may be hiding in there somewhere. Thanks a lot. Fabian

[Paraview] TecPlot problem or question for alternative format

2010-03-26 Thread Fabian Wein
Hi, I got a code which exports data (LBM) in a very simple format: --- TITLE= LBM data VARIABLES = X, Y, RHO, U, V, VOR ZONE T = Z I= 351, J= 122, K=1, ZONETYPE=ORDERED DATAPACKING=POINT DT=(SINGLE SINGLE SINGLE SINGLE SINGLE SINGLE) 11 0.000D+00

Re: [Paraview] TecPlot problem or question for alternative format

2010-03-26 Thread Fabian Wein
It seems the Tecplot file does not provide the section of x and y corrdinates (before the solution) at all, or you just skipped it at your e-mail for simplification purposes? No, I did not skip anything, this is the data I have. The X and Y coordinates are just data values as the following

Re: [Paraview] TecPlot problem or question for alternative format

2010-03-26 Thread Fabian Wein
Zhanping, Try removing 'K = 1' from the zone header to see it the Tecplot reader works. As Berk suggested, you may converted the data to legacy VTK. Thanks for your reply, it did not work. I'll create a VTK file by myself, it's not that much. Fabian

[Paraview] programmable access to vector components (via Python)

2012-05-23 Thread Fabian Wein
I have vector data with 6 elements. The vector is called 'mechTensor' and I can visualize all components and the magnitude where the components are called XX, YY, ZZ, XY, YZ, XZ. Btw, this is the Voigt notation for stresses and strains. I do not know, where the component names are assigned,

Re: [Paraview] programmable access to vector components (via Python)

2012-05-24 Thread Fabian Wein
finite elements -- and it works; I also use the EnSight part-construct to output the results by-material. Sam Key On 5/23/2012 5:28 AM, Fabian Wein wrote: I have vector data with 6 elements. The vector is called 'mechTensor' and I can visualize all components and the magnitude where

Re: [Paraview] programmable access to vector components (via Python)

2012-05-24 Thread Fabian Wein
finite elements -- and it works; I also use the EnSight part-construct to output the results by-material. Sam Key On 5/23/2012 5:28 AM, Fabian Wein wrote: I have vector data with 6 elements. The vector is called 'mechTensor' and I can visualize all components and the magnitude where

Re: [Paraview] programmable access to vector components (via Python)

2012-05-25 Thread Fabian Wein
It appears to me you have found a limitation (or bug?) in the Calculator filter. My comments are inserted below. I just submitted a bug report: http://paraview.org/Bug/view.php?id=13204 files, however, I have never used it. I graduated from VTK XML-structured ASCII-text results files to the

Re: [Paraview] programmable access to vector components (via Python)

2012-06-08 Thread Fabian Wein
and efficient that the Array Calculator so I'd recommend using the Python Calculator or the Python Programmable Filter whenever possible. -berk On Fri, May 25, 2012 at 10:03 AM, Fabian Wein fabian.w...@am.uni-erlangen.de wrote: It appears to me you have found a limitation (or bug?) in the Calculator

[Paraview] superbuild fails on OS X

2016-01-18 Thread Fabian Wein
I have the latest OS X and qt4 and qt5 installed by brew. I use the current superbuild, which covers PV 4.4 (why not 5.0?) but build fails. I use the default setting in my build and just set CMAKE_INSTALL_PREFIX and ENABLE_paraview make … -- Installing:

Re: [Paraview] superbuild fails on OS X [solved]

2016-01-18 Thread Fabian Wein
-install_subtargets-ordered] Error 2 CMake Error at /Users/fwein/code/ParaViewSuperbuild/build/pv-qt4-build.cmake:33 (message): Failed with exit code 2 > Am 18.01.2016 um 10:25 schrieb Fabian Wein <fabian.w...@fau.de>: > > I have the latest OS X and qt4 and qt5 installed by b

[Paraview] Superbild for 5.0.0

2016-01-19 Thread Fabian Wein
When will the superbuild for 5.0.0 be available? Thanks and regards, Fabian ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the

[Paraview] qt5 issues on OSX

2016-07-28 Thread Fabian Wein
Hello, I have an up-to-date OS X system (10.11) and try to compile PVSB by myself using the system clang compiler. I use psvb v5.1.2 and only enable paraview and qt. I compile with export VERBOSE=1 It is known, that qt4 does not compile any more with clang on OSX. The standard qt5 version in

Re: [Paraview] Superbuild repo change?

2017-02-15 Thread Fabian Wein
> I did a fresh pull of the ParaView superbuild repository, and now I can’t do > a clean build of PV 5.2.0 on my Mac (OSX 10.9.5). > > First, I had to remove the entries for “qt” and “scipy“ in the CMakeLists.txt: .. > After removing those entries, the cmake completes and the build starts

[Paraview] Strange error building paraview-superbuild als nightly build

2017-01-19 Thread Fabian Wein
Hello, I have a strange error. The issue is not very important, just a nice to have. I have a simple project building paraview-superbuild as external project which includes applying two simple patches (add building of the libs boost_filesystem and hdf5_cpp) and our external plugin. When

[Paraview] packing superbuild 5.2 fails on openSUSE due to ldconfig

2017-01-17 Thread Fabian Wein
ctest -R cpack fails on openSUSE but works on Ubuntu CMake Error at /home/fwein/code/cfs_paraview/metabuild/build/cpack/paraview/TGZ/build/cmake_install.cmake:46 (message): Failed to install pvdataserver: Traceback (most recent call last): File

Re: [Paraview] Strange error building paraview-superbuild als nightly build

2017-01-19 Thread Fabian Wein
thank you very much for the hint. I solved it via set(CTEST_BUILD_COMMAND „/usr/bin/make") in the .ctest file. Fabian > Am 19.01.2017 um 17:26 schrieb Ben Boeckel <ben.boec...@kitware.com>: > > On Thu, Jan 19, 2017 at 11:35:30 +0100, Fabian Wein wrote: >> I have

[Paraview] PV 5.3-RC.2 build error on macOS 10.12

2017-02-26 Thread Fabian Wein
I raised the following issue: https://gitlab.kitware.com/paraview/paraview-superbuild/issues/47 First I build the current superbuild master on macOS 10.12 which built PV 5.2 with qt 5.8.0 without problems. Then I switched the source to PV 5.3-RC.2 and got the following error 89%] Building

Re: [Paraview] PV 5.3-RC.2 build error on macOS 10.12

2017-02-26 Thread Fabian Wein
or something like that. > > On Sun, Feb 26, 2017 at 4:25 AM, Fabian Wein <fabian.w...@fau.de> wrote: >> I raised the following issue: >> https://gitlab.kitware.com/paraview/paraview-superbuild/issues/47 >> >> First I build the current superbuild master on macOS 10.12

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-20 Thread Fabian Wein
Are you interested in superbuild tests, too? Or do you want to skip that issue for the time 5.2 is released? On macOS 10.12 Sierra I have problems building qt5: superbuild fails with the output below but building qt5 manually seems to work (at least it builds for a longer time up to now) On

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
ns available. For your case I would > guess `macosx10.12` is the correct value. Qt looks up the path to the SDK > from that string. > > HTH, > Shawn > > On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein <fabian.w...@fau.de> wrote: > I added a lot of the stuff to the iss

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
Am 21.10.2016 um 16:11 schrieb Fabian Wein <fabian.w...@fau.de>: > > Did not work: > > -DCMAKE_OSX_SDK=macosx10.12 > > in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON > -DENABLE_qt5=ON -Dsuperbuild_download_location=~/tmp/pvsb_downloads >

Re: [Paraview] ParaView 5.2 Release Candidate 2 available for download

2016-10-21 Thread Fabian Wein
SDKs: >> tvOS 10.0 -sdk appletvos10.0 >> >> tvOS Simulator SDKs: >> Simulator - tvOS 10.0 -sdk appletvsimulator10.0 >> >> watchOS SDKs: >> watchOS 3.0 -sdk watchos3.0 >> >>

[Paraview] building qt via paraview-superbuild on macOS 10.12 still fails

2016-12-15 Thread Fabian Wein
Yesterday qt 5.7.1 was released but I still have issues building qt via pvsb while building qt everywhere manually with the very same configure options just works. configuring qt manually results in linker calls like clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot … When I

[Paraview] Question on compiling external plugins with 5.2

2016-12-30 Thread Fabian Wein
Hello, we have a legacy implementation of a PV reader plugin which is patched into the PV code. I want to refactor this approach to an external plugin. In https://gitlab.kitware.com/paraview/paraview-superbuild it says: - External plugins The superbuild supports building more plugins into

[Paraview] ParaViewConfig.cmake created too late with ENABLE_paraviewpluginsexternal

2017-01-05 Thread Fabian Wein
I think there is still an issue building plugins via -DENABLE_paraviewpluginsexternal:BOOL=ON when building paraview-superbuild. cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON -DENABLE_hdf5:BOOL=ON

Re: [Paraview] Question on compiling external plugins with 5.2

2017-01-02 Thread Fabian Wein
: ENABLE_paraviewexternalplugins … I should have written, that I tried some variants before. Fabian > Am 02.01.2017 um 20:01 schrieb Ben Boeckel <ben.boec...@kitware.com>: > > On Fri, Dec 30, 2016 at 23:48:52 +0100, Fabian Wein wrote: >> • enable_paraviewexternalplugins:BOOL=ON: Enables bu

[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?

[Paraview] git question on paraview-superbuild master

2016-12-22 Thread Fabian Wein
I have a question, which is probably related to my lack of experience with git: https://gitlab.kitware.com/paraview/common-superbuild/blob/master/versions.cmake contains the line set(qt5_ver "${qt5_ver_series}.1") However, when I follow

[Paraview] changing color of coordinate system arrows

2017-03-29 Thread Fabian Wein
Is it possible to change the colors of the coordinate system arrows? The yellow one is not that clear visible on a white background. Thanks, Fabian ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [Paraview] changing color of coordinate system arrows

2017-03-29 Thread Fabian Wein
fairly > straight forward to support. > > Utkarsh > > On Wed, Mar 29, 2017 at 11:00 AM, Fabian Wein <fabian.w...@fau.de> wrote: > Is it possible to change the colors of the coordinate system arrows? The > yellow one is not that clear visible on a white bac

Re: [Paraview] ParaView 5.3.0 released

2017-03-14 Thread Fabian Wein
lease-notes/ Please add the tag to the superbuild. BTW: My whole office is grateful for the reload (F5) and autoscaled warping of PV 5.2 (at least compared to PV 5.0)!! :) Thanks to the folks at kitware for the really cool software! Fabian Dr. Fabian Wein ZISC - Zentralinstitut für wissenschaftli

Re: [Paraview] ParaView 5.3.0 released

2017-03-15 Thread Fabian Wein
own to git. Fabian On 03/15/17 02:21, Cory Quammen wrote: git fetch --tags origin git checkout v5.3.0 On Tue, Mar 14, 2017 at 6:06 PM, Fabian Wein <fabian.w...@fau.de> wrote: The superbuild was tagged with v5.3.0 this morning. I just did git clone —recursive https://gitlab.kitware.com

Re: [Paraview] error when building ffmpeg

2017-04-13 Thread Fabian Wein
Hi, for me it appears you are not using superbuild. I suggest you try to build PV with superbuild: https://gitlab.kitware.com/paraview/paraview-superbuild/ Fabian > Am 12.04.2017 um 19:13 schrieb Hedieh Ebrahimi : > > Hi all, > > when buiding paraview I get the

Re: [Paraview] error when building ffmpeg

2017-04-13 Thread Fabian Wein
that will make this work or there > are more steps I would need to take? > > I´d appreciate your help, > > > > Hedieh Ebrahimi > Consultant > > > > > > > > On 13 April 2017 at 11:48, Fabian Wein <fabian.w...@fau.de> wrote: > You

Re: [Paraview] error when building ffmpeg

2017-04-13 Thread Fabian Wein
nks in Advance, > > Hedieh Ebrahimi > Consultant > > > > > > > > On 13 April 2017 at 12:03, Fabian Wein <fabian.w...@fau.de> wrote: > Superbuild allows to build distributable packages via ctest -R cpack and we > share these. So I never had to i

Re: [Paraview] ParaView 5.3.0 and Qt5 linking error

2017-04-21 Thread Fabian Wein
Hi, in case you want to use superbuild, gcc 6.3.1 compiles qt 5.8.0 from PV 5.3 for me without any problems. Why do you want to use precompiled qt? On a fast Linux I build PV 5.3 superbuild with qt in ~30 min. If you want to compile qt-everywhere manually be warned, a plain configure took

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-25 Thread Fabian Wein
I've pushed an MR for the common-superbuild here: Ben, thank you! So the current master will have the upgrade within a few days? Cheers, Fabian ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-24 Thread Fabian Wein
Hello to the list, I have openSUSE tumbleweed with gcc 7.2.1 fontconfig 2.12.1 does not compile with the error at the end of this mail. Building the current fontconfig 2.12.6 works for me, maybe the version could be upgraded? Regards, Fabian Here is the error: Performing build step for

Re: [Paraview] superbuild: fontconfig too old to compile (current does)

2017-10-29 Thread Fabian Wein
I could not find the build error in the link. The earliest version that builds for my gcc 7.2.1 is fontconfig-2.12.4, maybe this is a „compromise“? Thanks, Fabian > Am 25.10.2017 um 15:13 schrieb Ben Boeckel <ben.boec...@kitware.com>: > > On Wed, Oct 25, 2017 at 13:35:51 +02

Re: [Paraview] Parview Build Faulure on Mac OS 10.12.6

2017-12-21 Thread Fabian Wein
First question: do you use the superbuild? On 12/22/17 00:37, Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC] wrote: Helo,  I’ve been working through some issues compiling on a new MAC but this one has me stuck.   I used CMAKE 3.10 to generate xcodebuild files for paraview 5.4. Any ideas?

Re: [Paraview] undefined symbol: PyUnicodeUCS2_AsEncodedString

2018-02-02 Thread Fabian Wein
Hi Shawn, It looks to me like you built against a Python that was configured with UCS2 unicode objects and are linking to a Python that was configured with UCS4 unicode objects.  Python is not ABI-compatible with other Pythons that were built with a different kind of unicode support. I

[Paraview] undefined symbol: PyUnicodeUCS2_AsEncodedString

2018-02-02 Thread Fabian Wein
I build latest head of paraview-superbuild with Python enabled and USE_SYSTEM_PYTHON=OFF on a openSUSE Tumbleweed system I get the following error Scanning dependencies of target CinemaPython [ 2%] Copying files for Python package 'cinema_python' [ 2%] Compiling Python package 'cinema_python'

Re: [Paraview] FEM solver interfaced with Paraview

2018-02-05 Thread Fabian Wein
of the following questions have probably ever been asked, but: 1. What is the best format to create a result file readable by Paraview, especially for huge file? after some readings, VTK XML format seems to be the most interesting (parallelization capabilities) compared to the legacy VTK