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
60
64
69
72MRC_API const MR_ObjectLabel *MR_ObjectLabel_OffsetPtr(const MR_ObjectLabel *ptr, ptrdiff_t i);
73
77
82
86
91
95
100
104
108MRC_API MR_ObjectLabel *MR_ObjectLabel_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectLabel *_other);
109
111MRC_API void MR_ObjectLabel_Destroy(const MR_ObjectLabel *_this);
112
115
122MRC_API MR_ObjectLabel *MR_ObjectLabel_AssignFromAnother(MR_ObjectLabel *_this, MR_PassBy _other_pass_by, MR_ObjectLabel *_other);
123
125MRC_API const char *MR_ObjectLabel_StaticTypeName(void);
126
129MRC_API const char *MR_ObjectLabel_typeName(const MR_ObjectLabel *_this);
130
133MRC_API void MR_ObjectLabel_applyScale(MR_ObjectLabel *_this, float scaleFactor);
134
138
143
148
152MRC_API void MR_ObjectLabel_setFontHeight(MR_ObjectLabel *_this, float size);
153
158
164
169
174MRC_API void MR_ObjectLabel_setFontPath(MR_ObjectLabel *_this, const char *pathToFont, const char *pathToFont_end);
175
180
189MRC_API void MR_ObjectLabel_setPivotPoint(MR_ObjectLabel *_this, const MR_Vector2f *pivotPoint);
190
196
202
206MRC_API void MR_ObjectLabel_setLeaderLineWidth(MR_ObjectLabel *_this, float width);
207
212
216MRC_API void MR_ObjectLabel_setSourcePointSize(MR_ObjectLabel *_this, float size);
217
222
226MRC_API void MR_ObjectLabel_setBackgroundPadding(MR_ObjectLabel *_this, float padding);
227
232
238MRC_API void MR_ObjectLabel_setSourcePointColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id);
239
246
252MRC_API void MR_ObjectLabel_setLeaderLineColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id);
253
260
266MRC_API void MR_ObjectLabel_setContourColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *id);
267
274
279
283
288
292
297
301
308
315
319MRC_API MR_uint64_t MR_ObjectLabel_heapBytes(const MR_ObjectLabel *_this);
320
326
333
339
341MRC_API const char *MR_ObjectLabel_StaticClassName(void);
342
347
350
355
361
367MRC_API void MR_ObjectLabel_setVisualizeProperty(MR_ObjectLabel *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
368
375
381MRC_API bool MR_ObjectLabel_getVisualizeProperty(const MR_ObjectLabel *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
382
389
395
401
407
413MRC_API bool MR_ObjectLabel_globalClippedByPlane(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
414
420MRC_API void MR_ObjectLabel_setGlobalClippedByPlane(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
421
428MRC_API const MR_Color *MR_ObjectLabel_getFrontColor(const MR_ObjectLabel *_this, const bool *selected, const MR_ViewportId *viewportId);
429
435MRC_API void MR_ObjectLabel_setFrontColor(MR_ObjectLabel *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
436
443
448MRC_API void MR_ObjectLabel_setFrontColorsForAllViewports(MR_ObjectLabel *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected);
449
455
460
466MRC_API const MR_Color *MR_ObjectLabel_getBackColor(const MR_ObjectLabel *_this, const MR_ViewportId *viewportId);
467
473MRC_API void MR_ObjectLabel_setBackColor(MR_ObjectLabel *_this, const MR_Color *color, const MR_ViewportId *viewportId);
474
480MRC_API const unsigned char *MR_ObjectLabel_getGlobalAlpha(const MR_ObjectLabel *_this, const MR_ViewportId *viewportId);
481
486MRC_API void MR_ObjectLabel_setGlobalAlpha(MR_ObjectLabel *_this, unsigned char alpha, const MR_ViewportId *viewportId);
487
493
498
505MRC_API void MR_ObjectLabel_setDirtyFlags(MR_ObjectLabel *_this, unsigned int mask, const bool *invalidateCaches);
506
510MRC_API unsigned int MR_ObjectLabel_getDirtyFlags(const MR_ObjectLabel *_this);
511
515MRC_API void MR_ObjectLabel_resetDirty(const MR_ObjectLabel *_this);
516
520MRC_API void MR_ObjectLabel_resetDirtyExceptMask(const MR_ObjectLabel *_this, unsigned int mask);
521
526
531MRC_API bool MR_ObjectLabel_getRedrawFlag(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
532
538MRC_API bool MR_ObjectLabel_isPickable(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
539
545MRC_API void MR_ObjectLabel_setPickable(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
546
551
556
560MRC_API float MR_ObjectLabel_getShininess(const MR_ObjectLabel *_this);
561
565MRC_API void MR_ObjectLabel_setShininess(MR_ObjectLabel *_this, float shininess);
566
571
575MRC_API void MR_ObjectLabel_setSpecularStrength(MR_ObjectLabel *_this, float specularStrength);
576
581
585MRC_API void MR_ObjectLabel_setAmbientStrength(MR_ObjectLabel *_this, float ambientStrength);
586
592MRC_API bool MR_ObjectLabel_render(const MR_ObjectLabel *_this, const MR_ModelRenderParams *_1);
593
598MRC_API void MR_ObjectLabel_renderForPicker(const MR_ObjectLabel *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2);
599
604MRC_API void MR_ObjectLabel_renderUi(const MR_ObjectLabel *_this, const MR_UiRenderParams *params);
605
611
617
622MRC_API void MR_ObjectLabel_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectLabel *_this, bool useDefaultScenePropertiesOnDeserialization);
623
628
633
638
643MRC_API void MR_ObjectLabel_setName(MR_ObjectLabel *_this, const char *name, const char *name_end);
644
652MRC_API const MR_AffineXf3f *MR_ObjectLabel_xf(const MR_ObjectLabel *_this, const MR_ViewportId *id, bool *isDef);
653
658MRC_API void MR_ObjectLabel_setXf(MR_ObjectLabel *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
659
665
671
676
683MRC_API MR_AffineXf3f MR_ObjectLabel_worldXf(const MR_ObjectLabel *_this, const MR_ViewportId *id, bool *isDef);
684
689MRC_API void MR_ObjectLabel_setWorldXf(MR_ObjectLabel *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id);
690
696
702MRC_API bool MR_ObjectLabel_globalVisibility(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
703
709MRC_API void MR_ObjectLabel_setGlobalVisibility(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
710
714MRC_API bool MR_ObjectLabel_isLocked(const MR_ObjectLabel *_this);
715
718MRC_API void MR_ObjectLabel_setLocked(MR_ObjectLabel *_this, bool on);
719
725
728MRC_API void MR_ObjectLabel_setParentLocked(MR_ObjectLabel *_this, bool lock);
729
733MRC_API bool MR_ObjectLabel_isAncestor(const MR_ObjectLabel *_this, const MR_Object *ancestor);
734
740
748MRC_API bool MR_ObjectLabel_addChild(MR_ObjectLabel *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
749
756MRC_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);
757
762
767
771MRC_API bool MR_ObjectLabel_select(MR_ObjectLabel *_this, bool on);
772
775MRC_API bool MR_ObjectLabel_isSelected(const MR_ObjectLabel *_this);
776
781MRC_API void MR_ObjectLabel_setAncillary(MR_ObjectLabel *_this, bool ancillary);
782
786
791
797MRC_API void MR_ObjectLabel_setVisible(MR_ObjectLabel *_this, bool on, const MR_ViewportMask *viewportMask);
798
804MRC_API bool MR_ObjectLabel_isVisible(const MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
805
810MRC_API void MR_ObjectLabel_setVisibilityMask(MR_ObjectLabel *_this, const MR_ViewportMask *viewportMask);
811
817
821
827
834
841MRC_API void MR_ObjectLabel_swap(MR_ObjectLabel *_this, MR_Object *other);
842
849
854MRC_API bool MR_ObjectLabel_hasModel(const MR_ObjectLabel *_this);
855
862
870MRC_API bool MR_ObjectLabel_addTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end);
871
878MRC_API bool MR_ObjectLabel_removeTag(MR_ObjectLabel *_this, const char *tag, const char *tag_end);
879
880// return true if model of current object equals to model (the same) of other
884MRC_API bool MR_ObjectLabel_sameModels(const MR_ObjectLabel *_this, const MR_Object *other);
885
886// return hash of model (or hash object pointer if object has no model)
889MRC_API MR_uint64_t MR_ObjectLabel_getModelHash(const MR_ObjectLabel *_this);
890
891// returns this Object as shared_ptr
892// finds it among its parent's recognized children
897
898#ifdef __cplusplus
899} // extern "C"
900#endif
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_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:86
struct MR_Object MR_Object
Definition MRGltf.h:10
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 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_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 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 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 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 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 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 bool MR_ObjectLabel_isLocked(const MR_ObjectLabel *_this)
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_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 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 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 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_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_ObjectLabel MR_ObjectLabel
Definition MRObject.h:29
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
struct MR_std_filesystem_path MR_std_filesystem_path
Definition MRPly.h:20
struct MR_PositionedText MR_PositionedText
Definition MRPositionedText.h:19
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Generated from class MR::Vector2f.
Definition MRVector2.h:36
Definition MRViewportId.h:17