Classes | |
struct | DistanceVolumeCreationParams |
struct | ParametersBase |
struct | ParametersMetric |
struct | ParametersRegions |
Typedefs | |
using | meshToDistanceVolumeT = std::function<FunctionVolume(const Mesh&, const DistanceVolumeCreationParams&)> |
Functions | |
MRVOXELS_API FunctionVolume | pointsToDistanceVolume (const PointCloud &cloud, const DistanceVolumeCreationParams ¶ms) |
makes FunctionVolume representing minimal distance to weighted points | |
MRVOXELS_API FunctionVolume | meshToDistanceVolume (const Mesh &mesh, const DistanceVolumeCreationParams ¶ms) |
makes FunctionVolume representing minimal distance to mesh with weighted vertices | |
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > | pointsShell (const PointCloud &cloud, const ParametersMetric ¶ms) |
MRVOXELS_API Expected< Mesh > | pointsShell (const PointCloud &cloud, const VertScalars &pointWeights, const ParametersMetric ¶ms) |
MR_BIND_IGNORE MRVOXELS_API Expected< Mesh > | meshShell (const Mesh &mesh, const ParametersMetric ¶ms) |
MRVOXELS_API Expected< Mesh > | meshShell (const Mesh &mesh, const VertScalars &vertWeights, const ParametersMetric ¶ms) |
MRVOXELS_API VertScalars | calculateShellWeightsFromRegions (const Mesh &mesh, const std::vector< ParametersRegions::Region > ®ions, float interpolationDist) |
interpolate set of regions and assign weight to each vertex of the mesh | |
MRVOXELS_API Expected< Mesh > | meshShell (const Mesh &mesh, const ParametersRegions ¶ms) |
this overload supports linear interpolation between the regions with different weight | |
MRVOXELS_API Expected< Mesh > | meshShell (const Mesh &mesh, const ParametersRegions ¶ms, meshToDistanceVolumeT volumeBuilder) |
this overload allows to control how distance volume is build during the offset | |
using MR::WeightedShell::meshToDistanceVolumeT = std::function<FunctionVolume(const Mesh&, const DistanceVolumeCreationParams&)> |
MRVOXELS_API VertScalars MR::WeightedShell::calculateShellWeightsFromRegions | ( | const Mesh & | mesh, |
const std::vector< ParametersRegions::Region > & | regions, | ||
float | interpolationDist ) |
interpolate set of regions and assign weight to each vertex of the mesh
|
nodiscard |
consider a mesh where each vertex has additive weight, and this weight is linearly interpolated in mesh triangles, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes
|
nodiscard |
this overload supports linear interpolation between the regions with different weight
|
nodiscard |
this overload allows to control how distance volume is build during the offset
|
nodiscard |
consider a mesh where each vertex has additive weight (taken from vertWeights and not from params), and this weight is linearly interpolated in mesh triangles, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes
|
nodiscard |
makes FunctionVolume representing minimal distance to mesh with weighted vertices
|
nodiscard |
consider a point cloud where each point has additive weight, and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes
|
nodiscard |
consider a point cloud where each point has additive weight (taken from pointWeights and not from params), and the distance to a point is considered equal to (euclidean distance - weight), constructs iso-surface of such distance field corresponding to params.offset value using marching cubes
|
nodiscard |
makes FunctionVolume representing minimal distance to weighted points