MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectMeshHolder.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRBox.h>
5#include <MRCMesh/MREnums.h>
7#include <MRCMisc/common.h>
8#include <MRCMisc/exports.h>
9
10#include <stdbool.h>
11#include <stddef.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
18typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
19typedef struct MR_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
20typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
21typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
22typedef struct MR_FaceMap MR_FaceMap; // Defined in `#include <MRCMesh/MRVector.h>`.
23typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
24typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
25typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
26typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
28typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
29typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
30typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
31typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
32typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
33typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
34typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId; // Defined in `#include <MRCMesh/MRVector.h>`.
35typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
36typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
37typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
38typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
39typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
40typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
41typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
42typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
43typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
44typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
45typedef struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Mesh.h>`.
46typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
47typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
48typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
49
50
67
83
87
92
96
100
105
109
115
120
125
129
135
140
146
151
159
166
171
175
181
186
192
197
205
212
217
220
223
231
234
238
242
247
251
256
261
266MRC_DEPRECATED_REASON("use meshPtr() instead")
268
274
279
284
288MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches);
289
296
301
306
310
317
324
329
333
340
347
352
356
361
365
370
374
379
383
388
392
398
404
408
413
417
422
428
435
441
449
455
461
466
472
477
481
486
490
494
498
502
508
514
520
526
532
538
544
549
553
558
564
569
573
578
583
586MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
587
592
601
609MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
610
611// ancillary texture can be used to have custom features visualization without affecting real one
616
620
625
629
634
638
642
647
652
659
664
669
674
679
684
689
694
699
704
709
714
719
724
729
735
740
745
749
754
757
762
765
770
777
784
791
798
804
810
817
824
831MRC_API const MR_Color *MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId);
832
838MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
839
846
852
858
863
870
877
883MRC_API const unsigned char *MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId);
884
889MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId);
890
896
901
906
911
916
921
928
935
940
945
950
955
960
965
970
975
982
988
994
1000
1006
1011MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization);
1012
1017
1022MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end);
1023
1032
1038
1044
1050
1055
1063
1069
1075
1082
1089
1094
1098
1104
1108
1113
1119
1126
1134MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
1135
1143
1148
1153
1158
1162
1168
1172
1177
1184
1191
1197
1203
1207
1213
1220
1228
1234
1241
1249MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1250
1257MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1258
1259// returns this Object as shared_ptr
1260// finds it among its parent's recognized children
1265
1271
1274// serialization falls back to the PLY format if given format support is available
1275// NOTE: CTM format support is available in the MRIOExtras library; make sure to load it if you prefer CTM
1279MRC_API void MR_setDefaultSerializeMeshFormat(const char *newFormat, const char *newFormat_end);
1280
1281#ifdef __cplusplus
1282} // extern "C"
1283#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:24
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:19
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:32
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:33
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ConstChildren MR_ConstChildren
Definition MRAddVisualPropertiesMixin.h:21
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:29
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:36
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:39
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:25
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:35
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:28
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:27
struct MR_VertMap MR_VertMap
std::vector<T>-like container that requires specific indexing type,
Definition MRBitSet.h:40
struct MR_FaceMap MR_FaceMap
std::vector<T>-like container that requires specific indexing type,
Definition MRBitSet.h:26
struct MR_FaceColors MR_FaceColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:13
struct MR_TexturePerFace MR_TexturePerFace
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeMeshAction.h:15
struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeMeshAction.h:16
struct MR_ObjectMeshData MR_ObjectMeshData
Definition MRChangeMeshDataAction.h:15
struct MR_VertColors MR_VertColors
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:22
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
struct MR_std_string MR_std_string
Definition MRCtm.h:32
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:18
struct MR_VertCoords2 MR_VertCoords2
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:23
MR_ColoringType
Definition MREnums.h:94
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
Definition MRMeshSaveObj.h:16
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:17
struct MR_ObjectMeshHolder MR_ObjectMeshHolder
Definition MRObjectDistanceMap.h:31
MRC_API void MR_ObjectMeshHolder_updateUVCoords(MR_ObjectMeshHolder *_this, MR_VertCoords2 *updated)
MRC_API void MR_ObjectMeshHolder_selectFaces(MR_ObjectMeshHolder *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectMeshHolder *_other)
MRC_API void MR_ObjectMeshHolder_updateTextures(MR_ObjectMeshHolder *_this, MR_Vector_MR_MeshTexture_MR_TextureId *updated)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectMeshHolder_getGlobalAlphaForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setLocked(MR_ObjectMeshHolder *_this, bool on)
MRC_API MR_Mesh * MR_ObjectMeshHolder_varMeshPtr(MR_ObjectMeshHolder *_this)
MRC_API double MR_ObjectMeshHolder_volume(const MR_ObjectMeshHolder *_this)
MRC_API size_t MR_ObjectMeshHolder_numUndirectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getUVCoords(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetXf(MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setXf(MR_ObjectMeshHolder *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const char * MR_ObjectMeshHolder_serializeFormat(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setParentLocked(MR_ObjectMeshHolder *_this, bool lock)
MRC_API const MR_Mesh * MR_ObjectMeshHolder_meshPtr(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertColors * MR_ObjectMeshHolder_getVertsColorMap(const MR_ObjectMeshHolder *_this)
MRC_API const MR_TexturePerFace * MR_ObjectMeshHolder_getTexturePerFace(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_invalidateMetricsCache(MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API void MR_ObjectMeshHolder_sortChildren(MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_StaticClassNameInPlural(void)
Generated from method MR::ObjectMeshHolder::StaticClassNameInPlural.
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getShininess(const MR_ObjectMeshHolder *_this)
MRC_API const MR_Color * MR_ObjectMeshHolder_getBordersColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetPtr(const MR_ObjectMeshHolder *ptr, ptrdiff_t i)
MRC_API void MR_ObjectMeshHolder_removeAllChildren(MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end)
MRC_API bool MR_ObjectMeshHolder_getRedrawFlag(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_selectEdges(MR_ObjectMeshHolder *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_clone(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setFlatShading(MR_ObjectMeshHolder *_this, bool on)
MRC_API bool MR_ObjectMeshHolder_globalVisibility(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_toggleVisualizeProperty(MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setFrontColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalVisibilityMask(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setGlobalVisibility(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_updateAncillaryUVCoords(MR_ObjectMeshHolder *_this, MR_VertCoords2 *updated)
MRC_API void MR_ObjectMeshHolder_setEdgesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_Color * MR_ObjectMeshHolder_getBackColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_DestroyArray(const MR_ObjectMeshHolder *_this)
Destroys a heap-allocated array of MR_ObjectMeshHolder. Does nothing if the pointer is null.
MRC_API void MR_ObjectMeshHolder_swap(MR_ObjectMeshHolder *_this, MR_Object *other)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getFrontColorsForAllViewports(const MR_ObjectMeshHolder *_this, const bool *selected)
MRC_API MR_Object * MR_ObjectMeshHolder_MutableUpcastTo_MR_Object(MR_ObjectMeshHolder *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldTreeBox(const MR_ObjectMeshHolder *_this, const MR_ViewportId *_1)
MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectMeshHolder_renderUi(const MR_ObjectMeshHolder *_this, const MR_UiRenderParams *params)
MRC_API const MR_Color * MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API const char * MR_ObjectMeshHolder_StaticTypeName(void)
Generated from method MR::ObjectMeshHolder::StaticTypeName.
MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API bool MR_ObjectMeshHolder_isAncillary(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_string * MR_ObjectMeshHolder_className(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_getSharedPtr(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetRedrawFlag(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API bool MR_ObjectMeshHolder_isAncestor(const MR_ObjectMeshHolder *_this, const MR_Object *ancestor)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API size_t MR_ObjectMeshHolder_heapBytes(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isMeshClosed(const MR_ObjectMeshHolder *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_getSelectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API size_t MR_ObjectMeshHolder_numHandles(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_ObjectMeshHolder_setVisualizeProperty(MR_ObjectMeshHolder *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_std_vector_std_string * MR_ObjectMeshHolder_getInfoLines(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setAncillaryTexture(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API bool MR_ObjectMeshHolder_detachFromParent(MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_typeName(const MR_ObjectMeshHolder *_this)
MRC_API MR_AffineXf3f MR_ObjectMeshHolder_worldXf(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id, bool *isDef)
MRC_API size_t MR_ObjectMeshHolder_getModelHash(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isLocked(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API bool MR_ObjectMeshHolder_useDefaultScenePropertiesOnDeserialization(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setXfsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_ObjectMeshHolder_setBordersColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setSelectedFacesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API size_t MR_ObjectMeshHolder_numHoles(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setCreases(MR_ObjectMeshHolder *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases)
MRC_API const MR_ViewportMask * MR_ObjectMeshHolder_getVisualizePropertyMask(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectMeshHolder_setShininess(MR_ObjectMeshHolder *_this, float shininess)
MRC_API void MR_ObjectMeshHolder_setPointSize(MR_ObjectMeshHolder *_this, float size)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedFacesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getSpecularStrength(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setPointsColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_AssignFromAnother(MR_ObjectMeshHolder *_this, MR_PassBy _other_pass_by, MR_ObjectMeshHolder *_other)
MRC_API void MR_ObjectMeshHolder_setTexturePerFace(MR_ObjectMeshHolder *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getEdgesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectMeshHolder_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectMeshHolder *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end)
MRC_API const MR_Object * MR_ObjectMeshHolder_UpcastTo_MR_Object(const MR_ObjectMeshHolder *object)
MRC_API bool MR_ObjectMeshHolder_addChildBefore(MR_ObjectMeshHolder *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API bool MR_ObjectMeshHolder_hasAncillaryTexture(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setVisualizePropertyMask(MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMeshHolder_getPointsColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const MR_Color * MR_ObjectMeshHolder_getEdgesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API size_t MR_ObjectMeshHolder_numCreaseEdges(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_select(MR_ObjectMeshHolder *_this, bool on)
MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_DefaultConstruct(void)
MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedFacesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API bool MR_ObjectMeshHolder_getVisualizeProperty(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setSerializeFormat(MR_ObjectMeshHolder *_this, const char *newFormat)
MRC_API void MR_ObjectMeshHolder_setBackColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API double MR_ObjectMeshHolder_selectedArea(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getAncillaryUVCoords(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isPickable(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowClone(const MR_ObjectMeshHolder *_this)
MRC_API MR_ColoringType MR_ObjectMeshHolder_getColoringType(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_cloneTree(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_avgEdgeLen(const MR_ObjectMeshHolder *_this)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_visibilityMask(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_copyAllSolidColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *other)
MRC_API void MR_ObjectMeshHolder_setData(MR_ObjectMeshHolder *_this, MR_ObjectMeshData *data)
MRC_API size_t MR_ObjectMeshHolder_numSelectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setGlobalAlphaForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API void MR_ObjectMeshHolder_updateTexturePerFace(MR_ObjectMeshHolder *_this, MR_TexturePerFace *texturePerFace)
MRC_API size_t MR_ObjectMeshHolder_numComponents(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isGlobalAncillary(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_addTexture(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API MR_ObjectChildrenHolder * MR_ObjectMeshHolder_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectMeshHolder *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldBox(const MR_ObjectMeshHolder *_this, const MR_ViewportId *_1)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowCloneTree(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_applyScale(MR_ObjectMeshHolder *_this, float scaleFactor)
MRC_API bool MR_ObjectMeshHolder_hasModel(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setDirtyFlagsFast(MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API bool MR_ObjectMeshHolder_render(const MR_ObjectMeshHolder *_this, const MR_ModelRenderParams *_1)
MRC_API void MR_ObjectMeshHolder_setVisibilityMask(MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_DefaultConstructArray(size_t num_elems)
MRC_API void MR_ObjectMeshHolder_resetDirty(const MR_ObjectMeshHolder *_this)
MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getAncillaryTexture(const MR_ObjectMeshHolder *_this)
MRC_API const MR_std_string * MR_defaultSerializeMeshFormat(void)
MRC_API size_t MR_ObjectMeshHolder_numSelectedFaces(const MR_ObjectMeshHolder *_this)
MRC_API MR_ConstChildren * MR_ObjectMeshHolder_constChildren(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isParentLocked(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectMeshHolder_xfsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API const MR_FaceBitSet * MR_ObjectMeshHolder_getSelectedFaces(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetColors(MR_ObjectMeshHolder *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getPointsColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_hasVisualRepresentation(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setAmbientStrength(MR_ObjectMeshHolder *_this, float ambientStrength)
MRC_API const MR_AffineXf3f * MR_ObjectMeshHolder_xf(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_ObjectMeshHolder_resetDirtyExceptMask(const MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_ObjectMeshHolder_mesh(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_updateData(MR_ObjectMeshHolder *_this, MR_ObjectMeshData *data)
MRC_API void MR_ObjectMeshHolder_setAncillaryUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API void MR_setDefaultSerializeMeshFormat(const char *newFormat, const char *newFormat_end)
MRC_API bool MR_ObjectMeshHolder_supportsVisualizeProperty(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API const MR_Vector_MR_MeshTexture_MR_TextureId * MR_ObjectMeshHolder_getTextures(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setColoringType(MR_ObjectMeshHolder *_this, MR_ColoringType coloringType)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalClippedByPlaneMask(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isVisible(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectMeshHolder_getEdgeWidth(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setSelectedFacesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setVisible(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_creases(const MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_StaticClassName(void)
Generated from method MR::ObjectMeshHolder::StaticClassName.
MRC_API void MR_ObjectMeshHolder_setPointsColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_updateFacesColorMap(MR_ObjectMeshHolder *_this, MR_FaceColors *updated)
MRC_API void MR_ObjectMeshHolder_setFacesColorMap(MR_ObjectMeshHolder *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap)
MRC_API void MR_ObjectMeshHolder_renderForPicker(const MR_ObjectMeshHolder *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API bool MR_ObjectMeshHolder_sameModels(const MR_ObjectMeshHolder *_this, const MR_Object *other)
MRC_API const MR_ObjectMeshData * MR_ObjectMeshHolder_data(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API void MR_ObjectMeshHolder_setGlobalClippedByPlane(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_FaceColors * MR_ObjectMeshHolder_getFacesColorMap(const MR_ObjectMeshHolder *_this)
MRC_API MR_VisualObject * MR_ObjectMeshHolder_MutableUpcastTo_MR_VisualObject(MR_ObjectMeshHolder *object)
MRC_API float MR_ObjectMeshHolder_getAmbientStrength(const MR_ObjectMeshHolder *_this)
MRC_API const MR_std_string * MR_ObjectMeshHolder_name(const MR_ObjectMeshHolder *_this)
MRC_API const unsigned char * MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_updateVertsColorMap(MR_ObjectMeshHolder *_this, MR_VertColors *vertsColorMap)
MRC_API MR_MeshPart * MR_ObjectMeshHolder_meshPart(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_Destroy(const MR_ObjectMeshHolder *_this)
Destroys a heap-allocated instance of MR_ObjectMeshHolder. Does nothing if the pointer is null.
MRC_API void MR_ObjectMeshHolder_setAncillary(MR_ObjectMeshHolder *_this, bool ancillary)
MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getTexture(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBackColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setVertsColorMap(MR_ObjectMeshHolder *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectMeshHolder_getAllVisualizeProperties(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetMutablePtr(MR_ObjectMeshHolder *ptr, ptrdiff_t i)
MRC_API unsigned int MR_ObjectMeshHolder_getDirtyFlags(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setTextures(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture)
MRC_API const MR_std_set_std_string * MR_ObjectMeshHolder_tags(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setWorldXf(MR_ObjectMeshHolder *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setEdgeWidth(MR_ObjectMeshHolder *_this, float edgeWidth)
MRC_API const char * MR_ObjectMeshHolder_actualSerializeFormat(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setBackColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getBoundingBox(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_clearAncillaryTexture(MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API void MR_ObjectMeshHolder_setAllVisualizeProperties(MR_ObjectMeshHolder *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_ObjectMeshHolder_resetFrontColor(MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API bool MR_ObjectMeshHolder_isSelected(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_string * MR_ObjectMeshHolder_classNameInPlural(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getPointSize(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setPickable(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBordersColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_copyTextureAndColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API double MR_ObjectMeshHolder_totalArea(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_globalClippedByPlane(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_VisualObject * MR_ObjectMeshHolder_UpcastTo_MR_VisualObject(const MR_ObjectMeshHolder *object)
MR_MeshVisualizePropertyType
Definition MRObjectMeshHolder.h:52
@ MR_MeshVisualizePropertyType_OnlyOddFragments
Definition MRObjectMeshHolder.h:61
@ MR_MeshVisualizePropertyType_Edges
Definition MRObjectMeshHolder.h:55
@ MR_MeshVisualizePropertyType_SelectedFaces
Definition MRObjectMeshHolder.h:57
@ MR_MeshVisualizePropertyType_BordersHighlight
Definition MRObjectMeshHolder.h:62
@ MR_MeshVisualizePropertyType_Faces
Definition MRObjectMeshHolder.h:53
@ MR_MeshVisualizePropertyType_SelectedEdges
Definition MRObjectMeshHolder.h:58
@ MR_MeshVisualizePropertyType__count
Definition MRObjectMeshHolder.h:65
@ MR_MeshVisualizePropertyType_EnableShading
Definition MRObjectMeshHolder.h:59
@ MR_MeshVisualizePropertyType_Texture
Definition MRObjectMeshHolder.h:54
@ MR_MeshVisualizePropertyType_PolygonOffsetFromCamera
Definition MRObjectMeshHolder.h:64
@ MR_MeshVisualizePropertyType_Points
Definition MRObjectMeshHolder.h:56
@ MR_MeshVisualizePropertyType_FlatShading
Definition MRObjectMeshHolder.h:60
MRC_API void MR_ObjectMeshHolder_setSpecularStrength(MR_ObjectMeshHolder *_this, float specularStrength)
MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_setBordersColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setEdgesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API bool MR_ObjectMeshHolder_flatShading(const MR_ObjectMeshHolder *_this)
#define MRC_DEPRECATED_REASON(str)
Definition common.h:74
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Definition MRBox.h:107
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRViewportId.h:17