Commit 1aa9dfb9 authored by Alexander Wiebel's avatar Alexander Wiebel

[FIX] make it complie again

parent 69639b46
...@@ -8,5 +8,9 @@ This toolbox is currently under development by ...@@ -8,5 +8,9 @@ This toolbox is currently under development by
- Alexander Wiebel - Alexander Wiebel
Requirements: Requirements:
- libLAS (http://www.liblas.org/ or packages liblas-dev and liblas-c-dev) - libLAS
- Point Cloud Library (http://pointclouds.org/) - http://www.liblas.org/
\ No newline at end of file - or packages liblas-dev and liblas-c-dev
- Point Cloud Library
- http://pointclouds.org/
- or packacges libpcl-dev
\ No newline at end of file
...@@ -105,7 +105,6 @@ namespace laslibb ...@@ -105,7 +105,6 @@ namespace laslibb
liblas::Header const& header = reader.GetHeader(); liblas::Header const& header = reader.GetHeader();
liblas::Point point;
liblas::Color colorLas; liblas::Color colorLas;
size_t count = header.GetPointRecordsCount(); size_t count = header.GetPointRecordsCount();
setProgressSettings( count ); setProgressSettings( count );
...@@ -117,7 +116,8 @@ namespace laslibb ...@@ -117,7 +116,8 @@ namespace laslibb
for ( size_t i = 0; i < count; i++ ) for ( size_t i = 0; i < count; i++ )
{ {
reader.ReadNextPoint(); reader.ReadNextPoint();
point = reader.GetPoint();
liblas::Point point = reader.GetPoint();
vector<double> coord = WVectorMaths::new3dVector( point.GetX(), point.GetY(), point.GetZ() ); vector<double> 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. double intensity = point.GetIntensity(); //TODO(schwarzkopf): Still had no colored data set to check some liblas functions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment