Parametrization#
The parametrization module provides abstract and concrete classes for representing point cloud surfaces as parametric models. These models support surface sampling, normal computation, and distance calculations.
Base Class#
Abstract base class to represent picklable parametrizations. |
Geometric Shapes#
Parametric representations of simple geometric primitives.
|
Parametrize a point cloud as sphere. |
|
Parametrize a point cloud as ellipsoid. |
|
Parametrize a point cloud as a cylinder. |
|
Parametrize a point cloud using radial basis functions. |
|
Parametrize a point cloud as a spline curve. |
Triangular Meshes#
Surface representations using triangular mesh topology.
|
Represent a point cloud as triangular mesh. |
|
|
|
|
|
Represent a point cloud as triangular mesh. |
Isosurface Methods#
Mesh generation from volumetric data using isosurface extraction algorithms.
|
Represent a point cloud as triangular mesh. |
|
Represent a point cloud as triangular mesh. |
Utilities#
Functions for combining and manipulating parametrization objects.
|
Type Registry#
The module provides a PARAMETRIZATION_TYPE dictionary that maps string identifiers to parametrization classes, enabling dynamic instantiation based on user selection.
from mosaic.parametrization import PARAMETRIZATION_TYPE
# Available keys:
# "sphere", "ellipsoid", "cylinder", "mesh", "clusterballpivoting",
# "poissonmesh", "rbf", "convexhull", "spline", "flyingedges", "marchingcubes"
mesh_class = PARAMETRIZATION_TYPE["poissonmesh"]
mesh = mesh_class.fit(points, depth=8)