{"action":"created","issue":{"url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/326","labels_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/326/comments","events_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/326/events","html_url":"https://github.com/OpenChemistry/tomviz/pull/326","id":123000025,"number":326,"title":"Move objects in the scene","user":{"login":"mathturtle","id":553788,"avatar_url":"https://avatars.githubusercontent.com/u/553788?v=3","gravatar_id":"","url":"https://api.github.com/users/mathturtle","html_url":"https://github.com/mathturtle","followers_url":"https://api.github.com/users/mathturtle/followers","following_url":"https://api.github.com/users/mathturtle/following{/other_user}","gists_url":"https://api.github.com/users/mathturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/mathturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathturtle/subscriptions","organizations_url":"https://api.github.com/users/mathturtle/orgs","repos_url":"https://api.github.com/users/mathturtle/repos","events_url":"https://api.github.com/users/mathturtle/events{/privacy}","received_events_url":"https://api.github.com/users/mathturtle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenChemistry/tomviz/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-18T18:12:11Z","updated_at":"2016-01-22T17:16:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/326","html_url":"https://github.com/OpenChemistry/tomviz/pull/326","diff_url":"https://github.com/OpenChemistry/tomviz/pull/326.diff","patch_url":"https://github.com/OpenChemistry/tomviz/pull/326.patch"},"body":"This pull request starts work on #38 by using ParaView's picking to select what is being clicked on and moving it.  Right now the behavior is always on (for testing) and if you click on something it recognizes it will move that data source.  I'm not getting mouseMove events for some reason though, so the move will not be interactive.  There are also two issues with picking (that I know of): namely that orthogonal slice and volume datasets are ignored by it (some limitation in ParaView's picking).  Also, since we don't have a representation for the vtkNonOrthogonalSliceWidget, it is ignored by the picking mechanism.\r\n\r\nAlso we are waiting on this ParaView MR: https://gitlab.kitware.com/paraview/paraview/merge_requests/539\r\n\r\n@cryos @utkarshayachit "},"comment":{"url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/comments/173981953","html_url":"https://github.com/OpenChemistry/tomviz/pull/326#issuecomment-173981953","issue_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/326","id":173981953,"user":{"login":"mathturtle","id":553788,"avatar_url":"https://avatars.githubusercontent.com/u/553788?v=3","gravatar_id":"","url":"https://api.github.com/users/mathturtle","html_url":"https://github.com/mathturtle","followers_url":"https://api.github.com/users/mathturtle/followers","following_url":"https://api.github.com/users/mathturtle/following{/other_user}","gists_url":"https://api.github.com/users/mathturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/mathturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathturtle/subscriptions","organizations_url":"https://api.github.com/users/mathturtle/orgs","repos_url":"https://api.github.com/users/mathturtle/repos","events_url":"https://api.github.com/users/mathturtle/events{/privacy}","received_events_url":"https://api.github.com/users/mathturtle/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T17:16:03Z","updated_at":"2016-01-22T17:16:03Z","body":"I agree that the UI needs work.\r\n> Can you just make all of the spheres pickable and have them perform the same interaction?\r\n\r\nI think I'll have to write a custom box widget to do this.  I tried turning the spheres off, but then you can't interact at all.  I have rotation turned off right now but if it is on clicking inside the box but not on the spheres causes the object to rotate about its center.  We should talk next week about what widget we want and how we want it to behave.\r\n\r\n@Hovden Yes, the object is translating in the plane of the viewing direction.  If I write a custom widget, I can implement your suggestion about the balls on the edges."}}