MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectLabel.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_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
20typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
21typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
22typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
23typedef struct MR_PositionedText MR_PositionedText; // Defined in `#include <MRCMesh/MRPositionedText.h>`.
24typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_Vector2f MR_Vector2f; // Defined in `#include <MRCMesh/MRVector2.h>`.
26typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
27typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
28typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
29typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
30typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
31typedef struct MR_std_filesystem_path MR_std_filesystem_path; // Defined in `#include <MRCMisc/std_filesystem_path.h>`.
32typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
33typedef struct MR_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Mesh.h>`.
34typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
35typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
36typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
37typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
38
39
48
59typedef struct MR_ObjectLabel MR_ObjectLabel;
60
64
69
73
77
82
86
92
97
102
106
112
117
123
128
136
143
148
152
158
163
169
174
182
189
194
197
200
208
211
215
218MRC_API void MR_ObjectLabel_applyScale(MR_ObjectLabel *_this, float scaleFactor);
219
223
228
233
238
243
249
254
259MRC_API void MR_ObjectLabel_setFontPath(MR_ObjectLabel *_this, const char *pathToFont, const char *pathToFont_end);
260
265
275
281
287
292
297
302
307
312
317
324
331
338
345
352
359
364
368
373
377
382
386
393
400
405
411
418
424
427
432
435
440
446
453
460
467
474
480
486
492
499
506
513MRC_API const MR_Color *MR_ObjectLabel_getFrontColor(const MR_ObjectLabel *_this, const bool *selected, const MR_ViewportId *viewportId);
514
520MRC_API void MR_ObjectLabel_setFrontColor(MR_ObjectLabel *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
521
528
534
540
545
552
558MRC_API void MR_ObjectLabel_setBackColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *viewportId);
559
565MRC_API const unsigned char *MR_ObjectLabel_getGlobalAlpha(const MR_ObjectLabel *_this, const MR_ViewportId *viewportId);
566
571MRC_API void MR_ObjectLabel_setGlobalAlpha(MR_ObjectLabel *_this, unsigned char alpha, const MR_ViewportId *viewportId);
572
578
583
590MRC_API void MR_ObjectLabel_setDirtyFlags(MR_ObjectLabel *_this, unsigned int mask, const bool *invalidateCaches);
591
596
601
605MRC_API void MR_ObjectLabel_resetDirtyExceptMask(const MR_ObjectLabel *_this, unsigned int mask);
606
611
617
623MRC_API bool MR_ObjectLabel_isPickable(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
624
630MRC_API void MR_ObjectLabel_setPickable(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
631
636
641
646
651
656
660MRC_API void MR_ObjectLabel_setSpecularStrength(MR_ObjectLabel *_this, float specularStrength);
661
666
670MRC_API void MR_ObjectLabel_setAmbientStrength(MR_ObjectLabel *_this, float ambientStrength);
671
678
684
690
696
702
707MRC_API void MR_ObjectLabel_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectLabel *_this, bool useDefaultScenePropertiesOnDeserialization);
708
713
718
723
728MRC_API void MR_ObjectLabel_setName(MR_ObjectLabel *_this, const char *name, const char *name_end);
729
737MRC_API const MR_AffineXf3f *MR_ObjectLabel_xf(const MR_ObjectLabel *_this, const MR_ViewportId *id, bool *isDef);
738
744
750
756
761
769
775
781
788
795
800
804
810
814
818MRC_API bool MR_ObjectLabel_isAncestor(const MR_ObjectLabel *_this, const MR_Object *ancestor);
819
825
833MRC_API bool MR_ObjectLabel_addChild(MR_ObjectLabel *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
834
842
847
852
857
861
867
871
876
882MRC_API void MR_ObjectLabel_setVisible(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
883
889MRC_API bool MR_ObjectLabel_isVisible(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
890
896
902
906
912
919
927
934
940
947
955MRC_API bool MR_ObjectLabel_addTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end);
956
963MRC_API bool MR_ObjectLabel_removeTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end);
964
965// return true if model of current object equals to model (the same) of other
970
971// return hash of model (or hash object pointer if object has no model)
975
976// returns this Object as shared_ptr
977// finds it among its parent's recognized children
982
983#ifdef __cplusplus
984} // extern "C"
985#endif
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_std_shared_ptr_MR_Mesh MR_std_shared_ptr_MR_Mesh
Definition MRChangeMeshAction.h:19
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_ColoringType
Definition MREnums.h:94
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:18
MRC_API void MR_ObjectLabel_setLeaderLineColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_ObjectLabel_setFontHeight(MR_ObjectLabel *_this, float size)
MRC_API void MR_ObjectLabel_setXf(MR_ObjectLabel *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_ViewportMask * MR_ObjectLabel_getVisualizePropertyMask(const MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectLabel_setPickable(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectLabel_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectLabel *object)
MRC_API bool MR_ObjectLabel_addChildBefore(MR_ObjectLabel *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API bool MR_ObjectLabel_sameModels(const MR_ObjectLabel *_this, const MR_Object *other)
MRC_API void MR_ObjectLabel_resetXf(MR_ObjectLabel *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectLabel_setAncillary(MR_ObjectLabel *_this, bool ancillary)
MRC_API void MR_ObjectLabel_setSourcePointColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API void MR_ObjectLabel_setWorldXf(MR_ObjectLabel *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_ObjectLabel_setAmbientStrength(MR_ObjectLabel *_this, float ambientStrength)
MRC_API const MR_Color * MR_ObjectLabel_getContourColor(const MR_ObjectLabel *_this, const MR_ViewportId *id)
MRC_API float MR_ObjectLabel_getSourcePointSize(const MR_ObjectLabel *_this)
MRC_API MR_uint64_t MR_ObjectLabel_getModelHash(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API MR_ObjectLabel * MR_ObjectLabel_DefaultConstruct(void)
MRC_API MR_ViewportMask * MR_ObjectLabel_visibilityMask(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_swap(MR_ObjectLabel *_this, MR_Object *other)
MRC_API const MR_VisualObject * MR_ObjectLabel_UpcastTo_MR_VisualObject(const MR_ObjectLabel *object)
MRC_API bool MR_ObjectLabel_globalClippedByPlane(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_toggleVisualizeProperty(MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_ViewportMask * MR_ObjectLabel_globalClippedByPlaneMask(const MR_ObjectLabel *_this)
MRC_API const MR_std_string * MR_ObjectLabel_name(const MR_ObjectLabel *_this)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API float MR_ObjectLabel_getLeaderLineWidth(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_Destroy(const MR_ObjectLabel *_this)
Destroys a heap-allocated instance of MR_ObjectLabel. Does nothing if the pointer is null.
MRC_API MR_std_string * MR_ObjectLabel_className(const MR_ObjectLabel *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_clone(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setGlobalAlpha(MR_ObjectLabel *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API bool MR_ObjectLabel_isSelected(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_OffsetMutablePtr(MR_ObjectLabel *ptr, ptrdiff_t i)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_cloneTree(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setContourColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API bool MR_ObjectLabel_useDefaultScenePropertiesOnDeserialization(const MR_ObjectLabel *_this)
MRC_API MR_Object * MR_ObjectLabel_MutableUpcastTo_MR_Object(MR_ObjectLabel *object)
MRC_API void MR_ObjectLabel_setPivotPoint(MR_ObjectLabel *_this, const MR_Vector2f *pivotPoint)
MRC_API void MR_ObjectLabel_setDirtyFlags(MR_ObjectLabel *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API void MR_ObjectLabel_resetDirty(const MR_ObjectLabel *_this)
MRC_API const MR_std_filesystem_path * MR_ObjectLabel_getFontPath(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_applyScale(MR_ObjectLabel *_this, float scaleFactor)
MRC_API void MR_ObjectLabel_resetFrontColor(MR_ObjectLabel *_this)
MR_LabelVisualizePropertyType
Definition MRObjectLabel.h:41
@ MR_LabelVisualizePropertyType_Contour
Definition MRObjectLabel.h:45
@ MR_LabelVisualizePropertyType_LeaderLine
Definition MRObjectLabel.h:43
@ MR_LabelVisualizePropertyType_Background
Definition MRObjectLabel.h:44
@ MR_LabelVisualizePropertyType_SourcePoint
Definition MRObjectLabel.h:42
@ MR_LabelVisualizePropertyType__count
Definition MRObjectLabel.h:46
MRC_API const MR_Vector2f * MR_ObjectLabel_getPivotShift(const MR_ObjectLabel *_this)
MRC_API MR_Box3f MR_ObjectLabel_getBoundingBox(const MR_ObjectLabel *_this)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectLabel_getAllVisualizeProperties(const MR_ObjectLabel *_this)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API void MR_ObjectLabel_renderUi(const MR_ObjectLabel *_this, const MR_UiRenderParams *params)
MRC_API bool MR_ObjectLabel_supportsVisualizeProperty(const MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectLabel_setFrontColor(MR_ObjectLabel *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectLabel_setAllVisualizeProperties(MR_ObjectLabel *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API const MR_std_set_std_string * MR_ObjectLabel_tags(const MR_ObjectLabel *_this)
MRC_API const MR_Color * MR_ObjectLabel_getSourcePointColor(const MR_ObjectLabel *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectLabel_setVisible(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_setGlobalAlphaForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API MR_std_vector_std_string * MR_ObjectLabel_getInfoLines(const MR_ObjectLabel *_this)
MRC_API float MR_ObjectLabel_getBackgroundPadding(const MR_ObjectLabel *_this)
MRC_API MR_uint64_t MR_ObjectLabel_heapBytes(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setSpecularStrength(MR_ObjectLabel *_this, float specularStrength)
MRC_API bool MR_ObjectLabel_isPickable(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_resetRedrawFlag(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_DefaultConstructArray(size_t num_elems)
MRC_API const unsigned char * MR_ObjectLabel_getGlobalAlpha(const MR_ObjectLabel *_this, const MR_ViewportId *viewportId)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_OffsetPtr(const MR_ObjectLabel *ptr, ptrdiff_t i)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_ObjectLabel_isAncillary(const MR_ObjectLabel *_this)
MRC_API MR_AffineXf3f MR_ObjectLabel_worldXf(const MR_ObjectLabel *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_Vector2f * MR_ObjectLabel_getPivotPoint(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_copyAllSolidColors(MR_ObjectLabel *_this, const MR_VisualObject *other)
MRC_API void MR_ObjectLabel_setVisibilityMask(MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectLabel_globalVisibility(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectLabel_getSpecularStrength(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setSourcePointColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const char * MR_ObjectLabel_typeName(const MR_ObjectLabel *_this)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectLabel_getGlobalAlphaForAllViewports(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setParentLocked(MR_ObjectLabel *_this, bool lock)
MRC_API const MR_Object * MR_ObjectLabel_UpcastTo_MR_Object(const MR_ObjectLabel *object)
MRC_API bool MR_ObjectLabel_addChild(MR_ObjectLabel *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API MR_Box3f MR_ObjectLabel_getWorldBox(const MR_ObjectLabel *_this, const MR_ViewportId *_1)
MRC_API bool MR_ObjectLabel_getVisualizeProperty(const MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const char * MR_ObjectLabel_StaticClassNameInPlural(void)
Generated from method MR::ObjectLabel::StaticClassNameInPlural.
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLabel_getLeaderLineColorsForAllViewports(const MR_ObjectLabel *_this)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectLabel_setLabel(MR_ObjectLabel *_this, const MR_PositionedText *label)
MRC_API MR_ViewportMask * MR_ObjectLabel_globalVisibilityMask(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setBackgroundPadding(MR_ObjectLabel *_this, float padding)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLabel_getSourcePointColorsForAllViewports(const MR_ObjectLabel *_this)
MRC_API const char * MR_ObjectLabel_StaticClassName(void)
Generated from method MR::ObjectLabel::StaticClassName.
MRC_API void MR_ObjectLabel_setVisualizeProperty(MR_ObjectLabel *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_setSourcePointSize(MR_ObjectLabel *_this, float size)
MRC_API void MR_ObjectLabel_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectLabel *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API bool MR_ObjectLabel_detachFromParent(MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setBackColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const char * MR_ObjectLabel_StaticTypeName(void)
Generated from method MR::ObjectLabel::StaticTypeName.
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API void MR_ObjectLabel_setName(MR_ObjectLabel *_this, const char *name, const char *name_end)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLabel_getContourColorsForAllViewports(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_renderForPicker(const MR_ObjectLabel *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_shallowClone(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_ObjectLabel_isLocked(const MR_ObjectLabel *_this)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectLabel_resetColors(MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setShininess(MR_ObjectLabel *_this, float shininess)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectLabel_xfsForAllViewports(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setFrontColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API MR_std_string * MR_ObjectLabel_classNameInPlural(const MR_ObjectLabel *_this)
MRC_API bool MR_ObjectLabel_getRedrawFlag(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_setContourColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API const MR_PositionedText * MR_ObjectLabel_getLabel(const MR_ObjectLabel *_this)
MRC_API bool MR_ObjectLabel_render(const MR_ObjectLabel *_this, const MR_ModelRenderParams *_1)
MRC_API bool MR_ObjectLabel_select(MR_ObjectLabel *_this, bool on)
MRC_API bool MR_ObjectLabel_isAncestor(const MR_ObjectLabel *_this, const MR_Object *ancestor)
MRC_API void MR_ObjectLabel_setFontPath(MR_ObjectLabel *_this, const char *pathToFont, const char *pathToFont_end)
MRC_API unsigned int MR_ObjectLabel_getDirtyFlags(const MR_ObjectLabel *_this)
MRC_API MR_Box3f MR_ObjectLabel_getWorldTreeBox(const MR_ObjectLabel *_this, const MR_ViewportId *_1)
MRC_API bool MR_ObjectLabel_removeTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end)
MRC_API void MR_ObjectLabel_DestroyArray(const MR_ObjectLabel *_this)
Destroys a heap-allocated array of MR_ObjectLabel. Does nothing if the pointer is null.
MRC_API void MR_ObjectLabel_setVisualizePropertyMask(MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_VisualObject * MR_ObjectLabel_MutableUpcastTo_MR_VisualObject(MR_ObjectLabel *object)
MRC_API MR_ObjectChildrenHolder * MR_ObjectLabel_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectLabel *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_shallowCloneTree(const MR_ObjectLabel *_this)
MRC_API const MR_AffineXf3f * MR_ObjectLabel_xf(const MR_ObjectLabel *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API float MR_ObjectLabel_getShininess(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_AssignFromAnother(MR_ObjectLabel *_this, MR_PassBy _other_pass_by, MR_ObjectLabel *_other)
MRC_API float MR_ObjectLabel_getFontHeight(const MR_ObjectLabel *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_getSharedPtr(const MR_ObjectLabel *_this)
MRC_API const MR_Color * MR_ObjectLabel_getBackColor(const MR_ObjectLabel *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectLabel_sortChildren(MR_ObjectLabel *_this)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API bool MR_ObjectLabel_hasVisualRepresentation(const MR_ObjectLabel *_this)
MRC_API const MR_Color * MR_ObjectLabel_getLeaderLineColor(const MR_ObjectLabel *_this, const MR_ViewportId *id)
MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_ObjectLabel_setLeaderLineColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id)
MRC_API bool MR_ObjectLabel_addTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end)
MRC_API void MR_ObjectLabel_setXfsForAllViewports(MR_ObjectLabel *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_ObjectLabel_setLocked(MR_ObjectLabel *_this, bool on)
MRC_API float MR_ObjectLabel_getAmbientStrength(const MR_ObjectLabel *_this)
MRC_API bool MR_ObjectLabel_isParentLocked(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setGlobalVisibility(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectLabel_isVisible(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLabel_setColoringType(MR_ObjectLabel *_this, MR_ColoringType coloringType)
MRC_API void MR_ObjectLabel_setLeaderLineWidth(MR_ObjectLabel *_this, float width)
MRC_API void MR_ObjectLabel_setBackColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API const MR_std_shared_ptr_MR_Mesh * MR_ObjectLabel_labelRepresentingMesh(const MR_ObjectLabel *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLabel_getFrontColorsForAllViewports(const MR_ObjectLabel *_this, const bool *selected)
MRC_API void MR_ObjectLabel_buildMeshFromText(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_setGlobalClippedByPlane(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_Color * MR_ObjectLabel_getFrontColor(const MR_ObjectLabel *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API bool MR_ObjectLabel_isGlobalAncillary(const MR_ObjectLabel *_this)
MRC_API MR_ObjectLabel * MR_ObjectLabel_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectLabel *_other)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLabel_getBackColorsForAllViewports(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_resetDirtyExceptMask(const MR_ObjectLabel *_this, unsigned int mask)
MRC_API bool MR_ObjectLabel_hasModel(const MR_ObjectLabel *_this)
MRC_API MR_ColoringType MR_ObjectLabel_getColoringType(const MR_ObjectLabel *_this)
MRC_API void MR_ObjectLabel_removeAllChildren(MR_ObjectLabel *_this)
struct MR_std_filesystem_path MR_std_filesystem_path
Definition MRPly.h:20
struct MR_PositionedText MR_PositionedText
Definition MRPositionedText.h:19
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition include/MRCMisc/exports.h:11
struct MR_ObjectLabel MR_ObjectLabel
Definition std_shared_ptr_MR_ObjectLabel.h:13
Definition MRAffineXf.h:39
Definition MRBox.h:107
Generated from class MR::Color.
Definition MRColor.h:18
Generated from class MR::Vector2f.
Definition MRVector2.h:36
Definition MRViewportId.h:17