[vtkusers] Write a PolygonPolydata

Nens nicolas.narbonne at gmail.com
Wed Jan 22 08:36:23 EST 2014


Hi,

yes, "imgstenc->GetSurface()" was an error. I replace it by
"imgstenc->GetOutput()" but nothing change and I only get a black image.
Like my code can not get the polygon.

By the way, "cout << edges->GetOutput()->GetNumberOfCells() << endl;" return
an positive value which depend of the number of click made by user.
I think that mean that my polygon isn't close.
Maybe it is the problem.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Write-a-PolygonPolydata-tp5725437p5725539.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list