MeshLib C Docs
Loading...
Searching...
No Matches
MRLineObject.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_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.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
55
59
64
68
72
77
81
87
92
97
101
107
112
118
123
131
138
143
147
153
158
164
169
177
184
189
193
199
204
210
215
223
230
235
242
245
248
256
259
263
266
271
274
279
284
289
295
301
308
315
320MRC_API void MR_LineObject_setLength(MR_LineObject *_this, float size, const MR_ViewportId *id);
321
329
335
336// Returns point considered as base for the feature
341
347
353
360
365
370
375
381
387
393
398
399// The cached orthonormalized rotation matrix.
400// `isDef` receives false if matrix is overridden for this specific viewport.
406
407// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
408// `isDef` receives false if matrix is overridden for this specific viewport.
414
415// This color is used for subfeatures.
416// `isDef` receives false if matrix is overridden for this specific viewport.
422MRC_API const MR_Color *MR_LineObject_getDecorationsColor(const MR_LineObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
423
428MRC_API void MR_LineObject_setDecorationsColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
429
434
438
439// Point size and line width, for primary rendering rather than subfeatures.
443
447
451
455
456// Point size and line width, for subfeatures rather than primary rendering.
460
464
468
472
473// Per-component alpha multipliers. The global alpha is multiplied by thise.
477
481
485
489
493
497
501
505
511MRC_API void MR_LineObject_setVisualizeProperty(MR_LineObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
512
519
526
533
539
545
551
558
565
572MRC_API const MR_Color *MR_LineObject_getFrontColor(const MR_LineObject *_this, const bool *selected, const MR_ViewportId *viewportId);
573
579MRC_API void MR_LineObject_setFrontColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
580
587
593
599
604
611
617MRC_API void MR_LineObject_setBackColor(MR_LineObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
618
624MRC_API const unsigned char *MR_LineObject_getGlobalAlpha(const MR_LineObject *_this, const MR_ViewportId *viewportId);
625
630MRC_API void MR_LineObject_setGlobalAlpha(MR_LineObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
631
637
642
649MRC_API void MR_LineObject_setDirtyFlags(MR_LineObject *_this, unsigned int mask, const bool *invalidateCaches);
650
655
660
664MRC_API void MR_LineObject_resetDirtyExceptMask(const MR_LineObject *_this, unsigned int mask);
665
670
677
682MRC_API bool MR_LineObject_getRedrawFlag(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
683
689MRC_API bool MR_LineObject_isPickable(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
690
696MRC_API void MR_LineObject_setPickable(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask);
697
702
707
712
717
722
726MRC_API void MR_LineObject_setSpecularStrength(MR_LineObject *_this, float specularStrength);
727
732
736MRC_API void MR_LineObject_setAmbientStrength(MR_LineObject *_this, float ambientStrength);
737
744
750
756
761
767
773
778MRC_API void MR_LineObject_setUseDefaultScenePropertiesOnDeserialization(MR_LineObject *_this, bool useDefaultScenePropertiesOnDeserialization);
779
784
789
794
799MRC_API void MR_LineObject_setName(MR_LineObject *_this, const char *name, const char *name_end);
800
808MRC_API const MR_AffineXf3f *MR_LineObject_xf(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef);
809
815
820
828
834
838MRC_API void MR_LineObject_applyScale(MR_LineObject *_this, float scaleFactor);
839
845
852
859
864
868
874
878
882MRC_API bool MR_LineObject_isAncestor(const MR_LineObject *_this, const MR_Object *ancestor);
883
889
896
904MRC_API bool MR_LineObject_addChild(MR_LineObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
905
913
918
923
928
932
938
942
947
953MRC_API void MR_LineObject_setVisible(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask);
954
960MRC_API bool MR_LineObject_isVisible(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
961
967
973
977
983
990
998
1004
1009
1015
1022
1030MRC_API bool MR_LineObject_addTag(MR_LineObject *_this, const char *tag, const char *tag_end);
1031
1038MRC_API bool MR_LineObject_removeTag(MR_LineObject *_this, const char *tag, const char *tag_end);
1039
1040// return true if model of current object equals to model (the same) of other
1045
1046// return hash of model (or hash object pointer if object has no model)
1050
1051// returns this Object as shared_ptr
1052// finds it among its parent's recognized children
1057
1058#ifdef __cplusplus
1059} // extern "C"
1060#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_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
MRC_API const MR_Color * MR_LineObject_getDecorationsColor(const MR_LineObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef)
MRC_API bool MR_LineObject_isParentLocked(const MR_LineObject *_this)
MRC_API void MR_LineObject_setDecorationsColorForAllViewports(MR_LineObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, bool selected)
MRC_API void MR_LineObject_setDirection(MR_LineObject *_this, const MR_Vector3f *normal, const MR_ViewportId *id)
MRC_API void MR_LineObject_setFrontColorsForAllViewports(MR_LineObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API void MR_LineObject_setAncillary(MR_LineObject *_this, bool ancillary)
MRC_API MR_LineObject * MR_LineObject_MutableStaticDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API const char * MR_LineObject_StaticClassNameInPlural(void)
Generated from method MR::LineObject::StaticClassNameInPlural.
MRC_API MR_std_vector_MR_ViewportMask * MR_LineObject_getAllVisualizeProperties(const MR_LineObject *_this)
MRC_API const char * MR_LineObject_StaticClassName(void)
Generated from method MR::LineObject::StaticClassName.
MRC_API void MR_LineObject_toggleVisualizeProperty(MR_LineObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_ViewportMask * MR_LineObject_visibilityMask(const MR_LineObject *_this)
MRC_API const MR_ViewportMask * MR_LineObject_getVisualizePropertyMask(const MR_LineObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API size_t MR_LineObject_getModelHash(const MR_LineObject *_this)
MRC_API void MR_LineObject_setMainFeatureAlpha(MR_LineObject *_this, float alpha)
MRC_API void MR_LineObject_renderForPicker(const MR_LineObject *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_LineObject_setBackColor(MR_LineObject *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API float MR_LineObject_getSubfeatureAlphaPoints(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFrom_MR_FeatureObject(MR_FeatureObject *object)
MRC_API void MR_LineObject_setLineWidth(MR_LineObject *_this, float lineWidth)
MRC_API void MR_LineObject_setLocked(MR_LineObject *_this, bool on)
MRC_API MR_std_optional_MR_Vector3f * MR_LineObject_getNormal(const MR_LineObject *_this, const MR_Vector3f *point)
MRC_API float MR_LineObject_getMainFeatureAlpha(const MR_LineObject *_this)
MRC_API bool MR_LineObject_select(MR_LineObject *_this, bool on)
MRC_API const MR_LineObject * MR_LineObject_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_LineObject_setPointSize(MR_LineObject *_this, float pointSize)
MRC_API void MR_LineObject_setFrontColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_LineObject_copyAllSolidColors(MR_LineObject *_this, const MR_VisualObject *other)
MRC_API float MR_LineObject_getSubfeatureLineWidth(const MR_LineObject *_this)
MRC_API const MR_ObjectChildrenHolder * MR_LineObject_UpcastTo_MR_ObjectChildrenHolder(const MR_LineObject *object)
MRC_API bool MR_LineObject_isSelected(const MR_LineObject *_this)
MRC_API void MR_LineObject_setSubfeatureAlphaLines(MR_LineObject *_this, float alpha)
MRC_API void MR_LineObject_setXf(MR_LineObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API bool MR_LineObject_detachFromParent(MR_LineObject *_this)
MRC_API void MR_LineObject_swap(MR_LineObject *_this, MR_Object *other)
MRC_API float MR_LineObject_getSubfeatureAlphaMesh(const MR_LineObject *_this)
MRC_API bool MR_LineObject_isPickable(const MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_Box3f MR_LineObject_getBoundingBox(const MR_LineObject *_this)
MRC_API MR_Matrix3f MR_LineObject_getRotationMatrix(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_Box3f MR_LineObject_getWorldTreeBox(const MR_LineObject *_this, const MR_ViewportId *_1)
MRC_API void MR_LineObject_setSubfeatureAlphaMesh(MR_LineObject *_this, float alpha)
MRC_API const MR_VisualObject * MR_LineObject_UpcastTo_MR_VisualObject(const MR_LineObject *object)
MRC_API MR_LineObject * MR_LineObject_DefaultConstruct(void)
MRC_API void MR_LineObject_setLength(MR_LineObject *_this, float size, const MR_ViewportId *id)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API const MR_std_string * MR_LineObject_name(const MR_LineObject *_this)
MRC_API void MR_LineObject_sortChildren(MR_LineObject *_this)
MRC_API void MR_LineObject_setSubfeatureLineWidth(MR_LineObject *_this, float lineWidth)
MRC_API const MR_LineObject * MR_LineObject_StaticDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API MR_LineObject * MR_LineObject_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API const MR_LineObject * MR_LineObject_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API float MR_LineObject_getSubfeatureAlphaLines(const MR_LineObject *_this)
MRC_API float MR_LineObject_getShininess(const MR_LineObject *_this)
MRC_API void MR_LineObject_applyScale(MR_LineObject *_this, float scaleFactor)
MRC_API const unsigned char * MR_LineObject_getGlobalAlpha(const MR_LineObject *_this, const MR_ViewportId *viewportId)
MRC_API bool MR_LineObject_sameModels(const MR_LineObject *_this, const MR_Object *other)
MRC_API MR_Vector3f MR_LineObject_getDirection(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API bool MR_LineObject_isAncestor(const MR_LineObject *_this, const MR_Object *ancestor)
MRC_API void MR_LineObject_setBackColorsForAllViewports(MR_LineObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API MR_ColoringType MR_LineObject_getColoringType(const MR_LineObject *_this)
MRC_API bool MR_LineObject_isVisible(const MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_resetFrontColor(MR_LineObject *_this)
MRC_API void MR_LineObject_setPoints(MR_LineObject *_this, const MR_Vector3f *a, const MR_Vector3f *b, const MR_ViewportId *id)
MRC_API MR_ViewportMask * MR_LineObject_globalVisibilityMask(const MR_LineObject *_this)
MRC_API void MR_LineObject_removeAllChildren(MR_LineObject *_this)
MRC_API float MR_LineObject_getLineWidth(const MR_LineObject *_this)
MRC_API bool MR_LineObject_isAncillary(const MR_LineObject *_this)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API bool MR_LineObject_getVisualizeProperty(const MR_LineObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_setGlobalAlpha(MR_LineObject *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_LineObject_xfsForAllViewports(const MR_LineObject *_this)
MRC_API bool MR_LineObject_addTag(MR_LineObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_LineObject_setGlobalClippedByPlane(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_LineObject_addChildBefore(MR_LineObject *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API bool MR_LineObject_render(const MR_LineObject *_this, const MR_ModelRenderParams *_1)
MRC_API MR_AffineXf3f MR_LineObject_worldXf(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_std_vector_std_string * MR_LineObject_getInfoLines(const MR_LineObject *_this)
MRC_API MR_ViewportMask * MR_LineObject_globalClippedByPlaneMask(const MR_LineObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_LineObject_shallowClone(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject(MR_FeatureObject *object)
MRC_API void MR_LineObject_setShininess(MR_LineObject *_this, float shininess)
MRC_API size_t MR_LineObject_heapBytes(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API MR_LineObject * MR_LineObject_AssignFromAnother(MR_LineObject *_this, MR_PassBy _other_pass_by, MR_LineObject *_other)
MRC_API void MR_LineObject_setSpecularStrength(MR_LineObject *_this, float specularStrength)
MRC_API const MR_FeatureObject * MR_LineObject_UpcastTo_MR_FeatureObject(const MR_LineObject *object)
MRC_API bool MR_LineObject_isGlobalAncillary(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API void MR_LineObject_setGlobalAlphaForAllViewports(MR_LineObject *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API MR_Object * MR_LineObject_MutableUpcastTo_MR_Object(MR_LineObject *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_LineObject_getSharedPtr(const MR_LineObject *_this)
MRC_API const MR_LineObject * MR_LineObject_OffsetPtr(const MR_LineObject *ptr, ptrdiff_t i)
struct MR_LineObject MR_LineObject
Definition MRLineObject.h:54
MRC_API bool MR_LineObject_globalVisibility(const MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectChildrenHolder * MR_LineObject_MutableUpcastTo_MR_ObjectChildrenHolder(MR_LineObject *object)
MRC_API void MR_LineObject_setUseDefaultScenePropertiesOnDeserialization(MR_LineObject *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API bool MR_LineObject_supportsVisualizeProperty(const MR_LineObject *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_LineObject_setName(MR_LineObject *_this, const char *name, const char *name_end)
MRC_API MR_std_shared_ptr_MR_Object * MR_LineObject_cloneTree(const MR_LineObject *_this)
MRC_API void MR_LineObject_resetDirtyExceptMask(const MR_LineObject *_this, unsigned int mask)
MRC_API void MR_LineObject_setSubfeatureAlphaPoints(MR_LineObject *_this, float alpha)
MRC_API bool MR_LineObject_getRedrawFlag(const MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_setPickable(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API bool MR_LineObject_useDefaultScenePropertiesOnDeserialization(const MR_LineObject *_this)
MRC_API void MR_LineObject_setSubfeaturePointSize(MR_LineObject *_this, float pointSize)
MRC_API const MR_ViewportProperty_MR_Color * MR_LineObject_getBackColorsForAllViewports(const MR_LineObject *_this)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API const MR_std_vector_MR_FeatureObjectSharedProperty * MR_LineObject_getAllSharedProperties(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API bool MR_LineObject_globalClippedByPlane(const MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API bool MR_LineObject_isLocked(const MR_LineObject *_this)
MRC_API void MR_LineObject_DestroyArray(const MR_LineObject *_this)
Destroys a heap-allocated array of MR_LineObject. Does nothing if the pointer is null.
MRC_API void MR_LineObject_setGlobalVisibility(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_setVisualizeProperty(MR_LineObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_setAllVisualizeProperties(MR_LineObject *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API const char * MR_LineObject_StaticTypeName(void)
Generated from method MR::LineObject::StaticTypeName.
MRC_API MR_std_shared_ptr_MR_Object * MR_LineObject_clone(const MR_LineObject *_this)
MRC_API float MR_LineObject_getPointSize(const MR_LineObject *_this)
MRC_API void MR_LineObject_setWorldXf(MR_LineObject *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_LineObject_setDirtyFlags(MR_LineObject *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API void MR_LineObject_setXfsForAllViewports(MR_LineObject *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API MR_LineObject * MR_LineObject_OffsetMutablePtr(MR_LineObject *ptr, ptrdiff_t i)
MRC_API void MR_LineObject_setParentLocked(MR_LineObject *_this, bool lock)
MRC_API MR_Vector3f MR_LineObject_getBasePoint(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API float MR_LineObject_getLength(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API bool MR_LineObject_removeTag(MR_LineObject *_this, const char *tag, const char *tag_end)
MRC_API void MR_LineObject_resetColors(MR_LineObject *_this)
MRC_API void MR_LineObject_Destroy(const MR_LineObject *_this)
Destroys a heap-allocated instance of MR_LineObject. Does nothing if the pointer is null.
MRC_API MR_LineObject * MR_LineObject_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_Vector3f MR_LineObject_getPointB(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API float MR_LineObject_getSubfeaturePointSize(const MR_LineObject *_this)
MRC_API MR_Matrix3f MR_LineObject_getScaleShearMatrix(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API float MR_LineObject_getAmbientStrength(const MR_LineObject *_this)
MRC_API MR_LineObject * MR_LineObject_Construct(const MR_std_vector_MR_Vector3f *pointsToApprox)
MRC_API bool MR_LineObject_hasVisualRepresentation(const MR_LineObject *_this)
MRC_API void MR_LineObject_resetXf(MR_LineObject *_this, const MR_ViewportId *id)
MRC_API MR_LineObject * MR_LineObject_ConstructFromAnother(MR_PassBy _other_pass_by, MR_LineObject *_other)
MRC_API MR_Vector3f MR_LineObject_getPointA(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API const MR_Object * MR_LineObject_UpcastTo_MR_Object(const MR_LineObject *object)
MRC_API const MR_ViewportProperty_MR_Color * MR_LineObject_getDecorationsColorForAllViewports(const MR_LineObject *_this, bool selected)
MRC_API MR_LineObject * MR_LineObject_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_LineObject_addChild(MR_LineObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API void MR_LineObject_setCenter(MR_LineObject *_this, const MR_Vector3f *center, const MR_ViewportId *id)
MRC_API MR_FeatureObject * MR_LineObject_MutableUpcastTo_MR_FeatureObject(MR_LineObject *object)
MRC_API const MR_LineObject * MR_LineObject_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API const MR_Color * MR_LineObject_getFrontColor(const MR_LineObject *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API MR_VisualObject * MR_LineObject_MutableUpcastTo_MR_VisualObject(MR_LineObject *object)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFromOrFail_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API unsigned int MR_LineObject_getDirtyFlags(const MR_LineObject *_this)
MRC_API MR_ConstChildren * MR_LineObject_constChildren(const MR_LineObject *_this)
MRC_API MR_Vector3f MR_LineObject_getCenter(const MR_LineObject *_this, const MR_ViewportId *id)
MRC_API void MR_LineObject_setDecorationsColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API MR_std_string * MR_LineObject_classNameInPlural(const MR_LineObject *_this)
MRC_API void MR_LineObject_setVisible(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_LineObject_setVisualizePropertyMask(MR_LineObject *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_LineObject_hasModel(const MR_LineObject *_this)
MRC_API float MR_LineObject_getSpecularStrength(const MR_LineObject *_this)
MRC_API const MR_AffineXf3f * MR_LineObject_xf(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const char * MR_LineObject_typeName(const MR_LineObject *_this)
MRC_API const MR_ViewportProperty_unsigned_char * MR_LineObject_getGlobalAlphaForAllViewports(const MR_LineObject *_this)
MRC_API const MR_std_set_std_string * MR_LineObject_tags(const MR_LineObject *_this)
MRC_API MR_Box3f MR_LineObject_getWorldBox(const MR_LineObject *_this, const MR_ViewportId *_1)
MRC_API const MR_Color * MR_LineObject_getBackColor(const MR_LineObject *_this, const MR_ViewportId *viewportId)
MRC_API void MR_LineObject_resetRedrawFlag(const MR_LineObject *_this)
MRC_API void MR_LineObject_setColoringType(MR_LineObject *_this, MR_ColoringType coloringType)
MRC_API void MR_LineObject_setAmbientStrength(MR_LineObject *_this, float ambientStrength)
MRC_API void MR_LineObject_renderUi(const MR_LineObject *_this, const MR_UiRenderParams *params)
MRC_API MR_FeatureObjectProjectPointResult * MR_LineObject_projectPoint(const MR_LineObject *_this, const MR_Vector3f *point, const MR_ViewportId *id)
MRC_API MR_std_string * MR_LineObject_className(const MR_LineObject *_this)
MRC_API void MR_LineObject_setVisibilityMask(MR_LineObject *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_ViewportProperty_MR_Color * MR_LineObject_getFrontColorsForAllViewports(const MR_LineObject *_this, const bool *selected)
MRC_API void MR_LineObject_resetDirty(const MR_LineObject *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_LineObject_shallowCloneTree(const MR_LineObject *_this)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFrom_MR_FeatureObject(const MR_FeatureObject *object)
MRC_API const MR_LineObject * MR_LineObject_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:17
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