Hi,
in a programmable Filter do something like this:
import math
input = self.GetInputDataObject(0, 0)
output = self.GetOutputDataObject(0)
COUNT=input.GetNumberOfPoints()
pd=input.GetPointData()
m=0
v=0
for i in xrange(COUNT):
r=pd.GetArray('radius').GetValue(i)
v=v+((4.0/3.0)*math.
Hello,
I'm trying to calculate volumes that I'm generating, how they change over time.
To get the volume, I do Polydata -> Gaussian Resampling -> IsoVolume ->
Integrate Variables, Cell Data, and the results are pretty good. I want to get
this data for every timestep, e.g. in a table that I ca
At this point the changes will have to wait, unfortunately. For the past
two weeks I've been involved with a TopoInVis submission so I couldn't get
around to it. I'll look at it this weekend. No need to wait for me.
On Thu, Nov 1, 2012 at 10:29 AM, Andy Bauer wrote:
> We're getting ready for
Also I'm removing Jimmy from this list since he may not be working with
wind files at this point.
Sohail
On Sat, Nov 3, 2012 at 1:15 PM, Sohail Shafii wrote:
> At this point the changes will have to wait, unfortunately. For the past
> two weeks I've been involved with a TopoInVis submission so
Still more problems building...
I have python wrapping turned on, and it built fine. But I tried to run a
programmable filter that uses vtk.vtkExtractGrid() and it says it doesn't exist
in the module.
So I looked through the CMakeCache.txt and Module_vtkFiltersGeneral and
Module_vtkFiltersEx