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
77
80
84
87
91
94
98
101
105
108
113
120
123
126
133
136
140
143
148
151
156
161
166
172
178
184
191
196
203
208
213
219
225
231
236
237// Returns point considered as base for the feature
242
243// The cached orthonormalized rotation matrix.
244// `isDef` receives false if matrix is overridden for this specific viewport.
250
251// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
252// `isDef` receives false if matrix is overridden for this specific viewport.
258
259// This color is used for subfeatures.
260// `isDef` receives false if matrix is overridden for this specific viewport.
266MRC_API const MR_Color *MR_SphereObject_getDecorationsColor(const MR_SphereObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
267
272MRC_API void MR_SphereObject_setDecorationsColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
273
278
282
283// Point size and line width, for primary rendering rather than subfeatures.
287
291
295
299
300// Point size and line width, for subfeatures rather than primary rendering.
304
308
312
316
317// Per-component alpha multipliers. The global alpha is multiplied by thise.
321
325
329
333
337
341
345
349
356
363
370
377
383
389
395
402
409
416MRC_API const MR_Color *MR_SphereObject_getFrontColor(const MR_SphereObject *_this, const bool *selected, const MR_ViewportId *viewportId);
417
423MRC_API void MR_SphereObject_setFrontColor(MR_SphereObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
424
431
437
443
448
455
461MRC_API void MR_SphereObject_setBackColor(MR_SphereObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
462
468MRC_API const unsigned char *MR_SphereObject_getGlobalAlpha(const MR_SphereObject *_this, const MR_ViewportId *viewportId);
469
474MRC_API void MR_SphereObject_setGlobalAlpha(MR_SphereObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
475
481
486
493MRC_API void MR_SphereObject_setDirtyFlags(MR_SphereObject *_this, unsigned int mask, const bool *invalidateCaches);
494
499
504
509
514
521
527
534
540MRC_API void MR_SphereObject_setPickable(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
541
546
551
556
561
566
571
576
581
588
594
600
605
611
617
622MRC_API void MR_SphereObject_setUseDefaultScenePropertiesOnDeserialization(MR_SphereObject *_this, bool useDefaultScenePropertiesOnDeserialization);
623
628
633
638
643MRC_API void MR_SphereObject_setName(MR_SphereObject *_this, const char *name, const char *name_end);
644
652MRC_API const MR_AffineXf3f *MR_SphereObject_xf(const MR_SphereObject *_this, const MR_ViewportId *id, bool *isDef);
653
659
664
672
678
682MRC_API void MR_SphereObject_applyScale(MR_SphereObject *_this, float scaleFactor);
683
689
696
703
708
712
718
722
727
733
741MRC_API bool MR_SphereObject_addChild(MR_SphereObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
742
750
755
760
765
769
775
779
784
790MRC_API void MR_SphereObject_setVisible(MR_SphereObject *_this, bool on, const MR_ViewportMask *viewportMask);
791
797MRC_API bool MR_SphereObject_isVisible(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask);
798
804
810
814
820
827
835
842
847
853
860
868MRC_API bool MR_SphereObject_addTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
869
876MRC_API bool MR_SphereObject_removeTag(MR_SphereObject *_this, const char *tag, const char *tag_end);
877
878// return true if model of current object equals to model (the same) of other
883
884// return hash of model (or hash object pointer if object has no model)
888
889// returns this Object as shared_ptr
890// finds it among its parent's recognized children
895
896#ifdef __cplusplus
897} // extern "C"
898#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:26
struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty
Definition MRAddVisualPropertiesMixin.h:41
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_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f
Definition MRAddVisualPropertiesMixin.h:37
struct MR_SphereObject MR_SphereObject
Definition MRAddVisualPropertiesMixin.h:30
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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter
Definition MRAddVisualPropertiesMixin.h:61
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_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult
Definition MRAddVisualPropertiesMixin.h:25
struct MR_FeatureObject MR_FeatureObject
Definition MRAddVisualPropertiesMixin.h:24
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:86
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
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 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 bool MR_SphereObject_globalClippedByPlane(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
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 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 bool MR_SphereObject_isVisible(const MR_SphereObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_Object * MR_SphereObject_MutableUpcastTo_MR_Object(MR_SphereObject *object)
Upcasts an instance of MR::SphereObject to its base class MR::Object.
MRC_API bool MR_SphereObject_isAncillary(const MR_SphereObject *_this)
MRC_API MR_FeatureObject * MR_SphereObject_MutableUpcastTo_MR_FeatureObject(MR_SphereObject *object)
Upcasts an instance of MR::SphereObject to its base class MR::FeatureObject.
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 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 const MR_ViewportProperty_MR_AffineXf3f * MR_SphereObject_xfsForAllViewports(const MR_SphereObject *_this)
MRC_API bool MR_SphereObject_useDefaultScenePropertiesOnDeserialization(const MR_SphereObject *_this)
MRC_API float MR_SphereObject_getMainFeatureAlpha(const MR_SphereObject *_this)
MRC_API const char * MR_SphereObject_StaticTypeName(void)
Generated from method MR::SphereObject::StaticTypeName.
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)
Upcasts an instance of MR::SphereObject to its base class MR::ObjectChildrenHolder.
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 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 MR_std_shared_ptr_MR_Object * MR_SphereObject_shallowCloneTree(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 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)
Upcasts an instance of MR::SphereObject to its base class MR::VisualObject.
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 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 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 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 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_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)
Upcasts an instance of MR::SphereObject to its base class MR::AddVisualProperties<MR::FeatureObject,...
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_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 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 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 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 MRMatrix3.h:68
Definition MRVector3.h:52
Definition MRViewportId.h:17