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_ObjectDistanceMap MR_ObjectDistanceMap; // Defined in `#include <MRCMesh/MRObjectDistanceMap.h>`.
29typedef struct MR_ObjectMesh MR_ObjectMesh; // Defined in `#include <MRCMesh/MRObjectMesh.h>`.
30typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
31typedef struct MR_ObjectVoxels MR_ObjectVoxels; // Defined in `#include <MRCVoxels/MRObjectVoxels.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_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
46typedef 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>`.
47typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
48typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
49typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
50
51
68
84
88
93
97
101
105
108
112
115
119
122
127
131
136
140
147
153
158
162
167
171
178
184
189
193
198
202
209
215
220
223
226
233
236
240
244
249
253
258
264
269
274
278MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches);
279
284
288
295
302
307
311
318
325
330
334
339
343
348
352
357
361
366
370
376
382
386
391
395
400
406
413
419
427
433
439
444
450
455
459
464
468
472
476
480
486
492
498
504
510
516
522
527
531
536
542
547
551
556
561
564MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
565
570
579
587MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
588
589// ancillary texture can be used to have custom features visualization without affecting real one
594
598
603
607
612
616
620
626
631
636
643
648
653
658
663
668
673
678
683
688
693
698
703
708
713
719
724
729
733
738
741
746
749
754
761
768
775
782
788
794
801
808
815MRC_API const MR_Color *MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId);
816
822MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
823
830
836
842
847
854
861
867MRC_API const unsigned char *MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId);
868
873MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId);
874
880
885
890
895
900
905
912
919
924
929
934
939
944
949
954
959
966
972
978
984
990
995MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization);
996
1001
1006MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end);
1007
1016
1022
1028
1034
1039
1047
1053
1059
1066
1073
1078
1082
1088
1092
1097
1103
1111MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
1112
1120
1125
1130
1135
1139
1145
1149
1154
1161
1168
1174
1180
1184
1190
1197
1205
1212
1219
1227MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1228
1235MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1236
1237// returns this Object as shared_ptr
1238// finds it among its parent's recognized children
1243
1249
1252// serialization falls back to the PLY format if given format support is available
1253// NOTE: CTM format support is available in the MRIOExtras library; make sure to load it if you prefer CTM
1257MRC_API void MR_setDefaultSerializeMeshFormat(const char *newFormat, const char *newFormat_end);
1258
1259#ifdef __cplusplus
1260} // extern "C"
1261#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_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_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_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_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
Definition MRMeshSaveObj.h:16
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 MR_ObjectMeshHolder * MR_ObjectMeshHolder_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectMeshHolder *_other)
MRC_API MR_ObjectDistanceMap * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectDistanceMap(MR_ObjectMeshHolder *object)
MRC_API const MR_ObjectDistanceMap * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectDistanceMap(const MR_ObjectMeshHolder *object)
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_ObjectVoxels * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectVoxels(const MR_ObjectMeshHolder *object)
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_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 const MR_ObjectMesh * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectMesh(const MR_ObjectMeshHolder *object)
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)
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::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 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 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_ObjectDistanceMap * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectDistanceMap(MR_ObjectMeshHolder *object)
MRC_API bool MR_ObjectMeshHolder_isAncestor(const MR_ObjectMeshHolder *_this, const MR_Object *ancestor)
MRC_API MR_ObjectVoxels * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectVoxels(MR_ObjectMeshHolder *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 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 const MR_ObjectVoxels * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectVoxels(const MR_ObjectMeshHolder *object)
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 bool MR_ObjectMeshHolder_useDefaultScenePropertiesOnDeserialization(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectMesh * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectMesh(const MR_ObjectMeshHolder *object)
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 MR_ObjectDistanceMap * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectDistanceMap(MR_ObjectMeshHolder *object)
MRC_API void MR_ObjectMeshHolder_setShininess(MR_ObjectMeshHolder *_this, float shininess)
MRC_API const MR_ObjectMesh * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectMesh(const MR_ObjectMeshHolder *object)
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 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_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 MR_ObjectMesh * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectMesh(MR_ObjectMeshHolder *object)
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 unsigned int MR_ObjectMeshHolder_getNeededNormalsRenderDirtyValue(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
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 const MR_ObjectDistanceMap * MR_ObjectMeshHolder_StaticDowncastTo_MR_ObjectDistanceMap(const MR_ObjectMeshHolder *object)
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)
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::ObjectChildrenHolder.
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 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_ObjectVoxels * MR_ObjectMeshHolder_DynamicDowncastTo_MR_ObjectVoxels(const MR_ObjectMeshHolder *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 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)
Upcasts an instance of MR::ObjectMeshHolder to its base class MR::VisualObject.
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_OffsetMutablePtr(MR_ObjectMeshHolder *ptr, ptrdiff_t i)
MRC_API MR_ObjectMesh * MR_ObjectMeshHolder_MutableDynamicDowncastToOrFail_MR_ObjectMesh(MR_ObjectMeshHolder *object)
MRC_API const MR_ObjectDistanceMap * MR_ObjectMeshHolder_DynamicDowncastToOrFail_MR_ObjectDistanceMap(const MR_ObjectMeshHolder *object)
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 MR_ObjectVoxels * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectVoxels(MR_ObjectMeshHolder *object)
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_Box3f MR_ObjectMeshHolder_getBoundingBox(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_clearAncillaryTexture(MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectVoxels * MR_ObjectMeshHolder_MutableStaticDowncastTo_MR_ObjectVoxels(MR_ObjectMeshHolder *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:53
@ MR_MeshVisualizePropertyType_OnlyOddFragments
Definition MRObjectMeshHolder.h:62
@ MR_MeshVisualizePropertyType_Edges
Definition MRObjectMeshHolder.h:56
@ MR_MeshVisualizePropertyType_SelectedFaces
Definition MRObjectMeshHolder.h:58
@ MR_MeshVisualizePropertyType_BordersHighlight
Definition MRObjectMeshHolder.h:63
@ MR_MeshVisualizePropertyType_Faces
Definition MRObjectMeshHolder.h:54
@ MR_MeshVisualizePropertyType_SelectedEdges
Definition MRObjectMeshHolder.h:59
@ MR_MeshVisualizePropertyType__count
Definition MRObjectMeshHolder.h:66
@ MR_MeshVisualizePropertyType_EnableShading
Definition MRObjectMeshHolder.h:60
@ MR_MeshVisualizePropertyType_Texture
Definition MRObjectMeshHolder.h:55
@ MR_MeshVisualizePropertyType_PolygonOffsetFromCamera
Definition MRObjectMeshHolder.h:65
@ MR_MeshVisualizePropertyType_Points
Definition MRObjectMeshHolder.h:57
@ MR_MeshVisualizePropertyType_FlatShading
Definition MRObjectMeshHolder.h:61
MRC_API MR_ObjectMesh * MR_ObjectMeshHolder_MutableDynamicDowncastTo_MR_ObjectMesh(MR_ObjectMeshHolder *object)
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)
struct MR_ObjectMeshHolder MR_ObjectMeshHolder
Definition MRObject.h:33
struct MR_ObjectVoxels MR_ObjectVoxels
Definition MRObject.h:36
struct MR_ObjectDistanceMap MR_ObjectDistanceMap
Definition MRObject.h:27
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override
size_t size() const
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRViewportId.h:17