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_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_ObjectComparableWithReference MR_ObjectComparableWithReference; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
27typedef struct MR_ObjectComparableWithReference_ComparisonReferenceValue MR_ObjectComparableWithReference_ComparisonReferenceValue; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
28typedef struct MR_ObjectComparableWithReference_ComparisonTolerance MR_ObjectComparableWithReference_ComparisonTolerance; // Defined in `#include <MRCMesh/MRObjectComparableWithReference.h>`.
29typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
30typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
31typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
33typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
34typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
35typedef struct MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty; // Defined in `#include <MRCMisc/std_optional_MR_ObjectComparableWithReference_ComparableProperty.h>`.
36typedef struct MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance; // Defined in `#include <MRCMisc/std_optional_MR_ObjectComparableWithReference_ComparisonTolerance.h>`.
37typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
38typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
39typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
40typedef struct MR_std_string_view MR_std_string_view; // Defined in `#include <MRCMisc/std_string_view.h>`.
41typedef struct MR_std_variant_float_MR_Vector3f MR_std_variant_float_MR_Vector3f; // Defined in `#include <MRCMisc/std_variant_float_MR_Vector3f.h>`.
42typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
43typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
44
45
51
63
67
72
76
80
85
89
95
100
105
109
115
120
126
131
139
146
151
155
161
166
172
177
185
192
197
201
207
212
218
223
231
238
243
247
253
258
264
269
277
284
289
292
295
303
306
310
313
318
321
326
331
336
341
346
352
358
363
370
376
377// Implement `ObjectComparableWithReference`:
381
386
391
396
402
406
407// This returns 2: the point, and the optional normal direction. The normal doesn't need to be normalized, its length doesn't affect calculations.
408// If the normal isn't specified, the Euclidean distance gets used.
412
417
422
428
435
442
449
456
462
468
474
481
488
495MRC_API const MR_Color *MR_PointMeasurementObject_getFrontColor(const MR_PointMeasurementObject *_this, const bool *selected, const MR_ViewportId *viewportId);
496
502MRC_API void MR_PointMeasurementObject_setFrontColor(MR_PointMeasurementObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
503
510
516
522
527
534
541
548
554
560
565
572MRC_API void MR_PointMeasurementObject_setDirtyFlags(MR_PointMeasurementObject *_this, unsigned int mask, const bool *invalidateCaches);
573
578
583
588
593
600
606
613
620
625
630
635
640
645
650
655
660
667
673
679
684
690
696
702
707
712
717
722MRC_API void MR_PointMeasurementObject_setName(MR_PointMeasurementObject *_this, const char *name, const char *name_end);
723
732
738
744
750
755
763
769
774
780
787
794
799
803
809
813
818
824
831
840
848
853
858
863
867
873
877
882
889
896
902
908
912
918
925
933
939
944
950
957
965MRC_API bool MR_PointMeasurementObject_addTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end);
966
973MRC_API bool MR_PointMeasurementObject_removeTag(MR_PointMeasurementObject *_this, const char *tag, const char *tag_end);
974
975// return true if model of current object equals to model (the same) of other
980
981// return hash of model (or hash object pointer if object has no model)
985
986// returns this Object as shared_ptr
987// finds it among its parent's recognized children
992
997
998#ifdef __cplusplus
999} // extern "C"
1000#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
struct MR_MeasurementObject MR_MeasurementObject
Definition MRAngleMeasurementObject.h:21
struct MR_std_string MR_std_string
Definition MRCtm.h:32
struct MR_std_string_view MR_std_string_view
Definition MRDistanceMeasurementObject.h:40
struct MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty
Definition MRDistanceMeasurementObject.h:35
struct MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance MR_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance
Definition MRDistanceMeasurementObject.h:36
struct MR_ObjectComparableWithReference MR_ObjectComparableWithReference
Definition MRDistanceMeasurementObject.h:26
struct MR_ObjectComparableWithReference_ComparisonTolerance MR_ObjectComparableWithReference_ComparisonTolerance
Definition MRDistanceMeasurementObject.h:28
struct MR_ObjectComparableWithReference_ComparisonReferenceValue MR_ObjectComparableWithReference_ComparisonReferenceValue
Definition MRDistanceMeasurementObject.h:27
struct MR_std_variant_float_MR_Vector3f MR_std_variant_float_MR_Vector3f
Definition MRDistanceMeasurementObject.h:41
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
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 const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFrom_MR_MeasurementObject(const MR_MeasurementObject *object)
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_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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API bool MR_PointMeasurementObject_isSelected(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_setComparisonReferenceValue(MR_PointMeasurementObject *_this, size_t i, const MR_std_variant_float_MR_Vector3f *value)
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 MR_std_string_view * MR_PointMeasurementObject_getComparisonReferenceValueName(const MR_PointMeasurementObject *_this, size_t i)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API size_t MR_PointMeasurementObject_heapBytes(const MR_PointMeasurementObject *_this)
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_std_optional_MR_ObjectComparableWithReference_ComparisonTolerance * MR_PointMeasurementObject_getComparisonTolerence(const MR_PointMeasurementObject *_this, size_t i)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API MR_VisualObject * MR_PointMeasurementObject_MutableUpcastTo_MR_VisualObject(MR_PointMeasurementObject *object)
MRC_API void MR_PointMeasurementObject_setLocalPoint(MR_PointMeasurementObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API bool MR_PointMeasurementObject_isPickable(const MR_PointMeasurementObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_ObjectComparableWithReference(MR_ObjectComparableWithReference *object)
MRC_API void MR_PointMeasurementObject_setXf(MR_PointMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFromOrFail_MR_MeasurementObject(MR_MeasurementObject *object)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFromOrFail_MR_ObjectComparableWithReference(const MR_ObjectComparableWithReference *object)
MRC_API MR_std_string_view * MR_PointMeasurementObject_getComparablePropertyName(const MR_PointMeasurementObject *_this, size_t i)
MRC_API MR_Object * MR_PointMeasurementObject_MutableUpcastTo_MR_Object(MR_PointMeasurementObject *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_setXfsForAllViewports(MR_PointMeasurementObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API void MR_PointMeasurementObject_setWorldXf(MR_PointMeasurementObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_ObjectComparableWithReference(MR_ObjectComparableWithReference *object)
MRC_API void MR_PointMeasurementObject_setGlobalClippedByPlane(MR_PointMeasurementObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_MeasurementObject(MR_MeasurementObject *object)
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 void MR_PointMeasurementObject_setComparisonReferenceVal(MR_PointMeasurementObject *_this, size_t i, const MR_ObjectComparableWithReference_ComparisonReferenceValue *value)
MRC_API MR_std_string * MR_PointMeasurementObject_classNameInPlural(const MR_PointMeasurementObject *_this)
MRC_API MR_ObjectComparableWithReference * MR_PointMeasurementObject_MutableUpcastTo_MR_ObjectComparableWithReference(MR_PointMeasurementObject *object)
MRC_API MR_Box3f MR_PointMeasurementObject_getWorldTreeBox(const MR_PointMeasurementObject *_this, const MR_ViewportId *_1)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
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)
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)
struct MR_PointMeasurementObject MR_PointMeasurementObject
Definition MRPointMeasurementObject.h:62
MRC_API size_t MR_PointMeasurementObject_numComparisonReferenceValues(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 const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFrom_MR_MeasurementObject(MR_MeasurementObject *object)
MRC_API bool MR_PointMeasurementObject_isLocked(const MR_PointMeasurementObject *_this)
MRC_API bool MR_PointMeasurementObject_isAncillary(const MR_PointMeasurementObject *_this)
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 void MR_PointMeasurementObject_setAmbientStrength(MR_PointMeasurementObject *_this, float ambientStrength)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFromOrFail_MR_ObjectComparableWithReference(MR_ObjectComparableWithReference *object)
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 MR_PointMeasurementObject * MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
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 size_t MR_PointMeasurementObject_numComparableProperties(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_resetFrontColor(MR_PointMeasurementObject *_this)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_StaticDowncastFrom_MR_MeasurementObject(const MR_MeasurementObject *object)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointMeasurementObject *_other)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_StaticDowncastFrom_MR_ObjectComparableWithReference(const MR_ObjectComparableWithReference *object)
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 const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFromOrFail_MR_MeasurementObject(const MR_MeasurementObject *object)
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 MR_ConstChildren * MR_PointMeasurementObject_constChildren(const MR_PointMeasurementObject *_this)
MRC_API MR_std_optional_MR_ObjectComparableWithReference_ComparableProperty * MR_PointMeasurementObject_computeComparableProperty(const MR_PointMeasurementObject *_this, size_t i)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_DynamicDowncastFrom_MR_ObjectComparableWithReference(const MR_ObjectComparableWithReference *object)
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_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_ObjectComparableWithReference_ComparisonReferenceValue * MR_PointMeasurementObject_getComparisonReferenceValue(const MR_PointMeasurementObject *_this, size_t i)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API MR_AffineXf3f MR_PointMeasurementObject_worldXf(const MR_PointMeasurementObject *_this, const MR_ViewportId *id, bool *isDef)
MR_PointMeasurementVisualizePropertyType
Definition MRPointMeasurementObject.h:47
@ MR_PointMeasurementVisualizePropertyType_CapVisibility
Definition MRPointMeasurementObject.h:48
@ MR_PointMeasurementVisualizePropertyType__count
Definition MRPointMeasurementObject.h:49
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_PointMeasurementObject * MR_PointMeasurementObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_PointMeasurementObject_setComparisonTolerance(MR_PointMeasurementObject *_this, size_t i, const MR_ObjectComparableWithReference_ComparisonTolerance *newTolerance)
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)
MRC_API MR_PointMeasurementObject * MR_PointMeasurementObject_AssignFromAnother(MR_PointMeasurementObject *_this, MR_PassBy _other_pass_by, MR_PointMeasurementObject *_other)
MRC_API size_t MR_PointMeasurementObject_getModelHash(const MR_PointMeasurementObject *_this)
MRC_API void MR_PointMeasurementObject_swap(MR_PointMeasurementObject *_this, MR_Object *other)
MRC_API bool MR_PointMeasurementObject_comparisonToleranceIsAlwaysOnlyPositive(const MR_PointMeasurementObject *_this, size_t i)
MRC_API const MR_PointMeasurementObject * MR_PointMeasurementObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
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