15struct BaseShellParameters
48 std::shared_ptr<IFastWindingNumber>
fwn;
60struct SharpOffsetParameters : OffsetParameters
89 const OffsetParameters& params = {}, Vector<VoxelId, FaceId>* outMap = nullptr );
102struct GeneralOffsetParameters : SharpOffsetParameters
104 using Mode = MR::OffsetMode;
105 Mode mode = Mode::Standard;
117 const PartMapping & map = {} );
#define MRVOXELS_API
Definition MRVoxelsFwd.h:14
new unsafe MR.Std.Function_BoolFuncFromFloat callBack
new unsafe ref float voxelSize
Definition MROffset.h:103
Definition MRMesh/MRMesh.h:23
new unsafe ref bool closeHolesInHoleWindingNumber
new unsafe ref float windingNumberBeta
new unsafe ref bool memoryEfficient
new unsafe MR.IFastWindingNumber fwn
new unsafe ref MR.SignDetectionMode signDetectionMode
new unsafe ref float windingNumberThreshold
new unsafe ref float minNewVertDev
new unsafe ref float maxOldVertPosCorrection
new unsafe MR.? UndirectedEdgeBitSet outSharpEdges
new unsafe ref float maxNewRank2VertDev
new unsafe ref float maxNewRank3VertDev
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:19
Definition MRCameraOrientationPlugin.h:8
MRVOXELS_API Expected< Mesh > mcShellMeshRegion(const Mesh &mesh, const FaceBitSet ®ion, float offset, const BaseShellParameters ¶ms, Vector< VoxelId, FaceId > *outMap=nullptr)
MRVOXELS_API Expected< Mesh > mcOffsetMesh(const MeshPart &mp, float offset, const OffsetParameters ¶ms={}, Vector< VoxelId, FaceId > *outMap=nullptr)
MRVOXELS_API float 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 > generalOffsetMesh(const MeshPart &mp, float offset, const GeneralOffsetParameters ¶ms)
MRVOXELS_API Expected< Mesh > thickenMesh(const Mesh &mesh, float offset, const GeneralOffsetParameters ¶ms={}, const PartMapping &map={})
mapping between original mesh and thicken result
MRVOXELS_API Expected< Mesh > offsetOneDirection(const MeshPart &mp, float offset, const GeneralOffsetParameters ¶ms={})
MRVOXELS_API Expected< Mesh > offsetPolyline(const Polyline3 &polyline, float offset, const OffsetParameters ¶ms={})
MRVOXELS_API Expected< Mesh > offsetMesh(const MeshPart &mp, float offset, const OffsetParameters ¶ms={})
MRVOXELS_API Expected< Mesh > sharpOffsetMesh(const MeshPart &mp, float offset, const SharpOffsetParameters ¶ms={})
MRVOXELS_API Expected< Mesh > doubleOffsetMesh(const MeshPart &mp, float offsetA, float offsetB, const OffsetParameters ¶ms={})