[vtkusers] Problems with massProperties at getting area from ContourWidget

David Doria daviddoria at gmail.com
Mon Dec 3 15:42:06 EST 2012


On Mon, Dec 3, 2012 at 3:40 PM, Rodrigo Lovera <lobo.theslayer at gmail.com> wrote:
> OK, I got that poly data but one I got that into the trianglefilter and then
> to the massproperties is where that error shows up, so what I don't get is
> that step between applying
>
> contourRep->GetContourRepresentationAsPolyData()
>
> and getting the poly into the trianglefilter.

The easiest way would just be to read out the points from the line
segments produced by the widget to create the polygon like I showed.

David



More information about the vtkusers mailing list