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
75
78
82
85
89
92
96
99
104
111
114
117
124
127
131
134
139
142
147
152
157
163
170
175
182
187
192
198
204
210
215
216// Returns point considered as base for the feature
221
222// The cached orthonormalized rotation matrix.
223// `isDef` receives false if matrix is overridden for this specific viewport.
229
230// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
231// `isDef` receives false if matrix is overridden for this specific viewport.
237
238// This color is used for subfeatures.
239// `isDef` receives false if matrix is overridden for this specific viewport.
245MRC_API const MR_Color *MR_PointObject_getDecorationsColor(const MR_PointObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
246
251MRC_API void MR_PointObject_setDecorationsColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
252
257
261
262// Point size and line width, for primary rendering rather than subfeatures.
266
270
274
278
279// Point size and line width, for subfeatures rather than primary rendering.
283
287
291
295
296// Per-component alpha multipliers. The global alpha is multiplied by thise.
300
304
308
312
316
320
324
328
335
342
349
356
362
368
374
381
388
395MRC_API const MR_Color *MR_PointObject_getFrontColor(const MR_PointObject *_this, const bool *selected, const MR_ViewportId *viewportId);
396
402MRC_API void MR_PointObject_setFrontColor(MR_PointObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
403
410
416
422
427
434
440MRC_API void MR_PointObject_setBackColor(MR_PointObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
441
447MRC_API const unsigned char *MR_PointObject_getGlobalAlpha(const MR_PointObject *_this, const MR_ViewportId *viewportId);
448
453MRC_API void MR_PointObject_setGlobalAlpha(MR_PointObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
454
460
465
472MRC_API void MR_PointObject_setDirtyFlags(MR_PointObject *_this, unsigned int mask, const bool *invalidateCaches);
473
478
483
487MRC_API void MR_PointObject_resetDirtyExceptMask(const MR_PointObject *_this, unsigned int mask);
488
493
500
506
512MRC_API bool MR_PointObject_isPickable(const MR_PointObject *_this, const MR_ViewportMask *viewportMask);
513
519MRC_API void MR_PointObject_setPickable(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask);
520
525
530
535
540
545
549MRC_API void MR_PointObject_setSpecularStrength(MR_PointObject *_this, float specularStrength);
550
555
559MRC_API void MR_PointObject_setAmbientStrength(MR_PointObject *_this, float ambientStrength);
560
567
573
579
584
590
596
601MRC_API void MR_PointObject_setUseDefaultScenePropertiesOnDeserialization(MR_PointObject *_this, bool useDefaultScenePropertiesOnDeserialization);
602
607
612
617
622MRC_API void MR_PointObject_setName(MR_PointObject *_this, const char *name, const char *name_end);
623
631MRC_API const MR_AffineXf3f *MR_PointObject_xf(const MR_PointObject *_this, const MR_ViewportId *id, bool *isDef);
632
638
643
651
657
661MRC_API void MR_PointObject_applyScale(MR_PointObject *_this, float scaleFactor);
662
668
675
682
687
691
697
701
705MRC_API bool MR_PointObject_isAncestor(const MR_PointObject *_this, const MR_Object *ancestor);
706
712
720MRC_API bool MR_PointObject_addChild(MR_PointObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
721
729
734
739
744
748
754
758
763
769MRC_API void MR_PointObject_setVisible(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask);
770
776MRC_API bool MR_PointObject_isVisible(const MR_PointObject *_this, const MR_ViewportMask *viewportMask);
777
783
789
793
799
806
814
821
826
832
839
847MRC_API bool MR_PointObject_addTag(MR_PointObject *_this, const char *tag, const char *tag_end);
848
855MRC_API bool MR_PointObject_removeTag(MR_PointObject *_this, const char *tag, const char *tag_end);
856
857// return true if model of current object equals to model (the same) of other
862
863// return hash of model (or hash object pointer if object has no model)
867
868// returns this Object as shared_ptr
869// finds it among its parent's recognized children
874
875#ifdef __cplusplus
876} // extern "C"
877#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_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_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_PointObject MR_PointObject
Definition MRFeatureObject.h:33
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 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 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 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 void MR_PointObject_setAmbientStrength(MR_PointObject *_this, float ambientStrength)
MRC_API MR_Object * MR_PointObject_MutableUpcastTo_MR_Object(MR_PointObject *object)
Upcasts an instance of MR::PointObject to its base class MR::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)
Upcasts an instance of MR::PointObject to its base class MR::VisualObject.
MRC_API void MR_PointObject_setAllVisualizeProperties(MR_PointObject *_this, const MR_std_vector_MR_ViewportMask *properties)
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_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)
Upcasts an instance of MR::PointObject to its base class MR::ObjectChildrenHolder.
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)
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 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 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 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 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 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 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 void MR_PointObject_renderUi(const MR_PointObject *_this, const MR_UiRenderParams *params)
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)
Upcasts an instance of MR::PointObject to its base class MR::FeatureObject.
MRC_API void MR_PointObject_setGlobalClippedByPlane(MR_PointObject *_this, bool on, const MR_ViewportMask *viewportMask)
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