Hi Berk,<div>Sorry about that. I thought I could simply replace vtkMassProperties with vtkIntegrateAttributes and it would work.<div>I was previously attaching the vtkIntegrateAttributes after my geometry filter (this was the  for vtkMassProperties), but now I've changed my pipeline to attach the vtkIntegrateAttributes filter to the output of the source.</div>

<div>This however it is resulting in an error .</div><div>No integrated pointdata arrays are calculated and the only celldata array is null, even though vtkIntegrateAttributes.GetOutputPort().GetCellData().GetNumberOfArrays() returns 1. </div>

<div><br></div><div>This is what my pipeline looks like:</div><div>vtkMultiBlockDataSetAlgorithm</div><div>vtkArrayCalculator</div><div>vtkClipDataset</div><div>vtkIntegrateAttributes</div><div><br></div><div>Any suggestions?</div>

<div>Gerrick</div><div><br></div><div><br></div><div><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:45 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am not sure I follow. IntegrateAttributes should not produce a<br>
volume if you apply it on a surface (i.e. polydata). It should produce<br>
an area. It can only calculate the volume of 3D cells.<br>
<br>
-berk<br>
<div><div></div><div class="h5"><br>
On Thu, Nov 12, 2009 at 12:37 PM, Gerrick Bivins<br>
<<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>> wrote:<br>
> Hi All,<br>
> I'm looking @ using the class vtkIntegrateAttributes (currently in Paraview)<br>
> instead of vtkMassProperties to calculate the volume of datasets.<br>
> I'm wondering why vtkIntegrateAttributes doesn't calculate the volume of a<br>
> closed surface outside of paraview but when used in paraview, it reports the<br>
> volume.<br>
> Also, why isn't the filter able to calculate the volume of a closed surface?<br>
> Thanks for any input here,<br>
> Gerrick<br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
><br>
</blockquote></div><br></div></div>