{"action":"created","issue":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1241","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1241/labels{/name}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1241/comments","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1241/events","html_url":"https://github.com/PointCloudLibrary/pcl/pull/1241","id":78136407,"number":1241,"title":"Improve 'u' key in PCLVisualizer: search in shapes LUT too","user":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-19T15:31:06Z","updated_at":"2015-05-22T09:04:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1241","html_url":"https://github.com/PointCloudLibrary/pcl/pull/1241","diff_url":"https://github.com/PointCloudLibrary/pcl/pull/1241.diff","patch_url":"https://github.com/PointCloudLibrary/pcl/pull/1241.patch"},"body":"Fixes #1240 \r\n\r\nFeatures\r\n---\r\n- [x] The user can choose which shape LUT should be displayed with `setLookUpTableID`\r\n- [x] LUT display is updated if the user triggers a `setShapeProperties`. The LUT is only updated if the shape updated is the one used for the LUT display (either because it is the one found automatically or the user defined which ID should be used)\r\n- [x] The LUT is removed from the display if no shape was found with color information or if the user provided a wrong (= non existing or no color info) cloud/shape ID.\r\n\r\nIt's quite hard to explain precisely the behavior with words; here's a test code for you to try:\r\n\r\n\r\nExamples\r\n---\r\n![capture du 2015-05-19 17 34 38](https://cloud.githubusercontent.com/assets/5566160/7706926/7a8b458c-fe4d-11e4-858e-732417783e1f.png)\r\n![capture du 2015-05-19 17 34 56](https://cloud.githubusercontent.com/assets/5566160/7706928/7c784070-fe4d-11e4-8aa3-cf54864e4bda.png)\r\n![capture du 2015-05-19 17 35 07](https://cloud.githubusercontent.com/assets/5566160/7706929/7efaad74-fe4d-11e4-880e-8ac440d1cc2e.png)\r\n![lut_display](https://cloud.githubusercontent.com/assets/5566160/7767102/046176cc-0070-11e5-9e03-23b92b756de2.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/comments/104582944","html_url":"https://github.com/PointCloudLibrary/pcl/pull/1241#issuecomment-104582944","issue_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1241","id":104582944,"user":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T09:04:44Z","updated_at":"2015-05-22T09:04:44Z","body":"Pull request/first message updated, please test with the example code provided!\r\nI do not solve #1158 because it looks like a lot of work, but this pull request is clearly a step forward to solving it."}}