How cloudcompare/cloudcompy works
CloudComPy is a Python interface to CloudCompare. Its main workflow is to initialize the module, load a point cloud, compute or filter data, work with coordinates and scalar fields through NumPy, then save the result. The tree also exposes geometry, registration, sampling, plugin algorithms, and a lightweight viewer. Edges follow the README’s workflow or explicit source-index imports; plugin and viewer interactions not established by the excerpts are omitted.
Main entry points: cloudComPy.cpp CloudComPy API · ccPointCloudPy.cpp Point Clouds · conversions.hpp Data Conversion · initCC.h CloudCompare Init
Components 20
Python and Core API
- CloudComPy API
pybind11/cloudComPy.cpp - CloudCompare Init
pyAPI/initCC.h - Native Operations
pyAPI/pyCC.cpp - Data Conversion
pybind11/conversions.hpp - Cloud File I/O
pyAPI/pyCC.h
Cloud Data
- Point Clouds
pybind11/ccPointCloudPy.cpp - Scalar Fields
pybind11/ScalarFieldPy.cpp - Meshes
pybind11/ccMeshPy.cpp - Geometry Objects
pybind11/ccPrimitivesPy.cpp
Analysis Tools
- Cloud Sampling
pybind11/cloudSamplingToolsPy.cpp - Distance Analysis
pybind11/distanceComputationToolsPy.cpp - Geometric Analysis
pybind11/geometricalAnalysisToolsPy.cpp - Registration
pybind11/registrationToolsPy.cpp
Plugins and Viewer
- PCL Algorithms
pybind11/PCL/PCL_DocStrings.hpp - Poisson Reconstruction
pybind11/PoissonRecon/PoissonReconPy.cpp - RANSAC Shapes
pybind11/RANSAC_SD/RANSAC_SDPy.cpp - CANUPO Classification
pybind11/Canupo/CanupoPy.cpp - SRA Mapping
pybind11/SRA/SRAPy.cpp - Light Viewer
viewer/viewerPy.cpp
Other components
- Python User
Connections 20
- Python User → CloudComPy API: imports
- Python User → CloudCompare Init: initializes
- Python User → Cloud File I/O: loads and saves
- Python User → Point Clouds: uses
- Python User → Scalar Fields: uses
- Python User → Cloud Sampling: calls
- CloudComPy API → Native Operations: exposes
pybind11/cloudComPy.cpp - CloudComPy API → Data Conversion: includes
- Point Clouds → Data Conversion: converts arrays
pybind11/ccPointCloudPy.cpp - Python User → Meshes: uses
- Python User → Geometry Objects: uses
- Python User → Distance Analysis: calls
- Python User → Geometric Analysis: calls
- Python User → Registration: calls
- Python User → PCL Algorithms: uses optionally
- Python User → Poisson Reconstruction: calls optionally
- Python User → RANSAC Shapes: calls optionally
- Python User → CANUPO Classification: calls optionally
- Python User → SRA Mapping: calls optionally
- Python User → Light Viewer: uses optionally