cloudComPy: a Python interface for CloudCompare
Introduction
cloudComPy User Manual
- 1. Introduction
- 2. Loading clouds and other entities from files
- 3. Saving Clouds and other entities to files
- 4. Clouds, meshes, scalar fields: introspection, manipulation
- 5. operations on coordinates, scalar fields, colors, meshes with Numpy
- 6. Some use cases
- 6.1. Create a point cloud with numpy
- 6.2. Cut a cloud or a mesh with a polyline
- 6.3. Compute distances between clouds and meshes
- 6.4. Cloud registration
- 6.5. Cloud triangulation: create a mesh
- 6.6. Fitting ccPlane
- 6.7. Searching points in neighbourhood
- 6.8. Cloud sampling, noise filter, filter by scalar field
- 6.8.1. Noise filter
- 6.8.2. Resample cloud spatially
- 6.8.3. Subsample cloud randomly
- 6.8.4. resample cloud with octree at level
- 6.8.5. resample cloud with octree
- 6.8.6. Statistical Outliers Removal (SOR) filter
- 6.8.7. subsample cloud with octree at level
- 6.8.8. subsample cloud with octree
- 6.8.9. filter by scalar field values
- 6.9. Generate histograms
- 6.10. Compute a 2.5D volume
- 6.11. Cloud rasterization
- 6.12. Interpolate scalar fields from one cloud to another
- 6.13. Finding an optimal bounding box
- 6.14. Cloud comparison with plugin M3C2
- 6.15. ShadeVIS (ambiant occlusion) with Plugin PCV
- 6.16. Compute Hidden Point Removal with plugin HPR
- 6.17. Boolean operations on meshes with plugin MeshBoolean
- 6.18. Finding primitives on a cloud with plugin RANSAC-SD
- 6.19. Compute Cloth Simulation Filter on a cloud with CSF plugin
- 6.20. Classify a point cloud with Canupo plugin and a trained classifier
- 6.21. Compute distance between a cloud and a surface of revolution, with SRA plugin
- 6.22. Sclices and contours
- 6.23. Extract Connected Components
- 6.24. Merge several entities (clouds or meshes)
- 6.25. Avoid memory leaks in an iterative process
cloudComPy Reference documentation
- 1. cloudComPy module, functions
computeApproxLocalDensity()
computeCurvature()
computeFeature()
computeLocalDensity()
computeMomentOrder1()
computeNormals()
computeRoughness()
ComputeVolume25D()
deleteEntity()
ExtractConnectedComponents()
ExtractSlicesAndContours()
filterBySFValue()
GetPointCloudRadius()
getScalarType()
ICP()
importFile()
initCC()
initCloudCompare()
interpolateScalarFieldsFrom()
invertNormals()
isPluginDraco()
isPluginFbx()
isPluginHPR()
isPluginM3C2()
isPluginMeshBoolean()
isPluginPCV()
isPluginRANSAC_SD()
loadMesh()
loadPointCloud()
loadPolyline()
MergeEntities()
RasterizeGeoTiffOnly()
RasterizeToCloud()
RasterizeToMesh()
SaveEntities()
SaveMesh()
SavePointCloud()
setTraces()
ccBBox
CC_DIRECTION
CC_FILE_ERROR
CC_FILE_ERROR.CC_FERR_BAD_ARGUMENT
CC_FILE_ERROR.CC_FERR_BAD_ENTITY_TYPE
CC_FILE_ERROR.CC_FERR_BROKEN_DEPENDENCY_ERROR
CC_FILE_ERROR.CC_FERR_CANCELED_BY_USER
CC_FILE_ERROR.CC_FERR_CONSOLE_ERROR
CC_FILE_ERROR.CC_FERR_FILE_WAS_WRITTEN_BY_UNKNOWN_PLUGIN
CC_FILE_ERROR.CC_FERR_MALFORMED_FILE
CC_FILE_ERROR.CC_FERR_NOT_ENOUGH_MEMORY
CC_FILE_ERROR.CC_FERR_NOT_IMPLEMENTED
CC_FILE_ERROR.CC_FERR_NO_ERROR
CC_FILE_ERROR.CC_FERR_NO_LOAD
CC_FILE_ERROR.CC_FERR_NO_SAVE
CC_FILE_ERROR.CC_FERR_READING
CC_FILE_ERROR.CC_FERR_THIRD_PARTY_LIB_EXCEPTION
CC_FILE_ERROR.CC_FERR_THIRD_PARTY_LIB_FAILURE
CC_FILE_ERROR.CC_FERR_UNKNOWN_FILE
CC_FILE_ERROR.CC_FERR_WRITING
CC_FILE_ERROR.CC_FERR_WRONG_FILE_TYPE
CC_FILE_ERROR.name
CC_FILE_ERROR.value
CC_SHIFT_MODE
CurvatureType
EmptyCellFillOption
EmptyCellFillOption.FILL_AVERAGE_HEIGHT
EmptyCellFillOption.FILL_CUSTOM_HEIGHT
EmptyCellFillOption.FILL_MAXIMUM_HEIGHT
EmptyCellFillOption.FILL_MINIMUM_HEIGHT
EmptyCellFillOption.INTERPOLATE_DELAUNAY
EmptyCellFillOption.KRIGING
EmptyCellFillOption.LEAVE_EMPTY
EmptyCellFillOption.name
EmptyCellFillOption.value
ExportableFields
ExportableFields.PER_CELL_AVG_HEIGHT
ExportableFields.PER_CELL_COUNT
ExportableFields.PER_CELL_HEIGHT
ExportableFields.PER_CELL_HEIGHT_RANGE
ExportableFields.PER_CELL_HEIGHT_STD_DEV
ExportableFields.PER_CELL_INVALID
ExportableFields.PER_CELL_MAX_HEIGHT
ExportableFields.PER_CELL_MIN_HEIGHT
ExportableFields.name
ExportableFields.value
ICPres
interpolatorParameters
LOCAL_MODEL_TYPES
Orientation
Orientation.MINUS_BARYCENTER
Orientation.MINUS_ORIGIN
Orientation.MINUS_SENSOR_ORIGIN
Orientation.MINUS_X
Orientation.MINUS_Y
Orientation.MINUS_Z
Orientation.PLUS_BARYCENTER
Orientation.PLUS_ORIGIN
Orientation.PLUS_SENSOR_ORIGIN
Orientation.PLUS_X
Orientation.PLUS_Y
Orientation.PLUS_Z
Orientation.PREVIOUS
Orientation.UNDEFINED
Orientation.name
Orientation.value
ProjectionType
ReportInfoVol
TRANSFORMATION_FILTERS
TRANSFORMATION_FILTERS.SKIP_NONE
TRANSFORMATION_FILTERS.SKIP_ROTATION
TRANSFORMATION_FILTERS.SKIP_RXY
TRANSFORMATION_FILTERS.SKIP_RXZ
TRANSFORMATION_FILTERS.SKIP_RYZ
TRANSFORMATION_FILTERS.SKIP_TRANSLATION
TRANSFORMATION_FILTERS.SKIP_TX
TRANSFORMATION_FILTERS.SKIP_TY
TRANSFORMATION_FILTERS.SKIP_TZ
TRANSFORMATION_FILTERS.name
TRANSFORMATION_FILTERS.value
CONVERGENCE_TYPE
- 2. Points Clouds
- 3. Polylines
- 4. Octrees, descriptors and neighbourhood
- 5. Meshes
- 6. ccPrimitives
- 7. transformations
- 8. Sensor
- 9. Scalar Fields
- 10. Distance Computation Tools
- 11. Geometrical Analysis Tools
- 12. Cloud Sampling Tools
- 13. 2D Polygons
- 14. Neighbourhood
- 15. Colors
plugins Reference documentation
- 1. Canupo plugin
- 2. CSF plugin
- 3. HPR plugin
- 4. M3C2 plugin
- 5. MeshBoolean plugin
- 6. PCL plugin
- 7. PCV plugin
- 8. RANSAC_SD plugin
RansacParams
RansacParams.allowFitting
RansacParams.allowSimplification
RansacParams.bitmapEpsilon
RansacParams.createCloudFromLeftOverPoints
RansacParams.epsilon
RansacParams.getPrimEnabled()
RansacParams.maxConeAngle_deg
RansacParams.maxConeLength
RansacParams.maxConeRadius
RansacParams.maxCylinderLength
RansacParams.maxCylinderRadius
RansacParams.maxNormalDev_deg
RansacParams.maxSphereRadius
RansacParams.maxTorusMajorRadius
RansacParams.maxTorusMinorRadius
RansacParams.minCylinderRadius
RansacParams.minSphereRadius
RansacParams.minTorusMajorRadius
RansacParams.minTorusMinorRadius
RansacParams.optimizeForCloud()
RansacParams.probability
RansacParams.randomColor
RansacParams.setPrimEnabled()
RansacParams.supportPoints
computeRANSAC_SD()
initTrace_RANSAC_SD()
- 9. SRA plugin
qSRA
loadProfile()
exportMapAsCloud()
exportMapAsMesh()
initTrace_SRA()
FillStrategyType
EmptyCellFillOption
DEFAULT_SCALES
DEFAULT_SCALES.ABS_NORM_GREY
DEFAULT_SCALES.BGYR
DEFAULT_SCALES.BROWN_YELLOW
DEFAULT_SCALES.BWR
DEFAULT_SCALES.DIP_BRYW
DEFAULT_SCALES.DIP_DIR_REPEAT
DEFAULT_SCALES.GREY
DEFAULT_SCALES.HIGH_CONTRAST
DEFAULT_SCALES.HSV_360_DEG
DEFAULT_SCALES.RW
DEFAULT_SCALES.RY
DEFAULT_SCALES.TOPO_LANDSERF
DEFAULT_SCALES.VERTEX_QUALITY
DEFAULT_SCALES.VIRIDIS
DEFAULT_SCALES.YELLOW_BROWN
DEFAULT_SCALES.name
DEFAULT_SCALES.value
- 10. minimalBoundingBox Python plugin
Indices and tables