-
-
This is a C++ application that can visualize local LAS/LAZ file point-cloud data into 3D space as cubes, colored by a normalized intensity value. The user can view the cubes using either a free/orbital camera. Color ramp, scale, and other settings can be adjusted to preference.
-
-
To build the program the application is using a combination of CMake and Vcpkg. There is the option to build for Release or Debug, and some optimizations added that significantly increase the performance of reading/filtering point-cloud data.
-
Also, there is a ./plugin folder containing two obsolete PDAL plugins. These are no longer used because of performance issues.
-
Orbital Camera
Free Camera
# CLONE REPOSITORY (WITH SUBMODULE)
git clone --recursive https://github.com/sethcg/Lidar-Viewer.git
# CONFIGURE
cmake --preset default
# BUILD RELEASE (INCREASED PERFORMANCE)
cmake --build --preset release
# BUILD DEBUG
cmake --build --preset debug
Line Count
# GET LINE COUNT (REQUIRES CLOC TO BE INSTALLED)
cloc --include-lang=C++,"C/C++ Header",CMake --exclude-dir=build,vcpkg --out=line-count.txt .
| Language |
Files |
Blank |
Comment |
Code |
| C++ |
13 |
326 |
82 |
1113 |
| C/C++ Header |
17 |
250 |
63 |
857 |
| CMake |
9 |
53 |
38 |
195 |
|
|
|
|
|
| Total |
39 |
629 |
183 |
2165 |