MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectMesh.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_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
20typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
21typedef struct MR_FaceMap MR_FaceMap; // Defined in `#include <MRCMesh/MRVector.h>`.
22typedef struct MR_Line3f MR_Line3f; // Defined in `#include <MRCMesh/MRLine.h>`.
23typedef struct MR_MeshIntersectionResult MR_MeshIntersectionResult; // Defined in `#include <MRCMesh/MRMeshIntersect.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_ObjectMeshHolder MR_ObjectMeshHolder; // Defined in `#include <MRCMesh/MRObjectMeshHolder.h>`.
32typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
33typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
34typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
35typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId; // Defined in `#include <MRCMesh/MRVector.h>`.
36typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
37typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
38typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
39typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
40typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
41typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
42typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
43typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
44typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
45typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
46typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
47typedef struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectMesh.h>`.
48typedef 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>`.
49typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
50typedef struct MR_std_vector_MR_AffineXf3f MR_std_vector_MR_AffineXf3f; // Defined in `#include <MRCMisc/std_vector_MR_AffineXf3f.h>`.
51typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
52typedef 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>`.
53typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
54
55
67
72
76
81
84MRC_API const MR_ObjectMesh *MR_ObjectMesh_OffsetPtr(const MR_ObjectMesh *ptr, ptrdiff_t i);
85
89
94
98
103
107
112
116
121
125
129MRC_API MR_ObjectMesh *MR_ObjectMesh_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectMesh *_other);
130
132MRC_API void MR_ObjectMesh_Destroy(const MR_ObjectMesh *_this);
133
135MRC_API void MR_ObjectMesh_DestroyArray(const MR_ObjectMesh *_this);
136
143MRC_API MR_ObjectMesh *MR_ObjectMesh_AssignFromAnother(MR_ObjectMesh *_this, MR_PassBy _other_pass_by, MR_ObjectMesh *_other);
144
146MRC_API const char *MR_ObjectMesh_StaticTypeName(void);
147
150MRC_API const char *MR_ObjectMesh_typeName(const MR_ObjectMesh *_this);
151
153MRC_API const char *MR_ObjectMesh_StaticClassName(void);
154
159
162
167
173
177MRC_API void MR_ObjectMesh_setMesh(MR_ObjectMesh *_this, MR_PassBy mesh_pass_by, MR_std_shared_ptr_MR_Mesh *mesh);
178
185
190
195
200
210
213MRC_API void MR_ObjectMesh_applyScale(MR_ObjectMesh *_this, float scaleFactor);
214
219
222MRC_API bool MR_ObjectMesh_hasModel(const MR_ObjectMesh *_this);
223
228
234
238MRC_API void MR_ObjectMesh_setDirtyFlags(MR_ObjectMesh *_this, unsigned int mask, const bool *invalidateCaches);
239
245MRC_API void MR_ObjectMesh_setDirtyFlagsFast(MR_ObjectMesh *_this, unsigned int mask);
246
250MRC_API void MR_ObjectMesh_invalidateMetricsCache(MR_ObjectMesh *_this, unsigned int mask);
251
256
259MRC_API void MR_ObjectMesh_selectFaces(MR_ObjectMesh *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection);
260
267
273MRC_API void MR_ObjectMesh_setSelectedFacesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id);
274
279
282MRC_API void MR_ObjectMesh_selectEdges(MR_ObjectMesh *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection);
283
290
296MRC_API void MR_ObjectMesh_setSelectedEdgesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id);
297
302
306
311
315
320
324
329
333
338
342
348
354
357MRC_API void MR_ObjectMesh_setCreases(MR_ObjectMesh *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases);
358
362MRC_API void MR_ObjectMesh_setFlatShading(MR_ObjectMesh *_this, bool on);
363
366MRC_API bool MR_ObjectMesh_flatShading(const MR_ObjectMesh *_this);
367
372
378
385
391
399
405
411
415MRC_API void MR_ObjectMesh_setVertsColorMap(MR_ObjectMesh *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);
416
422
427
430MRC_API void MR_ObjectMesh_setFacesColorMap(MR_ObjectMesh *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap);
431
436
439MRC_API void MR_ObjectMesh_setEdgeWidth(MR_ObjectMesh *_this, float edgeWidth);
440
443MRC_API float MR_ObjectMesh_getEdgeWidth(const MR_ObjectMesh *_this);
444
447MRC_API void MR_ObjectMesh_setPointSize(MR_ObjectMesh *_this, float size);
448
451MRC_API float MR_ObjectMesh_getPointSize(const MR_ObjectMesh *_this);
452
457MRC_API const MR_Color *MR_ObjectMesh_getEdgesColor(const MR_ObjectMesh *_this, const MR_ViewportId *id);
458
463MRC_API void MR_ObjectMesh_setEdgesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id);
464
469MRC_API const MR_Color *MR_ObjectMesh_getPointsColor(const MR_ObjectMesh *_this, const MR_ViewportId *id);
470
475MRC_API void MR_ObjectMesh_setPointsColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id);
476
482
487MRC_API void MR_ObjectMesh_setBordersColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id);
488
494
499
502MRC_API void MR_ObjectMesh_setTextures(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture);
503
508
513MRC_API void MR_ObjectMesh_setTexturePerFace(MR_ObjectMesh *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace);
514
519
522MRC_API void MR_ObjectMesh_addTexture(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture);
523
528
533
536MRC_API void MR_ObjectMesh_setUVCoords(MR_ObjectMesh *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
537
542
550MRC_API void MR_ObjectMesh_copyTextureAndColors(MR_ObjectMesh *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
551
559MRC_API void MR_ObjectMesh_copyColors(MR_ObjectMesh *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
560
561// ancillary texture can be used to have custom features visualization without affecting real one
566
569MRC_API void MR_ObjectMesh_setAncillaryTexture(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture);
570
575
578MRC_API void MR_ObjectMesh_setAncillaryUVCoords(MR_ObjectMesh *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
579
584
588
592
596MRC_API bool MR_ObjectMesh_getRedrawFlag(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
597
601MRC_API bool MR_ObjectMesh_isMeshClosed(const MR_ObjectMesh *_this);
602
609
613MRC_API MR_uint64_t MR_ObjectMesh_numSelectedFaces(const MR_ObjectMesh *_this);
614
618MRC_API MR_uint64_t MR_ObjectMesh_numSelectedEdges(const MR_ObjectMesh *_this);
619
623MRC_API MR_uint64_t MR_ObjectMesh_numCreaseEdges(const MR_ObjectMesh *_this);
624
628MRC_API double MR_ObjectMesh_totalArea(const MR_ObjectMesh *_this);
629
633MRC_API double MR_ObjectMesh_selectedArea(const MR_ObjectMesh *_this);
634
638MRC_API double MR_ObjectMesh_volume(const MR_ObjectMesh *_this);
639
643MRC_API float MR_ObjectMesh_avgEdgeLen(const MR_ObjectMesh *_this);
644
648MRC_API MR_uint64_t MR_ObjectMesh_numUndirectedEdges(const MR_ObjectMesh *_this);
649
653MRC_API MR_uint64_t MR_ObjectMesh_numHoles(const MR_ObjectMesh *_this);
654
658MRC_API MR_uint64_t MR_ObjectMesh_numComponents(const MR_ObjectMesh *_this);
659
663MRC_API MR_uint64_t MR_ObjectMesh_numHandles(const MR_ObjectMesh *_this);
664
668MRC_API MR_uint64_t MR_ObjectMesh_heapBytes(const MR_ObjectMesh *_this);
669
673MRC_API const char *MR_ObjectMesh_serializeFormat(const MR_ObjectMesh *_this);
674
678MRC_API const char *MR_ObjectMesh_actualSerializeFormat(const MR_ObjectMesh *_this);
679
684MRC_API void MR_ObjectMesh_setSerializeFormat(MR_ObjectMesh *_this, const char *newFormat);
685
690
695
698MRC_API MR_uint64_t MR_ObjectMesh_getModelHash(const MR_ObjectMesh *_this);
699
703MRC_API bool MR_ObjectMesh_sameModels(const MR_ObjectMesh *_this, const MR_Object *other);
704
710MRC_API void MR_ObjectMesh_setVisualizeProperty(MR_ObjectMesh *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
711
718
724MRC_API bool MR_ObjectMesh_getVisualizeProperty(const MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
725
732
738
744
750MRC_API bool MR_ObjectMesh_globalClippedByPlane(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
751
757MRC_API void MR_ObjectMesh_setGlobalClippedByPlane(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask);
758
765MRC_API const MR_Color *MR_ObjectMesh_getFrontColor(const MR_ObjectMesh *_this, const bool *selected, const MR_ViewportId *viewportId);
766
772MRC_API void MR_ObjectMesh_setFrontColor(MR_ObjectMesh *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
773
780
785MRC_API void MR_ObjectMesh_setFrontColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected);
786
792
797
803MRC_API const MR_Color *MR_ObjectMesh_getBackColor(const MR_ObjectMesh *_this, const MR_ViewportId *viewportId);
804
810MRC_API void MR_ObjectMesh_setBackColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *viewportId);
811
817MRC_API const unsigned char *MR_ObjectMesh_getGlobalAlpha(const MR_ObjectMesh *_this, const MR_ViewportId *viewportId);
818
823MRC_API void MR_ObjectMesh_setGlobalAlpha(MR_ObjectMesh *_this, unsigned char alpha, const MR_ViewportId *viewportId);
824
830
835
839MRC_API unsigned int MR_ObjectMesh_getDirtyFlags(const MR_ObjectMesh *_this);
840
844MRC_API void MR_ObjectMesh_resetDirty(const MR_ObjectMesh *_this);
845
849MRC_API void MR_ObjectMesh_resetDirtyExceptMask(const MR_ObjectMesh *_this, unsigned int mask);
850
855
861MRC_API bool MR_ObjectMesh_isPickable(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
862
868MRC_API void MR_ObjectMesh_setPickable(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask);
869
874
879
883MRC_API float MR_ObjectMesh_getShininess(const MR_ObjectMesh *_this);
884
888MRC_API void MR_ObjectMesh_setShininess(MR_ObjectMesh *_this, float shininess);
889
894
898MRC_API void MR_ObjectMesh_setSpecularStrength(MR_ObjectMesh *_this, float specularStrength);
899
904
908MRC_API void MR_ObjectMesh_setAmbientStrength(MR_ObjectMesh *_this, float ambientStrength);
909
915MRC_API bool MR_ObjectMesh_render(const MR_ObjectMesh *_this, const MR_ModelRenderParams *_1);
916
921MRC_API void MR_ObjectMesh_renderForPicker(const MR_ObjectMesh *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2);
922
927MRC_API void MR_ObjectMesh_renderUi(const MR_ObjectMesh *_this, const MR_UiRenderParams *params);
928
934
939MRC_API void MR_ObjectMesh_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMesh *_this, bool useDefaultScenePropertiesOnDeserialization);
940
944MRC_API const MR_std_string *MR_ObjectMesh_name(const MR_ObjectMesh *_this);
945
950MRC_API void MR_ObjectMesh_setName(MR_ObjectMesh *_this, const char *name, const char *name_end);
951
959MRC_API const MR_AffineXf3f *MR_ObjectMesh_xf(const MR_ObjectMesh *_this, const MR_ViewportId *id, bool *isDef);
960
965MRC_API void MR_ObjectMesh_setXf(MR_ObjectMesh *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
966
971MRC_API void MR_ObjectMesh_resetXf(MR_ObjectMesh *_this, const MR_ViewportId *id);
972
978
983
990MRC_API MR_AffineXf3f MR_ObjectMesh_worldXf(const MR_ObjectMesh *_this, const MR_ViewportId *id, bool *isDef);
991
996MRC_API void MR_ObjectMesh_setWorldXf(MR_ObjectMesh *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
997
1003
1009MRC_API bool MR_ObjectMesh_globalVisibility(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
1010
1016MRC_API void MR_ObjectMesh_setGlobalVisibility(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask);
1017
1021MRC_API bool MR_ObjectMesh_isLocked(const MR_ObjectMesh *_this);
1022
1025MRC_API void MR_ObjectMesh_setLocked(MR_ObjectMesh *_this, bool on);
1026
1032
1035MRC_API void MR_ObjectMesh_setParentLocked(MR_ObjectMesh *_this, bool lock);
1036
1040MRC_API bool MR_ObjectMesh_isAncestor(const MR_ObjectMesh *_this, const MR_Object *ancestor);
1041
1047
1055MRC_API bool MR_ObjectMesh_addChild(MR_ObjectMesh *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
1056
1063MRC_API bool MR_ObjectMesh_addChildBefore(MR_ObjectMesh *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild);
1064
1069
1074
1078MRC_API bool MR_ObjectMesh_select(MR_ObjectMesh *_this, bool on);
1079
1082MRC_API bool MR_ObjectMesh_isSelected(const MR_ObjectMesh *_this);
1083
1088MRC_API void MR_ObjectMesh_setAncillary(MR_ObjectMesh *_this, bool ancillary);
1089
1092MRC_API bool MR_ObjectMesh_isAncillary(const MR_ObjectMesh *_this);
1093
1098
1104MRC_API void MR_ObjectMesh_setVisible(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask);
1105
1111MRC_API bool MR_ObjectMesh_isVisible(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
1112
1117MRC_API void MR_ObjectMesh_setVisibilityMask(MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask);
1118
1124
1128
1134
1141
1148MRC_API void MR_ObjectMesh_swap(MR_ObjectMesh *_this, MR_Object *other);
1149
1156
1163
1171MRC_API bool MR_ObjectMesh_addTag(MR_ObjectMesh *_this, const char *tag, const char *tag_end);
1172
1179MRC_API bool MR_ObjectMesh_removeTag(MR_ObjectMesh *_this, const char *tag, const char *tag_end);
1180
1181// returns this Object as shared_ptr
1182// finds it among its parent's recognized children
1187
1194
1201
1208
1212
1217
1223
1227
1231
1237
1240
1243
1251
1259
1267MRC_API MR_std_shared_ptr_MR_ObjectMesh *MR_cloneRegion_3(const MR_std_shared_ptr_MR_ObjectMesh *objMesh, const MR_FaceBitSet *region, const bool *copyTexture);
1268
1269#ifdef __cplusplus
1270} // extern "C"
1271#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:28
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:26
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:35
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:36
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:32
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:39
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:42
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:34
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:27
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:38
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:33
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:29
struct MR_Line3f MR_Line3f
Definition MRBestFit.h:17
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:40
struct MR_FaceMap MR_FaceMap
Definition MRBitSet.h:26
struct MR_FaceColors MR_FaceColors
Definition MRChangeColoringActions.h:13
struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
struct MR_TexturePerFace MR_TexturePerFace
Definition MRChangeMeshAction.h:15
struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId
Definition MRChangeMeshAction.h:16
struct MR_std_shared_ptr_MR_ObjectMesh MR_std_shared_ptr_MR_ObjectMesh
Definition MRChangeMeshAction.h:20
struct MR_ObjectMeshData MR_ObjectMeshData
Definition MRChangeMeshDataAction.h:15
struct MR_VertColors MR_VertColors
Definition MRCtm.h:22
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
Definition MRCtm.h:23
MR_ColoringType
Definition MREnums.h:86
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_ObjectMesh MR_ObjectMesh
Definition MRMeshBooleanFacade.h:14
struct MR_MeshIntersectionResult MR_MeshIntersectionResult
Definition MRMeshIntersect.h:42
struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
Definition MRMeshSaveObj.h:16
MRC_API void MR_ObjectMesh_setTextures(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture)
MRC_API const MR_AffineXf3f * MR_ObjectMesh_xf(const MR_ObjectMesh *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_ObjectMesh_selectEdges(MR_ObjectMesh *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection)
MRC_API MR_uint64_t MR_ObjectMesh_heapBytes(const MR_ObjectMesh *_this)
MRC_API float MR_ObjectMesh_getShininess(const MR_ObjectMesh *_this)
MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_ObjectMesh_mesh(const MR_ObjectMesh *_this)
MRC_API MR_std_shared_ptr_MR_Mesh * MR_ObjectMesh_updateMesh(MR_ObjectMesh *_this, MR_PassBy mesh_pass_by, MR_std_shared_ptr_MR_Mesh *mesh)
MRC_API float MR_ObjectMesh_getSpecularStrength(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_isAncestor(const MR_ObjectMesh *_this, const MR_Object *ancestor)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getSelectedFacesColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_shallowCloneTree(const MR_ObjectMesh *_this)
MRC_API const MR_std_vector_MR_AffineXf3f *const * MR_ObjectMeshMergeOptions_Get_overrideXfs(const MR_ObjectMeshMergeOptions *_this)
MRC_API void MR_ObjectMesh_setMesh(MR_ObjectMesh *_this, MR_PassBy mesh_pass_by, MR_std_shared_ptr_MR_Mesh *mesh)
MRC_API MR_std_string * MR_ObjectMesh_className(const MR_ObjectMesh *_this)
MRC_API const MR_std_vector_MR_AffineXf3f ** MR_ObjectMeshMergeOptions_GetMutable_overrideXfs(MR_ObjectMeshMergeOptions *_this)
MRC_API void MR_ObjectMesh_setBordersColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectMesh_setColoringType(MR_ObjectMesh *_this, MR_ColoringType coloringType)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getFrontColorsForAllViewports(const MR_ObjectMesh *_this, const bool *selected)
MRC_API bool MR_ObjectMesh_globalVisibility(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
struct MR_std_vector_MR_AffineXf3f MR_std_vector_MR_AffineXf3f
Definition MRObjectMesh.h:50
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_DefaultConstructArray(size_t num_elems)
MRC_API void MR_ObjectMesh_setBackColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMesh_setGlobalAlphaForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API MR_ViewportMask * MR_ObjectMesh_globalClippedByPlaneMask(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setPointsColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API MR_ViewportMask * MR_ObjectMesh_globalVisibilityMask(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMesh * MR_ObjectMesh_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectMesh *_other)
MRC_API void MR_ObjectMesh_setDirtyFlags(MR_ObjectMesh *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API bool MR_ObjectMesh_getVisualizeProperty(const MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setFlatShading(MR_ObjectMesh *_this, bool on)
MRC_API const MR_ObjectMeshData * MR_ObjectMesh_data(const MR_ObjectMesh *_this)
MRC_API const MR_VertColors * MR_ObjectMesh_getVertsColorMap(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setPickable(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMesh_getFrontColor(const MR_ObjectMesh *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMesh_Destroy(const MR_ObjectMesh *_this)
Destroys a heap-allocated instance of MR_ObjectMesh. Does nothing if the pointer is null.
MRC_API void MR_ObjectMesh_setSelectedEdgesColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_VertCoords2 * MR_ObjectMesh_getAncillaryUVCoords(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_DefaultConstruct(void)
MRC_API const MR_Color * MR_ObjectMesh_getSelectedEdgesColor(const MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMesh_setGlobalVisibility(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setAncillary(MR_ObjectMesh *_this, bool ancillary)
MRC_API bool MR_ObjectMesh_removeTag(MR_ObjectMesh *_this, const char *tag, const char *tag_end)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectMesh_getGlobalAlphaForAllViewports(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setXf(MR_ObjectMesh *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_Object * MR_ObjectMesh_MutableUpcastTo_MR_Object(MR_ObjectMesh *object)
MRC_API double MR_ObjectMesh_totalArea(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_addChildBefore(MR_ObjectMesh *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API MR_AffineXf3f MR_ObjectMesh_worldXf(const MR_ObjectMesh *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_ObjectMesh_setFacesColorMap(MR_ObjectMesh *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMesh_getSelectedEdges(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_sortChildren(MR_ObjectMesh *_this)
MRC_API MR_Box3f MR_ObjectMesh_getWorldBox(const MR_ObjectMesh *_this, const MR_ViewportId *_1)
MRC_API const MR_Vector_MR_MeshTexture_MR_TextureId * MR_ObjectMesh_getTextures(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setAncillaryUVCoords(MR_ObjectMesh *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API bool MR_ObjectMesh_hasModel(const MR_ObjectMesh *_this)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectMesh_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectMesh *object)
MRC_API void MR_ObjectMesh_setFrontColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API void MR_ObjectMesh_toggleVisualizeProperty(MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
struct MR_std_vector_std_shared_ptr_MR_ObjectMesh MR_std_vector_std_shared_ptr_MR_ObjectMesh
Definition MRObjectMesh.h:52
MRC_API void MR_ObjectMesh_setVertsColorMap(MR_ObjectMesh *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
MRC_API MR_uint64_t MR_ObjectMesh_numHoles(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setVisibilityMask(MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_clearAncillaryTexture(MR_ObjectMesh *_this)
MRC_API MR_Box3f MR_ObjectMesh_getWorldTreeBox(const MR_ObjectMesh *_this, const MR_ViewportId *_1)
MRC_API MR_uint64_t MR_ObjectMesh_numSelectedFaces(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setPointSize(MR_ObjectMesh *_this, float size)
MRC_API bool MR_ObjectMesh_isLocked(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setSerializeFormat(MR_ObjectMesh *_this, const char *newFormat)
MRC_API void MR_ObjectMesh_resetColors(MR_ObjectMesh *_this)
MRC_API MR_ColoringType MR_ObjectMesh_getColoringType(const MR_ObjectMesh *_this)
MRC_API MR_uint64_t MR_ObjectMesh_getModelHash(const MR_ObjectMesh *_this)
MRC_API const MR_TexturePerFace * MR_ObjectMesh_getTexturePerFace(const MR_ObjectMesh *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getBackColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_addChild(MR_ObjectMesh *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API void MR_ObjectMesh_copyAllSolidColors(MR_ObjectMesh *_this, const MR_ObjectMeshHolder *other)
MRC_API void MR_ObjectMesh_setCreases(MR_ObjectMesh *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases)
MRC_API void MR_ObjectMesh_setEdgesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_clone(const MR_ObjectMesh *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getSelectedEdgesColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_getRedrawFlag(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setGlobalClippedByPlane(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_renderForPicker(const MR_ObjectMesh *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_ObjectMesh_copyTextureAndColors(MR_ObjectMesh *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getPointsColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setUVCoords(MR_ObjectMesh *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API MR_ObjectMesh * MR_ObjectMesh_DefaultConstruct(void)
MRC_API void MR_ObjectMesh_updateAncillaryUVCoords(MR_ObjectMesh *_this, MR_VertCoords2 *updated)
MRC_API MR_MeshPart * MR_ObjectMesh_meshPart(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_swap(MR_ObjectMesh *_this, MR_Object *other)
MRC_API void MR_ObjectMesh_updateFacesColorMap(MR_ObjectMesh *_this, MR_FaceColors *updated)
MRC_API void MR_ObjectMesh_setName(MR_ObjectMesh *_this, const char *name, const char *name_end)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_shallowClone(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMesh_MutableUpcastTo_MR_ObjectMeshHolder(MR_ObjectMesh *object)
MRC_API void MR_ObjectMesh_updateData(MR_ObjectMesh *_this, MR_ObjectMeshData *data)
MRC_API void MR_ObjectMesh_setVisualizePropertyMask(MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectMesh_detachFromParent(MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setSelectedFacesColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_Color * MR_ObjectMesh_getBackColor(const MR_ObjectMesh *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMesh_setDirtyFlagsFast(MR_ObjectMesh *_this, unsigned int mask)
MRC_API void MR_ObjectMesh_setPointsColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_FaceColors * MR_ObjectMesh_getFacesColorMap(const MR_ObjectMesh *_this)
MRC_API MR_MeshIntersectionResult * MR_ObjectMesh_worldRayIntersection(const MR_ObjectMesh *_this, const MR_Line3f *worldRay, const MR_FaceBitSet *region)
MRC_API void MR_ObjectMesh_resetRedrawFlag(const MR_ObjectMesh *_this)
MRC_API float MR_ObjectMesh_getAmbientStrength(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setShininess(MR_ObjectMesh *_this, float shininess)
MRC_API const MR_MeshTexture * MR_ObjectMesh_getAncillaryTexture(const MR_ObjectMesh *_this)
MRC_API const char * MR_ObjectMesh_typeName(const MR_ObjectMesh *_this)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectMesh_xfsForAllViewports(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMesh * MR_ObjectMesh_AssignFromAnother(MR_ObjectMesh *_this, MR_PassBy _other_pass_by, MR_ObjectMesh *_other)
MRC_API void MR_ObjectMesh_copyColors(MR_ObjectMesh *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API bool MR_ObjectMesh_hasVisualRepresentation(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_sameModels(const MR_ObjectMesh *_this, const MR_Object *other)
MRC_API bool MR_ObjectMesh_isSelected(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setAmbientStrength(MR_ObjectMesh *_this, float ambientStrength)
MRC_API void MR_ObjectMesh_resetFrontColor(MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setBackColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API MR_std_string * MR_ObjectMesh_classNameInPlural(const MR_ObjectMesh *_this)
struct MR_ObjectMeshMergeOptions MR_ObjectMeshMergeOptions
Definition MRObjectMesh.h:71
MRC_API void MR_ObjectMesh_removeAllChildren(MR_ObjectMesh *_this)
MRC_API const MR_FaceBitSet * MR_ObjectMesh_getSelectedFaces(const MR_ObjectMesh *_this)
MRC_API MR_uint64_t MR_ObjectMesh_numCreaseEdges(const MR_ObjectMesh *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getEdgesColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMeshMergeOptions_DestroyArray(const MR_ObjectMeshMergeOptions *_this)
Destroys a heap-allocated array of MR_ObjectMeshMergeOptions. Does nothing if the pointer is null.
MRC_API void MR_ObjectMesh_setBordersColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMesh_applyScale(MR_ObjectMesh *_this, float scaleFactor)
MRC_API void MR_ObjectMeshMergeOptions_Set_overrideXfs(MR_ObjectMeshMergeOptions *_this, const MR_std_vector_MR_AffineXf3f *value)
MRC_API void MR_ObjectMesh_addTexture(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API void MR_ObjectMesh_resetDirty(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setVisible(MR_ObjectMesh *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_ObjectMesh * MR_cloneRegion_3(const MR_std_shared_ptr_MR_ObjectMesh *objMesh, const MR_FaceBitSet *region, const bool *copyTexture)
MRC_API bool MR_ObjectMesh_globalClippedByPlane(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMesh_getSelectedFacesColor(const MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshMergeOptions_Destroy(const MR_ObjectMeshMergeOptions *_this)
Destroys a heap-allocated instance of MR_ObjectMeshMergeOptions. Does nothing if the pointer is null.
MRC_API void MR_ObjectMesh_setEdgesColorsForAllViewports(MR_ObjectMesh *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_ConstructFrom(const MR_std_vector_MR_AffineXf3f *overrideXfs)
MRC_API void MR_ObjectMesh_updateTextures(MR_ObjectMesh *_this, MR_Vector_MR_MeshTexture_MR_TextureId *updated)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMesh_getBordersColorsForAllViewports(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_AssignFromAnother(MR_ObjectMeshMergeOptions *_this, const MR_ObjectMeshMergeOptions *_other)
MRC_API MR_VisualObject * MR_ObjectMesh_MutableUpcastTo_MR_VisualObject(MR_ObjectMesh *object)
MRC_API bool MR_ObjectMesh_isMeshClosed(const MR_ObjectMesh *_this)
MRC_API const char * MR_ObjectMesh_serializeFormat(const MR_ObjectMesh *_this)
MRC_API MR_uint64_t MR_ObjectMesh_numHandles(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_isVisible(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setTexturePerFace(MR_ObjectMesh *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace)
MRC_API void MR_ObjectMesh_setWorldXf(MR_ObjectMesh *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_ViewportMask * MR_ObjectMesh_getVisualizePropertyMask(const MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectMesh_updateVertsColorMap(MR_ObjectMesh *_this, MR_VertColors *vertsColorMap)
MRC_API bool MR_ObjectMesh_hasAncillaryTexture(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_addTag(MR_ObjectMesh *_this, const char *tag, const char *tag_end)
MRC_API void MR_ObjectMesh_setAllVisualizeProperties(MR_ObjectMesh *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API bool MR_ObjectMesh_isGlobalAncillary(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMesh *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectMesh_getAllVisualizeProperties(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_isPickable(const MR_ObjectMesh *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setSpecularStrength(MR_ObjectMesh *_this, float specularStrength)
MRC_API MR_uint64_t MR_ObjectMesh_numUndirectedEdges(const MR_ObjectMesh *_this)
MRC_API const MR_Color * MR_ObjectMesh_getEdgesColor(const MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMesh_setGlobalAlpha(MR_ObjectMesh *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMesh_setLocked(MR_ObjectMesh *_this, bool on)
MRC_API MR_ObjectChildrenHolder * MR_ObjectMesh_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectMesh *object)
MRC_API MR_ObjectMesh * MR_ObjectMesh_DefaultConstructArray(size_t num_elems)
MRC_API const unsigned char * MR_ObjectMesh_getGlobalAlpha(const MR_ObjectMesh *_this, const MR_ViewportId *viewportId)
MRC_API const MR_Color * MR_ObjectMesh_getPointsColor(const MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API MR_Box3f MR_ObjectMesh_getBoundingBox(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_invalidateMetricsCache(MR_ObjectMesh *_this, unsigned int mask)
MRC_API const MR_Color * MR_ObjectMesh_getBordersColor(const MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMesh_setVisualizeProperty(MR_ObjectMesh *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMesh_setAncillaryTexture(MR_ObjectMesh *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API MR_uint64_t MR_ObjectMesh_numComponents(const MR_ObjectMesh *_this)
MRC_API float MR_ObjectMesh_getEdgeWidth(const MR_ObjectMesh *_this)
MRC_API double MR_ObjectMesh_selectedArea(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_supportsVisualizeProperty(const MR_ObjectMesh *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectMesh_DestroyArray(const MR_ObjectMesh *_this)
Destroys a heap-allocated array of MR_ObjectMesh. Does nothing if the pointer is null.
MRC_API bool MR_ObjectMesh_isAncillary(const MR_ObjectMesh *_this)
MRC_API const MR_ObjectMesh * MR_ObjectMesh_OffsetPtr(const MR_ObjectMesh *ptr, ptrdiff_t i)
MRC_API void MR_ObjectMesh_setFrontColor(MR_ObjectMesh *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_ViewportMask * MR_ObjectMesh_visibilityMask(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setSelectedEdgesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMesh_UpcastTo_MR_ObjectMeshHolder(const MR_ObjectMesh *object)
MRC_API void MR_ObjectMesh_setData(MR_ObjectMesh *_this, MR_ObjectMeshData *data)
MRC_API const MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_OffsetPtr(const MR_ObjectMeshMergeOptions *ptr, ptrdiff_t i)
MRC_API bool MR_ObjectMesh_render(const MR_ObjectMesh *_this, const MR_ModelRenderParams *_1)
MRC_API MR_std_shared_ptr_MR_ObjectMesh * MR_merge_2(const MR_std_vector_std_shared_ptr_MR_ObjectMesh *objsMesh, const MR_ObjectMeshMergeOptions *options)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_cloneTree(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_flatShading(const MR_ObjectMesh *_this)
MRC_API float MR_ObjectMesh_getPointSize(const MR_ObjectMesh *_this)
MRC_API const MR_Object * MR_ObjectMesh_UpcastTo_MR_Object(const MR_ObjectMesh *object)
MRC_API MR_ObjectMesh * MR_ObjectMesh_OffsetMutablePtr(MR_ObjectMesh *ptr, ptrdiff_t i)
MRC_API void MR_ObjectMesh_updateUVCoords(MR_ObjectMesh *_this, MR_VertCoords2 *updated)
MRC_API bool MR_ObjectMesh_useDefaultScenePropertiesOnDeserialization(const MR_ObjectMesh *_this)
MRC_API const char * MR_ObjectMesh_StaticTypeName(void)
Generated from method MR::ObjectMesh::StaticTypeName.
MRC_API void MR_ObjectMesh_setXfsForAllViewports(MR_ObjectMesh *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_ObjectMesh_selectFaces(MR_ObjectMesh *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection)
MRC_API void MR_ObjectMesh_setEdgeWidth(MR_ObjectMesh *_this, float edgeWidth)
MRC_API float MR_ObjectMesh_avgEdgeLen(const MR_ObjectMesh *_this)
MRC_API const MR_VisualObject * MR_ObjectMesh_UpcastTo_MR_VisualObject(const MR_ObjectMesh *object)
MRC_API const MR_std_shared_ptr_MR_Mesh * MR_ObjectMesh_varMesh(MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_isParentLocked(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_resetXf(MR_ObjectMesh *_this, const MR_ViewportId *id)
MRC_API unsigned int MR_ObjectMesh_getDirtyFlags(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_setParentLocked(MR_ObjectMesh *_this, bool lock)
MRC_API void MR_ObjectMesh_resetDirtyExceptMask(const MR_ObjectMesh *_this, unsigned int mask)
MRC_API const MR_VertCoords2 * MR_ObjectMesh_getUVCoords(const MR_ObjectMesh *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMesh_getSharedPtr(const MR_ObjectMesh *_this)
MRC_API double MR_ObjectMesh_volume(const MR_ObjectMesh *_this)
MRC_API const char * MR_ObjectMesh_actualSerializeFormat(const MR_ObjectMesh *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMesh_creases(const MR_ObjectMesh *_this)
MRC_API void MR_ObjectMesh_renderUi(const MR_ObjectMesh *_this, const MR_UiRenderParams *params)
MRC_API const MR_std_set_std_string * MR_ObjectMesh_tags(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_ConstructFromAnother(const MR_ObjectMeshMergeOptions *_other)
MRC_API void MR_ObjectMesh_updateTexturePerFace(MR_ObjectMesh *_this, MR_TexturePerFace *texturePerFace)
MRC_API void MR_ObjectMesh_setSelectedFacesColor(MR_ObjectMesh *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_MeshTexture * MR_ObjectMesh_getTexture(const MR_ObjectMesh *_this)
MRC_API MR_uint64_t MR_ObjectMesh_numSelectedEdges(const MR_ObjectMesh *_this)
MRC_API bool MR_ObjectMesh_select(MR_ObjectMesh *_this, bool on)
MRC_API MR_std_vector_std_string * MR_ObjectMesh_getInfoLines(const MR_ObjectMesh *_this)
MRC_API MR_ObjectMeshMergeOptions * MR_ObjectMeshMergeOptions_OffsetMutablePtr(MR_ObjectMeshMergeOptions *ptr, ptrdiff_t i)
MRC_API const char * MR_ObjectMesh_StaticClassNameInPlural(void)
Generated from method MR::ObjectMesh::StaticClassNameInPlural.
MRC_API const char * MR_ObjectMesh_StaticClassName(void)
Generated from method MR::ObjectMesh::StaticClassName.
MRC_API const MR_std_string * MR_ObjectMesh_name(const MR_ObjectMesh *_this)
struct MR_ObjectMeshHolder MR_ObjectMeshHolder
Definition MRObject.h:33
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRViewportId.h:17