{"action":"opened","issue":{"url":"https://api.github.com/repos/imagej/imagej-plugins-commands/issues/22","labels_url":"https://api.github.com/repos/imagej/imagej-plugins-commands/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/imagej/imagej-plugins-commands/issues/22/comments","events_url":"https://api.github.com/repos/imagej/imagej-plugins-commands/issues/22/events","html_url":"https://github.com/imagej/imagej-plugins-commands/issues/22","id":58617063,"number":22,"title":"Utilize PlanarCommand interface","user":{"login":"ctrueden","id":556626,"avatar_url":"https://avatars.githubusercontent.com/u/556626?v=3","gravatar_id":"","url":"https://api.github.com/users/ctrueden","html_url":"https://github.com/ctrueden","followers_url":"https://api.github.com/users/ctrueden/followers","following_url":"https://api.github.com/users/ctrueden/following{/other_user}","gists_url":"https://api.github.com/users/ctrueden/gists{/gist_id}","starred_url":"https://api.github.com/users/ctrueden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctrueden/subscriptions","organizations_url":"https://api.github.com/users/ctrueden/orgs","repos_url":"https://api.github.com/users/ctrueden/repos","events_url":"https://api.github.com/users/ctrueden/events{/privacy}","received_events_url":"https://api.github.com/users/ctrueden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T17:14:26Z","updated_at":"2015-02-23T17:14:26Z","closed_at":null,"body":"hinerm has hatched a PlanarCommand interface that allows us to simplify development of plugins that work a plane at a time (for 1 plane or all). We should use this in some of our plugins (like the various math ops plugins). \r\n\r\nIn the math ops plugins there are a couple base classes. And they constrain things to work one plane or all and within the roi or within whole plane via PointSets. We may need to create an adapter class between intervals and PointSets. Or maybe avoid the existing ImageAssignment code in favor of a cursor approach (which could lose parallelism). Or use the new point set implementations in the roi-experiments branch. (Especially the BoundConditionalPointset with the UVInsideRoiCondition when necessary)\n\nMigrated-From: http://trac.imagej.net/ticket/1884"}}