MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectsAccess.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
14typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
15typedef struct MR_std_shared_ptr_MR_ObjectDistanceMap MR_std_shared_ptr_MR_ObjectDistanceMap; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectDistanceMap.h>`.
16typedef struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLines.h>`.
17typedef struct MR_std_shared_ptr_MR_ObjectLinesHolder MR_std_shared_ptr_MR_ObjectLinesHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLinesHolder.h>`.
18typedef struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMesh.h>`.
19typedef struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMeshHolder.h>`.
20typedef struct MR_std_shared_ptr_MR_ObjectPoints MR_std_shared_ptr_MR_ObjectPoints; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectPoints.h>`.
21typedef struct MR_std_shared_ptr_MR_ObjectPointsHolder MR_std_shared_ptr_MR_ObjectPointsHolder; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectPointsHolder.h>`.
22typedef struct MR_std_shared_ptr_MR_ObjectVoxels MR_std_shared_ptr_MR_ObjectVoxels; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectVoxels.h>`.
23typedef struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject; // Defined in `#include <MRCMisc/std_shared_ptr_MR_VisualObject.h>`.
24typedef struct MR_std_vector_std_shared_ptr_MR_Object MR_std_vector_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_Object.h>`.
25typedef struct MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectDistanceMap.h>`.
26typedef struct MR_std_vector_std_shared_ptr_MR_ObjectLines MR_std_vector_std_shared_ptr_MR_ObjectLines; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectLines.h>`.
27typedef struct MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectLinesHolder.h>`.
28typedef struct MR_std_vector_std_shared_ptr_MR_ObjectMesh MR_std_vector_std_shared_ptr_MR_ObjectMesh; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectMesh.h>`.
29typedef struct MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectMeshHolder.h>`.
30typedef 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>`.
31typedef struct MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectPointsHolder.h>`.
32typedef struct MR_std_vector_std_shared_ptr_MR_ObjectVoxels MR_std_vector_std_shared_ptr_MR_ObjectVoxels; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectVoxels.h>`.
33typedef struct MR_std_vector_std_shared_ptr_MR_VisualObject MR_std_vector_std_shared_ptr_MR_VisualObject; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_VisualObject.h>`.
34
35
41
47
53
59
65
71
77
83
89
95
101
107
113
119
125
131
137
143
149
155
162MRC_API MR_std_vector_std_shared_ptr_MR_Object *MR_getTopmostObjects_MR_Object(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
163
170MRC_API MR_std_vector_std_shared_ptr_MR_VisualObject *MR_getTopmostObjects_MR_VisualObject(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
171
178MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPoints *MR_getTopmostObjects_MR_ObjectPoints(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
179
186MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder *MR_getTopmostObjects_MR_ObjectPointsHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
187
194MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLines *MR_getTopmostObjects_MR_ObjectLines(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
195
202MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder *MR_getTopmostObjects_MR_ObjectLinesHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
203
210MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMesh *MR_getTopmostObjects_MR_ObjectMesh(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
211
218MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder *MR_getTopmostObjects_MR_ObjectMeshHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
219
226MRC_API MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap *MR_getTopmostObjects_MR_ObjectDistanceMap(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
227
234MRC_API MR_std_vector_std_shared_ptr_MR_ObjectVoxels *MR_getTopmostObjects_MR_ObjectVoxels(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck);
235
240
245
250
255
260
265
270
275
280
285
290
295
300
305
310
315
320
325
330
335
336#ifdef __cplusplus
337} // extern "C"
338#endif
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:35
struct MR_std_shared_ptr_MR_VisualObject MR_std_shared_ptr_MR_VisualObject
Definition MRChangeColoringActions.h:18
struct MR_std_shared_ptr_MR_ObjectMeshHolder MR_std_shared_ptr_MR_ObjectMeshHolder
Definition MRChangeColoringActions.h:17
struct MR_std_shared_ptr_MR_ObjectLinesHolder MR_std_shared_ptr_MR_ObjectLinesHolder
Definition MRChangeColoringActions.h:16
struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh
Definition MRChangeMeshAction.h:20
struct MR_std_shared_ptr_MR_ObjectPoints MR_std_shared_ptr_MR_ObjectPoints
Definition MRChangePointCloudAction.h:17
struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines
Definition MRChangePolylineAction.h:16
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_std_shared_ptr_MR_Object MR_std_vector_std_shared_ptr_MR_Object
Definition MRHeapBytes.h:17
struct MR_std_shared_ptr_MR_ObjectVoxels MR_std_shared_ptr_MR_ObjectVoxels
Definition MRLoadedObjects.h:18
struct MR_std_vector_std_shared_ptr_MR_ObjectLines MR_std_vector_std_shared_ptr_MR_ObjectLines
Definition MRObjectLines.h:42
struct MR_std_vector_std_shared_ptr_MR_ObjectMesh MR_std_vector_std_shared_ptr_MR_ObjectMesh
Definition MRObjectMesh.h:52
struct MR_std_vector_std_shared_ptr_MR_ObjectPoints MR_std_vector_std_shared_ptr_MR_ObjectPoints
Definition MRObjectPoints.h:44
struct MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder
Definition MRObjectsAccess.h:27
MRC_API MR_std_shared_ptr_MR_ObjectDistanceMap * MR_getDepthFirstObject_MR_ObjectDistanceMap(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLines * MR_getAllObjectsInTree_MR_ObjectLines(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectVoxels * MR_getAllObjectsInTree_MR_ObjectVoxels(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectVoxels * MR_asSelectivityType_MR_ObjectVoxels(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_VisualObject(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_VisualObject *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectPoints * MR_asSelectivityType_MR_ObjectPoints(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPoints * MR_getAllObjectsInTree_MR_ObjectPoints(MR_Object *root, const MR_ObjectSelectivityType *type)
struct MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder
Definition MRObjectsAccess.h:29
MRC_API void MR_appendObjectFromTreeRecursive_MR_Object(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_Object *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPoints * MR_getTopmostObjects_MR_ObjectPoints(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_shared_ptr_MR_ObjectLinesHolder * MR_getDepthFirstObject_MR_ObjectLinesHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
struct MR_std_vector_std_shared_ptr_MR_ObjectVoxels MR_std_vector_std_shared_ptr_MR_ObjectVoxels
Definition MRObjectsAccess.h:32
MRC_API MR_std_vector_std_shared_ptr_MR_Object * MR_getTopmostObjects_MR_Object(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectVoxels(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectVoxels *res, const MR_ObjectSelectivityType *type)
struct MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder
Definition MRObjectsAccess.h:31
MRC_API MR_std_vector_std_shared_ptr_MR_VisualObject * MR_getAllObjectsInTree_MR_VisualObject(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectMeshHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder *res, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectLines(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectLines *res, const MR_ObjectSelectivityType *type)
struct MR_std_shared_ptr_MR_ObjectPointsHolder MR_std_shared_ptr_MR_ObjectPointsHolder
Definition MRObjectsAccess.h:21
MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_asSelectivityType_MR_ObjectLines(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLines * MR_getTopmostObjects_MR_ObjectLines(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_shared_ptr_MR_Object * MR_getDepthFirstObject_MR_Object(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectVoxels * MR_getTopmostObjects_MR_ObjectVoxels(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_shared_ptr_MR_ObjectPoints * MR_getDepthFirstObject_MR_ObjectPoints(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_VisualObject * MR_asSelectivityType_MR_VisualObject(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder * MR_getTopmostObjects_MR_ObjectLinesHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_shared_ptr_MR_ObjectMesh * MR_getDepthFirstObject_MR_ObjectMesh(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_VisualObject * MR_getTopmostObjects_MR_VisualObject(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMesh * MR_getTopmostObjects_MR_ObjectMesh(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder * MR_getAllObjectsInTree_MR_ObjectLinesHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectPointsHolder * MR_getDepthFirstObject_MR_ObjectPointsHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectMeshHolder * MR_asSelectivityType_MR_ObjectMeshHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
struct MR_std_vector_std_shared_ptr_MR_VisualObject MR_std_vector_std_shared_ptr_MR_VisualObject
Definition MRObjectsAccess.h:33
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder * MR_getAllObjectsInTree_MR_ObjectMeshHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectPointsHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectVoxels * MR_getDepthFirstObject_MR_ObjectVoxels(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_Object * MR_getAllObjectsInTree_MR_Object(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectDistanceMap * MR_asSelectivityType_MR_ObjectDistanceMap(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_Object * MR_asSelectivityType_MR_Object(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMeshHolder * MR_getTopmostObjects_MR_ObjectMeshHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectPoints(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectPoints *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectPointsHolder * MR_asSelectivityType_MR_ObjectPointsHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectMesh(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectMesh *res, const MR_ObjectSelectivityType *type)
struct MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap
Definition MRObjectsAccess.h:25
MRC_API MR_std_shared_ptr_MR_ObjectMesh * MR_asSelectivityType_MR_ObjectMesh(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectMesh * MR_getAllObjectsInTree_MR_ObjectMesh(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap * MR_getAllObjectsInTree_MR_ObjectDistanceMap(MR_Object *root, const MR_ObjectSelectivityType *type)
struct MR_std_shared_ptr_MR_ObjectDistanceMap MR_std_shared_ptr_MR_ObjectDistanceMap
Definition MRObjectsAccess.h:15
MRC_API MR_std_shared_ptr_MR_ObjectLinesHolder * MR_asSelectivityType_MR_ObjectLinesHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectLinesHolder(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectLinesHolder *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap * MR_getTopmostObjects_MR_ObjectDistanceMap(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder * MR_getTopmostObjects_MR_ObjectPointsHolder(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
MRC_API void MR_appendObjectFromTreeRecursive_MR_ObjectDistanceMap(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, MR_std_vector_std_shared_ptr_MR_ObjectDistanceMap *res, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_getDepthFirstObject_MR_ObjectLines(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_VisualObject * MR_getDepthFirstObject_MR_VisualObject(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_ObjectMeshHolder * MR_getDepthFirstObject_MR_ObjectMeshHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_ObjectPointsHolder * MR_getAllObjectsInTree_MR_ObjectPointsHolder(MR_Object *root, const MR_ObjectSelectivityType *type)
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11