Re: [Paraview] compiling master from git, problem on debian machine

2011-02-16 Thread Ricardo Reis
Just to add the problema was solved. I've rerun ccmake and replaced the default value of the variable CMAKE_CXX_COMPILER=/usr/bin/c++ by CMAKE_CXX_COMPILER=/usr/bin/mpic++ and it compile without any problem. best regards, Ricardo Reis 'Non Serviam' PhD candidate @ Lasef

Re: [Paraview] compiling master from git, problem on debian machine

2011-02-16 Thread Ricardo Reis
On Tue, 15 Feb 2011, David Partyka wrote: Hi Ricardo, Your errors are pretty strange. What debian are you using? Is your MPI from the package manager? yes... 2011.02.16 11:56:19 rreis@umdrum: ~ 5001.0 $ dpkg -l | grep openmpi rc libhdf5-openmpi-1.6.6-0 1.6.6-4

Re: [Paraview] build ParaView git on Windows7 64bit + MSVC2010 with vtkPythonCore errors

2011-02-16 Thread Xunlei Wu
Hi David and Rob, Just want to add another data point. I have rebuild ParaView from git source with MSVC2008 instead. Everything else is the same with what I was reporting before. Enthought Python 7.0.1 64bit is used. All the python flags in Cmake are turned on. PYTHON_DEBUG_LIBRARY is left

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
Almost there! atan(coordsX/coordsY) If instead of coordsX I use psi__{X,Y}, things work. However, I need something slightly different than atan: I'd like to get the complex argument of a complex number X+iY (i.e., the angle with the positive real axis). It's quite ~similar~ to what atan does,

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Tim Gallagher
You can use the Python Calculator, which will let you use any valid Python expression -- such as math.atan2(). Tim - Original Message - From: Nico Schlömer nico.schloe...@gmail.com To: Andy Bauer andy.ba...@kitware.com Cc: paraview@paraview.org Sent: Wednesday, February 16, 2011 8:29:02

[Paraview] time stepper: don't show every step?

2011-02-16 Thread Nico Schlömer
Hi all, I have a data file with many time steps and I'd like to quickly browse through it. Right now, the only thing I can do is click play and see ParaView loop through each and every time step. This can take a long time, particularly for complex data were rendering a frame takes a long time. I

Re: [Paraview] time stepper: don't show every step?

2011-02-16 Thread David E DeMarle
Good idea. We don't have exactly that feature yet, so please submit a request on user-voice for it. In the meantime, open the Animation View and change the Mode from Snap To TimeSteps to Sequence. You can get nearly the same effect with that. David E DeMarle Kitware, Inc. RD Engineer 28

[Paraview] How to choose 2 input arrays

2011-02-16 Thread Rafael Küng
Hi all I would like to write a filter where i can select 2 arrays of the input polydata in the gui (for advanced filtering options, simply aplying the filter twice wouldn't help) I did get the filter running with one selection ability like this: vtkTrackFilter.cxx -- ...

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
That sounds *exactly* like what I need. Great! I'm having problems selecting the data sets though: Where atan(psi__Y/psi__X) works with the calculator filter, math.atan2( psi__Y, psi__X) fails in the PythonCalculator with == *snip* == Traceback (most recent call last):

Re: [Paraview] build ParaView git on Windows7 64bit + MSVC2010 with vtkPythonCore errors

2011-02-16 Thread David Partyka
Hi Xunlei, we just checked in a change into paraview/vtk that should fix this. As you noticed python forces a header link to python27_d.lib when building debug. To get around this (because most python packages for windows don't come with debug python libraries), we undefine _DEBUG, include

Re: [Paraview] Saving Images

2011-02-16 Thread Moreland, Kenneth
Utkarsh, I'm guessing that this is more problems with the padding that is added when saving animations. I'm guessing that the padding is added because graphics cards sometimes do weird things to polygons that cross the viewport, and this causes noticeable artifacts when tiling images. I

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Andy Bauer
Hmm, I tried extracting out the components using the Calculator filter and then using the PythonCalculator filter to do that math.atan2 function. Underneath the covers I believe there is a conversion from a vtkDataArray to a numpy array and then back again. I don't think this is getting done for

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Nico Schlömer
the math.atan2 function (it's not listed in the web page of python calculator functions) So the Python Calculator only allows for the functions listed on the webpage? That'd be quite limiting, really. The expression dot( psi_, psi_ ) works, for example (and 'dot' is listed, too). Well

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread Tim Gallagher
To access the components of the vector, you have to first pass it through a regular Calculator filter where the result is just the component you want. So you would need to go through two regular Calculator filters, one to extract each component. As for accessing more functions, I guess you're

Re: [Paraview] unstructured grid, programmable filters: extract, process array data

2011-02-16 Thread David E DeMarle
From: http://paraview.org/Wiki/ParaView/Users_Guide/Python_Programmable_Filter#Mixing_VTK_and_NumPy_APIs The secret to conversion is in paraview.vtk.dataset_adapter. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Wed, Feb