MeshLib C Docs
Loading...
Searching...
No Matches
MRPointObject.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
19typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
20typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
21typedef struct MR_FeatureObject MR_FeatureObject; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
22typedef struct MR_FeatureObjectProjectPointResult MR_FeatureObjectProjectPointResult; // Defined in `#include <MRCMesh/MRFeatureObject.h>`.
23typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
24typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
25typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
26typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
27typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
28typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
29typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
30typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
31typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
33typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f; // Defined in `#include <MRCMisc/std_optional_MR_Vector3f.h>`.
34typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
35typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
36typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
37typedef struct MR_std_vector_MR_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty; // Defined in `#include <MRCMisc/std_vector_MR_FeatureObjectSharedProperty.h>`.
38typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
39typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
40typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
41
42
54
58
63
67
71
76
80
86
91
96
100
106
111
117
122
130
137
142
146
152
157
163
168
176
183
188
192
198
203
209
214
222
229
234
241
244
247
255
258
262
265
270
273
278
283
288
294
301
306
313
318
323
329
335
341
346
347// Returns point considered as base for the feature
352
353// The cached orthonormalized rotation matrix.
354// `isDef` receives false if matrix is overridden for this specific viewport.
360
361// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
362// `isDef` receives false if matrix is overridden for this specific viewport.
368
369// This color is used for subfeatures.
370// `isDef` receives false if matrix is overridden for this specific viewport.
376MRC_API const MR_Color *MR_PointObject_getDecorationsColor(const MR_PointObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
377
382MRC_API void MR_PointObject_setDecorationsColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
383
388
392
393// Point size and line width, for primary rendering rather than subfeatures.
397
401
405
409
410// Point size and line width, for subfeatures rather than primary rendering.
414
418
422
426
427// Per-component alpha multipliers. The global alpha is multiplied by thise.
431
435
439
443
447
451
455
459
466
473
480
487
493
499
505
512
519
526MRC_API const MR_Color *MR_PointObject_getFrontColor(const MR_PointObject *_this, const bool *selected, const MR_ViewportId *viewportId);
527
533MRC_API void MR_PointObject_setFrontColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
534
541
547
553
558
565
571MRC_API void MR_PointObject_setBackColor(MR_PointObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
572
578MRC_API const unsigned char *MR_PointObject_getGlobalAlpha(const MR_PointObject *_this, const MR_ViewportId *viewportId);
579
584MRC_API void MR_PointObject_setGlobalAlpha(MR_PointObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
585
591
596
603MRC_API void MR_PointObject_setDirtyFlags(MR_PointObject *_this, unsigned int mask, const bool *invalidateCaches);
604
609
614
618MRC_API void MR_PointObject_resetDirtyExceptMask(const MR_PointObject *_this, unsigned int mask);
619
624
631
637
643MRC_API bool MR_PointObject_isPickable(const MR_PointObject *_this, const MR_ViewportMask *viewportMask);
644
650MRC_API void MR_PointObject_setPickable(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask);
651
656
661
666
671
676
680MRC_API void MR_PointObject_setSpecularStrength(MR_PointObject *_this, float specularStrength);
681
686
690MRC_API void MR_PointObject_setAmbientStrength(MR_PointObject *_this, float ambientStrength);
691
698
704
710
715
721
727
732MRC_API void MR_PointObject_setUseDefaultScenePropertiesOnDeserialization(MR_PointObject *_this, bool useDefaultScenePropertiesOnDeserialization);
733
738
743
748
753MRC_API void MR_PointObject_setName(MR_PointObject *_this, const char *name, const char *name_end);
754
762MRC_API const MR_AffineXf3f *MR_PointObject_xf(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef);
763
769
774
782
788
792MRC_API void MR_PointObject_applyScale(MR_PointObject *_this, float scaleFactor);
793
799
806
813
818
822
828
832
836MRC_API bool MR_PointObject_isAncestor(const MR_PointObject *_this, const MR_Object *ancestor);
837
843
851MRC_API bool MR_PointObject_addChild(MR_PointObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
852
860
865
870
875
879
885
889
894
900MRC_API void MR_PointObject_setVisible(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask);
901
907MRC_API bool MR_PointObject_isVisible(const MR_PointObject *_this, const MR_ViewportMask *viewportMask);
908
914
920
924
930
937
945
952
957
963
970
978MRC_API bool MR_PointObject_addTag(MR_PointObject *_this, const char *tag, const char *tag_end);
979
986MRC_API bool MR_PointObject_removeTag(MR_PointObject *_this, const char *tag, const char *tag_end);
987
988// return true if model of current object equals to model (the same) of other
993
994// return hash of model (or hash object pointer if object has no model)
998
999// returns this Object as shared_ptr
1000// finds it among its parent's recognized children
1005
1006#ifdef __cplusplus
1007} // extern "C"
1008#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_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_PointObject * MR_PointObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_PointObject_select(MR_PointObject *_this, bool on)
MRC_API void MR_PointObject_setSubfeaturePointSize(MR_PointObject *_this, float pointSize)
MRC_API void MR_PointObject_setFrontColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_PointObject_setGlobalAlpha(MR_PointObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API void MR_PointObject_setShininess(MR_PointObject *_this, float shininess)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_shallowClone(const MR_PointObject *_this)
MRC_API bool MR_PointObject_isLocked(const MR_PointObject *_this)
MRC_API const MR_ViewportProperty_unsigned_char * MR_PointObject_getGlobalAlphaForAllViewports(const MR_PointObject *_this)
MRC_API bool MR_PointObject_useDefaultScenePropertiesOnDeserialization(const MR_PointObject *_this)
MRC_API void MR_PointObject_setWorldXf(MR_PointObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API float MR_PointObject_getLineWidth(const MR_PointObject *_this)
MRC_API bool MR_PointObject_addChild(MR_PointObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API MR_Matrix3f MR_PointObject_getScaleShearMatrix(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API bool MR_PointObject_isVisible(const MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_PointObject_setAmbientStrength(MR_PointObject *_this, float ambientStrength)
MRC_API MR_Object * MR_PointObject_MutableUpcastTo_MR_Object(MR_PointObject *object)
MRC_API const MR_Color * MR_PointObject_getDecorationsColor(const MR_PointObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API bool MR_PointObject_hasVisualRepresentation(const MR_PointObject *_this)
MRC_API float MR_PointObject_getSubfeatureLineWidth(const MR_PointObject *_this)
MRC_API float MR_PointObject_getMainFeatureAlpha(const MR_PointObject *_this)
MRC_API MR_std_vector_MR_FeatureObjectSharedProperty * MR_PointObject_getAllSharedProperties(const MR_PointObject *_this)
MRC_API void MR_PointObject_setXfsForAllViewports(MR_PointObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API MR_VisualObject * MR_PointObject_MutableUpcastTo_MR_VisualObject(MR_PointObject *object)
MRC_API void MR_PointObject_setAllVisualizeProperties(MR_PointObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject(MR_FeatureObject *object)
MRC_API MR_uint64_t MR_PointObject_getModelHash(const MR_PointObject *_this)
MRC_API bool MR_PointObject_getRedrawFlag(const MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API MR_ViewportMask * MR_PointObject_visibilityMask(const MR_PointObject *_this)
MRC_API bool MR_PointObject_render(const MR_PointObject *_this, const MR_ModelRenderParams *_1)
MRC_API void MR_PointObject_resetColors(MR_PointObject *_this)
MRC_API MR_std_optional_MR_Vector3f * MR_PointObject_getNormal(const MR_PointObject *_this, const MR_Vector3f *point)
MRC_API const MR_std_set_std_string * MR_PointObject_tags(const MR_PointObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_clone(const MR_PointObject *_this)
MRC_API unsigned int MR_PointObject_getDirtyFlags(const MR_PointObject *_this)
MRC_API void MR_PointObject_setLocked(MR_PointObject *_this, bool on)
MRC_API void MR_PointObject_setUseDefaultScenePropertiesOnDeserialization(MR_PointObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API float MR_PointObject_getAmbientStrength(const MR_PointObject *_this)
MRC_API const MR_Color * MR_PointObject_getBackColor(const MR_PointObject *_this, const MR_ViewportId *viewportId)
MRC_API void MR_PointObject_renderForPicker(const MR_PointObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API float MR_PointObject_getShininess(const MR_PointObject *_this)
MRC_API const MR_ViewportMask * MR_PointObject_getVisualizePropertyMask(const MR_PointObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API MR_std_vector_MR_ViewportMask * MR_PointObject_getAllVisualizeProperties(const MR_PointObject *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_PointObject_getBackColorsForAllViewports(const MR_PointObject *_this)
MRC_API const unsigned char * MR_PointObject_getGlobalAlpha(const MR_PointObject *_this, const MR_ViewportId *viewportId)
MRC_API MR_Vector3f MR_PointObject_getBasePoint(const MR_PointObject *_this, const MR_ViewportId *id)
MRC_API MR_ObjectChildrenHolder * MR_PointObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_PointObject *object)
MRC_API const MR_PointObject * MR_PointObject_OffsetPtr(const MR_PointObject *ptr, ptrdiff_t i)
MRC_API const char * MR_PointObject_StaticTypeName(void)
Generated from method MR::PointObject::StaticTypeName.
MRC_API void MR_PointObject_resetDirtyExceptMask(const MR_PointObject *_this, unsigned int mask)
MRC_API void MR_PointObject_setXf(MR_PointObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_std_vector_std_string * MR_PointObject_getInfoLines(const MR_PointObject *_this)
MRC_API bool MR_PointObject_getVisualizeProperty(const MR_PointObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_Box3f MR_PointObject_getBoundingBox(const MR_PointObject *_this)
MRC_API void MR_PointObject_setDirtyFlags(MR_PointObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API bool MR_PointObject_isAncillary(const MR_PointObject *_this)
MRC_API void MR_PointObject_resetXf(MR_PointObject *_this, const MR_ViewportId *id)
struct MR_PointObject MR_PointObject
Definition MRPointObject.h:53
MRC_API MR_PointObject * MR_PointObject_OffsetMutablePtr(MR_PointObject *ptr, ptrdiff_t i)
MRC_API void MR_PointObject_setLocalPoint(MR_PointObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API MR_std_string * MR_PointObject_className(const MR_PointObject *_this)
MRC_API void MR_PointObject_setGlobalVisibility(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointObject_copyAllSolidColors(MR_PointObject *_this, const MR_VisualObject *other)
MRC_API MR_Vector3f MR_PointObject_getPoint(const MR_PointObject *_this, const MR_ViewportId *id)
MRC_API const MR_ViewportProperty_MR_Color * MR_PointObject_getFrontColorsForAllViewports(const MR_PointObject *_this, const bool *selected)
MRC_API void MR_PointObject_setBackColor(MR_PointObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API void MR_PointObject_resetFrontColor(MR_PointObject *_this)
MRC_API float MR_PointObject_getSubfeatureAlphaLines(const MR_PointObject *_this)
MRC_API float MR_PointObject_getSubfeatureAlphaMesh(const MR_PointObject *_this)
MRC_API const MR_ObjectChildrenHolder * MR_PointObject_UpcastTo_MR_ObjectChildrenHolder(const MR_PointObject *object)
MRC_API void MR_PointObject_setSubfeatureAlphaLines(MR_PointObject *_this, float alpha)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API void MR_PointObject_setColoringType(MR_PointObject *_this, MR_ColoringType coloringType)
MRC_API void MR_PointObject_setSubfeatureAlphaPoints(MR_PointObject *_this, float alpha)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_PointObject_xfsForAllViewports(const MR_PointObject *_this)
MRC_API void MR_PointObject_setBackColorsForAllViewports(MR_PointObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API void MR_PointObject_setVisualizePropertyMask(MR_PointObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API const char * MR_PointObject_StaticClassName(void)
Generated from method MR::PointObject::StaticClassName.
MRC_API bool MR_PointObject_supportsVisualizeProperty(const MR_PointObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const MR_Color * MR_PointObject_getFrontColor(const MR_PointObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API bool MR_PointObject_isPickable(const MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API void MR_PointObject_removeAllChildren(MR_PointObject *_this)
MRC_API void MR_PointObject_setDecorationsColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_PointObject * MR_PointObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_PointObject *_other)
MRC_API bool MR_PointObject_addTag(MR_PointObject *_this, const char *tag, const char *tag_end)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API bool MR_PointObject_addChildBefore(MR_PointObject *_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_PointObject_setSubfeatureAlphaMesh(MR_PointObject *_this, float alpha)
MRC_API bool MR_PointObject_hasModel(const MR_PointObject *_this)
MRC_API MR_PointObject * MR_PointObject_AssignFromAnother(MR_PointObject *_this, MR_PassBy _other_pass_by, MR_PointObject *_other)
MRC_API void MR_PointObject_setVisible(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointObject_toggleVisualizeProperty(MR_PointObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointObject_resetDirty(const MR_PointObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_cloneTree(const MR_PointObject *_this)
MRC_API bool MR_PointObject_detachFromParent(MR_PointObject *_this)
MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API bool MR_PointObject_isParentLocked(const MR_PointObject *_this)
MRC_API bool MR_PointObject_isSelected(const MR_PointObject *_this)
MRC_API void MR_PointObject_setFrontColorsForAllViewports(MR_PointObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API MR_ColoringType MR_PointObject_getColoringType(const MR_PointObject *_this)
MRC_API const MR_AffineXf3f * MR_PointObject_xf(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_Box3f MR_PointObject_getWorldTreeBox(const MR_PointObject *_this, const MR_ViewportId *_1)
MRC_API const MR_ViewportProperty_MR_Color * MR_PointObject_getDecorationsColorForAllViewports(const MR_PointObject *_this, bool selected)
MRC_API const MR_Object * MR_PointObject_UpcastTo_MR_Object(const MR_PointObject *object)
MRC_API void MR_PointObject_swap(MR_PointObject *_this, MR_Object *other)
MRC_API MR_std_string * MR_PointObject_classNameInPlural(const MR_PointObject *_this)
MRC_API void MR_PointObject_setParentLocked(MR_PointObject *_this, bool lock)
MRC_API bool MR_PointObject_isAncestor(const MR_PointObject *_this, const MR_Object *ancestor)
MRC_API void MR_PointObject_setDecorationsColorForAllViewports(MR_PointObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API void MR_PointObject_resetRedrawFlag(const MR_PointObject *_this)
MRC_API MR_FeatureObjectProjectPointResult * MR_PointObject_projectPoint(const MR_PointObject *_this, const MR_Vector3f *_1, const MR_ViewportId *id)
MRC_API void MR_PointObject_setMainFeatureAlpha(MR_PointObject *_this, float alpha)
MRC_API bool MR_PointObject_removeTag(MR_PointObject *_this, const char *tag, const char *tag_end)
MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API const MR_std_string * MR_PointObject_name(const MR_PointObject *_this)
MRC_API MR_Matrix3f MR_PointObject_getRotationMatrix(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API bool MR_PointObject_globalClippedByPlane(const MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_FeatureObject * MR_PointObject_UpcastTo_MR_FeatureObject(const MR_PointObject *object)
MRC_API float MR_PointObject_getSpecularStrength(const MR_PointObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_getSharedPtr(const MR_PointObject *_this)
MRC_API void MR_PointObject_setSubfeatureLineWidth(MR_PointObject *_this, float lineWidth)
MRC_API void MR_PointObject_setPointSize(MR_PointObject *_this, float pointSize)
MRC_API MR_ViewportMask * MR_PointObject_globalVisibilityMask(const MR_PointObject *_this)
MRC_API MR_PointObject * MR_PointObject_DefaultConstructArray(size_t num_elems)
MRC_API const char * MR_PointObject_StaticClassNameInPlural(void)
Generated from method MR::PointObject::StaticClassNameInPlural.
MRC_API void MR_PointObject_setAncillary(MR_PointObject *_this, bool ancillary)
MRC_API void MR_PointObject_setLineWidth(MR_PointObject *_this, float lineWidth)
MRC_API void MR_PointObject_Destroy(const MR_PointObject *_this)
Destroys a heap-allocated instance of MR_PointObject. Does nothing if the pointer is null.
MRC_API MR_Box3f MR_PointObject_getWorldBox(const MR_PointObject *_this, const MR_ViewportId *_1)
MRC_API void MR_PointObject_applyScale(MR_PointObject *_this, float scaleFactor)
MRC_API const MR_VisualObject * MR_PointObject_UpcastTo_MR_VisualObject(const MR_PointObject *object)
MRC_API float MR_PointObject_getPointSize(const MR_PointObject *_this)
MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API void MR_PointObject_setName(MR_PointObject *_this, const char *name, const char *name_end)
MRC_API void MR_PointObject_DestroyArray(const MR_PointObject *_this)
Destroys a heap-allocated array of MR_PointObject. Does nothing if the pointer is null.
MRC_API void MR_PointObject_sortChildren(MR_PointObject *_this)
MRC_API MR_uint64_t MR_PointObject_heapBytes(const MR_PointObject *_this)
MRC_API void MR_PointObject_setGlobalAlphaForAllViewports(MR_PointObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API bool MR_PointObject_globalVisibility(const MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_PointObject * MR_PointObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API float MR_PointObject_getSubfeatureAlphaPoints(const MR_PointObject *_this)
MRC_API MR_PointObject * MR_PointObject_DefaultConstruct(void)
MRC_API MR_ViewportMask * MR_PointObject_globalClippedByPlaneMask(const MR_PointObject *_this)
MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_PointObject_renderUi(const MR_PointObject *_this, const MR_UiRenderParams *params)
MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_AffineXf3f MR_PointObject_worldXf(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API void MR_PointObject_setSpecularStrength(MR_PointObject *_this, float specularStrength)
MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_shallowCloneTree(const MR_PointObject *_this)
MRC_API bool MR_PointObject_sameModels(const MR_PointObject *_this, const MR_Object *other)
MRC_API const char * MR_PointObject_typeName(const MR_PointObject *_this)
MRC_API float MR_PointObject_getSubfeaturePointSize(const MR_PointObject *_this)
MRC_API void MR_PointObject_setVisualizeProperty(MR_PointObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_PointObject_setPickable(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_PointObject_isGlobalAncillary(const MR_PointObject *_this)
MRC_API void MR_PointObject_setVisibilityMask(MR_PointObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_FeatureObject * MR_PointObject_MutableUpcastTo_MR_FeatureObject(MR_PointObject *object)
MRC_API void MR_PointObject_setGlobalClippedByPlane(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_FeatureObject(const MR_FeatureObject *object)
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