Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudcompare/cccorelib
C++ library which provides data structures & algorithms for working with 3D point cloud data
https://github.com/cloudcompare/cccorelib
3d-point-clouds point-cloud
Last synced: 4 days ago
JSON representation
C++ library which provides data structures & algorithms for working with 3D point cloud data
- Host: GitHub
- URL: https://github.com/cloudcompare/cccorelib
- Owner: CloudCompare
- License: other
- Created: 2020-04-15T17:06:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-08T14:58:29.000Z (17 days ago)
- Last Synced: 2024-12-14T04:07:04.469Z (11 days ago)
- Topics: 3d-point-clouds, point-cloud
- Language: C++
- Size: 1.51 MB
- Stars: 160
- Watchers: 14
- Forks: 51
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-MIT.txt
Awesome Lists containing this project
README
# CCCoreLib
[![Actions Status](https://github.com/CloudCompare/CCCoreLib/workflows/Build/badge.svg)](https://github.com/CloudCompare/CCCoreLib/actions)
This library provides data structures and algorithms for working with 3D point cloud data.
It was originally part of the [CloudCompare repository](https://github.com/CloudCompare/CloudCompare) (as "CCLib").
We have separated it into its own repository because it is useful on its own without having to download the entire CloudCompare repository. This makes it easier to work with and gives this part of the CloudCompare project some visibility it would not otherwise have.
It uses CMake, requires C++14, and compiles & runs on Linux, macOS, and Windows.
## Main CMake Options
| Option | Description | Default |
| ------------- |-------------| ---------|
| CCCORELIB_USE_CGAL | Use [CGAL](https://github.com/CGAL/cgal) to enable Delaunay 2.5D triangulation with a GPL compliant licence | OFF |
| CCCORELIB_USE_TBB | Use [Intel Threading Building Blocks](https://github.com/oneapi-src/oneTBB) lib to enable some parallel processing | OFF |
| CCCORELIB_USE_QT_CONCURRENT | Use Qt to enable parallel processing using [QtConcurrent](https://doc.qt.io/qt-5/qtconcurrent-index.html) | ON |
| CCCORELIB_SHARED | Compile as a shared library | ON |
| CCCORELIB_SCALAR_DOUBLE | Define _ScalarType_ as double (instead of float) | OFF |### Qt Option (Qt5_DIR)
If `CCCORELIB_USE_QT_CONCURRENT` is on (it is by default), then you may need to tell CMake where to find the Qt cmake files. The [official docs from Qt](https://doc.qt.io/qt-5/cmake-get-started.html) show two ways to do so:
- setting `CMAKE_PREFIX_PATH` to point to your Qt installation (where 'bin', 'doc', 'include', lib', etc. live)
- setting `Qt5_DIR` to point at the cmake directory within your Qt installation (this would be something like `/cmake/Qt5`)From this, cmake will determine `Qt5Concurrent_DIR`, `Qt5Core_DIR`, and `Qt5Widgets_DIR`, so there's no need to set those explicitly.
## Things We Have Yet To Do
- contribution guidelines (including coding style)
- documentation## How You Can Help
- [report issues](https://github.com/CloudCompare/CCCoreLib/issues)
- help with documentation
- [contribute improvements](https://github.com/CloudCompare/CCCoreLib/pulls)## License
This project as a whole is licensed under the **LGPL 2.0+** license - see the [LICENSE](LICENSE.txt) file for details.Individual source files contain the following tag instead of the full license text:
SPDX-License-Identifier: LGPL-2.0-or-later
The CMake files are licensed under the **MIT** license - see the [LICENSE-MIT](LICENSE-MIT.txt) file for details.
These files contain the following tag instead of the full license text:
SPDX-License-Identifier: MIT
Using SPDX enables machine processing of license information based on the [SPDX License Identifiers](https://spdx.org/ids) and makes it easier for developers to see at a glance which license they are dealing with.
### License Special Note
Two files (BoundingBox.cpp and RayAndBox.h) were _previously_ licensed under the **GPL 2.0+** license by mistake.These files contained the following tag:
SPDX-License-Identifier: GPL-2.0-or-later
The necessary permissions were secured to relicense these under LGPL:
SPDX-License-Identifier: LGPL-2.0-or-later