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_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_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
23typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
24typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
27typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
28typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
29typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
30typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
31typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
32typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId; // Defined in `#include <MRCMesh/MRVector.h>`.
33typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
34typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
35typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
36typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
37typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
38typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
39typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
40typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
41typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
42typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
43typedef 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>`.
44typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
45typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
46typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
47
48
65
81
85
90
94
98
103
107
113
118
123
127
133
138
144
149
157
164
169
173
179
184
190
195
203
210
215
218
221
229
232
236
240
245
249
254
260
265
270
274MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches);
275
282
287
292
296
303
310
315
319
326
333
338
342
347
351
356
360
365
369
374
378
384
390
394
399
403
408
414
421
427
435
441
447
452
458
463
467
472
476
480
484
488
494
500
506
512
518
524
530
535
539
544
550
555
559
564
569
572MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
573
578
587
595MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
596
597// ancillary texture can be used to have custom features visualization without affecting real one
602
606
611
615
620
624
628
633
638
645
650
655
660
665
670
675
680
685
690
695
700
705
710
715
721
726
731
735
740
743
748
751
756
763
770
777
784
790
796
803
810
817MRC_API const MR_Color *MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId);
818
824MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
825
832
838
844
849
856
863
869MRC_API const unsigned char *MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId);
870
875MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId);
876
882
887
892
897
902
907
914
921
926
931
936
941
946
951
956
961
968
974
980
986
992
997MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization);
998
1003
1008MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end);
1009
1018
1024
1030
1036
1041
1049
1055
1061
1068
1075
1080
1084
1090
1094
1099
1105
1113MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
1114
1122
1127
1132
1137
1141
1147
1151
1156
1163
1170
1176
1182
1186
1192
1199
1207
1214
1221
1229MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1230
1237MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1238
1239// returns this Object as shared_ptr
1240// finds it among its parent's recognized children
1245
1251
1254// serialization falls back to the PLY format if given format support is available
1255// NOTE: CTM format support is available in the MRIOExtras library; make sure to load it if you prefer CTM
1259MRC_API void MR_setDefaultSerializeMeshFormat(const char *newFormat, const char *newFormat_end);
1260
1261#ifdef __cplusplus
1262} // extern "C"
1263#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:23
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:31
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:32
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:28
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:35
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:38
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:34
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:27
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:29
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:26
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_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:18
struct MR_ObjectMeshHolder MR_ObjectMeshHolder
Definition MRObjectDistanceMap.h:29
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 double MR_ObjectMeshHolder_volume(const MR_ObjectMeshHolder *_this)
MRC_API MR_uint64_t MR_ObjectMeshHolder_getModelHash(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_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 MR_uint64_t MR_ObjectMeshHolder_numComponents(const MR_ObjectMeshHolder *_this)
MRC_API MR_uint64_t MR_ObjectMeshHolder_numHoles(const MR_ObjectMeshHolder *_this)
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 bool MR_ObjectMeshHolder_isMeshClosed(const MR_ObjectMeshHolder *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_getSelectedEdges(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_uint64_t MR_ObjectMeshHolder_heapBytes(const MR_ObjectMeshHolder *_this)
MRC_API MR_AffineXf3f MR_ObjectMeshHolder_worldXf(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id, bool *isDef)
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 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 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 MR_uint64_t MR_ObjectMeshHolder_numUndirectedEdges(const MR_ObjectMeshHolder *_this)
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 MR_uint64_t MR_ObjectMeshHolder_numSelectedFaces(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 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 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 MR_uint64_t MR_ObjectMeshHolder_numCreaseEdges(const MR_ObjectMeshHolder *_this)
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 MR_uint64_t MR_ObjectMeshHolder_numHandles(const MR_ObjectMeshHolder *_this)
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 MR_uint64_t MR_ObjectMeshHolder_numSelectedEdges(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:50
@ MR_MeshVisualizePropertyType_OnlyOddFragments
Definition MRObjectMeshHolder.h:59
@ MR_MeshVisualizePropertyType_Edges
Definition MRObjectMeshHolder.h:53
@ MR_MeshVisualizePropertyType_SelectedFaces
Definition MRObjectMeshHolder.h:55
@ MR_MeshVisualizePropertyType_BordersHighlight
Definition MRObjectMeshHolder.h:60
@ MR_MeshVisualizePropertyType_Faces
Definition MRObjectMeshHolder.h:51
@ MR_MeshVisualizePropertyType_SelectedEdges
Definition MRObjectMeshHolder.h:56
@ MR_MeshVisualizePropertyType__count
Definition MRObjectMeshHolder.h:63
@ MR_MeshVisualizePropertyType_EnableShading
Definition MRObjectMeshHolder.h:57
@ MR_MeshVisualizePropertyType_Texture
Definition MRObjectMeshHolder.h:52
@ MR_MeshVisualizePropertyType_PolygonOffsetFromCamera
Definition MRObjectMeshHolder.h:62
@ MR_MeshVisualizePropertyType_Points
Definition MRObjectMeshHolder.h:54
@ MR_MeshVisualizePropertyType_FlatShading
Definition MRObjectMeshHolder.h:58
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)
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#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