[vtkusers] volume and surface area

Abdalmajeid Alyassin alyassin at yu.edu.jo
Tue Nov 1 03:06:27 EST 2005


Frnard,

in additon to Caharl said, just make sure the vtkPolyData is triangulated
before feeding it to the vtkMassProperties.

Majeid

> ------------------------------
>
> Message: 7
> Date: Mon, 31 Oct 2005 05:36:25 -0800 (PST)
> From: Frnard Cimary <frnard80 at yahoo.com>
> Subject: [vtkusers] volume and surface area
> To: vtkusers at vtk.org
> Message-ID: <20051031133625.84021.qmail at web33202.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Dear VTK Users,
>
> Does anyone know how to determine the volume and
> surface area of an isosurface.
>
> I would really appreciate if someone can help me with
> this ASAP.
>
> Thank you in advance, Frnard.
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 31 Oct 2005 14:43:42 +0100
> From: "Charl P. Botha" <cpbotha at gmail.com>
> Subject: Re: [vtkusers] volume and surface area
> To: Frnard Cimary <frnard80 at yahoo.com>
> Cc: vtkusers at vtk.org
> Message-ID:
> <8e138ee40510310543rce531ffx1ac01f2550044384 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 10/31/05, Frnard Cimary <frnard80 at yahoo.com> wrote:
> > Does anyone know how to determine the volume and
> > surface area of an isosurface.
>
> vtkMassProperties can do this.  See
> http://www.vtk.org/doc/nightly/html/classvtkMassProperties.html
>
> --
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>
>
> ------------------------------
>
> Message: 9
> Date: Mon, 31 Oct 2005 05:56:15 -0800 (PST)
> From: Frnard Cimary <frnard80 at yahoo.com>
> Subject: Re: [vtkusers] volume and surface area
> To: vtkusers at vtk.org
> Cc: cpbotha at gmail.com
> Message-ID: <20051031135615.64977.qmail at web33213.mail.mud.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> Thanks Charl, I already checked that. Can you provide
> me with a simple example on how to use
> vtkMassProperties ? I couldn't understand the .tcl
> example avilable.
>
> Frnard.
>
> --- Frnard Cimary <frnard80 at yahoo.com> wrote:
>
> > Dear VTK Users,
> >
> > Does anyone know how to determine the volume and
> > surface area of an isosurface.
> >
> > I would really appreciate if someone can help me
> > with
> > this ASAP.
> >
> > Thank you in advance, Frnard.
> >
> >
> >
> >
> > __________________________________
> > Yahoo! Mail - PC Magazine Editors' Choice 2005
> > http://mail.yahoo.com
> > _______________________________________________
> > 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! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>
>
> ------------------------------
>
> Message: 10
> Date: Mon, 31 Oct 2005 15:25:02 +0100
> From: "Charl P. Botha" <cpbotha at cpbotha.net>
> Subject: Re: [vtkusers] volume and surface area
> To: Frnard Cimary <frnard80 at yahoo.com>
> Cc: vtkusers at vtk.org
> Message-ID:
> <8e138ee40510310625m57194f93m691ed7220f1805cc at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 10/31/05, Frnard Cimary <frnard80 at yahoo.com> wrote:
> > Thanks Charl, I already checked that. Can you provide
> > me with a simple example on how to use
> > vtkMassProperties ? I couldn't understand the .tcl
> > example avilable.
>
> That's left as an exercise for the reader.  In short, you connect a
> vtkPolyData to the vtkMassProperties input, and then you call the
> various documented methods such as GetSurfaceArea() to get the
> relevant parameters.
>
> Good luck,
> Charl
>
> --
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 18, Issue 32
> ****************************************




More information about the vtkusers mailing list