{"action":"created","issue":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1583","repository_url":"https://api.github.com/repos/PointCloudLibrary/pcl","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1583/labels{/name}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1583/comments","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1583/events","html_url":"https://github.com/PointCloudLibrary/pcl/issues/1583","id":146263214,"number":1583,"title":"PLYReader::readHeader reads whole point cloud","user":{"login":"SerkanTuerker","id":7494196,"avatar_url":"https://avatars.githubusercontent.com/u/7494196?v=3","gravatar_id":"","url":"https://api.github.com/users/SerkanTuerker","html_url":"https://github.com/SerkanTuerker","followers_url":"https://api.github.com/users/SerkanTuerker/followers","following_url":"https://api.github.com/users/SerkanTuerker/following{/other_user}","gists_url":"https://api.github.com/users/SerkanTuerker/gists{/gist_id}","starred_url":"https://api.github.com/users/SerkanTuerker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerkanTuerker/subscriptions","organizations_url":"https://api.github.com/users/SerkanTuerker/orgs","repos_url":"https://api.github.com/users/SerkanTuerker/repos","events_url":"https://api.github.com/users/SerkanTuerker/events{/privacy}","received_events_url":"https://api.github.com/users/SerkanTuerker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-06T10:11:40Z","updated_at":"2016-04-15T10:45:50Z","closed_at":null,"body":"Hi all,\r\n\r\nI noticed that **PLYReader::readHeader()** reads the whole point cloud, instead of reading only the header. \r\n\r\nFirst of all, **PLYReader::readHeader()** basically calls **PLYReader::parse()**.\r\n\r\nIf you look into **PLYReader::parse()** (ply_io.cpp line 520), you will notice, that all callbacks are set, leading to loading all elements and properties of the .ply file.\r\n\r\nI think **PLYReader::readHeader()** should only read the header and not all the points.\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/comments/210412261","html_url":"https://github.com/PointCloudLibrary/pcl/issues/1583#issuecomment-210412261","issue_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1583","id":210412261,"user":{"login":"SergioRAgostinho","id":1709142,"avatar_url":"https://avatars.githubusercontent.com/u/1709142?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioRAgostinho","html_url":"https://github.com/SergioRAgostinho","followers_url":"https://api.github.com/users/SergioRAgostinho/followers","following_url":"https://api.github.com/users/SergioRAgostinho/following{/other_user}","gists_url":"https://api.github.com/users/SergioRAgostinho/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioRAgostinho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioRAgostinho/subscriptions","organizations_url":"https://api.github.com/users/SergioRAgostinho/orgs","repos_url":"https://api.github.com/users/SergioRAgostinho/repos","events_url":"https://api.github.com/users/SergioRAgostinho/events{/privacy}","received_events_url":"https://api.github.com/users/SergioRAgostinho/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T10:45:50Z","updated_at":"2016-04-15T10:45:50Z","body":"I'm in favor of pursuing the latter approach. "}}