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_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
23typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
24typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
25typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
28typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.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_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.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_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
40typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_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
57
61
66
70
74
79
83
89
94
99
103
109
114
120
125
133
140
145
149
155
160
166
171
179
186
191
195
201
206
212
217
225
232
237
241
247
252
258
263
271
278
283
290
293
296
304
307
311
314
319
322
327
332
337
343
349
355
362
367
374
379
384
390
396
402
407
408// Returns point considered as base for the feature
413
414// The cached orthonormalized rotation matrix.
415// `isDef` receives false if matrix is overridden for this specific viewport.
421
422// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
423// `isDef` receives false if matrix is overridden for this specific viewport.
429
430// This color is used for subfeatures.
431// `isDef` receives false if matrix is overridden for this specific viewport.
437MRC_API const MR_Color *MR_SphereObject_getDecorationsColor(const MR_SphereObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
438
443MRC_API void MR_SphereObject_setDecorationsColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
444
449
453
454// Point size and line width, for primary rendering rather than subfeatures.
458
462
466
470
471// Point size and line width, for subfeatures rather than primary rendering.
475
479
483
487
488// Per-component alpha multipliers. The global alpha is multiplied by thise.
492
496
500
504
508
512
516
520
527
534
541
548
554
560
566
573
580
587MRC_API const MR_Color *MR_SphereObject_getFrontColor(const MR_SphereObject *_this, const bool *selected, const MR_ViewportId *viewportId);
588
594MRC_API void MR_SphereObject_setFrontColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
595
602
608
614
619
626
632MRC_API void MR_SphereObject_setBackColor(MR_SphereObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
633
639MRC_API const unsigned char *MR_SphereObject_getGlobalAlpha(const MR_SphereObject *_this, const MR_ViewportId *viewportId);
640
645MRC_API void MR_SphereObject_setGlobalAlpha(MR_SphereObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
646
652
657
664MRC_API void MR_SphereObject_setDirtyFlags(MR_SphereObject *_this, unsigned int mask, const bool *invalidateCaches);
665
670
675
680
685
692
698
705
711MRC_API void MR_SphereObject_setPickable(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
712
717
722
727
732
737
742
747
752
759
765
771
776
782
788
793MRC_API void MR_SphereObject_setUseDefaultScenePropertiesOnDeserialization(MR_SphereObject *_this, bool useDefaultScenePropertiesOnDeserialization);
794
799
804
809
814MRC_API void MR_SphereObject_setName(MR_SphereObject *_this, const char *name, const char *name_end);
815
823MRC_API const MR_AffineXf3f *MR_SphereObject_xf(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef);
824
830
835
843
849
853MRC_API void MR_SphereObject_applyScale(MR_SphereObject *_this, float scaleFactor);
854
860
867
874
879
883
889
893
898
904
911
919MRC_API bool MR_SphereObject_addChild(MR_SphereObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
920
928
933
938
943
947
953
957
962
968MRC_API void MR_SphereObject_setVisible(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
969
975MRC_API bool MR_SphereObject_isVisible(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask);
976
982
988
992
998
1005
1013
1019
1024
1030
1037
1045MRC_API bool MR_SphereObject_addTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
1046
1053MRC_API bool MR_SphereObject_removeTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
1054
1055// return true if model of current object equals to model (the same) of other
1060
1061// return hash of model (or hash object pointer if object has no model)
1065
1066// returns this Object as shared_ptr
1067// finds it among its parent's recognized children
1072
1073#ifdef __cplusplus
1074} // extern "C"
1075#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:24
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:38
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_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:34
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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter
Definition MRAddVisualPropertiesMixin.h:58
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_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:23
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:22
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:17
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 size_t MR_SphereObject_heapBytes(const MR_SphereObject *_this)
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:56
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 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 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 MR_ConstChildren * MR_SphereObject_constChildren(const MR_SphereObject *_this)
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 size_t MR_SphereObject_getModelHash(const MR_SphereObject *_this)
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: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
Definition MRMatrix3.h:68
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Definition MRViewportId.h:17