MeshLib C Docs
Loading...
Searching...
No Matches
MRShrinkwrap.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
13typedef struct MR_IPointsToMeshProjector MR_IPointsToMeshProjector; // Defined in `#include <MRCMesh/MRPointsToMeshProjector.h>`.
14typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
15typedef struct MR_MeshProjectionParameters MR_MeshProjectionParameters; // Defined in `#include <MRCMesh/MRPointsToMeshProjector.h>`.
16typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
17typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
18typedef struct MR_std_optional_MR_VertCoords MR_std_optional_MR_VertCoords; // Defined in `#include <MRCMisc/std_optional_MR_VertCoords.h>`.
19
20
27
35
42
50
57
64
71
78
85
92
100
107
115
123
130
138
145
152
159
166
173
180
184
189
193
197
202
206
212
217
223
226
229
237
252
266
267#ifdef __cplusplus
268} // extern "C"
269#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
struct MR_std_optional_MR_VertCoords MR_std_optional_MR_VertCoords
Definition MROffsetVerts.h:16
struct MR_IPointsToMeshProjector MR_IPointsToMeshProjector
Definition MRPointsToMeshProjector.h:27
struct MR_MeshProjectionParameters MR_MeshProjectionParameters
Definition MRPointsToMeshProjector.h:34
MRC_API void MR_ShrinkwrapParameters_DestroyArray(const MR_ShrinkwrapParameters *_this)
Destroys a heap-allocated array of MR_ShrinkwrapParameters. Does nothing if the pointer is null.
MRC_API float * MR_ShrinkwrapParameters_GetMutable_offset(MR_ShrinkwrapParameters *_this)
MRC_API float * MR_ShrinkwrapParameters_GetMutable_upDistLimitSq(MR_ShrinkwrapParameters *_this)
MRC_API const MR_AffineXf3f *const * MR_ShrinkwrapParameters_Get_xf(const MR_ShrinkwrapParameters *_this)
MRC_API void MR_ShrinkwrapParameters_Set_region(MR_ShrinkwrapParameters *_this, const MR_VertBitSet *value)
MRC_API void MR_ShrinkwrapParameters_Set_projector(MR_ShrinkwrapParameters *_this, MR_IPointsToMeshProjector *value)
MRC_API bool MR_shrinkwrap(MR_Mesh *mesh, const MR_Mesh *refMesh, const MR_ShrinkwrapParameters *params, const MR_std_function_bool_from_float *cb)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_MutableStaticDowncastFrom_MR_MeshProjectionParameters(MR_MeshProjectionParameters *object)
MRC_API const MR_AffineXf3f ** MR_ShrinkwrapParameters_GetMutable_refXf(MR_ShrinkwrapParameters *_this)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_OffsetMutablePtr(MR_ShrinkwrapParameters *ptr, ptrdiff_t i)
MRC_API const MR_VertBitSet ** MR_ShrinkwrapParameters_GetMutable_region(MR_ShrinkwrapParameters *_this)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_DefaultConstructArray(size_t num_elems)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_AssignFromAnother(MR_ShrinkwrapParameters *_this, const MR_ShrinkwrapParameters *_other)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_DefaultConstruct(void)
MRC_API const float * MR_ShrinkwrapParameters_Get_offset(const MR_ShrinkwrapParameters *_this)
MRC_API const MR_AffineXf3f *const * MR_ShrinkwrapParameters_Get_refXf(const MR_ShrinkwrapParameters *_this)
MRC_API MR_MeshProjectionParameters * MR_ShrinkwrapParameters_MutableUpcastTo_MR_MeshProjectionParameters(MR_ShrinkwrapParameters *object)
MRC_API float * MR_ShrinkwrapParameters_GetMutable_loDistLimitSq(MR_ShrinkwrapParameters *_this)
MRC_API const MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_OffsetPtr(const MR_ShrinkwrapParameters *ptr, ptrdiff_t i)
MRC_API void MR_ShrinkwrapParameters_Destroy(const MR_ShrinkwrapParameters *_this)
Destroys a heap-allocated instance of MR_ShrinkwrapParameters. Does nothing if the pointer is null.
MRC_API void MR_ShrinkwrapParameters_Set_loDistLimitSq(MR_ShrinkwrapParameters *_this, float value)
MRC_API const MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_StaticDowncastFrom_MR_MeshProjectionParameters(const MR_MeshProjectionParameters *object)
MRC_API void MR_ShrinkwrapParameters_Set_refXf(MR_ShrinkwrapParameters *_this, const MR_AffineXf3f *value)
MRC_API const float * MR_ShrinkwrapParameters_Get_upDistLimitSq(const MR_ShrinkwrapParameters *_this)
MRC_API const float * MR_ShrinkwrapParameters_Get_loDistLimitSq(const MR_ShrinkwrapParameters *_this)
MRC_API const MR_AffineXf3f ** MR_ShrinkwrapParameters_GetMutable_xf(MR_ShrinkwrapParameters *_this)
MRC_API void MR_ShrinkwrapParameters_Set_upDistLimitSq(MR_ShrinkwrapParameters *_this, float value)
MRC_API MR_std_optional_MR_VertCoords * MR_findShrinkwrapPositions(const MR_Mesh *mesh, const MR_Mesh *refMesh, const MR_ShrinkwrapParameters *params, const MR_std_function_bool_from_float *cb)
MRC_API void MR_ShrinkwrapParameters_Set_xf(MR_ShrinkwrapParameters *_this, const MR_AffineXf3f *value)
MRC_API const MR_MeshProjectionParameters * MR_ShrinkwrapParameters_UpcastTo_MR_MeshProjectionParameters(const MR_ShrinkwrapParameters *object)
MRC_API MR_ShrinkwrapParameters * MR_ShrinkwrapParameters_ConstructFromAnother(const MR_ShrinkwrapParameters *_other)
MRC_API void MR_ShrinkwrapParameters_Set_offset(MR_ShrinkwrapParameters *_this, float value)
MRC_API const MR_VertBitSet *const * MR_ShrinkwrapParameters_Get_region(const MR_ShrinkwrapParameters *_this)
struct MR_ShrinkwrapParameters MR_ShrinkwrapParameters
Definition MRShrinkwrap.h:26
MRC_API MR_IPointsToMeshProjector *const * MR_ShrinkwrapParameters_Get_projector(const MR_ShrinkwrapParameters *_this)
MRC_API MR_IPointsToMeshProjector ** MR_ShrinkwrapParameters_GetMutable_projector(MR_ShrinkwrapParameters *_this)
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39