Re: [Paraview] Calculator speed

2008-09-11 Thread Berk Geveci
(assuming you are using cvs paraview) In the programmable filter, you can do something like: from paraview import numpy_support input = self.GetInputDataObject(0, 0) ar = numpy_support.vtk_to_numpy(input.GetPointData().GetArray(pressure)) ar2 = ar*2 newArray = nump7_support.numpy_to_vtk(ar2,

Re: [Paraview] Calculator speed

2008-09-11 Thread Weirs, V Gregory
Dig it. Is numpy_support documented anywhere? Thanks, Greg On 9/11/08 10:31 AM, Berk Geveci [EMAIL PROTECTED] wrote: (assuming you are using cvs paraview) In the programmable filter, you can do something like: from paraview import numpy_support input = self.GetInputDataObject(0, 0) ar =

[Paraview] Adding Keyframes with no recognition of zooming

2008-09-11 Thread Patrick Shane Calhoun
Hello, I am currently running Paraview 3.2.1 on Redhat Linux version 5.2 and I have run into a possible bug while I zoom in and out and add keyframes to make a video. Using the animation inspector with my selected object as the Camera, whenever I zoom in or out and try to add a keyframe, the

Re: [Paraview] Calculator speed

2008-09-11 Thread Berk Geveci
It will be once we update the wiki pages :-) On Thu, Sep 11, 2008 at 1:18 PM, Weirs, V Gregory [EMAIL PROTECTED] wrote: Dig it. Is numpy_support documented anywhere? Thanks, Greg On 9/11/08 10:31 AM, Berk Geveci [EMAIL PROTECTED] wrote: (assuming you are using cvs paraview) In the

Re: [Paraview] questions concerning vtkFloatArray

2008-09-11 Thread Burlen Loring
Natalie Happenhofer wrote: Hi Burlen, thanks for your answer! No problem. I still have a few questions: -) I donĀ“t understand the structure of the vtkFloatArray (or in general, of the vtkDataArray): I have not points, but tuples? How is the data organised? You should obtain a

Re: [Paraview] Adding Keyframes with no recognition of zooming

2008-09-11 Thread Moreland, Kenneth
This looks like a bug. The camera keyframes are not recording the zoom level of a parallel projection. I submitted a bug report: http://www.paraview.org/Bug/view.php?id=7657 You can work around that problem by turning of parallel projection. -Ken On 9/11/08 11:57 AM, Patrick Shane Calhoun

Re: [Paraview] Calculator speed

2008-09-11 Thread pat marion
Or in the meantime... from paraview import numpy_support help(numpy_support) Help on module paraview.numpy_support in paraview: NAME paraview.numpy_support FILE /source/paraview/streaming-release/build/Utilities/VTKPythonWrapping/paraview/numpy_support.py DESCRIPTION This