Hi all, I have been reading the ?Interaction and Undo/Redo concepts? page, because I am developing a functionality and I need to show the statistics related to a given segmented object.
My idea is to print the data when the user clicks on the segmented object. There are several different segmented objects on the image, so the user would click on one voxel and the functionality would show the statistics of the object containing that voxel. I think that I have to add a listener to the GlobalInteraction object that would trigger some action when the mouse is clicked. But then, I am not sure how to continue: Option 1: if the listener is a CoordinateSupplier, it has a method called GetCurrentPoint. But I do not see how I can trigger another method in my functionality class that would get that point once it is available. Option 2: I could create a new StateMachine, somehow similar to CoordinateSupplier, with the added code to show the statistics of the object to which the clicked voxel belongs to. But then, what should I set as ?OperationActor? in the constructor of this class? What does the sentence ?the Data, operations (+ points) are send to? in the documentation mean? I would be very grateful if somebody could give any little hint. Regards, Xabier -- Xabier Artaechevarria Cancer Imaging Laboratory Centre for Applied Medical Research www.cima.es ---------------------------------------------------------------- Este mensaje ha sido enviado desde https://webmail.unav.es ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
