[vtkusers] Problems with massProperties at getting area from ContourWidget

David Doria daviddoria at gmail.com
Mon Dec 3 15:30:12 EST 2012


On Mon, Dec 3, 2012 at 3:26 PM, Rodrigo Lovera <lobo.theslayer at gmail.com> wrote:
> But, how could I get the polygon out of a contour?? I mean applying the
> contour widget lets you define points and you can close that to forma a 2D
> contour. Once that's finished how to get the polygon out of that contour??

Like you had done, right?

contourRep->GetContourRepresentationAsPolyData()

David



More information about the vtkusers mailing list