[Paraview] SetActiveVectors with paraview.simple

2011-09-29 Thread Oliver Borm
Hello, according to (the closed) bug 7387 the vtkTransformFilter is only able (by design) to transform one "active" vector. From my point of view, this seems to be a limitation of the virtual function TransformPointsNormalsVectors(), as this function can only handle one result vector and one Norma

[Paraview] Register animation keyframes and cues in GUI

2010-01-21 Thread Oliver Borm
Hello, I've played the animation from http://www.paraview.org/Wiki/Animation without any problems in the GUI. But the keyframes and the KeyFrameAnimationCue is not not registered in the GUI and thus not visible as a track in the Animation View. I've tried to register them by hand either in the ani

Re: [Paraview] [Bug?] Transform Filter does not transform vectors in point data

2010-01-13 Thread Oliver Borm
I just want to pick up the discussion about the transformation of vectors with the transform filter. As stated in bug 7387, only the "active" vectors are transformed properly. As I tried from my simple test case (see attachment), "active" vectors just means the last vector in the vector list is pro

Re: [Paraview] Saving screen shots of multiple views from an animation with python

2010-01-12 Thread Oliver Borm
Thanks a lot, this would be an option. As in that case, a reinvokation of the pipeline is also not needed for each view. * Run the animation manually (still using the animation scene) and save the views yourself. >> Do you mean to run the animation with scene.Play() and the

Re: [Paraview] Saving screen shots of multiple views from an animation with python

2010-01-12 Thread Oliver Borm
Thank's for the replies. Utkarsh Ayachit schrieb: >> * Run the animation multiple times, one for each view. I am guessing that >> there >> is a way of setting which view is saved. >> > > To pick just of the two views, only add one of the two views to the > scene i.e.scene.ViewModules = [view

[Paraview] Saving screen shots of multiple views from an animation with python

2010-01-11 Thread Oliver Borm
Hello, is it possible to save the screen shots of multiple views from an animation in different images with python? In the GUI this is possible, when two views are open. But the two views are saved within one image, which is not really optimal for further post-processing. I've tried to do the same

Re: [Paraview] pythonnurbs inside ProgrammableFilter

2010-01-11 Thread Oliver Borm
Berk Geveci schrieb: > What happens if you put all of these in a function and call that > function twice? That's what the GUI does. > > -berk > > On Fri, Jan 8, 2010 at 11:34 AM, Oliver Borm wrote: > >> It just works: >> >> ~ $ pvpython >> P

Re: [Paraview] pythonnurbs inside ProgrammableFilter

2010-01-08 Thread Oliver Borm
t3Dd(100.0,0.0,0.0) >>> print point.getx() 100.0 >>> point = NurbsPoint.Point3Dd(0.0,0.0,0.0) >>> print point.getx() 0.0 >>> print(point) > >>> point.setx(25.0) >>> print point.getx() 25.0 >>> Berk Geveci schrieb: > What happens i

Re: [Paraview] pythonnurbs inside ProgrammableFilter

2010-01-08 Thread Oliver Borm
oint.Point3Dd(0.0,0.0,0.0) > returns the first time and the second time? > > > On Fri, Jan 8, 2010 at 9:49 AM, Oliver Borm wrote: > >> Do you mean the source code of pythonnurbs or my test code? Pythonnurbs >> itself is a python binding of the NURBS++ library using SWIG.

Re: [Paraview] pythonnurbs inside ProgrammableFilter

2010-01-08 Thread Oliver Borm
> > On Fri, Jan 8, 2010 at 4:12 AM, Oliver Borm wrote: > >> Hello, >> >> I am using pythonnurbs from http://pypi.python.org/pypi/PythonNURBS in >> conjunction with the python bindings from vtk. As a standalone script it >> works perfectly, but if I want to

[Paraview] pythonnurbs inside ProgrammableFilter

2010-01-08 Thread Oliver Borm
ce a time). The error message is not very helpful, as it says that this method is not implemented in the way I'm using it. But that is not correct. Does anybody has an idea what's the real problem? At first one could expect the problem is in pythonnurbs (maybe it is, but not in the w

[Paraview] Periodic End Correction Option in Temporal Shift Scale

2010-01-05 Thread Oliver Borm
Hello, the Periodic End Correction Option in Temporal Shift Scale Filter doesn't seem to have any influence to the rendering. According to the vtk documentation ( http://www.vtk.org/doc/nightly/html/classvtkTemporalShiftScale.html#a6841f89f32bb3393bcaf14eae7c197ca ) one should choose between a 0,1