struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_VertCoords MR_VertCoords
Definition MRAABBTreePoints.h:22
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_VertScalars MR_VertScalars
Definition MRAggregateFlow.h:17
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_std_function_bool_from_MR_FaceId MR_std_function_bool_from_MR_FaceId
Definition MREnumNeighbours.h:18
int32_t MR_VertexMass
determines the weight or mass of each vertex in applications like Laplacian
Definition MREnums.h:14
int32_t MR_EdgeWeights
determines the weight of each edge in applications like Laplacian
Definition MREnums.h:24
MRC_API const bool * MR_InflateSettings_Get_gradualPressureGrowth(const MR_InflateSettings *_this)
MRC_API const int32_t * MR_InflateSettings_Get_iterations(const MR_InflateSettings *_this)
MRC_API MR_InflateSettings * MR_InflateSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_InflateSettings * MR_InflateSettings_OffsetMutablePtr(MR_InflateSettings *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 void MR_InflateSettings_Set_gradualPressureGrowth(MR_InflateSettings *_this, bool value)
MRC_API void MR_SpacingSettings_Set_maxSumNegW(MR_SpacingSettings *_this, float value)
MRC_API void MR_SpacingSettings_Set_stabilizer(MR_SpacingSettings *_this, float value)
MRC_API const MR_std_function_bool_from_MR_FaceId * MR_SpacingSettings_Get_isInverted(const MR_SpacingSettings *_this)
MRC_API const MR_SpacingSettings * MR_SpacingSettings_OffsetPtr(const MR_SpacingSettings *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_InflateSettings * MR_InflateSettings_ConstructFrom(float pressure, int32_t iterations, bool preSmooth, bool gradualPressureGrowth)
MRC_API int32_t * MR_SpacingSettings_GetMutable_numIters(MR_SpacingSettings *_this)
struct MR_SpacingSettings MR_SpacingSettings
Generated from class MR::SpacingSettings.
Definition MRPositionVertsSmoothly.h:25
MRC_API const MR_std_function_float_from_MR_UndirectedEdgeId * MR_SpacingSettings_Get_dist(const MR_SpacingSettings *_this)
MRC_API void MR_inflate_3(MR_Mesh *mesh, const MR_VertBitSet *verts, const MR_InflateSettings *settings)
MRC_API void MR_SpacingSettings_Set_dist(MR_SpacingSettings *_this, MR_PassBy value_pass_by, MR_std_function_float_from_MR_UndirectedEdgeId *value)
MRC_API MR_SpacingSettings * MR_SpacingSettings_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SpacingSettings *_other)
MRC_API const bool * MR_InflateSettings_Get_preSmooth(const MR_InflateSettings *_this)
MRC_API void MR_positionVertsWithSpacing_2(MR_Mesh *mesh, const MR_SpacingSettings *settings)
MRC_API MR_SpacingSettings * MR_SpacingSettings_OffsetMutablePtr(MR_SpacingSettings *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 void MR_inflate1(const MR_MeshTopology *topology, MR_VertCoords *points, const MR_VertBitSet *verts, float pressure)
MRC_API void MR_InflateSettings_DestroyArray(const MR_InflateSettings *_this)
Destroys a heap-allocated array of MR_InflateSettings. Does nothing if the pointer is null.
MRC_API const MR_InflateSettings * MR_InflateSettings_OffsetPtr(const MR_InflateSettings *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 int32_t * MR_SpacingSettings_Get_numIters(const MR_SpacingSettings *_this)
MRC_API const float * MR_InflateSettings_Get_pressure(const MR_InflateSettings *_this)
MRC_API const float * MR_SpacingSettings_Get_stabilizer(const MR_SpacingSettings *_this)
MRC_API void MR_SpacingSettings_Set_numIters(MR_SpacingSettings *_this, int32_t value)
MRC_API void MR_SpacingSettings_Set_region(MR_SpacingSettings *_this, const MR_VertBitSet *value)
MRC_API void MR_SpacingSettings_Destroy(const MR_SpacingSettings *_this)
Destroys a heap-allocated instance of MR_SpacingSettings. Does nothing if the pointer is null.
MRC_API MR_InflateSettings * MR_InflateSettings_ConstructFromAnother(const MR_InflateSettings *_other)
MRC_API void MR_positionVertsSmoothly_6(const MR_MeshTopology *topology, MR_VertCoords *points, const MR_VertBitSet *verts, const MR_EdgeWeights *edgeWeights, const MR_VertexMass *vmass, const MR_VertBitSet *fixedSharpVertices)
MRC_API float * MR_SpacingSettings_GetMutable_stabilizer(MR_SpacingSettings *_this)
MRC_API const MR_VertBitSet ** MR_SpacingSettings_GetMutable_region(MR_SpacingSettings *_this)
MRC_API MR_std_function_bool_from_MR_FaceId * MR_SpacingSettings_GetMutable_isInverted(MR_SpacingSettings *_this)
MRC_API void MR_inflate_4(const MR_MeshTopology *topology, MR_VertCoords *points, const MR_VertBitSet *verts, const MR_InflateSettings *settings)
MRC_API void MR_positionVertsSmoothlySharpBd_5(const MR_MeshTopology *topology, MR_VertCoords *points, const MR_VertBitSet *verts, const MR_VertCoords *vertShifts, const MR_VertScalars *vertStabilizers)
MRC_API MR_SpacingSettings * MR_SpacingSettings_DefaultConstruct(void)
MRC_API void MR_InflateSettings_Destroy(const MR_InflateSettings *_this)
Destroys a heap-allocated instance of MR_InflateSettings. Does nothing if the pointer is null.
MRC_API const MR_VertBitSet *const * MR_SpacingSettings_Get_region(const MR_SpacingSettings *_this)
MRC_API float * MR_SpacingSettings_GetMutable_maxSumNegW(MR_SpacingSettings *_this)
MRC_API bool * MR_InflateSettings_GetMutable_preSmooth(MR_InflateSettings *_this)
struct MR_InflateSettings MR_InflateSettings
Generated from class MR::InflateSettings.
Definition MRPositionVertsSmoothly.h:28
MRC_API int32_t * MR_InflateSettings_GetMutable_iterations(MR_InflateSettings *_this)
MRC_API void MR_positionVertsSmoothly_5(MR_Mesh *mesh, const MR_VertBitSet *verts, const MR_EdgeWeights *edgeWeights, const MR_VertexMass *vmass, const MR_VertBitSet *fixedSharpVertices)
MRC_API MR_InflateSettings * MR_InflateSettings_DefaultConstruct(void)
MRC_API const float * MR_SpacingSettings_Get_maxSumNegW(const MR_SpacingSettings *_this)
MRC_API void MR_SpacingSettings_Set_isInverted(MR_SpacingSettings *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_MR_FaceId *value)
struct MR_std_function_float_from_MR_UndirectedEdgeId MR_std_function_float_from_MR_UndirectedEdgeId
Definition MRPositionVertsSmoothly.h:21
MRC_API MR_InflateSettings * MR_InflateSettings_AssignFromAnother(MR_InflateSettings *_this, const MR_InflateSettings *_other)
MRC_API MR_SpacingSettings * MR_SpacingSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_SpacingSettings * MR_SpacingSettings_AssignFromAnother(MR_SpacingSettings *_this, MR_PassBy _other_pass_by, MR_SpacingSettings *_other)
MRC_API void MR_InflateSettings_Set_preSmooth(MR_InflateSettings *_this, bool value)
MRC_API float * MR_InflateSettings_GetMutable_pressure(MR_InflateSettings *_this)
MRC_API MR_std_function_float_from_MR_UndirectedEdgeId * MR_SpacingSettings_GetMutable_dist(MR_SpacingSettings *_this)
MRC_API MR_SpacingSettings * MR_SpacingSettings_ConstructFrom(const MR_VertBitSet *region, MR_PassBy dist_pass_by, MR_std_function_float_from_MR_UndirectedEdgeId *dist, int32_t numIters, float stabilizer, float maxSumNegW, MR_PassBy isInverted_pass_by, MR_std_function_bool_from_MR_FaceId *isInverted)
MRC_API void MR_InflateSettings_Set_pressure(MR_InflateSettings *_this, float value)
MRC_API void MR_SpacingSettings_DestroyArray(const MR_SpacingSettings *_this)
Destroys a heap-allocated array of MR_SpacingSettings. Does nothing if the pointer is null.
MRC_API void MR_positionVertsWithSpacing_3(const MR_MeshTopology *topology, MR_VertCoords *points, const MR_SpacingSettings *settings)
MRC_API void MR_positionVertsSmoothlySharpBd_4(MR_Mesh *mesh, const MR_VertBitSet *verts, const MR_VertCoords *vertShifts, const MR_VertScalars *vertStabilizers)
MRC_API void MR_InflateSettings_Set_iterations(MR_InflateSettings *_this, int32_t value)
MRC_API bool * MR_InflateSettings_GetMutable_gradualPressureGrowth(MR_InflateSettings *_this)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11