[vtkusers] vtkMassProperties

Ziad Rahhal ziz79 at yahoo.com
Wed Nov 2 12:28:45 EST 2005


Hi Hendrik,

I did what you told me and it is attached again, but I
am still having the same result wich is 0. But if I
connect vtkMassProperties directly to skinExtractor
(vtkContourFilter) it does works, but I guess this
should not be the solution.

Thanks again,

Ziad

--- Hendrik Belitz <h.belitz at fz-juelich.de> wrote:

> Am Mittwoch, 2. November 2005 14:18 schrieb Ziad
> Rahhal:
> > Dear vtk users,
> >
> > I am trying to use vtkMassProperties class in
> order to
> > get the Surface and the Volume of an isosurface
> > constructed from a CT.
> > The outputs of GetVolume() and GetSurfaceArea()
> are 0.
> >
> > Does anyone know the problem? The code is
> attached, it
> > is just a simple test that I am doing.
> 
> You should call mass->Update() to update all
> processing items of the pipeline 
> before calling any accessor methods like the above.
> 
> Regards
>  Hendrik
> 
>
-------------------------------------------------------------------------------------
> Dipl.-Inform. Hendrik Belitz
> Central Institute of Electronics / Zentralinstitut
> für Elektronik 
>  Multimodal image processing workgroup / AG
> Multimodale Bildverarbeitung
> Research Center Juelich / Forschungszentrum Jülich
> GmbH
> D-52428 Jülich, Germany
> Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
> email: h.belitz at fz-juelich.de
> ggp-key available via http://pgpkeys.pca.dfn.de
> > _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: surfaceVol.cxx
Type: application/octet-stream
Size: 2830 bytes
Desc: 3338507508-surfaceVol.cxx
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051102/14c5c4e0/attachment.obj>


More information about the vtkusers mailing list