MeshLib C Docs
Loading...
Searching...
No Matches
MRPointMeasurementObject.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_ObjectComparableWithReference MR_ObjectComparableWithReference; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
26typedef struct MR_ObjectComparableWithReference_ComparisonReferenceValue MR_ObjectComparableWithReference_ComparisonReferenceValue; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
27typedef struct MR_ObjectComparableWithReference_ComparisonTolerance MR_ObjectComparableWithReference_ComparisonTolerance; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
28typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
29typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
30typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
31typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
33typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
34typedef struct MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty; // Defined in `#include <MRCMisc/std_optional_MR_ObjectComparableWithReference_ComparableProperty.h>`.
35typedef struct MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance; // Defined in `#include <MRCMisc/std_optional_MR_ObjectComparableWithReference_ComparisonTolerance.h>`.
36typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
37typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
38typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
39typedef struct MR_std_string_view MR_std_string_view; // Defined in `#include <MRCMisc/std_string_view.h>`.
40typedef struct MR_std_variant_float_MR_Vector3f MR_std_variant_float_MR_Vector3f; // Defined in `#include <MRCMisc/std_variant_float_MR_Vector3f.h>`.
41typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
42typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
43
44
50
62
66
71
75
79
83
86
90
93
97
100
104
107
111
114
119
122
125
132
135
139
142
147
150
155
160
165
170
175
181
187
192
199
205
206// Implement `ObjectComparableWithReference`:
210
215
220
225
231
235
236// This returns 2: the point, and the optional normal direction. The normal doesn't need to be normalized, its length doesn't affect calculations.
237// If the normal isn't specified, the Euclidean distance gets used.
241
246
251
257
264
271
278
285
291
297
303
310
317
324MRC_API const MR_Color *MR_PointMeasurementObject_getFrontColor(const MR_PointMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId);
325
331MRC_API void MR_PointMeasurementObject_setFrontColor(MR_PointMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
332
339
345
351
356
363
370
377
383
389
394
401MRC_API void MR_PointMeasurementObject_setDirtyFlags(MR_PointMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches);
402
407
412
417
422
429
435
442
449
454
459
464
469
474
479
484
489
496
502
508
513
519
525
531
536
541
546
551MRC_API void MR_PointMeasurementObject_setName(MR_PointMeasurementObject *_this, const char *name, const char *name_end);
552
561
567
573
579
584
592
598
603
609
616
623
628
632
638
642
647
653
662
670
675
680
685
689
695
699
704
711
718
724
730
734
740
747
755
762
767
773
780
788MRC_API bool MR_PointMeasurementObject_addTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end);
789
796MRC_API bool MR_PointMeasurementObject_removeTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end);
797
798// return true if model of current object equals to model (the same) of other
803
804// return hash of model (or hash object pointer if object has no model)
808
809// returns this Object as shared_ptr
810// finds it among its parent's recognized children
815
820
821#ifdef __cplusplus
822} // extern "C"
823#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_MeasurementObject MR_MeasurementObject
Definition MRAngleMeasurementObject.h:20
struct MR_std_string MR_std_string
Definition MRCtm.h:32
struct MR_std_string_view MR_std_string_view
Definition MRDistanceMeasurementObject.h:39
struct MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty
Definition MRDistanceMeasurementObject.h:34
struct MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance
Definition MRDistanceMeasurementObject.h:35
struct MR_ObjectComparableWithReference MR_ObjectComparableWithReference
Definition MRDistanceMeasurementObject.h:25
struct MR_ObjectComparableWithReference_ComparisonTolerance MR_ObjectComparableWithReference_ComparisonTolerance
Definition MRDistanceMeasurementObject.h:27
struct MR_ObjectComparableWithReference_ComparisonReferenceValue MR_ObjectComparableWithReference_ComparisonReferenceValue
Definition MRDistanceMeasurementObject.h:26
struct MR_std_variant_float_MR_Vector3f MR_std_variant_float_MR_Vector3f
Definition MRDistanceMeasurementObject.h:40
MR_ColoringType
Definition MREnums.h:86
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_PointMeasurementObject MR_PointMeasurementObject
Definition MRMeasurementObject.h:25
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
MRC_API const MR_Object * MR_PointMeasurementObject_UpcastTo_MR_Object(const MR_PointMeasurementObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointMeasurementObject_getSharedPtr(const MR_PointMeasurementObject *_this)
MRC_API const MR_AffineXf3f * MR_PointMeasurementObject_xf(const MR_PointMeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_PointMeasurementObject_renderForPicker(const MR_PointMeasurementObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API bool MR_PointMeasurementObject_useDefaultScenePropertiesOnDeserialization(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setParentLocked(MR_PointMeasurementObject *_this, bool lock)
MRC_API void MR_PointMeasurementObject_setGlobalAlpha(MR_PointMeasurementObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance * MR_PointMeasurementObject_getComparisonTolerence(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API MR_ViewportMask * MR_PointMeasurementObject_globalVisibilityMask(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_getVisualizeProperty(const MR_PointMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_PointMeasurementObject_isSelected(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_copyAllSolidColors(MR_PointMeasurementObject *_this, const MR_VisualObject *other)
MRC_API void MR_PointMeasurementObject_Destroy(const MR_PointMeasurementObject *_this)
Destroys a heap-allocated instance of MR_PointMeasurementObject. Does nothing if the pointer is null.
MRC_API const char * MR_PointMeasurementObject_StaticClassNameInPlural(void)
Generated from method MR::PointMeasurementObject::StaticClassNameInPlural.
MRC_API MR_Vector3f MR_PointMeasurementObject_getWorldPoint(const MR_PointMeasurementObject *_this, const MR_ViewportId *id)
MRC_API const MR_Color * MR_PointMeasurementObject_getBackColor(const MR_PointMeasurementObject *_this, const MR_ViewportId *viewportId)
MRC_API float MR_PointMeasurementObject_getShininess(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setComparisonTolerance(MR_PointMeasurementObject *_this, MR_uint64_t i, const MR_ObjectComparableWithReference_ComparisonTolerance *newTolerance)
MRC_API void MR_PointMeasurementObject_resetXf(MR_PointMeasurementObject *_this, const MR_ViewportId *id)
MRC_API MR_Box3f MR_PointMeasurementObject_getWorldBox(const MR_PointMeasurementObject *_this, const MR_ViewportId *_1)
MRC_API MR_Vector3f MR_PointMeasurementObject_getLocalPoint(const MR_PointMeasurementObject *_this, const MR_ViewportId *id)
MRC_API void MR_PointMeasurementObject_applyScale(MR_PointMeasurementObject *_this, float scaleFactor)
MRC_API MR_Box3f MR_PointMeasurementObject_getBoundingBox(const MR_PointMeasurementObject *_this)
MRC_API MR_VisualObject * MR_PointMeasurementObject_MutableUpcastTo_MR_VisualObject(MR_PointMeasurementObject *object)
Upcasts an instance of MR::PointMeasurementObject to its base class MR::VisualObject.
MRC_API void MR_PointMeasurementObject_setLocalPoint(MR_PointMeasurementObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API MR_std_string_view * MR_PointMeasurementObject_getComparablePropertyName(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API const MR_ViewportProperty_unsigned_char * MR_PointMeasurementObject_getGlobalAlphaForAllViewports(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_addChild(MR_PointMeasurementObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API void MR_PointMeasurementObject_setVisualizeProperty(MR_PointMeasurementObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_PointMeasurementObject_isVisible(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointMeasurementObject_shallowCloneTree(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_isPickable(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_setXf(MR_PointMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_Object * MR_PointMeasurementObject_MutableUpcastTo_MR_Object(MR_PointMeasurementObject *object)
Upcasts an instance of MR::PointMeasurementObject to its base class MR::Object.
MRC_API void MR_PointMeasurementObject_setPickable(MR_PointMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_setAncillary(MR_PointMeasurementObject *_this, bool ancillary)
MRC_API void MR_PointMeasurementObject_setComparisonReferenceValue(MR_PointMeasurementObject *_this, MR_uint64_t i, const MR_std_variant_float_MR_Vector3f *value)
MRC_API void MR_PointMeasurementObject_setXfsForAllViewports(MR_PointMeasurementObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API MR_uint64_t MR_PointMeasurementObject_numComparableProperties(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setVisualizePropertyMask(MR_PointMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_setWorldPoint(MR_PointMeasurementObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API void MR_PointMeasurementObject_setWorldXf(MR_PointMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_uint64_t MR_PointMeasurementObject_numComparisonReferenceValues(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setBackColor(MR_PointMeasurementObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API bool MR_PointMeasurementObject_removeTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end)
MRC_API const MR_ObjectChildrenHolder * MR_PointMeasurementObject_UpcastTo_MR_ObjectChildrenHolder(const MR_PointMeasurementObject *object)
MRC_API bool MR_PointMeasurementObject_supportsVisualizeProperty(const MR_PointMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_PointMeasurementObject_setGlobalClippedByPlane(MR_PointMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_Color * MR_PointMeasurementObject_getFrontColorsForAllViewports(const MR_PointMeasurementObject *_this, const bool *selected)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_PointMeasurementObject_xfsForAllViewports(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_sortChildren(MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_detachFromParent(MR_PointMeasurementObject *_this)
MRC_API MR_std_string * MR_PointMeasurementObject_classNameInPlural(const MR_PointMeasurementObject *_this)
MRC_API MR_ObjectComparableWithReference * MR_PointMeasurementObject_MutableUpcastTo_MR_ObjectComparableWithReference(MR_PointMeasurementObject *object)
Upcasts an instance of MR::PointMeasurementObject to its base class MR::ObjectComparableWithReference...
MRC_API MR_Box3f MR_PointMeasurementObject_getWorldTreeBox(const MR_PointMeasurementObject *_this, const MR_ViewportId *_1)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_PointMeasurementObject_isGlobalAncillary(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setName(MR_PointMeasurementObject *_this, const char *name, const char *name_end)
MRC_API const MR_std_set_std_string * MR_PointMeasurementObject_tags(const MR_PointMeasurementObject *_this)
MRC_API MR_MeasurementObject * MR_PointMeasurementObject_MutableUpcastTo_MR_MeasurementObject(MR_PointMeasurementObject *object)
Upcasts an instance of MR::PointMeasurementObject to its base class MR::MeasurementObject.
MRC_API const char * MR_PointMeasurementObject_StaticTypeName(void)
Generated from method MR::PointMeasurementObject::StaticTypeName.
MRC_API MR_std_shared_ptr_MR_Object * MR_PointMeasurementObject_shallowClone(const MR_PointMeasurementObject *_this)
MRC_API const MR_Color * MR_PointMeasurementObject_getFrontColor(const MR_PointMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API unsigned int MR_PointMeasurementObject_getDirtyFlags(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_globalVisibility(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_uint64_t MR_PointMeasurementObject_getModelHash(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setFrontColor(MR_PointMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_uint64_t MR_PointMeasurementObject_heapBytes(const MR_PointMeasurementObject *_this)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_OffsetMutablePtr(MR_PointMeasurementObject *ptr, ptrdiff_t i)
MRC_API bool MR_PointMeasurementObject_isAncestor(const MR_PointMeasurementObject *_this, const MR_Object *ancestor)
MRC_API bool MR_PointMeasurementObject_isLocked(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_isAncillary(const MR_PointMeasurementObject *_this)
MRC_API MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty * MR_PointMeasurementObject_computeComparableProperty(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointMeasurementObject_cloneTree(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setShininess(MR_PointMeasurementObject *_this, float shininess)
MRC_API const MR_ViewportProperty_MR_Color * MR_PointMeasurementObject_getBackColorsForAllViewports(const MR_PointMeasurementObject *_this)
MRC_API MR_ObjectComparableWithReference_ComparisonReferenceValue * MR_PointMeasurementObject_getComparisonReferenceValue(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API MR_std_string_view * MR_PointMeasurementObject_getComparisonReferenceValueName(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API void MR_PointMeasurementObject_setAmbientStrength(MR_PointMeasurementObject *_this, float ambientStrength)
MRC_API void MR_PointMeasurementObject_setVisibilityMask(MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_std_vector_std_string * MR_PointMeasurementObject_getInfoLines(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setBackColorsForAllViewports(MR_PointMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_PointMeasurementObject_resetDirty(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_addChildBefore(MR_PointMeasurementObject *_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_PointMeasurementObject_render(const MR_PointMeasurementObject *_this, const MR_ModelRenderParams *_1)
MRC_API void MR_PointMeasurementObject_resetRedrawFlag(const MR_PointMeasurementObject *_this)
MRC_API const MR_ViewportMask * MR_PointMeasurementObject_getVisualizePropertyMask(const MR_PointMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const char * MR_PointMeasurementObject_typeName(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_addTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end)
MRC_API MR_ColoringType MR_PointMeasurementObject_getColoringType(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_resetColors(MR_PointMeasurementObject *_this)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_DefaultConstruct(void)
MRC_API void MR_PointMeasurementObject_setGlobalAlphaForAllViewports(MR_PointMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API const unsigned char * MR_PointMeasurementObject_getGlobalAlpha(const MR_PointMeasurementObject *_this, const MR_ViewportId *viewportId)
MRC_API void MR_PointMeasurementObject_setSpecularStrength(MR_PointMeasurementObject *_this, float specularStrength)
MRC_API bool MR_PointMeasurementObject_hasModel(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_resetFrontColor(MR_PointMeasurementObject *_this)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointMeasurementObject *_other)
MRC_API bool MR_PointMeasurementObject_comparisonToleranceIsAlwaysOnlyPositive(const MR_PointMeasurementObject *_this, MR_uint64_t i)
MRC_API bool MR_PointMeasurementObject_globalClippedByPlane(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_renderUi(const MR_PointMeasurementObject *_this, const MR_UiRenderParams *params)
MRC_API bool MR_PointMeasurementObject_sameModels(const MR_PointMeasurementObject *_this, const MR_Object *other)
MRC_API void MR_PointMeasurementObject_setFrontColorsForAllViewports(MR_PointMeasurementObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API const MR_MeasurementObject * MR_PointMeasurementObject_UpcastTo_MR_MeasurementObject(const MR_PointMeasurementObject *object)
MRC_API void MR_PointMeasurementObject_setColoringType(MR_PointMeasurementObject *_this, MR_ColoringType coloringType)
MRC_API bool MR_PointMeasurementObject_isParentLocked(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_DestroyArray(const MR_PointMeasurementObject *_this)
Destroys a heap-allocated array of MR_PointMeasurementObject. Does nothing if the pointer is null.
MRC_API MR_ViewportMask * MR_PointMeasurementObject_visibilityMask(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_hasVisualRepresentation(const MR_PointMeasurementObject *_this)
MRC_API const MR_std_string * MR_PointMeasurementObject_name(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_select(MR_PointMeasurementObject *_this, bool on)
MRC_API void MR_PointMeasurementObject_setGlobalVisibility(MR_PointMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_std_vector_MR_ViewportMask * MR_PointMeasurementObject_getAllVisualizeProperties(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setUseDefaultScenePropertiesOnDeserialization(MR_PointMeasurementObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API const char * MR_PointMeasurementObject_StaticClassName(void)
Generated from method MR::PointMeasurementObject::StaticClassName.
MRC_API const MR_ObjectComparableWithReference * MR_PointMeasurementObject_UpcastTo_MR_ObjectComparableWithReference(const MR_PointMeasurementObject *object)
MRC_API void MR_PointMeasurementObject_setVisible(MR_PointMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_setComparisonReferenceVal(MR_PointMeasurementObject *_this, MR_uint64_t i, const MR_ObjectComparableWithReference_ComparisonReferenceValue *value)
MRC_API void MR_PointMeasurementObject_removeAllChildren(MR_PointMeasurementObject *_this)
MRC_API float MR_PointMeasurementObject_getSpecularStrength(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setAllVisualizeProperties(MR_PointMeasurementObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_PointMeasurementObject_resetDirtyExceptMask(const MR_PointMeasurementObject *_this, unsigned int mask)
MRC_API void MR_PointMeasurementObject_setLocked(MR_PointMeasurementObject *_this, bool on)
MRC_API MR_AffineXf3f MR_PointMeasurementObject_worldXf(const MR_PointMeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
MR_PointMeasurementVisualizePropertyType
Definition MRPointMeasurementObject.h:46
@ MR_PointMeasurementVisualizePropertyType_CapVisibility
Definition MRPointMeasurementObject.h:47
@ MR_PointMeasurementVisualizePropertyType__count
Definition MRPointMeasurementObject.h:48
MRC_API MR_std_shared_ptr_MR_Object * MR_PointMeasurementObject_clone(const MR_PointMeasurementObject *_this)
MRC_API MR_ViewportMask * MR_PointMeasurementObject_globalClippedByPlaneMask(const MR_PointMeasurementObject *_this)
MRC_API const MR_VisualObject * MR_PointMeasurementObject_UpcastTo_MR_VisualObject(const MR_PointMeasurementObject *object)
MRC_API bool MR_PointMeasurementObject_getRedrawFlag(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_OffsetPtr(const MR_PointMeasurementObject *ptr, ptrdiff_t i)
MRC_API MR_std_string * MR_PointMeasurementObject_className(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_toggleVisualizeProperty(MR_PointMeasurementObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointMeasurementObject_setDirtyFlags(MR_PointMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API float MR_PointMeasurementObject_getAmbientStrength(const MR_PointMeasurementObject *_this)
MRC_API MR_ObjectChildrenHolder * MR_PointMeasurementObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_PointMeasurementObject *object)
Upcasts an instance of MR::PointMeasurementObject to its base class MR::ObjectChildrenHolder.
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_AssignFromAnother(MR_PointMeasurementObject *_this, MR_PassBy _other_pass_by, MR_PointMeasurementObject *_other)
MRC_API void MR_PointMeasurementObject_swap(MR_PointMeasurementObject *_this, MR_Object *other)
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRVector3.h:52
Definition MRViewportId.h:17