[vtkusers] Write a PolygonPolydata
Nens
nicolas.narbonne at gmail.com
Tue Jan 21 09:06:57 EST 2014
Hi,
Sorry, i am a recent french developper, so i try to be explicit but it
doesn't work obviously.
I want this :
- In the user interface, create, in real time, a mask for the image of the
qvtkwidget.
User create the mask by clicking on the qVtkWidget in order to form a
polygon. After each click, we show him the current polygon that he form.
- Save a black and white png image file of the mask in the hard drive. The
white part in the polygon that user create. The background (black) have
dimension of the image.
Here my current test project :
main.cpp <http://vtk.1045678.n5.nabble.com/file/n5725528/main.cpp>
mainwindowmask.cpp
<http://vtk.1045678.n5.nabble.com/file/n5725528/mainwindowmask.cpp>
mainwindowmask.h
<http://vtk.1045678.n5.nabble.com/file/n5725528/mainwindowmask.h>
test_mask.pro <http://vtk.1045678.n5.nabble.com/file/n5725528/test_mask.pro>
mainwindowmask.ui
<http://vtk.1045678.n5.nabble.com/file/n5725528/mainwindowmask.ui>
Ask me questions if you need.
Thank you.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Write-a-PolygonPolydata-tp5725437p5725528.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list