struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_Polyline3 MR_Polyline3
Definition MRAABBTreePolyline.h:16
struct MR_Polyline2 MR_Polyline2
Definition MRAABBTreePolyline.h:15
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_expected_void_std_string MR_expected_void_std_string
Definition MRCtm.h:19
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
Definition MRCtm.h:17
struct MR_EndMillTool MR_EndMillTool
Definition MREndMill.h:35
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27
MRC_API MR_Box3f MR_computeWorkArea(const MR_Polyline3 *toolpath, const MR_MeshPart *tool)
MRC_API MR_ComputeSweptVolumeParameters * MR_ComputeSweptVolumeParameters_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ComputeSweptVolumeParameters *_other)
MRC_API void MR_ComputeSweptVolumeParameters_Set_cb(MR_ComputeSweptVolumeParameters *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
MRC_API MR_expected_MR_Mesh_std_string * MR_computeSweptVolumeWithMeshMovement(const MR_ComputeSweptVolumeParameters *params)
MRC_API MR_expected_void_std_string * MR_IComputeToolDistance_computeToolDistance(const MR_IComputeToolDistance *_this, MR_std_vector_float *output, const MR_Vector3i *dims, float voxelSize, const MR_Vector3f *origin, float padding)
MRC_API const MR_IComputeToolDistance * MR_IComputeToolDistance_OffsetPtr(const MR_IComputeToolDistance *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_expected_MR_Mesh_std_string * MR_computeSweptVolumeWithDistanceVolume(const MR_ComputeSweptVolumeParameters *params)
MRC_API MR_expected_MR_Mesh_std_string * MR_computeSweptVolumeWithCustomToolDistance(MR_IComputeToolDistance *comp, const MR_ComputeSweptVolumeParameters *params)
MRC_API MR_IComputeToolDistance * MR_IComputeToolDistance_OffsetMutablePtr(MR_IComputeToolDistance *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_MeshPart * MR_ComputeSweptVolumeParameters_Get_toolMesh(const MR_ComputeSweptVolumeParameters *_this)
MRC_API MR_ComputeSweptVolumeParameters * MR_ComputeSweptVolumeParameters_OffsetMutablePtr(MR_ComputeSweptVolumeParameters *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_uint64_t * MR_ComputeSweptVolumeParameters_GetMutable_memoryLimit(MR_ComputeSweptVolumeParameters *_this)
MRC_API const MR_std_function_bool_from_float * MR_ComputeSweptVolumeParameters_Get_cb(const MR_ComputeSweptVolumeParameters *_this)
MRC_API void MR_ComputeSweptVolumeParameters_Set_voxelSize(MR_ComputeSweptVolumeParameters *_this, float value)
voxel size for internal voxel volumes
MRC_API MR_expected_MR_Vector3i_std_string * MR_IComputeToolDistance_prepare_MR_EndMillTool(MR_IComputeToolDistance *_this, const MR_Vector3i *dims, const MR_Polyline3 *toolpath, const MR_EndMillTool *toolSpec)
MRC_API void MR_ComputeSweptVolumeParameters_Set_toolSpec(MR_ComputeSweptVolumeParameters *_this, const MR_EndMillTool *value)
MRC_API const MR_Polyline3 * MR_ComputeSweptVolumeParameters_Get_path(const MR_ComputeSweptVolumeParameters *_this)
MRC_API void MR_IComputeToolDistance_DestroyArray(const MR_IComputeToolDistance *_this)
Destroys a heap-allocated array of MR_IComputeToolDistance. Does nothing if the pointer is null.
MRC_API void MR_ComputeSweptVolumeParameters_DestroyArray(const MR_ComputeSweptVolumeParameters *_this)
Destroys a heap-allocated array of MR_ComputeSweptVolumeParameters. Does nothing if the pointer is nu...
MRC_API MR_expected_MR_Vector3i_std_string * MR_IComputeToolDistance_prepare_MR_Polyline2(MR_IComputeToolDistance *_this, const MR_Vector3i *dims, const MR_Polyline3 *toolpath, const MR_Polyline2 *toolProfile)
MRC_API const MR_EndMillTool *const * MR_ComputeSweptVolumeParameters_Get_toolSpec(const MR_ComputeSweptVolumeParameters *_this)
MRC_API void MR_ComputeSweptVolumeParameters_Set_memoryLimit(MR_ComputeSweptVolumeParameters *_this, MR_uint64_t value)
MRC_API void MR_IComputeToolDistance_Destroy(const MR_IComputeToolDistance *_this)
Destroys a heap-allocated instance of MR_IComputeToolDistance. Does nothing if the pointer is null.
MRC_API const float * MR_ComputeSweptVolumeParameters_Get_voxelSize(const MR_ComputeSweptVolumeParameters *_this)
voxel size for internal voxel volumes
MRC_API float * MR_ComputeSweptVolumeParameters_GetMutable_voxelSize(MR_ComputeSweptVolumeParameters *_this)
voxel size for internal voxel volumes
MRC_API MR_MeshPart * MR_ComputeSweptVolumeParameters_GetMutable_toolMesh(MR_ComputeSweptVolumeParameters *_this)
MRC_API MR_Box3i MR_computeGridBox(const MR_Box3f *workArea, float voxelSize)
MRC_API const MR_uint64_t * MR_ComputeSweptVolumeParameters_Get_memoryLimit(const MR_ComputeSweptVolumeParameters *_this)
MRC_API void MR_ComputeSweptVolumeParameters_Destroy(const MR_ComputeSweptVolumeParameters *_this)
Destroys a heap-allocated instance of MR_ComputeSweptVolumeParameters. Does nothing if the pointer is...
MRC_API const MR_ComputeSweptVolumeParameters * MR_ComputeSweptVolumeParameters_OffsetPtr(const MR_ComputeSweptVolumeParameters *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_ComputeSweptVolumeParameters MR_ComputeSweptVolumeParameters
Definition MRSweptVolume.h:28
MRC_API MR_ComputeSweptVolumeParameters * MR_ComputeSweptVolumeParameters_ConstructFrom(const MR_Polyline3 *path, const MR_MeshPart *toolMesh, const MR_EndMillTool *toolSpec, float voxelSize, MR_uint64_t memoryLimit, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API MR_std_function_bool_from_float * MR_ComputeSweptVolumeParameters_GetMutable_cb(MR_ComputeSweptVolumeParameters *_this)
MRC_API const MR_EndMillTool ** MR_ComputeSweptVolumeParameters_GetMutable_toolSpec(MR_ComputeSweptVolumeParameters *_this)
struct MR_IComputeToolDistance MR_IComputeToolDistance
Definition MRSweptVolume.h:32
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
struct MR_expected_MR_Vector3i_std_string MR_expected_MR_Vector3i_std_string
Definition expected_MR_Vector3i_std_string.h:18
#define MRC_API
Definition exports.h:11
const Vector3i & dims() const
Definition MRVector3.h:50
Definition MRVector3.h:32