[vtkusers] vtkMassProperties
Hendrik Belitz
h.belitz at fz-juelich.de
Wed Nov 2 08:29:39 EST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051102/aa5f4829/attachment.pgp>
More information about the vtkusers
mailing list