<div>Hello! </div>
<div> </div>
<div>Anyone knows how can I get the volume of a triangulated data model?</div>
<div>I tried something like this</div>
<div><font size="2"></font> </div>
<div><font size="2">...</font></div>
<div><font size="2">vtkMassProperties *mass = vtkMassProperties::New();</font></div>
<div><font size="2">mass->SetInput(polyData);</font></div>
<div><font size="2">mass->Update();</font></div>
<div><font size="2">volumeTot=mass->GetVolume();</font></div>
<div><font size="2">...</font></div>
<div><font size="2"></font> </div>
<div><font size="2">But the value its not correct... Anyone has any ideas?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Best Regards</font></div>
<div><font size="2">Ricardo Seco</font></div>
<div><font size="2">University of Aveiro</font></div>