MeshLib C Docs
Loading...
Searching...
No Matches
MRMovementBuildBody.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
14typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
15typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.h>`.
16typedef struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_Vector3f.h>`.
17
18
21
29
36
44
51
58
65
72
79
86
92
97
103
107
112
117MRC_API MR_MovementBuildBodyParams *MR_MovementBuildBodyParams_ConstructFrom(bool allowRotation, const MR_Vector3f *center, const MR_Vector3f *bodyNormal, const MR_AffineXf3f *b2tXf);
118
121
124
129
132
135
141
151
152#ifdef __cplusplus
153} // extern "C"
154#endif
struct MR_std_vector_std_vector_MR_Vector3f MR_std_vector_std_vector_MR_Vector3f
Definition MRContour.h:17
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRDistanceMap.h:27
MRC_API void MR_MovementBuildBodyParams_Set_b2tXf(MR_MovementBuildBodyParams *_this, const MR_AffineXf3f *value)
MRC_API void MR_MovementBuildBodyParams_DestroyArray(const MR_MovementBuildBodyParams *_this)
Destroys a heap-allocated array of MR_MovementBuildBodyParams. Does nothing if the pointer is null.
MRC_API MR_std_optional_MR_Vector3f * MR_MovementBuildBodyParams_GetMutable_bodyNormal(MR_MovementBuildBodyParams *_this)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_OffsetMutablePtr(MR_MovementBuildBodyParams *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_Mesh * MR_makeMovementBuildBody(const MR_std_vector_std_vector_MR_Vector3f *body, const MR_std_vector_std_vector_MR_Vector3f *trajectory, const MR_MovementBuildBodyParams *params)
MRC_API void MR_MovementBuildBodyParams_Set_bodyNormal(MR_MovementBuildBodyParams *_this, const MR_Vector3f *value)
MRC_API const MR_AffineXf3f ** MR_MovementBuildBodyParams_GetMutable_b2tXf(MR_MovementBuildBodyParams *_this)
MRC_API const bool * MR_MovementBuildBodyParams_Get_allowRotation(const MR_MovementBuildBodyParams *_this)
struct MR_MovementBuildBodyParams MR_MovementBuildBodyParams
Generated from class MR::MovementBuildBodyParams.
Definition MRMovementBuildBody.h:20
MRC_API const MR_std_optional_MR_Vector3f * MR_MovementBuildBodyParams_Get_center(const MR_MovementBuildBodyParams *_this)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_AssignFromAnother(MR_MovementBuildBodyParams *_this, const MR_MovementBuildBodyParams *_other)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_ConstructFromAnother(const MR_MovementBuildBodyParams *_other)
MRC_API MR_std_optional_MR_Vector3f * MR_MovementBuildBodyParams_GetMutable_center(MR_MovementBuildBodyParams *_this)
MRC_API void MR_MovementBuildBodyParams_Set_center(MR_MovementBuildBodyParams *_this, const MR_Vector3f *value)
MRC_API const MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_OffsetPtr(const MR_MovementBuildBodyParams *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_AffineXf3f *const * MR_MovementBuildBodyParams_Get_b2tXf(const MR_MovementBuildBodyParams *_this)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_ConstructFrom(bool allowRotation, const MR_Vector3f *center, const MR_Vector3f *bodyNormal, const MR_AffineXf3f *b2tXf)
MRC_API bool * MR_MovementBuildBodyParams_GetMutable_allowRotation(MR_MovementBuildBodyParams *_this)
MRC_API void MR_MovementBuildBodyParams_Set_allowRotation(MR_MovementBuildBodyParams *_this, bool value)
MRC_API MR_MovementBuildBodyParams * MR_MovementBuildBodyParams_DefaultConstruct(void)
MRC_API void MR_MovementBuildBodyParams_Destroy(const MR_MovementBuildBodyParams *_this)
Destroys a heap-allocated instance of MR_MovementBuildBodyParams. Does nothing if the pointer is null...
MRC_API const MR_std_optional_MR_Vector3f * MR_MovementBuildBodyParams_Get_bodyNormal(const MR_MovementBuildBodyParams *_this)
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Definition MRVector3.h:51