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_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
21typedef struct MR_MeasurementObject MR_MeasurementObject; // Defined in `#include <MRCMesh/MRMeasurementObject.h>`.
22typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
23typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
24typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
25typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
26typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
28typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
29typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
30typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
31typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.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_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
34typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
35typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
36typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
37
38
39// Represents an angle measurement.
50
54
59
63
67
72
76
82
87
92
96
102
107
113
118
126
133
138
142
148
153
159
164
172
179
184
188
194
199
205
210
218
225
230
233
236
244
247
251
254
259
262
267
272
277
278// Get the angle point in world coordinates.
282
283// Get the angle point in local coordinates.
287
288// One of the two rays representing the angle, relative to the starting point.
289// They can have length != 1 for visualization purposes, it's probably a good idea to take the smaller of the two lengths.
293
294// Same, but in local coordinates.
298
299// Set the angle point in the local coordinates.
304
305// Set the two rays representing the angle in the local coordinates.
306// The lengths are preserved.
312
313// Whether this is a conical angle. The middle line between the rays is preserved, but the rays themselves can be rotated.
317
321
322// 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.
326
330
331// Computes the angle value, as if by `acos(dot(...))` from the two normalized `getWorldRay()`s.
335
340
346
353
360
367
374
381
387
393
399
405
412
419
426MRC_API const MR_Color *MR_AngleMeasurementObject_getFrontColor(const MR_AngleMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId);
427
433MRC_API void MR_AngleMeasurementObject_setFrontColor(MR_AngleMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
434
441
447
453
458
465
472
479
485
491
496
503MRC_API void MR_AngleMeasurementObject_setDirtyFlags(MR_AngleMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches);
504
509
514
519
524
531
537
544
551
556
561
566
571
576
581
586
591
598
604
610
615
621
627
632
637
642
647MRC_API void MR_AngleMeasurementObject_setName(MR_AngleMeasurementObject *_this, const char *name, const char *name_end);
648
657
663
669
675
680
688
694
699
705
712
719
724
728
734
738
743
749
756
765
773
778
783
788
792
798
802
807
814
821
827
833
837
843
850
858
864
869
875
882
890MRC_API bool MR_AngleMeasurementObject_addTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end);
891
898MRC_API bool MR_AngleMeasurementObject_removeTag(MR_AngleMeasurementObject *_this, const char *tag, const char *tag_end);
899
900// return true if model of current object equals to model (the same) of other
905
906// return hash of model (or hash object pointer if object has no model)
910
911// returns this Object as shared_ptr
912// finds it among its parent's recognized children
917
918#ifdef __cplusplus
919} // extern "C"
920#endif
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
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 MR_ConstChildren * MR_AngleMeasurementObject_constChildren(const MR_AngleMeasurementObject *_this)
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:49
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 size_t MR_AngleMeasurementObject_getModelHash(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 size_t MR_AngleMeasurementObject_heapBytes(const MR_AngleMeasurementObject *_this)
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 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:21
MRC_API void MR_AngleMeasurementObject_setVisible(MR_AngleMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
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:17
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
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRViewportId.h:17