MeshLib C Docs
Loading...
Searching...
No Matches
MRSphereObject.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/MRMatrix3.h>
7#include <MRCMesh/MRVector3.h>
9#include <MRCMisc/common.h>
10#include <MRCMisc/exports.h>
11
12#include <stdbool.h>
13#include <stddef.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
20typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
21typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
22typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
23typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
24typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
27typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.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_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.h>`.
35typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
36typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
37typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
38typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
39typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
40typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
41typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
42
43
56
60
65
69
73
78
82
88
93
98
102
108
113
119
124
132
139
144
148
154
159
165
170
178
185
190
194
200
205
211
216
224
231
236
240
246
251
257
262
270
277
282
289
292
295
303
306
310
313
318
321
326
331
336
342
348
354
361
366
373
378
383
389
395
401
406
407// Returns point considered as base for the feature
412
413// The cached orthonormalized rotation matrix.
414// `isDef` receives false if matrix is overridden for this specific viewport.
420
421// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
422// `isDef` receives false if matrix is overridden for this specific viewport.
428
429// This color is used for subfeatures.
430// `isDef` receives false if matrix is overridden for this specific viewport.
436MRC_API const MR_Color *MR_SphereObject_getDecorationsColor(const MR_SphereObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
437
442MRC_API void MR_SphereObject_setDecorationsColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
443
448
452
453// Point size and line width, for primary rendering rather than subfeatures.
457
461
465
469
470// Point size and line width, for subfeatures rather than primary rendering.
474
478
482
486
487// Per-component alpha multipliers. The global alpha is multiplied by thise.
491
495
499
503
507
511
515
519
526
533
540
547
553
559
565
572
579
586MRC_API const MR_Color *MR_SphereObject_getFrontColor(const MR_SphereObject *_this, const bool *selected, const MR_ViewportId *viewportId);
587
593MRC_API void MR_SphereObject_setFrontColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
594
601
607
613
618
625
631MRC_API void MR_SphereObject_setBackColor(MR_SphereObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
632
638MRC_API const unsigned char *MR_SphereObject_getGlobalAlpha(const MR_SphereObject *_this, const MR_ViewportId *viewportId);
639
644MRC_API void MR_SphereObject_setGlobalAlpha(MR_SphereObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
645
651
656
663MRC_API void MR_SphereObject_setDirtyFlags(MR_SphereObject *_this, unsigned int mask, const bool *invalidateCaches);
664
669
674
679
684
691
697
704
710MRC_API void MR_SphereObject_setPickable(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
711
716
721
726
731
736
741
746
751
758
764
770
775
781
787
792MRC_API void MR_SphereObject_setUseDefaultScenePropertiesOnDeserialization(MR_SphereObject *_this, bool useDefaultScenePropertiesOnDeserialization);
793
798
803
808
813MRC_API void MR_SphereObject_setName(MR_SphereObject *_this, const char *name, const char *name_end);
814
822MRC_API const MR_AffineXf3f *MR_SphereObject_xf(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef);
823
829
834
842
848
852MRC_API void MR_SphereObject_applyScale(MR_SphereObject *_this, float scaleFactor);
853
859
866
873
878
882
888
892
897
903
911MRC_API bool MR_SphereObject_addChild(MR_SphereObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
912
920
925
930
935
939
945
949
954
960MRC_API void MR_SphereObject_setVisible(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
961
967MRC_API bool MR_SphereObject_isVisible(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask);
968
974
980
984
990
997
1005
1012
1017
1023
1030
1038MRC_API bool MR_SphereObject_addTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
1039
1046MRC_API bool MR_SphereObject_removeTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
1047
1048// return true if model of current object equals to model (the same) of other
1053
1054// return hash of model (or hash object pointer if object has no model)
1058
1059// returns this Object as shared_ptr
1060// finds it among its parent's recognized children
1065
1066#ifdef __cplusplus
1067} // extern "C"
1068#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:23
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:37
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_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:33
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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter
Definition MRAddVisualPropertiesMixin.h:73
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
struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:22
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:21
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:25
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
MRC_API const MR_ViewportProperty_MR_Color * MR_SphereObject_getBackColorsForAllViewports(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_addChildBefore(MR_SphereObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API void MR_SphereObject_setRadius(MR_SphereObject *_this, float radius, const MR_ViewportId *id)
MRC_API const MR_SphereObject * MR_SphereObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API void MR_SphereObject_setWorldXf(MR_SphereObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_std_set_std_string * MR_SphereObject_tags(const MR_SphereObject *_this)
MRC_API const MR_ViewportMask * MR_SphereObject_getVisualizePropertyMask(const MR_SphereObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API float MR_SphereObject_getShininess(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_render(const MR_SphereObject *_this, const MR_ModelRenderParams *_1)
MRC_API bool MR_SphereObject_isParentLocked(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setSpecularStrength(MR_SphereObject *_this, float specularStrength)
MRC_API void MR_SphereObject_setFrontColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_SphereObject_UpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(const MR_SphereObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_SphereObject_cloneTree(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setGlobalAlphaForAllViewports(MR_SphereObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API MR_Vector3f MR_SphereObject_getBasePoint(const MR_SphereObject *_this, const MR_ViewportId *id)
MRC_API const MR_SphereObject * MR_SphereObject_StaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API bool MR_SphereObject_globalClippedByPlane(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_SphereObject * MR_SphereObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_SphereObject_setGlobalVisibility(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_SphereObject * MR_SphereObject_AssignFromAnother(MR_SphereObject *_this, MR_PassBy _other_pass_by, MR_SphereObject *_other)
MRC_API void MR_SphereObject_setSubfeatureAlphaMesh(MR_SphereObject *_this, float alpha)
MRC_API MR_Matrix3f MR_SphereObject_getScaleShearMatrix(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_SphereObject_resetXf(MR_SphereObject *_this, const MR_ViewportId *id)
MRC_API void MR_SphereObject_copyAllSolidColors(MR_SphereObject *_this, const MR_VisualObject *other)
MRC_API void MR_SphereObject_setSubfeatureAlphaLines(MR_SphereObject *_this, float alpha)
MRC_API bool MR_SphereObject_isLocked(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setShininess(MR_SphereObject *_this, float shininess)
MRC_API void MR_SphereObject_removeAllChildren(MR_SphereObject *_this)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFromOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API void MR_SphereObject_setDirtyFlags(MR_SphereObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API const char * MR_SphereObject_StaticClassName(void)
Generated from method MR::SphereObject::StaticClassName.
MRC_API bool MR_SphereObject_select(MR_SphereObject *_this, bool on)
MRC_API bool MR_SphereObject_detachFromParent(MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_MutableStaticDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API bool MR_SphereObject_isVisible(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_SphereObject * MR_SphereObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_Object * MR_SphereObject_MutableUpcastTo_MR_Object(MR_SphereObject *object)
MRC_API bool MR_SphereObject_isAncillary(const MR_SphereObject *_this)
MRC_API MR_FeatureObject * MR_SphereObject_MutableUpcastTo_MR_FeatureObject(MR_SphereObject *object)
MRC_API void MR_SphereObject_setVisible(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_SphereObject_swap(MR_SphereObject *_this, MR_Object *other)
MRC_API void MR_SphereObject_setXfsForAllViewports(MR_SphereObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_SphereObject_setColoringType(MR_SphereObject *_this, MR_ColoringType coloringType)
MRC_API bool MR_SphereObject_isGlobalAncillary(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getSubfeaturePointSize(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setUseDefaultScenePropertiesOnDeserialization(MR_SphereObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API void MR_SphereObject_setVisibilityMask(MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ViewportMask * MR_SphereObject_globalVisibilityMask(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getPointSize(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_sortChildren(MR_SphereObject *_this)
MRC_API const MR_FeatureObject * MR_SphereObject_UpcastTo_MR_FeatureObject(const MR_SphereObject *object)
MRC_API void MR_SphereObject_setAllVisualizeProperties(MR_SphereObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API MR_ViewportMask * MR_SphereObject_globalClippedByPlaneMask(const MR_SphereObject *_this)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const char * MR_SphereObject_StaticClassNameInPlural(void)
Generated from method MR::SphereObject::StaticClassNameInPlural.
MRC_API float MR_SphereObject_getRadius(const MR_SphereObject *_this, const MR_ViewportId *id)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_SphereObject_xfsForAllViewports(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_useDefaultScenePropertiesOnDeserialization(const MR_SphereObject *_this)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API float MR_SphereObject_getMainFeatureAlpha(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
struct MR_SphereObject MR_SphereObject
Definition MRSphereObject.h:55
MRC_API const char * MR_SphereObject_StaticTypeName(void)
Generated from method MR::SphereObject::StaticTypeName.
MRC_API MR_SphereObject * MR_SphereObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_std_string * MR_SphereObject_classNameInPlural(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_isPickable(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_SphereObject_setPickable(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_uint64_t MR_SphereObject_getModelHash(const MR_SphereObject *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_SphereObject_getFrontColorsForAllViewports(const MR_SphereObject *_this, const bool *selected)
MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_SphereObject_getAllSharedProperties(const MR_SphereObject *_this)
MRC_API MR_AffineXf3f MR_SphereObject_worldXf(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_SphereObject_setGlobalClippedByPlane(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API MR_std_shared_ptr_MR_Object * MR_SphereObject_shallowClone(const MR_SphereObject *_this)
MRC_API MR_ObjectChildrenHolder * MR_SphereObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_SphereObject *object)
MRC_API void MR_SphereObject_setLocked(MR_SphereObject *_this, bool on)
MRC_API MR_uint64_t MR_SphereObject_heapBytes(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_resetFrontColor(MR_SphereObject *_this)
MRC_API bool MR_SphereObject_isAncestor(const MR_SphereObject *_this, const MR_Object *ancestor)
MRC_API void MR_SphereObject_setSubfeatureAlphaPoints(MR_SphereObject *_this, float alpha)
MRC_API MR_std_vector_MR_ViewportMask * MR_SphereObject_getAllVisualizeProperties(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setVisualizePropertyMask(MR_SphereObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_SphereObject_setBackColor(MR_SphereObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_std_string * MR_SphereObject_className(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setAmbientStrength(MR_SphereObject *_this, float ambientStrength)
MRC_API void MR_SphereObject_setSubfeatureLineWidth(MR_SphereObject *_this, float lineWidth)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API float MR_SphereObject_getSubfeatureAlphaPoints(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API unsigned int MR_SphereObject_getDirtyFlags(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_toggleVisualizeProperty(MR_SphereObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_SphereObject_getDecorationsColor(const MR_SphereObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API const MR_ViewportProperty_unsigned_char * MR_SphereObject_getGlobalAlphaForAllViewports(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_resetDirtyExceptMask(const MR_SphereObject *_this, unsigned int mask)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_SphereObject_shallowCloneTree(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_SphereObject_resetRedrawFlag(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getSubfeatureLineWidth(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject(MR_FeatureObject *object)
MRC_API void MR_SphereObject_setAncillary(MR_SphereObject *_this, bool ancillary)
MRC_API MR_std_vector_std_string * MR_SphereObject_getInfoLines(const MR_SphereObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_SphereObject_clone(const MR_SphereObject *_this)
MRC_API MR_Box3f MR_SphereObject_getBoundingBox(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getAmbientStrength(const MR_SphereObject *_this)
MRC_API MR_VisualObject * MR_SphereObject_MutableUpcastTo_MR_VisualObject(MR_SphereObject *object)
MRC_API void MR_SphereObject_setVisualizeProperty(MR_SphereObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_SphereObject_supportsVisualizeProperty(const MR_SphereObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_SphereObject_applyScale(MR_SphereObject *_this, float scaleFactor)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFromOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API MR_Vector3f MR_SphereObject_getCenter(const MR_SphereObject *_this, const MR_ViewportId *id)
MRC_API const char * MR_SphereObject_typeName(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setLineWidth(MR_SphereObject *_this, float lineWidth)
MRC_API MR_SphereObject * MR_SphereObject_DefaultConstructArray(size_t num_elems)
MRC_API void MR_SphereObject_setCenter(MR_SphereObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
MRC_API const MR_Object * MR_SphereObject_UpcastTo_MR_Object(const MR_SphereObject *object)
MRC_API MR_Box3f MR_SphereObject_getWorldBox(const MR_SphereObject *_this, const MR_ViewportId *_1)
MRC_API MR_std_shared_ptr_MR_Object * MR_SphereObject_getSharedPtr(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getSpecularStrength(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_Destroy(const MR_SphereObject *_this)
Destroys a heap-allocated instance of MR_SphereObject. Does nothing if the pointer is null.
MRC_API void MR_SphereObject_setDecorationsColorForAllViewports(MR_SphereObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API void MR_SphereObject_setXf(MR_SphereObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_Matrix3f MR_SphereObject_getRotationMatrix(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API bool MR_SphereObject_getVisualizeProperty(const MR_SphereObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_std_optional_MR_Vector3f * MR_SphereObject_getNormal(const MR_SphereObject *_this, const MR_Vector3f *point)
MRC_API bool MR_SphereObject_sameModels(const MR_SphereObject *_this, const MR_Object *other)
MRC_API bool MR_SphereObject_globalVisibility(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_SphereObject_getLineWidth(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_DefaultConstruct(void)
MRC_API void MR_SphereObject_renderForPicker(const MR_SphereObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API const unsigned char * MR_SphereObject_getGlobalAlpha(const MR_SphereObject *_this, const MR_ViewportId *viewportId)
MRC_API MR_SphereObject * MR_SphereObject_OffsetMutablePtr(MR_SphereObject *ptr, ptrdiff_t i)
MRC_API MR_SphereObject * MR_SphereObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API void MR_SphereObject_setPointSize(MR_SphereObject *_this, float pointSize)
MRC_API void MR_SphereObject_renderUi(const MR_SphereObject *_this, const MR_UiRenderParams *params)
MRC_API const MR_SphereObject * MR_SphereObject_StaticDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API MR_Box3f MR_SphereObject_getWorldTreeBox(const MR_SphereObject *_this, const MR_ViewportId *_1)
MRC_API void MR_SphereObject_DestroyArray(const MR_SphereObject *_this)
Destroys a heap-allocated array of MR_SphereObject. Does nothing if the pointer is null.
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFromOrFail_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API MR_FeatureObjectProjectPointResult * MR_SphereObject_projectPoint(const MR_SphereObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API const MR_AffineXf3f * MR_SphereObject_xf(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_SphereObject * MR_SphereObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API const MR_Color * MR_SphereObject_getFrontColor(const MR_SphereObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API void MR_SphereObject_setDecorationsColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_SphereObject_setName(MR_SphereObject *_this, const char *name, const char *name_end)
MRC_API void MR_SphereObject_setGlobalAlpha(MR_SphereObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_SphereObject_MutableUpcastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(MR_SphereObject *object)
MRC_API const MR_ObjectChildrenHolder * MR_SphereObject_UpcastTo_MR_ObjectChildrenHolder(const MR_SphereObject *object)
MRC_API const MR_std_string * MR_SphereObject_name(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_setParentLocked(MR_SphereObject *_this, bool lock)
MRC_API bool MR_SphereObject_hasModel(const MR_SphereObject *_this)
MRC_API MR_ColoringType MR_SphereObject_getColoringType(const MR_SphereObject *_this)
MRC_API const MR_SphereObject * MR_SphereObject_DynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API const MR_Color * MR_SphereObject_getBackColor(const MR_SphereObject *_this, const MR_ViewportId *viewportId)
MRC_API MR_SphereObject * MR_SphereObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_SphereObject *_other)
MRC_API MR_SphereObject * MR_SphereObject_MutableDynamicDowncastFrom_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter(MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter *object)
MRC_API bool MR_SphereObject_addChild(MR_SphereObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API bool MR_SphereObject_addTag(MR_SphereObject *_this, const char *tag, const char *tag_end)
MRC_API const MR_VisualObject * MR_SphereObject_UpcastTo_MR_VisualObject(const MR_SphereObject *object)
MRC_API void MR_SphereObject_resetDirty(const MR_SphereObject *_this)
MRC_API MR_SphereObject * MR_SphereObject_MutableStaticDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API const MR_SphereObject * MR_SphereObject_OffsetPtr(const MR_SphereObject *ptr, ptrdiff_t i)
MRC_API void MR_SphereObject_setSubfeaturePointSize(MR_SphereObject *_this, float pointSize)
MRC_API float MR_SphereObject_getSubfeatureAlphaMesh(const MR_SphereObject *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_SphereObject_getDecorationsColorForAllViewports(const MR_SphereObject *_this, bool selected)
MRC_API float MR_SphereObject_getSubfeatureAlphaLines(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_isSelected(const MR_SphereObject *_this)
MRC_API void MR_SphereObject_resetColors(MR_SphereObject *_this)
MRC_API bool MR_SphereObject_removeTag(MR_SphereObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_SphereObject_setBackColorsForAllViewports(MR_SphereObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_SphereObject_setFrontColorsForAllViewports(MR_SphereObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API void MR_SphereObject_setMainFeatureAlpha(MR_SphereObject *_this, float alpha)
MRC_API bool MR_SphereObject_hasVisualRepresentation(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_getRedrawFlag(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ViewportMask * MR_SphereObject_visibilityMask(const MR_SphereObject *_this)
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
Definition MRMatrix3.h:68
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRViewportId.h:17