MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectLines.h
Go to the documentation of this file.
1#pragma once
2
4#include <MRCMesh/MRBox.h>
5#include <MRCMesh/MREnums.h>
7#include <MRCMisc/common.h>
8#include <MRCMisc/exports.h>
9
10#include <stdbool.h>
11#include <stddef.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
18typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
19typedef struct MR_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
20typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
21typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
22typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
23typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
24typedef struct MR_ObjectLinesHolder MR_ObjectLinesHolder; // Defined in `#include <MRCMesh/MRObjectLinesHolder.h>`.
25typedef struct MR_Polyline3 MR_Polyline3; // Defined in `#include <MRCMesh/MRPolyline.h>`.
26typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
27typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
28typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors; // Defined in `#include <MRCMesh/MRVector.h>`.
29typedef struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char; // Defined in `#include <MRCMesh/MRVector4.h>`.
30typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
31typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
32typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
33typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
34typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
35typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
36typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.h>`.
37typedef struct MR_std_set_std_string MR_std_set_std_string; // Defined in `#include <MRCMisc/std_set_std_string.h>`.
38typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Object.h>`.
39typedef struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines; // Defined in `#include <MRCMisc/std_shared_ptr_MR_ObjectLines.h>`.
40typedef struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3; // Defined in `#include <MRCMisc/std_shared_ptr_MR_Polyline3.h>`.
41typedef struct MR_std_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Polyline3.h>`.
42typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
43typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
44typedef struct MR_std_vector_std_shared_ptr_MR_ObjectLines MR_std_vector_std_shared_ptr_MR_ObjectLines; // Defined in `#include <MRCMisc/std_vector_std_shared_ptr_MR_ObjectLines.h>`.
45typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
46
47
59
63
68
72
76
81
85
91
96
101
105
111
116
122
127
135
142
147
151
157
162
168
173
181
188
193
197
203
208
214
219
227
234
239
242
245
253
256
260
263
268
271
276
281
286
291
297
302
307
310MRC_API void MR_ObjectLines_applyScale(MR_ObjectLines *_this, float scaleFactor);
311
315
319
324
329
334MRC_DEPRECATED_REASON("use polylinePtr() instead")
336
340MRC_API void MR_ObjectLines_setDirtyFlags(MR_ObjectLines *_this, unsigned int mask, const bool *invalidateCaches);
341
352
359
363
367
371
375
381
385MRC_API void MR_ObjectLines_setVertsColorMap(MR_ObjectLines *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);
386
392
397
401
406
411
417
424
431
438
443
448
453
458
463
468
475
482
489
496
502
508
514
521
528
535MRC_API const MR_Color *MR_ObjectLines_getFrontColor(const MR_ObjectLines *_this, const bool *selected, const MR_ViewportId *viewportId);
536
542MRC_API void MR_ObjectLines_setFrontColor(MR_ObjectLines *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
543
550
556
562
567
574
580MRC_API void MR_ObjectLines_setBackColor(MR_ObjectLines *_this, const MR_Color *color, const MR_ViewportId *viewportId);
581
587MRC_API const unsigned char *MR_ObjectLines_getGlobalAlpha(const MR_ObjectLines *_this, const MR_ViewportId *viewportId);
588
593MRC_API void MR_ObjectLines_setGlobalAlpha(MR_ObjectLines *_this, unsigned char alpha, const MR_ViewportId *viewportId);
594
600
605
610
615
619MRC_API void MR_ObjectLines_resetDirtyExceptMask(const MR_ObjectLines *_this, unsigned int mask);
620
625
631
637MRC_API bool MR_ObjectLines_isPickable(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask);
638
644MRC_API void MR_ObjectLines_setPickable(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask);
645
650
655
660
665
670
674MRC_API void MR_ObjectLines_setSpecularStrength(MR_ObjectLines *_this, float specularStrength);
675
680
684MRC_API void MR_ObjectLines_setAmbientStrength(MR_ObjectLines *_this, float ambientStrength);
685
692
698
704
710
715MRC_API void MR_ObjectLines_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectLines *_this, bool useDefaultScenePropertiesOnDeserialization);
716
721
726
731MRC_API void MR_ObjectLines_setName(MR_ObjectLines *_this, const char *name, const char *name_end);
732
740MRC_API const MR_AffineXf3f *MR_ObjectLines_xf(const MR_ObjectLines *_this, const MR_ViewportId *id, bool *isDef);
741
747
753
759
764
772
778
784
791
798
803
807
813
817
821MRC_API bool MR_ObjectLines_isAncestor(const MR_ObjectLines *_this, const MR_Object *ancestor);
822
828
835
843MRC_API bool MR_ObjectLines_addChild(MR_ObjectLines *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
844
852
857
862
867
871
877
881
886
892MRC_API void MR_ObjectLines_setVisible(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask);
893
899MRC_API bool MR_ObjectLines_isVisible(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask);
900
906
912
916
922
929
937
943
950
958MRC_API bool MR_ObjectLines_addTag(MR_ObjectLines *_this, const char *tag, const char *tag_end);
959
966MRC_API bool MR_ObjectLines_removeTag(MR_ObjectLines *_this, const char *tag, const char *tag_end);
967
968// return true if model of current object equals to model (the same) of other
973
974// return hash of model (or hash object pointer if object has no model)
978
979// returns this Object as shared_ptr
980// finds it among its parent's recognized children
985
991
998
999#ifdef __cplusplus
1000} // extern "C"
1001#endif
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:24
struct MR_Polyline3 MR_Polyline3
Definition MRAABBTreePolyline.h:21
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:24
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_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_VertMap MR_VertMap
std::vector<T>-like container that requires specific indexing type,
Definition MRBitSet.h:40
struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:15
struct MR_std_shared_ptr_MR_Polyline3 MR_std_shared_ptr_MR_Polyline3
Definition MRChangePolylineAction.h:18
struct MR_std_shared_ptr_MR_ObjectLines MR_std_shared_ptr_MR_ObjectLines
Definition MRChangePolylineAction.h:17
struct MR_VertColors MR_VertColors
std::vector<T>-like container that requires specific indexing type,
Definition MRCtm.h:22
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_Vector4_unsigned_char MR_Vector4_unsigned_char
Definition MRMatrix4.h:19
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRNesting3mfExport.h:17
struct MR_std_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3
Definition MRObjectGcode.h:39
struct MR_ObjectLinesHolder MR_ObjectLinesHolder
Definition MRObjectGcode.h:25
MRC_API void MR_ObjectLines_setLinesColorMap(MR_ObjectLines *_this, MR_PassBy linesColorMap_pass_by, MR_UndirectedEdgeColors *linesColorMap)
MRC_API void MR_ObjectLines_setLocked(MR_ObjectLines *_this, bool on)
MRC_API void MR_ObjectLines_setXfsForAllViewports(MR_ObjectLines *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectLines_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectLines *object)
MRC_API void MR_ObjectLines_setVisualizePropertyMask(MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectLines_render(const MR_ObjectLines *_this, const MR_ModelRenderParams *_1)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API const MR_ObjectLines * MR_ObjectLines_OffsetPtr(const MR_ObjectLines *ptr, ptrdiff_t i)
MRC_API void MR_ObjectLines_resetColors(MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setDirtyFlags(MR_ObjectLines *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API bool MR_ObjectLines_isVisible(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_ObjectLines_setParentLocked(MR_ObjectLines *_this, bool lock)
MRC_API void MR_ObjectLines_resetDirty(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setShininess(MR_ObjectLines *_this, float shininess)
MRC_API const char * MR_ObjectLines_StaticClassNameInPlural(void)
Generated from method MR::ObjectLines::StaticClassNameInPlural.
MRC_API void MR_ObjectLines_setPolyline(MR_ObjectLines *_this, const MR_std_shared_ptr_MR_Polyline3 *polyline)
MRC_API float MR_ObjectLines_getShininess(const MR_ObjectLines *_this)
MRC_API const MR_VisualObject * MR_ObjectLines_UpcastTo_MR_VisualObject(const MR_ObjectLines *object)
MRC_API void MR_ObjectLines_setPointSize(MR_ObjectLines *_this, float size)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_clone(const MR_ObjectLines *_this)
MRC_API const MR_Polyline3 * MR_ObjectLines_polylinePtr(const MR_ObjectLines *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_getSharedPtr(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setAncillary(MR_ObjectLines *_this, bool ancillary)
MRC_API void MR_ObjectLines_setName(MR_ObjectLines *_this, const char *name, const char *name_end)
MRC_API void MR_ObjectLines_removeAllChildren(MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_useDefaultScenePropertiesOnDeserialization(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_Destroy(const MR_ObjectLines *_this)
Destroys a heap-allocated instance of MR_ObjectLines. Does nothing if the pointer is null.
MRC_API const unsigned char * MR_ObjectLines_getGlobalAlpha(const MR_ObjectLines *_this, const MR_ViewportId *viewportId)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_cloneTree(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_getVisualizeProperty(const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectLines_isPickable(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ViewportMask * MR_ObjectLines_visibilityMask(const MR_ObjectLines *_this)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFromOrFail_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API void MR_ObjectLines_updateLinesColorMap(MR_ObjectLines *_this, MR_UndirectedEdgeColors *updated)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_shallowCloneTree(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_supportsVisualizeProperty(const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectLines_toggleVisualizeProperty(MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API bool MR_ObjectLines_addTag(MR_ObjectLines *_this, const char *tag, const char *tag_end)
MRC_API void MR_ObjectLines_setGlobalVisibility(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_std_shared_ptr_MR_Polyline3 * MR_ObjectLines_varPolyline(MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_isSelected(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_globalVisibility(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectLines_setColoringType(MR_ObjectLines *_this, MR_ColoringType coloringType)
MRC_API MR_ObjectLines * MR_ObjectLines_AssignFromAnother(MR_ObjectLines *_this, MR_PassBy _other_pass_by, MR_ObjectLines *_other)
MRC_API void MR_ObjectLines_setXf(MR_ObjectLines *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API MR_ObjectLines * MR_ObjectLines_OffsetMutablePtr(MR_ObjectLines *ptr, ptrdiff_t i)
struct MR_std_vector_std_shared_ptr_MR_ObjectLines MR_std_vector_std_shared_ptr_MR_ObjectLines
Definition MRObjectLines.h:44
MRC_API float MR_ObjectLines_getSpecularStrength(const MR_ObjectLines *_this)
MRC_API MR_Box3f MR_ObjectLines_getWorldBox(const MR_ObjectLines *_this, const MR_ViewportId *_1)
MRC_API void MR_ObjectLines_setFrontColorsForAllViewports(MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectLines_getGlobalAlphaForAllViewports(const MR_ObjectLines *_this)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API void MR_ObjectLines_setDashPattern(MR_ObjectLines *_this, const MR_Vector4_unsigned_char *pattern, const MR_ViewportId *vpId)
MRC_API void MR_ObjectLines_resetDirtyExceptMask(const MR_ObjectLines *_this, unsigned int mask)
MRC_API size_t MR_ObjectLines_numComponents(const MR_ObjectLines *_this)
MRC_API MR_ViewportMask * MR_ObjectLines_globalVisibilityMask(const MR_ObjectLines *_this)
MRC_API float MR_ObjectLines_avgEdgeLen(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_isGlobalAncillary(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setGlobalAlpha(MR_ObjectLines *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API bool MR_ObjectLines_isAncillary(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_isAncestor(const MR_ObjectLines *_this, const MR_Object *ancestor)
MRC_API void MR_ObjectLines_setGlobalClippedByPlane(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_Color * MR_ObjectLines_getBackColor(const MR_ObjectLines *_this, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectLines_sortChildren(MR_ObjectLines *_this)
MRC_API const MR_ObjectLines * MR_ObjectLines_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_std_string * MR_ObjectLines_name(const MR_ObjectLines *_this)
struct MR_ObjectLines MR_ObjectLines
Definition MRObjectLines.h:58
MRC_API bool MR_ObjectLines_addChildBefore(MR_ObjectLines *_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_ObjectLines_setAllVisualizeProperties(MR_ObjectLines *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API bool MR_ObjectLines_detachFromParent(MR_ObjectLines *_this)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_ConstChildren * MR_ObjectLines_constChildren(const MR_ObjectLines *_this)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFrom_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API MR_Box3f MR_ObjectLines_getBoundingBox(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_swap(MR_ObjectLines *_this, MR_Object *other)
MRC_API bool MR_ObjectLines_removeTag(MR_ObjectLines *_this, const char *tag, const char *tag_end)
MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_merge_1_std_vector_std_shared_ptr_MR_ObjectLines(const MR_std_vector_std_shared_ptr_MR_ObjectLines *objsLines)
MRC_API const MR_AffineXf3f * MR_ObjectLines_xf(const MR_ObjectLines *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_UndirectedEdgeColors * MR_ObjectLines_getLinesColorMap(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setVisibilityMask(MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_AffineXf3f MR_ObjectLines_worldXf(const MR_ObjectLines *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API bool MR_ObjectLines_globalClippedByPlane(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API size_t MR_ObjectLines_heapBytes(const MR_ObjectLines *_this)
MRC_API MR_std_string * MR_ObjectLines_classNameInPlural(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setVertsColorMap(MR_ObjectLines *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
MRC_API float MR_ObjectLines_totalLength(const MR_ObjectLines *_this)
MRC_API MR_ViewportMask * MR_ObjectLines_globalClippedByPlaneMask(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setAmbientStrength(MR_ObjectLines *_this, float ambientStrength)
MRC_API const MR_ObjectLines * MR_ObjectLines_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API void MR_ObjectLines_renderForPicker(const MR_ObjectLines *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_ObjectLines_setFrontColor(MR_ObjectLines *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API const MR_Vector4_unsigned_char * MR_ObjectLines_getDashPattern(const MR_ObjectLines *_this, const MR_ViewportId *vpId, bool *isDef)
MRC_API const MR_ObjectLines * MR_ObjectLines_StaticDowncastFrom_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API const char * MR_ObjectLines_typeName(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_DestroyArray(const MR_ObjectLines *_this)
Destroys a heap-allocated array of MR_ObjectLines. Does nothing if the pointer is null.
MRC_API void MR_ObjectLines_resetRedrawFlag(const MR_ObjectLines *_this)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API unsigned int MR_ObjectLines_getDirtyFlags(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_isParentLocked(const MR_ObjectLines *_this)
MRC_API float MR_ObjectLines_getAmbientStrength(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_addChild(MR_ObjectLines *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
MRC_API void MR_ObjectLines_renderUi(const MR_ObjectLines *_this, const MR_UiRenderParams *params)
MRC_API bool MR_ObjectLines_getRedrawFlag(const MR_ObjectLines *_this, const MR_ViewportMask *viewportMask)
MRC_API MR_ColoringType MR_ObjectLines_getColoringType(const MR_ObjectLines *_this)
MRC_API MR_std_shared_ptr_MR_ObjectLines * MR_cloneRegion_2_std_shared_ptr_MR_ObjectLines(const MR_std_shared_ptr_MR_ObjectLines *objLines, const MR_UndirectedEdgeBitSet *region)
MRC_API void MR_ObjectLines_setSpecularStrength(MR_ObjectLines *_this, float specularStrength)
MRC_API float MR_ObjectLines_getLineWidth(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_copyAllSolidColors(MR_ObjectLines *_this, const MR_VisualObject *other)
MRC_API void MR_ObjectLines_setBackColorsForAllViewports(MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectLines_xfsForAllViewports(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_select(MR_ObjectLines *_this, bool on)
MRC_API void MR_ObjectLines_applyScale(MR_ObjectLines *_this, float scaleFactor)
MRC_API void MR_ObjectLines_setLineWidth(MR_ObjectLines *_this, float width)
MRC_API MR_std_string * MR_ObjectLines_className(const MR_ObjectLines *_this)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFrom_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API MR_Object * MR_ObjectLines_MutableUpcastTo_MR_Object(MR_ObjectLines *object)
MRC_API MR_Box3f MR_ObjectLines_getWorldTreeBox(const MR_ObjectLines *_this, const MR_ViewportId *_1)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableStaticDowncastFrom_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API void MR_ObjectLines_copyColors(MR_ObjectLines *_this, const MR_ObjectLinesHolder *src, const MR_VertMap *thisToSrc)
MRC_API const MR_Object * MR_ObjectLines_UpcastTo_MR_Object(const MR_ObjectLines *object)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API const MR_ObjectLines * MR_ObjectLines_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_ObjectLines_hasModel(const MR_ObjectLines *_this)
MRC_API const MR_ObjectLinesHolder * MR_ObjectLines_UpcastTo_MR_ObjectLinesHolder(const MR_ObjectLines *object)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API MR_ObjectLines * MR_ObjectLines_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API void MR_ObjectLines_setWorldXf(MR_ObjectLines *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLines_getFrontColorsForAllViewports(const MR_ObjectLines *_this, const bool *selected)
MRC_API MR_ObjectLines * MR_ObjectLines_DefaultConstructArray(size_t num_elems)
MRC_API MR_ObjectLinesHolder * MR_ObjectLines_MutableUpcastTo_MR_ObjectLinesHolder(MR_ObjectLines *object)
MRC_API size_t MR_ObjectLines_getModelHash(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_resetXf(MR_ObjectLines *_this, const MR_ViewportId *id)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLines_shallowClone(const MR_ObjectLines *_this)
MRC_API const MR_std_shared_ptr_const_MR_Polyline3 * MR_ObjectLines_polyline(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_isLocked(const MR_ObjectLines *_this)
MRC_API float MR_ObjectLines_getPointSize(const MR_ObjectLines *_this)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFromOrFail_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API const char * MR_ObjectLines_StaticTypeName(void)
Generated from method MR::ObjectLines::StaticTypeName.
MRC_API MR_ObjectChildrenHolder * MR_ObjectLines_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectLines *object)
MRC_API void MR_ObjectLines_setGlobalAlphaForAllViewports(MR_ObjectLines *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API const MR_ViewportMask * MR_ObjectLines_getVisualizePropertyMask(const MR_ObjectLines *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API void MR_ObjectLines_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectLines *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API void MR_ObjectLines_setPickable(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const char * MR_ObjectLines_StaticClassName(void)
Generated from method MR::ObjectLines::StaticClassName.
MRC_API MR_ObjectLines * MR_ObjectLines_DefaultConstruct(void)
MRC_API const MR_VertColors * MR_ObjectLines_getVertsColorMap(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_updateVertsColorMap(MR_ObjectLines *_this, MR_VertColors *vertsColorMap)
MRC_API const MR_Color * MR_ObjectLines_getFrontColor(const MR_ObjectLines *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API MR_VisualObject * MR_ObjectLines_MutableUpcastTo_MR_VisualObject(MR_ObjectLines *object)
MRC_API MR_std_shared_ptr_MR_Polyline3 * MR_ObjectLines_updatePolyline(MR_ObjectLines *_this, MR_PassBy polyline_pass_by, MR_std_shared_ptr_MR_Polyline3 *polyline)
MRC_API const MR_std_set_std_string * MR_ObjectLines_tags(const MR_ObjectLines *_this)
MRC_API MR_Polyline3 * MR_ObjectLines_varPolylinePtr(MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_resetFrontColor(MR_ObjectLines *_this)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLines_getBackColorsForAllViewports(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setVisualizeProperty(MR_ObjectLines *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API size_t MR_ObjectLines_numUndirectedEdges(const MR_ObjectLines *_this)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectLines_getAllVisualizeProperties(const MR_ObjectLines *_this)
MRC_API void MR_ObjectLines_setVisible(MR_ObjectLines *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_ObjectLines * MR_ObjectLines_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API MR_ObjectLines * MR_ObjectLines_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectLines *_other)
MRC_API bool MR_ObjectLines_hasVisualRepresentation(const MR_ObjectLines *_this)
MRC_API bool MR_ObjectLines_sameModels(const MR_ObjectLines *_this, const MR_Object *other)
MRC_API void MR_ObjectLines_setBackColor(MR_ObjectLines *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API MR_std_vector_std_string * MR_ObjectLines_getInfoLines(const MR_ObjectLines *_this)
#define MRC_DEPRECATED_REASON(str)
Definition common.h:74
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 MRViewportId.h:17