MeshLib C Docs
Loading...
Searching...
No Matches
MRSceneRoot.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 <stddef.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_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
15typedef struct MR_std_filesystem_path MR_std_filesystem_path; // Defined in `#include <MRCMisc/std_filesystem_path.h>`.
16typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
17typedef struct MR_std_shared_ptr_MR_SceneRootObject MR_std_shared_ptr_MR_SceneRootObject; // Defined in `#include <MRCMisc/std_shared_ptr_MR_SceneRootObject.h>`.
18typedef struct MR_std_shared_ptr_const_MR_SceneRootObject MR_std_shared_ptr_const_MR_SceneRootObject; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_SceneRootObject.h>`.
19typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
20
21
30
34
38
43
46
49
53
56
60
63
67
70
73
78
81
84
89
94
98
102
106
111MRC_API void MR_SceneRootObject_setName(MR_SceneRootObject *_this, const char *_1, const char *_1_end);
112
117
123
129
133
136
139
142
145
150
154
158
161MRC_API void MR_SceneRoot_setScenePath(const char *scenePath, const char *scenePath_end);
162
166
170
174
175#ifdef __cplusplus
176} // extern "C"
177#endif
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_string MR_std_string
Definition MRE57.h:22
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_SceneRootObject MR_SceneRootObject
Definition MRObject.h:40
struct MR_std_shared_ptr_MR_SceneRootObject MR_std_shared_ptr_MR_SceneRootObject
Definition MRSceneLoad.h:15
struct MR_std_filesystem_path MR_std_filesystem_path
Definition MRSceneRoot.h:15
MRC_API const MR_ObjectChildrenHolder * MR_SceneRootObject_UpcastTo_MR_ObjectChildrenHolder(const MR_SceneRootObject *object)
MRC_API MR_SceneRootObject * MR_SceneRoot_get(void)
MRC_API const char * MR_SceneRootObject_TypeName(void)
Generated from a method of class MR::SceneRootObject named TypeName.
MRC_API MR_std_shared_ptr_MR_SceneRootObject * MR_createRootFormObject(MR_PassBy obj_pass_by, MR_std_shared_ptr_MR_Object *obj)
MRC_API MR_std_shared_ptr_const_MR_SceneRootObject * MR_SceneRoot_constGetSharedPtr(void)
MRC_API void MR_SceneRootObject_Destroy(const MR_SceneRootObject *_this)
Destroys a heap-allocated instance of MR_SceneRootObject. Does nothing if the pointer is null.
MRC_API const MR_SceneRootObject * MR_SceneRootObject_OffsetPtr(const MR_SceneRootObject *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 char * MR_SceneRootObject_RootName(void)
Generated from a method of class MR::SceneRootObject named RootName.
MRC_API void MR_SceneRootObject_setAncillary(MR_SceneRootObject *_this, bool _1)
struct MR_std_shared_ptr_const_MR_SceneRootObject MR_std_shared_ptr_const_MR_SceneRootObject
Definition MRSceneRoot.h:18
MRC_API MR_SceneRootObject * MR_SceneRootObject_DefaultConstructArray(size_t num_elems)
MRC_API MR_SceneRoot * MR_SceneRoot_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SceneRoot *_other)
MRC_API MR_std_string * MR_SceneRootObject_getClassNameInPlural(const MR_SceneRootObject *_this)
MRC_API MR_ObjectChildrenHolder * MR_SceneRootObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_SceneRootObject *object)
Upcasts an instance of MR::SceneRootObject to its base class MR::ObjectChildrenHolder.
MRC_API const MR_std_filesystem_path * MR_SceneRoot_getScenePath(void)
MRC_API MR_std_shared_ptr_MR_SceneRootObject * MR_SceneRoot_getSharedPtr(void)
MRC_API const MR_SceneRootObject * MR_SceneRoot_constGet(void)
MRC_API MR_std_shared_ptr_MR_SceneRootObject * MR_SceneRootObject_cloneRoot(const MR_SceneRootObject *_this)
MRC_API void MR_SceneRoot_DestroyArray(const MR_SceneRoot *_this)
Destroys a heap-allocated array of MR_SceneRoot. Does nothing if the pointer is null.
MRC_API bool MR_SceneRootObject_select(MR_SceneRootObject *_this, bool _1)
MRC_API MR_SceneRootObject * MR_SceneRootObject_DefaultConstruct(void)
MRC_API MR_Object * MR_SceneRootObject_MutableUpcastTo_MR_Object(MR_SceneRootObject *object)
Upcasts an instance of MR::SceneRootObject to its base class MR::Object.
MRC_API MR_SceneRoot * MR_SceneRoot_OffsetMutablePtr(MR_SceneRoot *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_shared_ptr_MR_Object * MR_SceneRootObject_clone(const MR_SceneRootObject *_this)
MRC_API void MR_SceneRootObject_DestroyArray(const MR_SceneRootObject *_this)
Destroys a heap-allocated array of MR_SceneRootObject. Does nothing if the pointer is null.
MRC_API MR_SceneRootObject * MR_SceneRootObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SceneRootObject *_other)
struct MR_SceneRoot MR_SceneRoot
Definition MRSceneRoot.h:33
MRC_API const MR_SceneRoot * MR_SceneRoot_OffsetPtr(const MR_SceneRoot *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_SceneRoot_setScenePath(const char *scenePath, const char *scenePath_end)
MRC_API void MR_SceneRootObject_setName(MR_SceneRootObject *_this, const char *_1, const char *_1_end)
MRC_API void MR_SceneRoot_Destroy(const MR_SceneRoot *_this)
Destroys a heap-allocated instance of MR_SceneRoot. Does nothing if the pointer is null.
MRC_API MR_SceneRootObject * MR_SceneRootObject_OffsetMutablePtr(MR_SceneRootObject *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_SceneRootObject * MR_SceneRootObject_AssignFromAnother(MR_SceneRootObject *_this, MR_PassBy _other_pass_by, MR_SceneRootObject *_other)
MRC_API MR_std_string * MR_SceneRootObject_getClassName(const MR_SceneRootObject *_this)
MRC_API const char * MR_SceneRootObject_typeName(const MR_SceneRootObject *_this)
MRC_API MR_SceneRoot * MR_SceneRoot_AssignFromAnother(MR_SceneRoot *_this, MR_PassBy _other_pass_by, MR_SceneRoot *_other)
MRC_API const MR_Object * MR_SceneRootObject_UpcastTo_MR_Object(const MR_SceneRootObject *object)
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11