Hi Andreas,

since it was one month ago, I have already implemented "something"  
that allows me to have the feature I was looking for. Probably is not  
the most elegant way but, until now, it accomplishes my requirements.

I am using the Pointset and its PointSetInteractor, but with the  
difference that, each time that I want to add a new line, the last  
Interactor is removed (and the DataNodes containing the seeds  
information stored in an array), and a new Pointset and  
PointSetInteractor are created, linked and stored in the main  
DataStorage. Moreover, to draw the contours I use the DataNode  
properties as follows:

         pointSetSeedsNode->SetBoolProperty("show points", false);
         pointSetSeedsNode->SetBoolProperty("show contour", true);
        pointSetSeedsNode->SetProperty("contourcolor",  
mitk::ColorProperty::New(0.f, 0.f,1.f));
        pointSetSeedsNode->SetProperty("line width",   
mitk::IntProperty::New(lineWidth));

With this basis, and some tricky implementations I am now able to draw  
lines, remove last line (or last ones), add them again, clean all the  
lines and so on.

Regards and thank you for your reply.





------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to