MeshLib C Docs
Loading...
Searching...
No Matches
MRAngleMeasurementObject.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRBox.h>
5#include <MRCMesh/MREnums.h>
6#include <MRCMesh/MRVector3.h>
8#include <MRCMisc/common.h>
9#include <MRCMisc/exports.h>
10
11#include <stdbool.h>
12#include <stddef.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
19typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
20typedef struct MR_MeasurementObject MR_MeasurementObject; // Defined in `#include <MRCMesh/MRMeasurementObject.h>`.
21typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
22typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
23typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
24typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
25typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.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_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
32typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
33typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
34typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
35typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
36
37
38// Represents an angle measurement.
49
53
58
62
66
71
75
81
86
91
95
101
106
112
117
125
132
137
141
147
152
158
163
171
178
183
187
193
198
204
209
217
224
229
232
235
243
246
250
253
258
261
266
271
276
277// Get the angle point in world coordinates.
281
282// Get the angle point in local coordinates.
286
287// One of the two rays representing the angle, relative to the starting point.
288// They can have length != 1 for visualization purposes, it's probably a good idea to take the smaller of the two lengths.
292
293// Same, but in local coordinates.
297
298// Set the angle point in the local coordinates.
303
304// Set the two rays representing the angle in the local coordinates.
305// The lengths are preserved.
311
312// Whether this is a conical angle. The middle line between the rays is preserved, but the rays themselves can be rotated.
316
320
321// Whether we should draw a ray from the center point to better visualize the angle. Enable this if there isn't already a line object there.
325
329
330// Computes the angle value, as if by `acos(dot(...))` from the two normalized `getWorldRay()`s.
334
339
345
352
359
366
373
380
386
392
398
404
411
418
425MRC_API const MR_Color *MR_AngleMeasurementObject_getFrontColor(const MR_AngleMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId);
426
432MRC_API void MR_AngleMeasurementObject_setFrontColor(MR_AngleMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
433
440
446
452
457
464
471
478
484
490
495
502MRC_API void MR_AngleMeasurementObject_setDirtyFlags(MR_AngleMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches);
503
508
513
518
523
530
536
543
550
555
560
565
570
575
580
585
590
597
603
609
614
620
626
631
636
641
646MRC_API void MR_AngleMeasurementObject_setName(MR_AngleMeasurementObject *_this, const char *name, const char *name_end);
647
656
662
668
674
679
687
693
698
704
711
718
723
727
733
737
742
748
757
765
770
775
780
784
790
794
799
806
813
819
825
829
835
842
850
857
862
868
875
883MRC_API bool MR_AngleMeasurementObject_addTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end);
884
891MRC_API bool MR_AngleMeasurementObject_removeTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end);
892
893// return true if model of current object equals to model (the same) of other
898
899// return hash of model (or hash object pointer if object has no model)
903
904// returns this Object as shared_ptr
905// finds it among its parent's recognized children
910
911#ifdef __cplusplus
912} // extern "C"
913#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
MRC_API bool MR_AngleMeasurementObject_globalClippedByPlane(const MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_AngleMeasurementObject_setIsConical(MR_AngleMeasurementObject *_this, bool value)
MRC_API MR_Box3f MR_AngleMeasurementObject_getBoundingBox(const MR_AngleMeasurementObject *_this)
MRC_API MR_Box3f MR_AngleMeasurementObject_getWorldTreeBox(const MR_AngleMeasurementObject *_this, const MR_ViewportId *_1)
MRC_API bool MR_AngleMeasurementObject_detachFromParent(MR_AngleMeasurementObject *_this)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API bool MR_AngleMeasurementObject_sameModels(const MR_AngleMeasurementObject *_this, const MR_Object *other)
MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_clone(const MR_AngleMeasurementObject *_this)
MRC_API float MR_AngleMeasurementObject_getSpecularStrength(const MR_AngleMeasurementObject *_this)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_OffsetMutablePtr(MR_AngleMeasurementObject *ptr, ptrdiff_t i)
MRC_API float MR_AngleMeasurementObject_getShininess(const MR_AngleMeasurementObject *_this)
MRC_API MR_ViewportMask * MR_AngleMeasurementObject_visibilityMask(const MR_AngleMeasurementObject *_this)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_AngleMeasurementObject_setLocalRays(MR_AngleMeasurementObject *_this, const MR_Vector3f *a, const MR_Vector3f *b)
MRC_API void MR_AngleMeasurementObject_setVisualizePropertyMask(MR_AngleMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_AngleMeasurementObject_render(const MR_AngleMeasurementObject *_this, const MR_ModelRenderParams *_1)
MRC_API MR_std_string * MR_AngleMeasurementObject_classNameInPlural(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_globalVisibility(const MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_AngleMeasurementObject_setXfsForAllViewports(MR_AngleMeasurementObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API bool MR_AngleMeasurementObject_isAncestor(const MR_AngleMeasurementObject *_this, const MR_Object *ancestor)
MRC_API MR_MeasurementObject * MR_AngleMeasurementObject_MutableUpcastTo_MR_MeasurementObject(MR_AngleMeasurementObject *object)
MRC_API void MR_AngleMeasurementObject_applyScale(MR_AngleMeasurementObject *_this, float scaleFactor)
MRC_API void MR_AngleMeasurementObject_resetFrontColor(MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setShininess(MR_AngleMeasurementObject *_this, float shininess)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableStaticDowncastFrom_MR_MeasurementObject(MR_MeasurementObject *object)
MRC_API bool MR_AngleMeasurementObject_isParentLocked(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_renderForPicker(const MR_AngleMeasurementObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_AngleMeasurementObject_setXf(MR_AngleMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_AngleMeasurementObject_setGlobalVisibility(MR_AngleMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldPoint(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setLocked(MR_AngleMeasurementObject *_this, bool on)
MRC_API MR_Box3f MR_AngleMeasurementObject_getWorldBox(const MR_AngleMeasurementObject *_this, const MR_ViewportId *_1)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_cloneTree(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_Destroy(const MR_AngleMeasurementObject *_this)
Destroys a heap-allocated instance of MR_AngleMeasurementObject. Does nothing if the pointer is null.
MRC_API const unsigned char * MR_AngleMeasurementObject_getGlobalAlpha(const MR_AngleMeasurementObject *_this, const MR_ViewportId *viewportId)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API bool MR_AngleMeasurementObject_addChild(MR_AngleMeasurementObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API bool MR_AngleMeasurementObject_isGlobalAncillary(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_select(MR_AngleMeasurementObject *_this, bool on)
MRC_API const MR_MeasurementObject * MR_AngleMeasurementObject_UpcastTo_MR_MeasurementObject(const MR_AngleMeasurementObject *object)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_AssignFromAnother(MR_AngleMeasurementObject *_this, MR_PassBy _other_pass_by, MR_AngleMeasurementObject *_other)
MRC_API MR_std_string * MR_AngleMeasurementObject_className(const MR_AngleMeasurementObject *_this)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_AngleMeasurementObject_xfsForAllViewports(const MR_AngleMeasurementObject *_this)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_DefaultConstruct(void)
MRC_API void MR_AngleMeasurementObject_setWorldXf(MR_AngleMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_ObjectChildrenHolder * MR_AngleMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_AngleMeasurementObject *object)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_Object * MR_AngleMeasurementObject_MutableUpcastTo_MR_Object(MR_AngleMeasurementObject *object)
MRC_API MR_AffineXf3f MR_AngleMeasurementObject_worldXf(const MR_AngleMeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_OffsetPtr(const MR_AngleMeasurementObject *ptr, ptrdiff_t i)
struct MR_AngleMeasurementObject MR_AngleMeasurementObject
Definition MRAngleMeasurementObject.h:48
MRC_API void MR_AngleMeasurementObject_copyAllSolidColors(MR_AngleMeasurementObject *_this, const MR_VisualObject *other)
MRC_API void MR_AngleMeasurementObject_setLocalPoint(MR_AngleMeasurementObject *_this, const MR_Vector3f *point)
MRC_API void MR_AngleMeasurementObject_setGlobalAlphaForAllViewports(MR_AngleMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API float MR_AngleMeasurementObject_computeAngle(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_resetXf(MR_AngleMeasurementObject *_this, const MR_ViewportId *id)
MRC_API void MR_AngleMeasurementObject_setVisualizeProperty(MR_AngleMeasurementObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_AngleMeasurementObject_toggleVisualizeProperty(MR_AngleMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_std_string * MR_AngleMeasurementObject_name(const MR_AngleMeasurementObject *_this)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_AngleMeasurementObject *_other)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFromOrFail_MR_MeasurementObject(MR_MeasurementObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_getSharedPtr(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setPickable(MR_AngleMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_AngleMeasurementObject_setBackColor(MR_AngleMeasurementObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_Vector3f MR_AngleMeasurementObject_getWorldRay(const MR_AngleMeasurementObject *_this, bool second)
MRC_API const char * MR_AngleMeasurementObject_typeName(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_resetColors(MR_AngleMeasurementObject *_this)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFrom_MR_MeasurementObject(const MR_MeasurementObject *object)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalRay(const MR_AngleMeasurementObject *_this, bool second)
MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_shallowCloneTree(const MR_AngleMeasurementObject *_this)
MRC_API const MR_std_set_std_string * MR_AngleMeasurementObject_tags(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setColoringType(MR_AngleMeasurementObject *_this, MR_ColoringType coloringType)
MRC_API void MR_AngleMeasurementObject_resetDirtyExceptMask(const MR_AngleMeasurementObject *_this, unsigned int mask)
MRC_API void MR_AngleMeasurementObject_removeAllChildren(MR_AngleMeasurementObject *_this)
MRC_API const char * MR_AngleMeasurementObject_StaticTypeName(void)
Generated from method MR::AngleMeasurementObject::StaticTypeName.
MRC_API void MR_AngleMeasurementObject_setUseDefaultScenePropertiesOnDeserialization(MR_AngleMeasurementObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API const MR_ViewportProperty_MR_Color * MR_AngleMeasurementObject_getFrontColorsForAllViewports(const MR_AngleMeasurementObject *_this, const bool *selected)
MRC_API MR_ColoringType MR_AngleMeasurementObject_getColoringType(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_getIsConical(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setShouldVisualizeRay(MR_AngleMeasurementObject *_this, bool second, bool enable)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFromOrFail_MR_MeasurementObject(const MR_MeasurementObject *object)
MRC_API const MR_Object * MR_AngleMeasurementObject_UpcastTo_MR_Object(const MR_AngleMeasurementObject *object)
MRC_API const MR_ViewportProperty_MR_Color * MR_AngleMeasurementObject_getBackColorsForAllViewports(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_getVisualizeProperty(const MR_AngleMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_AngleMeasurementObject_isLocked(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_getShouldVisualizeRay(const MR_AngleMeasurementObject *_this, bool second)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_StaticDowncastFrom_MR_MeasurementObject(const MR_MeasurementObject *object)
MRC_API const char * MR_AngleMeasurementObject_StaticClassNameInPlural(void)
Generated from method MR::AngleMeasurementObject::StaticClassNameInPlural.
MRC_API bool MR_AngleMeasurementObject_hasModel(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_isPickable(const MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_AngleMeasurementObject_swap(MR_AngleMeasurementObject *_this, MR_Object *other)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_VisualObject * MR_AngleMeasurementObject_UpcastTo_MR_VisualObject(const MR_AngleMeasurementObject *object)
MRC_API bool MR_AngleMeasurementObject_useDefaultScenePropertiesOnDeserialization(const MR_AngleMeasurementObject *_this)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const MR_AngleMeasurementObject * MR_AngleMeasurementObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_Color * MR_AngleMeasurementObject_getFrontColor(const MR_AngleMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API bool MR_AngleMeasurementObject_supportsVisualizeProperty(const MR_AngleMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const MR_Color * MR_AngleMeasurementObject_getBackColor(const MR_AngleMeasurementObject *_this, const MR_ViewportId *viewportId)
MRC_API MR_ViewportMask * MR_AngleMeasurementObject_globalVisibilityMask(const MR_AngleMeasurementObject *_this)
MRC_API MR_Vector3f MR_AngleMeasurementObject_getLocalPoint(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setName(MR_AngleMeasurementObject *_this, const char *name, const char *name_end)
MRC_API bool MR_AngleMeasurementObject_isVisible(const MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const char * MR_AngleMeasurementObject_StaticClassName(void)
Generated from method MR::AngleMeasurementObject::StaticClassName.
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_DefaultConstructArray(size_t num_elems)
MRC_API void MR_AngleMeasurementObject_setParentLocked(MR_AngleMeasurementObject *_this, bool lock)
MRC_API void MR_AngleMeasurementObject_DestroyArray(const MR_AngleMeasurementObject *_this)
Destroys a heap-allocated array of MR_AngleMeasurementObject. Does nothing if the pointer is null.
MRC_API bool MR_AngleMeasurementObject_addChildBefore(MR_AngleMeasurementObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API MR_VisualObject * MR_AngleMeasurementObject_MutableUpcastTo_MR_VisualObject(MR_AngleMeasurementObject *object)
MRC_API void MR_AngleMeasurementObject_sortChildren(MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_getRedrawFlag(const MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_AngleMeasurementObject_isAncillary(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setVisibilityMask(MR_AngleMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_AngleMeasurementObject_setDirtyFlags(MR_AngleMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API const MR_ViewportProperty_unsigned_char * MR_AngleMeasurementObject_getGlobalAlphaForAllViewports(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setAllVisualizeProperties(MR_AngleMeasurementObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_AngleMeasurementObject_setSpecularStrength(MR_AngleMeasurementObject *_this, float specularStrength)
MRC_API void MR_AngleMeasurementObject_setBackColorsForAllViewports(MR_AngleMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API MR_std_vector_std_string * MR_AngleMeasurementObject_getInfoLines(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setAmbientStrength(MR_AngleMeasurementObject *_this, float ambientStrength)
MRC_API void MR_AngleMeasurementObject_renderUi(const MR_AngleMeasurementObject *_this, const MR_UiRenderParams *params)
MRC_API MR_AngleMeasurementObject * MR_AngleMeasurementObject_MutableDynamicDowncastFrom_MR_MeasurementObject(MR_MeasurementObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_AngleMeasurementObject_shallowClone(const MR_AngleMeasurementObject *_this)
MRC_API MR_std_vector_MR_ViewportMask * MR_AngleMeasurementObject_getAllVisualizeProperties(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setFrontColor(MR_AngleMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_AngleMeasurementObject_setGlobalAlpha(MR_AngleMeasurementObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API float MR_AngleMeasurementObject_getAmbientStrength(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_setAncillary(MR_AngleMeasurementObject *_this, bool ancillary)
MRC_API const MR_ObjectChildrenHolder * MR_AngleMeasurementObject_UpcastTo_MR_ObjectChildrenHolder(const MR_AngleMeasurementObject *object)
MRC_API void MR_AngleMeasurementObject_setFrontColorsForAllViewports(MR_AngleMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API const MR_ViewportMask * MR_AngleMeasurementObject_getVisualizePropertyMask(const MR_AngleMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API MR_ViewportMask * MR_AngleMeasurementObject_globalClippedByPlaneMask(const MR_AngleMeasurementObject *_this)
MRC_API unsigned int MR_AngleMeasurementObject_getDirtyFlags(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_isSelected(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_removeTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_AngleMeasurementObject_resetDirty(const MR_AngleMeasurementObject *_this)
MRC_API MR_uint64_t MR_AngleMeasurementObject_getModelHash(const MR_AngleMeasurementObject *_this)
MRC_API bool MR_AngleMeasurementObject_addTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_AngleMeasurementObject_setGlobalClippedByPlane(MR_AngleMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_AngleMeasurementObject_hasVisualRepresentation(const MR_AngleMeasurementObject *_this)
struct MR_MeasurementObject MR_MeasurementObject
Definition MRAngleMeasurementObject.h:20
MRC_API void MR_AngleMeasurementObject_setVisible(MR_AngleMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_uint64_t MR_AngleMeasurementObject_heapBytes(const MR_AngleMeasurementObject *_this)
MRC_API void MR_AngleMeasurementObject_resetRedrawFlag(const MR_AngleMeasurementObject *_this)
MRC_API const MR_AffineXf3f * MR_AngleMeasurementObject_xf(const MR_AngleMeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
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
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition include/MRCMisc/exports.h:11
Definition MRAffineXf.h:39
Definition MRBox.h:107
Generated from class MR::Color.
Definition MRColor.h:18
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRViewportId.h:17