[vtkusers] problems in the volume calculation with vtkMassProperties

Bill Lorensen bill.lorensen at gmail.com
Wed Dec 3 12:29:35 EST 2014


1) What is the resolution of your sphere?
2) You cannot compute the volume of an open object.



On Wed, Dec 3, 2014 at 9:26 AM, -Daniel- <ich_daniel at habmalnefrage.de> wrote:
> Hi,
> I try to calculate volumes with vtkMassProperties.
> Here, I noticed the following. Look on the screenshot the sphere (radius of
> 10) has a volume of 4.178 and the colored Polydata has a volume of 12.454 .
>
> <http://vtk.1045678.n5.nabble.com/file/n5729649/volumina1.jpg>
> <http://vtk.1045678.n5.nabble.com/file/n5729649/volumina2.jpg>
>
> Actually, the sphere should have a much larger volume (visual seen).
> Is it because that the colored object is not closed?
> How can I calculate the correct volume-result of the colored object ?
>
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/problems-in-the-volume-calculation-with-vtkMassProperties-tp5729649.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list