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_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
300
307
314
319MRC_API void MR_LineObject_setLength(MR_LineObject *_this, float size, const MR_ViewportId *id);
320
328
334
335// Returns point considered as base for the feature
340
346
352
359
364
369
374
380
386
392
397
398// The cached orthonormalized rotation matrix.
399// `isDef` receives false if matrix is overridden for this specific viewport.
405
406// The cached scale and shear matrix. The main diagnoal stores the scale, and some other elements store the shearing.
407// `isDef` receives false if matrix is overridden for this specific viewport.
413
414// This color is used for subfeatures.
415// `isDef` receives false if matrix is overridden for this specific viewport.
421MRC_API const MR_Color *MR_LineObject_getDecorationsColor(const MR_LineObject *_this, bool selected, const MR_ViewportId *viewportId, bool *isDef);
422
427MRC_API void MR_LineObject_setDecorationsColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
428
433
437
438// Point size and line width, for primary rendering rather than subfeatures.
442
446
450
454
455// Point size and line width, for subfeatures rather than primary rendering.
459
463
467
471
472// Per-component alpha multipliers. The global alpha is multiplied by thise.
476
480
484
488
492
496
500
504
510MRC_API void MR_LineObject_setVisualizeProperty(MR_LineObject *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask);
511
518
525
532
538
544
550
557
564
571MRC_API const MR_Color *MR_LineObject_getFrontColor(const MR_LineObject *_this, const bool *selected, const MR_ViewportId *viewportId);
572
578MRC_API void MR_LineObject_setFrontColor(MR_LineObject *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
579
586
592
598
603
610
616MRC_API void MR_LineObject_setBackColor(MR_LineObject *_this, const MR_Color *color, const MR_ViewportId *viewportId);
617
623MRC_API const unsigned char *MR_LineObject_getGlobalAlpha(const MR_LineObject *_this, const MR_ViewportId *viewportId);
624
629MRC_API void MR_LineObject_setGlobalAlpha(MR_LineObject *_this, unsigned char alpha, const MR_ViewportId *viewportId);
630
636
641
648MRC_API void MR_LineObject_setDirtyFlags(MR_LineObject *_this, unsigned int mask, const bool *invalidateCaches);
649
654
659
663MRC_API void MR_LineObject_resetDirtyExceptMask(const MR_LineObject *_this, unsigned int mask);
664
669
676
681MRC_API bool MR_LineObject_getRedrawFlag(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
682
688MRC_API bool MR_LineObject_isPickable(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
689
695MRC_API void MR_LineObject_setPickable(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask);
696
701
706
711
716
721
725MRC_API void MR_LineObject_setSpecularStrength(MR_LineObject *_this, float specularStrength);
726
731
735MRC_API void MR_LineObject_setAmbientStrength(MR_LineObject *_this, float ambientStrength);
736
743
749
755
760
766
772
777MRC_API void MR_LineObject_setUseDefaultScenePropertiesOnDeserialization(MR_LineObject *_this, bool useDefaultScenePropertiesOnDeserialization);
778
783
788
793
798MRC_API void MR_LineObject_setName(MR_LineObject *_this, const char *name, const char *name_end);
799
807MRC_API const MR_AffineXf3f *MR_LineObject_xf(const MR_LineObject *_this, const MR_ViewportId *id, bool *isDef);
808
814
819
827
833
837MRC_API void MR_LineObject_applyScale(MR_LineObject *_this, float scaleFactor);
838
844
851
858
863
867
873
877
881MRC_API bool MR_LineObject_isAncestor(const MR_LineObject *_this, const MR_Object *ancestor);
882
888
896MRC_API bool MR_LineObject_addChild(MR_LineObject *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
897
905
910
915
920
924
930
934
939
945MRC_API void MR_LineObject_setVisible(MR_LineObject *_this, bool on, const MR_ViewportMask *viewportMask);
946
952MRC_API bool MR_LineObject_isVisible(const MR_LineObject *_this, const MR_ViewportMask *viewportMask);
953
959
965
969
975
982
990
997
1002
1008
1015
1023MRC_API bool MR_LineObject_addTag(MR_LineObject *_this, const char *tag, const char *tag_end);
1024
1031MRC_API bool MR_LineObject_removeTag(MR_LineObject *_this, const char *tag, const char *tag_end);
1032
1033// return true if model of current object equals to model (the same) of other
1038
1039// return hash of model (or hash object pointer if object has no model)
1043
1044// returns this Object as shared_ptr
1045// finds it among its parent's recognized children
1050
1051#ifdef __cplusplus
1052} // extern "C"
1053#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
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 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 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:53
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 MR_uint64_t MR_LineObject_getModelHash(const MR_LineObject *_this)
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_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 MR_uint64_t MR_LineObject_heapBytes(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:18
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