|
MRVOXELS_API float | MR::suggestVoxelSize (const MeshPart &mp, float approxNumVoxels) |
| computes size of a cubical voxel to get approximately given number of voxels during rasterization
|
|
MRVOXELS_API Expected< Mesh > | MR::offsetMesh (const MeshPart &mp, float offset, const OffsetParameters ¶ms={}) |
|
MRVOXELS_API Expected< Mesh > | MR::doubleOffsetMesh (const MeshPart &mp, float offsetA, float offsetB, const OffsetParameters ¶ms={}) |
|
MRVOXELS_API Expected< Mesh > | MR::mcOffsetMesh (const MeshPart &mp, float offset, const OffsetParameters ¶ms={}, Vector< VoxelId, FaceId > *outMap=nullptr) |
|
MRVOXELS_API Expected< Mesh > | MR::mcShellMeshRegion (const Mesh &mesh, const FaceBitSet ®ion, float offset, const BaseShellParameters ¶ms, Vector< VoxelId, FaceId > *outMap=nullptr) |
|
MRVOXELS_API Expected< Mesh > | MR::sharpOffsetMesh (const MeshPart &mp, float offset, const SharpOffsetParameters ¶ms={}) |
|
MRVOXELS_API Expected< Mesh > | MR::generalOffsetMesh (const MeshPart &mp, float offset, const GeneralOffsetParameters ¶ms) |
| Offsets mesh by converting it to voxels and back using one of three modes specified in the parameters.
|
|
MRVOXELS_API Expected< Mesh > | MR::thickenMesh (const Mesh &mesh, float offset, const GeneralOffsetParameters ¶ms={}) |
|
MRVOXELS_API Expected< Mesh > | MR::offsetOneDirection (const MeshPart &mp, float offset, const GeneralOffsetParameters ¶ms={}) |
|
MRVOXELS_API Expected< Mesh > | MR::offsetPolyline (const Polyline3 &polyline, float offset, const OffsetParameters ¶ms={}) |
|