MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectMeshHolder.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRBox.h>
5#include <MRCMesh/MREnums.h>
7#include <MRCMisc/common.h>
8#include <MRCMisc/exports.h>
9
10#include <stdbool.h>
11#include <stddef.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
18typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
19typedef struct MR_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
20typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
21typedef struct MR_FaceColors MR_FaceColors; // Defined in `#include <MRCMesh/MRVector.h>`.
22typedef struct MR_FaceMap MR_FaceMap; // Defined in `#include <MRCMesh/MRVector.h>`.
23typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
24typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
25typedef struct MR_MeshTexture MR_MeshTexture; // Defined in `#include <MRCMesh/MRMeshTexture.h>`.
26typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
28typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
29typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
30typedef struct MR_ObjectMeshData MR_ObjectMeshData; // Defined in `#include <MRCMesh/MRObjectMeshData.h>`.
31typedef struct MR_TexturePerFace MR_TexturePerFace; // Defined in `#include <MRCMesh/MRVector.h>`.
32typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
33typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
34typedef struct MR_Vector_MR_MeshTexture_MR_TextureId MR_Vector_MR_MeshTexture_MR_TextureId; // Defined in `#include <MRCMesh/MRVector.h>`.
35typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
36typedef struct MR_VertCoords2 MR_VertCoords2; // Defined in `#include <MRCMesh/MRVector.h>`.
37typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
38typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
39typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
40typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
41typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
42typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
43typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
44typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
45typedef struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Mesh.h>`.
46typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
47typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
48typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
49
50
69
85
89
94
98
102
107
111
117
122
127
131
137
142
148
153
161
168
173
177
183
188
194
199
207
214
219
222
225
233
236
240
244
249
253
258
263
268MRC_DEPRECATED_REASON("use meshPtr() instead")
270
276
281
286
290MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches);
291
298
303
308
312
319
326
331
335
342
349
354
358
363
367
372
376
381
385
390
394
400
406
410
415
419
424
430
437
443
451
457
463
468
474
479
483
488
492
496
500
504
510
516
522
528
534
540
546
551
555
560
566
571
575
580
585
588MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates);
589
594
603
611MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces);
612
613// ancillary texture can be used to have custom features visualization without affecting real one
618
622
627
631
636
640
644
649
654
661
666
671
676
681
686
691
696
701
706
711
716
721
726
731
737
742
747
751
756
759
764
767
772
779
786
793
800
806
812
819
826
833MRC_API const MR_Color *MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId);
834
840MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
841
848
854
860
865
872
879
885MRC_API const unsigned char *MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId);
886
891MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId);
892
898
903
908
913
918
923
930
937
942
947
952
957
962
967
972
977
984
990
996
1002
1008
1013MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization);
1014
1019
1024MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end);
1025
1034
1040
1046
1052
1057
1065
1071
1077
1084
1091
1096
1100
1106
1110
1115
1121
1128
1136MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
1137
1145
1150
1155
1160
1164
1170
1174
1179
1186
1193
1199
1205
1209
1215
1222
1230
1236
1243
1251MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1252
1259MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end);
1260
1261// returns this Object as shared_ptr
1262// finds it among its parent's recognized children
1267
1268#ifdef __cplusplus
1269} // extern "C"
1270#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:25
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTree.h:17
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:19
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:32
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:33
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ConstChildren MR_ConstChildren
Definition MRAddVisualPropertiesMixin.h:21
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:29
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:36
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:39
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:25
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:35
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:28
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:30
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:27
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:43
struct MR_FaceMap MR_FaceMap
Definition MRBitSet.h:27
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:23
struct MR_Mesh MR_Mesh
Definition MRCtm.h:17
struct MR_std_string MR_std_string
Definition MRCtm.h:33
struct MR_FaceColors MR_FaceColors
Definition MRCtm.h:16
struct MR_MeshTexture MR_MeshTexture
Definition MRCtm.h:19
struct MR_VertCoords2 MR_VertCoords2
Definition MRCtm.h:24
MR_ColoringType
Definition MREnums.h:105
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_shared_ptr_const_MR_Mesh MR_std_shared_ptr_const_MR_Mesh
Definition MRMeshSaveObj.h:16
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:17
struct MR_ObjectMeshHolder MR_ObjectMeshHolder
Definition MRObjectDistanceMap.h:31
MRC_API void MR_ObjectMeshHolder_updateUVCoords(MR_ObjectMeshHolder *_this, MR_VertCoords2 *updated)
MRC_API void MR_ObjectMeshHolder_selectFaces(MR_ObjectMeshHolder *_this, MR_PassBy newSelection_pass_by, MR_FaceBitSet *newSelection)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectMeshHolder *_other)
MRC_API void MR_ObjectMeshHolder_updateTextures(MR_ObjectMeshHolder *_this, MR_Vector_MR_MeshTexture_MR_TextureId *updated)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectMeshHolder_getGlobalAlphaForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setLocked(MR_ObjectMeshHolder *_this, bool on)
MRC_API MR_Mesh * MR_ObjectMeshHolder_varMeshPtr(MR_ObjectMeshHolder *_this)
MRC_API double MR_ObjectMeshHolder_volume(const MR_ObjectMeshHolder *_this)
MRC_API size_t MR_ObjectMeshHolder_numUndirectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getUVCoords(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetXf(MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setXf(MR_ObjectMeshHolder *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const char * MR_ObjectMeshHolder_serializeFormat(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setParentLocked(MR_ObjectMeshHolder *_this, bool lock)
MRC_API const MR_Mesh * MR_ObjectMeshHolder_meshPtr(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertColors * MR_ObjectMeshHolder_getVertsColorMap(const MR_ObjectMeshHolder *_this)
MRC_API const MR_TexturePerFace * MR_ObjectMeshHolder_getTexturePerFace(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_invalidateMetricsCache(MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API void MR_ObjectMeshHolder_sortChildren(MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_StaticClassNameInPlural(void)
Generated from method MR::ObjectMeshHolder::StaticClassNameInPlural.
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getShininess(const MR_ObjectMeshHolder *_this)
MRC_API const MR_Color * MR_ObjectMeshHolder_getBordersColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetPtr(const MR_ObjectMeshHolder *ptr, ptrdiff_t i)
MRC_API void MR_ObjectMeshHolder_removeAllChildren(MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_addTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end)
MRC_API bool MR_ObjectMeshHolder_getRedrawFlag(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedEdgesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_selectEdges(MR_ObjectMeshHolder *_this, MR_PassBy newSelection_pass_by, MR_UndirectedEdgeBitSet *newSelection)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_clone(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setFlatShading(MR_ObjectMeshHolder *_this, bool on)
MRC_API bool MR_ObjectMeshHolder_globalVisibility(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_toggleVisualizeProperty(MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setFrontColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalVisibilityMask(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setGlobalVisibility(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_updateAncillaryUVCoords(MR_ObjectMeshHolder *_this, MR_VertCoords2 *updated)
MRC_API void MR_ObjectMeshHolder_setEdgesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_Color * MR_ObjectMeshHolder_getBackColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_DestroyArray(const MR_ObjectMeshHolder *_this)
Destroys a heap-allocated array of MR_ObjectMeshHolder. Does nothing if the pointer is null.
MRC_API void MR_ObjectMeshHolder_swap(MR_ObjectMeshHolder *_this, MR_Object *other)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getFrontColorsForAllViewports(const MR_ObjectMeshHolder *_this, const bool *selected)
MRC_API MR_Object * MR_ObjectMeshHolder_MutableUpcastTo_MR_Object(MR_ObjectMeshHolder *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldTreeBox(const MR_ObjectMeshHolder *_this, const MR_ViewportId *_1)
MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectMeshHolder_renderUi(const MR_ObjectMeshHolder *_this, const MR_UiRenderParams *params)
MRC_API const MR_Color * MR_ObjectMeshHolder_getFrontColor(const MR_ObjectMeshHolder *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API const char * MR_ObjectMeshHolder_StaticTypeName(void)
Generated from method MR::ObjectMeshHolder::StaticTypeName.
MRC_API void MR_ObjectMeshHolder_copyColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API bool MR_ObjectMeshHolder_isAncillary(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_string * MR_ObjectMeshHolder_className(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_getSharedPtr(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetRedrawFlag(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API bool MR_ObjectMeshHolder_isAncestor(const MR_ObjectMeshHolder *_this, const MR_Object *ancestor)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API size_t MR_ObjectMeshHolder_heapBytes(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isMeshClosed(const MR_ObjectMeshHolder *_this)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_getSelectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API size_t MR_ObjectMeshHolder_numHandles(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_ObjectMeshHolder_setVisualizeProperty(MR_ObjectMeshHolder *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_std_vector_std_string * MR_ObjectMeshHolder_getInfoLines(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setAncillaryTexture(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API bool MR_ObjectMeshHolder_detachFromParent(MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_typeName(const MR_ObjectMeshHolder *_this)
MRC_API MR_AffineXf3f MR_ObjectMeshHolder_worldXf(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id, bool *isDef)
MRC_API size_t MR_ObjectMeshHolder_getModelHash(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isLocked(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API bool MR_ObjectMeshHolder_useDefaultScenePropertiesOnDeserialization(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setXfsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_ObjectMeshHolder_setBordersColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setSelectedFacesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectMeshHolder *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API size_t MR_ObjectMeshHolder_numHoles(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setCreases(MR_ObjectMeshHolder *_this, MR_PassBy creases_pass_by, MR_UndirectedEdgeBitSet *creases)
MRC_API const MR_ViewportMask * MR_ObjectMeshHolder_getVisualizePropertyMask(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectMeshHolder_setShininess(MR_ObjectMeshHolder *_this, float shininess)
MRC_API void MR_ObjectMeshHolder_setPointSize(MR_ObjectMeshHolder *_this, float size)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getSelectedFacesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getSpecularStrength(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setPointsColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_AssignFromAnother(MR_ObjectMeshHolder *_this, MR_PassBy _other_pass_by, MR_ObjectMeshHolder *_other)
MRC_API void MR_ObjectMeshHolder_setTexturePerFace(MR_ObjectMeshHolder *_this, MR_PassBy texturePerFace_pass_by, MR_TexturePerFace *texturePerFace)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getEdgesColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectMeshHolder_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectMeshHolder *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_ObjectMeshHolder_removeTag(MR_ObjectMeshHolder *_this, const char *tag, const char *tag_end)
MRC_API const MR_Object * MR_ObjectMeshHolder_UpcastTo_MR_Object(const MR_ObjectMeshHolder *object)
MRC_API bool MR_ObjectMeshHolder_addChildBefore(MR_ObjectMeshHolder *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API bool MR_ObjectMeshHolder_hasAncillaryTexture(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setVisualizePropertyMask(MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectMeshHolder_getPointsColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const MR_Color * MR_ObjectMeshHolder_getEdgesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API size_t MR_ObjectMeshHolder_numCreaseEdges(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_select(MR_ObjectMeshHolder *_this, bool on)
MRC_API void MR_ObjectMeshHolder_setName(MR_ObjectMeshHolder *_this, const char *name, const char *name_end)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_DefaultConstruct(void)
MRC_API const MR_Color * MR_ObjectMeshHolder_getSelectedFacesColor(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id)
MRC_API bool MR_ObjectMeshHolder_getVisualizeProperty(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setSerializeFormat(MR_ObjectMeshHolder *_this, const char *newFormat)
MRC_API void MR_ObjectMeshHolder_setBackColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API double MR_ObjectMeshHolder_selectedArea(const MR_ObjectMeshHolder *_this)
MRC_API const MR_VertCoords2 * MR_ObjectMeshHolder_getAncillaryUVCoords(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isPickable(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowClone(const MR_ObjectMeshHolder *_this)
MRC_API MR_ColoringType MR_ObjectMeshHolder_getColoringType(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_cloneTree(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_avgEdgeLen(const MR_ObjectMeshHolder *_this)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_visibilityMask(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_copyAllSolidColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *other)
MRC_API void MR_ObjectMeshHolder_setData(MR_ObjectMeshHolder *_this, MR_ObjectMeshData *data)
MRC_API size_t MR_ObjectMeshHolder_numSelectedEdges(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setGlobalAlphaForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API void MR_ObjectMeshHolder_updateTexturePerFace(MR_ObjectMeshHolder *_this, MR_TexturePerFace *texturePerFace)
MRC_API size_t MR_ObjectMeshHolder_numComponents(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isGlobalAncillary(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_addTexture(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_MeshTexture *texture)
MRC_API MR_ObjectChildrenHolder * MR_ObjectMeshHolder_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectMeshHolder *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getWorldBox(const MR_ObjectMeshHolder *_this, const MR_ViewportId *_1)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectMeshHolder_shallowCloneTree(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_applyScale(MR_ObjectMeshHolder *_this, float scaleFactor)
MRC_API bool MR_ObjectMeshHolder_hasModel(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setDirtyFlagsFast(MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API bool MR_ObjectMeshHolder_render(const MR_ObjectMeshHolder *_this, const MR_ModelRenderParams *_1)
MRC_API void MR_ObjectMeshHolder_setVisibilityMask(MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_DefaultConstructArray(size_t num_elems)
MRC_API void MR_ObjectMeshHolder_resetDirty(const MR_ObjectMeshHolder *_this)
MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getAncillaryTexture(const MR_ObjectMeshHolder *_this)
MRC_API size_t MR_ObjectMeshHolder_numSelectedFaces(const MR_ObjectMeshHolder *_this)
MRC_API MR_ConstChildren * MR_ObjectMeshHolder_constChildren(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isParentLocked(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectMeshHolder_xfsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API const MR_FaceBitSet * MR_ObjectMeshHolder_getSelectedFaces(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_resetColors(MR_ObjectMeshHolder *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getPointsColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_hasVisualRepresentation(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setAmbientStrength(MR_ObjectMeshHolder *_this, float ambientStrength)
MRC_API const MR_AffineXf3f * MR_ObjectMeshHolder_xf(const MR_ObjectMeshHolder *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_ObjectMeshHolder_resetDirtyExceptMask(const MR_ObjectMeshHolder *_this, unsigned int mask)
MRC_API const MR_std_shared_ptr_const_MR_Mesh * MR_ObjectMeshHolder_mesh(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_updateData(MR_ObjectMeshHolder *_this, MR_ObjectMeshData *data)
MRC_API void MR_ObjectMeshHolder_setAncillaryUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API void MR_ObjectMeshHolder_setDirtyFlags(MR_ObjectMeshHolder *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API bool MR_ObjectMeshHolder_supportsVisualizeProperty(const MR_ObjectMeshHolder *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API const MR_Vector_MR_MeshTexture_MR_TextureId * MR_ObjectMeshHolder_getTextures(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setColoringType(MR_ObjectMeshHolder *_this, MR_ColoringType coloringType)
MRC_API MR_ViewportMask * MR_ObjectMeshHolder_globalClippedByPlaneMask(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_isVisible(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectMeshHolder_getEdgeWidth(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setSelectedFacesColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setVisible(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectMeshHolder_setSelectedEdgesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_UndirectedEdgeBitSet * MR_ObjectMeshHolder_creases(const MR_ObjectMeshHolder *_this)
MRC_API const char * MR_ObjectMeshHolder_StaticClassName(void)
Generated from method MR::ObjectMeshHolder::StaticClassName.
MRC_API void MR_ObjectMeshHolder_setPointsColorsForAllViewports(MR_ObjectMeshHolder *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectMeshHolder_setGlobalAlpha(MR_ObjectMeshHolder *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_updateFacesColorMap(MR_ObjectMeshHolder *_this, MR_FaceColors *updated)
MRC_API void MR_ObjectMeshHolder_setFacesColorMap(MR_ObjectMeshHolder *_this, MR_PassBy facesColorMap_pass_by, MR_FaceColors *facesColorMap)
MRC_API void MR_ObjectMeshHolder_renderForPicker(const MR_ObjectMeshHolder *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API bool MR_ObjectMeshHolder_sameModels(const MR_ObjectMeshHolder *_this, const MR_Object *other)
MRC_API const MR_ObjectMeshData * MR_ObjectMeshHolder_data(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setUVCoords(MR_ObjectMeshHolder *_this, MR_PassBy uvCoordinates_pass_by, MR_VertCoords2 *uvCoordinates)
MRC_API void MR_ObjectMeshHolder_setGlobalClippedByPlane(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_FaceColors * MR_ObjectMeshHolder_getFacesColorMap(const MR_ObjectMeshHolder *_this)
MRC_API MR_VisualObject * MR_ObjectMeshHolder_MutableUpcastTo_MR_VisualObject(MR_ObjectMeshHolder *object)
MRC_API float MR_ObjectMeshHolder_getAmbientStrength(const MR_ObjectMeshHolder *_this)
MRC_API const MR_std_string * MR_ObjectMeshHolder_name(const MR_ObjectMeshHolder *_this)
MRC_API const unsigned char * MR_ObjectMeshHolder_getGlobalAlpha(const MR_ObjectMeshHolder *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_updateVertsColorMap(MR_ObjectMeshHolder *_this, MR_VertColors *vertsColorMap)
MRC_API MR_MeshPart * MR_ObjectMeshHolder_meshPart(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_Destroy(const MR_ObjectMeshHolder *_this)
Destroys a heap-allocated instance of MR_ObjectMeshHolder. Does nothing if the pointer is null.
MRC_API void MR_ObjectMeshHolder_setAncillary(MR_ObjectMeshHolder *_this, bool ancillary)
MRC_API const MR_MeshTexture * MR_ObjectMeshHolder_getTexture(const MR_ObjectMeshHolder *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBackColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setVertsColorMap(MR_ObjectMeshHolder *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectMeshHolder_getAllVisualizeProperties(const MR_ObjectMeshHolder *_this)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_OffsetMutablePtr(MR_ObjectMeshHolder *ptr, ptrdiff_t i)
MRC_API unsigned int MR_ObjectMeshHolder_getDirtyFlags(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setTextures(MR_ObjectMeshHolder *_this, MR_PassBy texture_pass_by, MR_Vector_MR_MeshTexture_MR_TextureId *texture)
MRC_API const MR_std_set_std_string * MR_ObjectMeshHolder_tags(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setWorldXf(MR_ObjectMeshHolder *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setEdgeWidth(MR_ObjectMeshHolder *_this, float edgeWidth)
MRC_API const char * MR_ObjectMeshHolder_actualSerializeFormat(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setBackColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_ObjectMeshHolder * MR_ObjectMeshHolder_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_Box3f MR_ObjectMeshHolder_getBoundingBox(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_clearAncillaryTexture(MR_ObjectMeshHolder *_this)
MRC_API const MR_ObjectMeshHolder * MR_ObjectMeshHolder_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API void MR_ObjectMeshHolder_setAllVisualizeProperties(MR_ObjectMeshHolder *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_ObjectMeshHolder_resetFrontColor(MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_addChild(MR_ObjectMeshHolder *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API bool MR_ObjectMeshHolder_isSelected(const MR_ObjectMeshHolder *_this)
MRC_API MR_std_string * MR_ObjectMeshHolder_classNameInPlural(const MR_ObjectMeshHolder *_this)
MRC_API float MR_ObjectMeshHolder_getPointSize(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_setPickable(MR_ObjectMeshHolder *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectMeshHolder_getBordersColorsForAllViewports(const MR_ObjectMeshHolder *_this)
MRC_API void MR_ObjectMeshHolder_copyTextureAndColors(MR_ObjectMeshHolder *_this, const MR_ObjectMeshHolder *src, const MR_VertMap *thisToSrc, const MR_FaceMap *thisToSrcFaces)
MRC_API double MR_ObjectMeshHolder_totalArea(const MR_ObjectMeshHolder *_this)
MRC_API bool MR_ObjectMeshHolder_globalClippedByPlane(const MR_ObjectMeshHolder *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_VisualObject * MR_ObjectMeshHolder_UpcastTo_MR_VisualObject(const MR_ObjectMeshHolder *object)
MR_MeshVisualizePropertyType
Definition MRObjectMeshHolder.h:52
@ MR_MeshVisualizePropertyType_OnlyOddFragments
Definition MRObjectMeshHolder.h:61
@ MR_MeshVisualizePropertyType_Edges
Definition MRObjectMeshHolder.h:55
@ MR_MeshVisualizePropertyType_SelectedFaces
Definition MRObjectMeshHolder.h:57
@ MR_MeshVisualizePropertyType_CullBackFaces
Definition MRObjectMeshHolder.h:66
@ MR_MeshVisualizePropertyType_BordersHighlight
Definition MRObjectMeshHolder.h:62
@ MR_MeshVisualizePropertyType_Faces
Definition MRObjectMeshHolder.h:53
@ MR_MeshVisualizePropertyType_SelectedEdges
Definition MRObjectMeshHolder.h:58
@ MR_MeshVisualizePropertyType__count
Definition MRObjectMeshHolder.h:67
@ MR_MeshVisualizePropertyType_EnableShading
Definition MRObjectMeshHolder.h:59
@ MR_MeshVisualizePropertyType_Texture
Definition MRObjectMeshHolder.h:54
@ MR_MeshVisualizePropertyType_PolygonOffsetFromCamera
Definition MRObjectMeshHolder.h:64
@ MR_MeshVisualizePropertyType_Points
Definition MRObjectMeshHolder.h:56
@ MR_MeshVisualizePropertyType_FlatShading
Definition MRObjectMeshHolder.h:60
MRC_API void MR_ObjectMeshHolder_setSpecularStrength(MR_ObjectMeshHolder *_this, float specularStrength)
MRC_API void MR_ObjectMeshHolder_setFrontColor(MR_ObjectMeshHolder *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectMeshHolder_setBordersColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectMeshHolder_setEdgesColor(MR_ObjectMeshHolder *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API bool MR_ObjectMeshHolder_flatShading(const MR_ObjectMeshHolder *_this)
#define MRC_DEPRECATED_REASON(str)
Definition common.h:74
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Definition MRBox.h:107
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRViewportId.h:17