MeshLib Documentation
Loading...
Searching...
No Matches
MROffset.h File Reference
#include "MRVoxelsFwd.h"
#include "MRMesh/MRMeshPart.h"
#include "MRMesh/MRSignDetectionMode.h"
#include "MRMesh/MRProgressCallback.h"
#include "MRMesh/MRExpected.h"
#include "MRMesh/MREnums.h"
#include <optional>
#include <string>

Go to the source code of this file.

Classes

struct  MR::BaseShellParameters
 
struct  MR::OffsetParameters
 
struct  MR::SharpOffsetParameters
 
struct  MR::GeneralOffsetParameters
 allows the user to select in the parameters which offset algorithm to call More...
 

Namespaces

namespace  MR
 

Functions

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< MeshMR::offsetMesh (const MeshPart &mp, float offset, const OffsetParameters &params={})
 
MRVOXELS_API Expected< MeshMR::doubleOffsetMesh (const MeshPart &mp, float offsetA, float offsetB, const OffsetParameters &params={})
 
MRVOXELS_API Expected< MeshMR::mcOffsetMesh (const MeshPart &mp, float offset, const OffsetParameters &params={}, Vector< VoxelId, FaceId > *outMap=nullptr)
 
MRVOXELS_API Expected< MeshMR::mcShellMeshRegion (const Mesh &mesh, const FaceBitSet &region, float offset, const BaseShellParameters &params, Vector< VoxelId, FaceId > *outMap=nullptr)
 
MRVOXELS_API Expected< MeshMR::sharpOffsetMesh (const MeshPart &mp, float offset, const SharpOffsetParameters &params={})
 
MRVOXELS_API Expected< MeshMR::generalOffsetMesh (const MeshPart &mp, float offset, const GeneralOffsetParameters &params)
 Offsets mesh by converting it to voxels and back using one of three modes specified in the parameters.
 
MRVOXELS_API Expected< MeshMR::thickenMesh (const Mesh &mesh, float offset, const GeneralOffsetParameters &params={})
 
MRVOXELS_API Expected< MeshMR::offsetOneDirection (const MeshPart &mp, float offset, const GeneralOffsetParameters &params={})
 
MRVOXELS_API Expected< MeshMR::offsetPolyline (const Polyline3 &polyline, float offset, const OffsetParameters &params={})