MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectsAccess.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stdint.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_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>`.
16
17
19enum // MR_ObjectSelectivityType
20{
24};
25
31
39
46
54
60
64
65#ifdef __cplusplus
66} // extern "C"
67#endif
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAngleMeasurementObject.h:18
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
MRC_API MR_std_vector_std_shared_ptr_MR_Object * MR_getTopmostVisibleObjects(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_shared_ptr_MR_Object * MR_asSelectivityType(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj, const MR_ObjectSelectivityType *type)
MRC_API bool MR_objectHasSelectableChildren(const MR_Object *object)
int32_t MR_ObjectSelectivityType
Definition MRObjectsAccess.h:18
MRC_API MR_std_shared_ptr_MR_Object * MR_getDepthFirstObject(MR_Object *root, const MR_ObjectSelectivityType *type)
MRC_API MR_std_vector_std_shared_ptr_MR_Object * MR_getTopmostObjects(MR_Object *root, const MR_ObjectSelectivityType *type, const bool *visibilityCheck)
@ MR_ObjectSelectivityType_Selected
Definition MRObjectsAccess.h:22
@ MR_ObjectSelectivityType_Any
Definition MRObjectsAccess.h:23
@ MR_ObjectSelectivityType_Selectable
Definition MRObjectsAccess.h:21
MRC_API MR_std_vector_std_shared_ptr_MR_Object * MR_getAllObjectsInTree(MR_Object *root, const MR_ObjectSelectivityType *type)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11