65 std::vector<float>& output,
66 const Vector3i& dims,
float voxelSize,
const Vector3f& origin,
#define MRVOXELS_API
Definition MRVoxels/MRVoxelsFwd.h:13
#define MRVOXELS_CLASS
Definition MRVoxels/MRVoxelsFwd.h:14
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:729
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:25
MRVOXELS_API Box3f computeWorkArea(const Polyline3 &toolpath, const MeshPart &tool)
Compute bounding box for swept volume for given tool and toolpath.
MRVOXELS_API Expected< Mesh > computeSweptVolumeWithCustomToolDistance(IComputeToolDistance &comp, const ComputeSweptVolumeParameters ¶ms)
MRVOXELS_API Expected< Mesh > computeSweptVolumeWithMeshMovement(const ComputeSweptVolumeParameters ¶ms)
MRVOXELS_API Box3i computeGridBox(const Box3f &workArea, float voxelSize)
Compute required voxel volume's dimensions for given work area.
MRVOXELS_API Expected< Mesh > computeSweptVolumeWithDistanceVolume(const ComputeSweptVolumeParameters ¶ms)
Parameters for computeSweptVolume* functions.
Definition MRSweptVolume.h:24
float voxelSize
voxel size for internal voxel volumes
Definition MRSweptVolume.h:35
const EndMillTool * toolSpec
Definition MRSweptVolume.h:32
const Polyline3 & path
toolpath
Definition MRSweptVolume.h:26
size_t memoryLimit
(distance volume) max memory amount used for the distance volume, zero for no limits
Definition MRSweptVolume.h:37
ProgressCallback cb
progress callback
Definition MRSweptVolume.h:39
MeshPart toolMesh
tool mesh
Definition MRSweptVolume.h:28