{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/menpo/menpo3d/pulls/10","id":37908462,"html_url":"https://github.com/menpo/menpo3d/pull/10","diff_url":"https://github.com/menpo/menpo3d/pull/10.diff","patch_url":"https://github.com/menpo/menpo3d/pull/10.patch","issue_url":"https://api.github.com/repos/menpo/menpo3d/issues/10","number":10,"state":"open","locked":false,"title":"vtkutils for interfacing with VTK functionality","user":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"body":"Adds a new submodule to menpo3d, `vtkutils`.\r\n\r\n`vtkutils` will be the home of any convenience methods we wish to use from VTK going forwards. For now, two functions and one callable are provided:\r\n\r\n1. `trimesh_to_vtk()` function converting a menpo `TriMesh` to a VTK mesh datastructure (`vtkPolyData`)\r\n2. `vtk_to_trimesh()` function converting a VTK mesh to a menpo `TriMesh`\r\n3. `VTKClosestPointLocator` - a callable that can be used to find the nearest point on a 3D surface from a query point.\r\n\r\n# Todo\r\n- [ ] tests\r\n- [ ] guards for checking for 3D meshes in trimesh_to_vtk","created_at":"2015-06-17T14:44:33Z","updated_at":"2015-06-17T14:44:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/menpo/menpo3d/pulls/10/commits","review_comments_url":"https://api.github.com/repos/menpo/menpo3d/pulls/10/comments","review_comment_url":"https://api.github.com/repos/menpo/menpo3d/pulls/comments{/number}","comments_url":"https://api.github.com/repos/menpo/menpo3d/issues/10/comments","statuses_url":"https://api.github.com/repos/menpo/menpo3d/statuses/ed005bcb58547df0617ae62645e78829e2b0a9a9","head":{"label":"jabooth:vtkutils","ref":"vtkutils","sha":"ed005bcb58547df0617ae62645e78829e2b0a9a9","user":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"repo":{"id":24946999,"name":"menpo3d","full_name":"jabooth/menpo3d","owner":{"login":"jabooth","id":1312873,"avatar_url":"https://avatars.githubusercontent.com/u/1312873?v=3","gravatar_id":"","url":"https://api.github.com/users/jabooth","html_url":"https://github.com/jabooth","followers_url":"https://api.github.com/users/jabooth/followers","following_url":"https://api.github.com/users/jabooth/following{/other_user}","gists_url":"https://api.github.com/users/jabooth/gists{/gist_id}","starred_url":"https://api.github.com/users/jabooth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabooth/subscriptions","organizations_url":"https://api.github.com/users/jabooth/orgs","repos_url":"https://api.github.com/users/jabooth/repos","events_url":"https://api.github.com/users/jabooth/events{/privacy}","received_events_url":"https://api.github.com/users/jabooth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jabooth/menpo3d","description":"MenpoKit providing tools for 3D CV research","fork":true,"url":"https://api.github.com/repos/jabooth/menpo3d","forks_url":"https://api.github.com/repos/jabooth/menpo3d/forks","keys_url":"https://api.github.com/repos/jabooth/menpo3d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jabooth/menpo3d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jabooth/menpo3d/teams","hooks_url":"https://api.github.com/repos/jabooth/menpo3d/hooks","issue_events_url":"https://api.github.com/repos/jabooth/menpo3d/issues/events{/number}","events_url":"https://api.github.com/repos/jabooth/menpo3d/events","assignees_url":"https://api.github.com/repos/jabooth/menpo3d/assignees{/user}","branches_url":"https://api.github.com/repos/jabooth/menpo3d/branches{/branch}","tags_url":"https://api.github.com/repos/jabooth/menpo3d/tags","blobs_url":"https://api.github.com/repos/jabooth/menpo3d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jabooth/menpo3d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jabooth/menpo3d/git/refs{/sha}","trees_url":"https://api.github.com/repos/jabooth/menpo3d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jabooth/menpo3d/statuses/{sha}","languages_url":"https://api.github.com/repos/jabooth/menpo3d/languages","stargazers_url":"https://api.github.com/repos/jabooth/menpo3d/stargazers","contributors_url":"https://api.github.com/repos/jabooth/menpo3d/contributors","subscribers_url":"https://api.github.com/repos/jabooth/menpo3d/subscribers","subscription_url":"https://api.github.com/repos/jabooth/menpo3d/subscription","commits_url":"https://api.github.com/repos/jabooth/menpo3d/commits{/sha}","git_commits_url":"https://api.github.com/repos/jabooth/menpo3d/git/commits{/sha}","comments_url":"https://api.github.com/repos/jabooth/menpo3d/comments{/number}","issue_comment_url":"https://api.github.com/repos/jabooth/menpo3d/issues/comments{/number}","contents_url":"https://api.github.com/repos/jabooth/menpo3d/contents/{+path}","compare_url":"https://api.github.com/repos/jabooth/menpo3d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jabooth/menpo3d/merges","archive_url":"https://api.github.com/repos/jabooth/menpo3d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jabooth/menpo3d/downloads","issues_url":"https://api.github.com/repos/jabooth/menpo3d/issues{/number}","pulls_url":"https://api.github.com/repos/jabooth/menpo3d/pulls{/number}","milestones_url":"https://api.github.com/repos/jabooth/menpo3d/milestones{/number}","notifications_url":"https://api.github.com/repos/jabooth/menpo3d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jabooth/menpo3d/labels{/name}","releases_url":"https://api.github.com/repos/jabooth/menpo3d/releases{/id}","created_at":"2014-10-08T15:27:04Z","updated_at":"2015-03-12T11:10:38Z","pushed_at":"2015-06-17T14:40:34Z","git_url":"git://github.com/jabooth/menpo3d.git","ssh_url":"git@github.com:jabooth/menpo3d.git","clone_url":"https://github.com/jabooth/menpo3d.git","svn_url":"https://github.com/jabooth/menpo3d","homepage":null,"size":4740,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"menpo:master","ref":"master","sha":"a699d3e68ec87ba606acebdb21193bec842d5cd0","user":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"repo":{"id":24769446,"name":"menpo3d","full_name":"menpo/menpo3d","owner":{"login":"menpo","id":4281647,"avatar_url":"https://avatars.githubusercontent.com/u/4281647?v=3","gravatar_id":"","url":"https://api.github.com/users/menpo","html_url":"https://github.com/menpo","followers_url":"https://api.github.com/users/menpo/followers","following_url":"https://api.github.com/users/menpo/following{/other_user}","gists_url":"https://api.github.com/users/menpo/gists{/gist_id}","starred_url":"https://api.github.com/users/menpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menpo/subscriptions","organizations_url":"https://api.github.com/users/menpo/orgs","repos_url":"https://api.github.com/users/menpo/repos","events_url":"https://api.github.com/users/menpo/events{/privacy}","received_events_url":"https://api.github.com/users/menpo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/menpo/menpo3d","description":"Tools for manipulating 3D meshes within the Menpo project.","fork":false,"url":"https://api.github.com/repos/menpo/menpo3d","forks_url":"https://api.github.com/repos/menpo/menpo3d/forks","keys_url":"https://api.github.com/repos/menpo/menpo3d/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menpo/menpo3d/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menpo/menpo3d/teams","hooks_url":"https://api.github.com/repos/menpo/menpo3d/hooks","issue_events_url":"https://api.github.com/repos/menpo/menpo3d/issues/events{/number}","events_url":"https://api.github.com/repos/menpo/menpo3d/events","assignees_url":"https://api.github.com/repos/menpo/menpo3d/assignees{/user}","branches_url":"https://api.github.com/repos/menpo/menpo3d/branches{/branch}","tags_url":"https://api.github.com/repos/menpo/menpo3d/tags","blobs_url":"https://api.github.com/repos/menpo/menpo3d/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menpo/menpo3d/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menpo/menpo3d/git/refs{/sha}","trees_url":"https://api.github.com/repos/menpo/menpo3d/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menpo/menpo3d/statuses/{sha}","languages_url":"https://api.github.com/repos/menpo/menpo3d/languages","stargazers_url":"https://api.github.com/repos/menpo/menpo3d/stargazers","contributors_url":"https://api.github.com/repos/menpo/menpo3d/contributors","subscribers_url":"https://api.github.com/repos/menpo/menpo3d/subscribers","subscription_url":"https://api.github.com/repos/menpo/menpo3d/subscription","commits_url":"https://api.github.com/repos/menpo/menpo3d/commits{/sha}","git_commits_url":"https://api.github.com/repos/menpo/menpo3d/git/commits{/sha}","comments_url":"https://api.github.com/repos/menpo/menpo3d/comments{/number}","issue_comment_url":"https://api.github.com/repos/menpo/menpo3d/issues/comments{/number}","contents_url":"https://api.github.com/repos/menpo/menpo3d/contents/{+path}","compare_url":"https://api.github.com/repos/menpo/menpo3d/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menpo/menpo3d/merges","archive_url":"https://api.github.com/repos/menpo/menpo3d/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menpo/menpo3d/downloads","issues_url":"https://api.github.com/repos/menpo/menpo3d/issues{/number}","pulls_url":"https://api.github.com/repos/menpo/menpo3d/pulls{/number}","milestones_url":"https://api.github.com/repos/menpo/menpo3d/milestones{/number}","notifications_url":"https://api.github.com/repos/menpo/menpo3d/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menpo/menpo3d/labels{/name}","releases_url":"https://api.github.com/repos/menpo/menpo3d/releases{/id}","created_at":"2014-10-03T18:38:31Z","updated_at":"2015-03-18T13:24:31Z","pushed_at":"2015-06-17T14:44:33Z","git_url":"git://github.com/menpo/menpo3d.git","ssh_url":"git@github.com:menpo/menpo3d.git","clone_url":"https://github.com/menpo/menpo3d.git","svn_url":"https://github.com/menpo/menpo3d","homepage":"http://www.menpo.org","size":4674,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/menpo/menpo3d/pulls/10"},"html":{"href":"https://github.com/menpo/menpo3d/pull/10"},"issue":{"href":"https://api.github.com/repos/menpo/menpo3d/issues/10"},"comments":{"href":"https://api.github.com/repos/menpo/menpo3d/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/menpo/menpo3d/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/menpo/menpo3d/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/menpo/menpo3d/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/menpo/menpo3d/statuses/ed005bcb58547df0617ae62645e78829e2b0a9a9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":99,"deletions":1,"changed_files":2}}