diff --git a/LiDARToolbox/README b/LiDARToolbox/README index e50d64c4a23bbf98d901d0871f2de5fc4b489c14..6eb3397650b327f2d7385acc4457e0e7a6008c0e 100644 --- a/LiDARToolbox/README +++ b/LiDARToolbox/README @@ -8,5 +8,9 @@ This toolbox is currently under development by - Alexander Wiebel Requirements: -- libLAS (http://www.liblas.org/ or packages liblas-dev and liblas-c-dev) -- Point Cloud Library (http://pointclouds.org/) \ No newline at end of file +- libLAS + - http://www.liblas.org/ + - or packages liblas-dev and liblas-c-dev +- Point Cloud Library + - http://pointclouds.org/ + - or packacges libpcl-dev \ No newline at end of file diff --git a/LiDARToolbox/src/readLAS/WLasReader.cpp b/LiDARToolbox/src/readLAS/WLasReader.cpp index 2d8a87b6db7e16e8c435dbe06fb83a599a92bba8..50d354933e63454d9d700aec3b3ed49353f0724a 100644 --- a/LiDARToolbox/src/readLAS/WLasReader.cpp +++ b/LiDARToolbox/src/readLAS/WLasReader.cpp @@ -105,7 +105,6 @@ namespace laslibb liblas::Header const& header = reader.GetHeader(); - liblas::Point point; liblas::Color colorLas; size_t count = header.GetPointRecordsCount(); setProgressSettings( count ); @@ -117,7 +116,8 @@ namespace laslibb for ( size_t i = 0; i < count; i++ ) { reader.ReadNextPoint(); - point = reader.GetPoint(); + + liblas::Point point = reader.GetPoint(); vector coord = WVectorMaths::new3dVector( point.GetX(), point.GetY(), point.GetZ() ); double intensity = point.GetIntensity(); //TODO(schwarzkopf): Still had no colored data set to check some liblas functions.