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&#39;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">&lt;<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>&gt;</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>
&lt;<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>&gt; wrote:<br>
&gt; Hi All,<br>
&gt; I&#39;m looking @ using the class vtkIntegrateAttributes (currently in Paraview)<br>
&gt; instead of vtkMassProperties to calculate the volume of datasets.<br>
&gt; I&#39;m wondering why vtkIntegrateAttributes doesn&#39;t calculate the volume of a<br>
&gt; closed surface outside of paraview but when used in paraview, it reports the<br>
&gt; volume.<br>
&gt; Also, why isn&#39;t the filter able to calculate the volume of a closed surface?<br>
&gt; Thanks for any input here,<br>
&gt; Gerrick<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div></div>