MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectPoints.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRMeshFwd.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
16typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
17typedef struct MR_ObjectMesh MR_ObjectMesh; // Defined in `#include <MRCMesh/MRObjectMesh.h>`.
18typedef struct MR_ObjectPointsHolder MR_ObjectPointsHolder; // Defined in `#include <MRCMesh/MRObjectPointsHolder.h>`.
19typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
20typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
21typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
22typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
23typedef struct MR_std_shared_ptr_MR_ObjectPoints MR_std_shared_ptr_MR_ObjectPoints; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectPoints.h>`.
24typedef struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud; // Defined in `#include <MRCMisc/std_shared_ptr_MR_PointCloud.h>`.
25typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
26typedef struct MR_std_vector_std_shared_ptr_MR_ObjectPoints MR_std_vector_std_shared_ptr_MR_ObjectPoints; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectPoints.h>`.
27typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
28
29
40
44
49
52
55
59
62
66
69
73
76
80
83
87
92MRC_API MR_ObjectPoints *MR_ObjectPoints_Construct(const MR_ObjectMesh *objMesh, const bool *saveNormals);
93
96
99
104
107
111
117
122
127
132
139
144
149
154
158MRC_API void MR_ObjectPoints_setDirtyFlags(MR_ObjectPoints *_this, uint32_t mask, const bool *invalidateCaches);
159
165
173
184
185#ifdef __cplusplus
186} // extern "C"
187#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:15
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:21
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:18
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAngleMeasurementObject.h:18
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRAngleMeasurementObject.h:20
struct MR_std_shared_ptr_MR_ObjectPoints MR_std_shared_ptr_MR_ObjectPoints
Definition MRChangePointCloudAction.h:17
struct MR_std_string MR_std_string
Definition MRE57.h:22
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud
Definition MRHeapBytes.h:13
struct MR_ObjectMesh MR_ObjectMesh
Definition MRMeshBooleanFacade.h:14
char MR_Reorder
determines how points to be ordered
Definition MRMeshFwd.h:31
struct MR_ObjectPoints MR_ObjectPoints
Definition MRMeshOrPointsObject.h:15
MRC_API void MR_ObjectPoints_setPointCloud(MR_ObjectPoints *_this, const MR_std_shared_ptr_MR_PointCloud *pointCloud)
MRC_API MR_ObjectPointsHolder * MR_ObjectPoints_MutableUpcastTo_MR_ObjectPointsHolder(MR_ObjectPoints *object)
Upcasts an instance of MR::ObjectPoints to its base class MR::ObjectPointsHolder.
MRC_API MR_ObjectPoints * MR_ObjectPoints_Construct(const MR_ObjectMesh *objMesh, const bool *saveNormals)
MRC_API const MR_Object * MR_ObjectPoints_UpcastTo_MR_Object(const MR_ObjectPoints *object)
MRC_API MR_std_string * MR_ObjectPoints_getClassName(const MR_ObjectPoints *_this)
MRC_API MR_VisualObject * MR_ObjectPoints_MutableUpcastTo_MR_VisualObject(MR_ObjectPoints *object)
Upcasts an instance of MR::ObjectPoints to its base class MR::VisualObject.
MRC_API void MR_ObjectPoints_swapPointCloud(MR_ObjectPoints *_this, MR_std_shared_ptr_MR_PointCloud *points)
MRC_API const char * MR_ObjectPoints_TypeName(void)
Generated from a method of class MR::ObjectPoints named TypeName.
MRC_API void MR_ObjectPoints_DestroyArray(const MR_ObjectPoints *_this)
Destroys a heap-allocated array of MR_ObjectPoints. Does nothing if the pointer is null.
MRC_API MR_ObjectPoints * MR_ObjectPoints_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectPoints *_other)
MRC_API const MR_VisualObject * MR_ObjectPoints_UpcastTo_MR_VisualObject(const MR_ObjectPoints *object)
MRC_API MR_std_string * MR_ObjectPoints_getClassNameInPlural(const MR_ObjectPoints *_this)
MRC_API MR_ObjectPoints * MR_ObjectPoints_AssignFromAnother(MR_ObjectPoints *_this, MR_PassBy _other_pass_by, MR_ObjectPoints *_other)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectPoints_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectPoints *object)
MRC_API MR_std_shared_ptr_MR_ObjectPoints * MR_pack(const MR_ObjectPoints *pts, MR_Reorder reorder, MR_VertBitSet *newValidVerts, const MR_std_function_bool_from_float *cb)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectPoints_shallowClone(const MR_ObjectPoints *_this)
MRC_API MR_Object * MR_ObjectPoints_MutableUpcastTo_MR_Object(MR_ObjectPoints *object)
Upcasts an instance of MR::ObjectPoints to its base class MR::Object.
struct MR_std_vector_std_shared_ptr_MR_ObjectPoints MR_std_vector_std_shared_ptr_MR_ObjectPoints
Definition MRObjectPoints.h:26
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectPoints_clone(const MR_ObjectPoints *_this)
MRC_API void MR_ObjectPoints_Destroy(const MR_ObjectPoints *_this)
Destroys a heap-allocated instance of MR_ObjectPoints. Does nothing if the pointer is null.
MRC_API const MR_ObjectPointsHolder * MR_ObjectPoints_UpcastTo_MR_ObjectPointsHolder(const MR_ObjectPoints *object)
MRC_API void MR_ObjectPoints_setDirtyFlags(MR_ObjectPoints *_this, uint32_t mask, const bool *invalidateCaches)
MRC_API const char * MR_ObjectPoints_typeName(const MR_ObjectPoints *_this)
MRC_API MR_std_shared_ptr_MR_ObjectPoints * MR_merge_std_vector_std_shared_ptr_MR_ObjectPoints(const MR_std_vector_std_shared_ptr_MR_ObjectPoints *objsPoints)
MRC_API const MR_ObjectPoints * MR_ObjectPoints_OffsetPtr(const MR_ObjectPoints *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_std_vector_std_string * MR_ObjectPoints_getInfoLines(const MR_ObjectPoints *_this)
MRC_API MR_ObjectChildrenHolder * MR_ObjectPoints_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectPoints *object)
Upcasts an instance of MR::ObjectPoints to its base class MR::ObjectChildrenHolder.
MRC_API const MR_std_shared_ptr_MR_PointCloud * MR_ObjectPoints_varPointCloud(MR_ObjectPoints *_this)
MRC_API MR_ObjectPoints * MR_ObjectPoints_OffsetMutablePtr(MR_ObjectPoints *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_ObjectPoints * MR_ObjectPoints_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_shared_ptr_MR_ObjectPoints * MR_cloneRegion_2_std_shared_ptr_MR_ObjectPoints(const MR_std_shared_ptr_MR_ObjectPoints *objPoints, const MR_VertBitSet *region)
MRC_API MR_ObjectPoints * MR_ObjectPoints_DefaultConstruct(void)
struct MR_ObjectPointsHolder MR_ObjectPointsHolder
Definition MRObject.h:35
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11