Hi,
On Tue, 18 Jul 2006, ytsejam11 wrote:
> i'm writing a plug-in that needs to paint different ROIs for each slice.
> How can i save every ROI and show it only when i'm in the right slice?
You need to listen to changes of StackWindow's sliceSelector (see attached
plugin for a proof of concept).
HOWEVER, most likely you want more: If you _fill_ the Roi, it only fills
in the current window, _not_ on the whole stack. You have to reimplement
this functionality (either as macro, or as plugin).
Hth,
Dscho