MeshLib C Docs
Loading...
Searching...
No Matches
MRObjectGcode.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_CNCMachineSettings MR_CNCMachineSettings; // Defined in `#include <MRCMesh/MRCNCMachineSettings.h>`.
19typedef struct MR_Color MR_Color; // Defined in `#include <MRCMesh/MRColor.h>`.
20typedef struct MR_ConstChildren MR_ConstChildren; // Defined in `#include <MRCMesh/MRConstChildren.h>`.
21typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
22typedef struct MR_ModelRenderParams MR_ModelRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
23typedef struct MR_Object MR_Object; // Defined in `#include <MRCMesh/MRObject.h>`.
24typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder; // Defined in `#include <MRCMesh/MRObject.h>`.
25typedef struct MR_ObjectLinesHolder MR_ObjectLinesHolder; // Defined in `#include <MRCMesh/MRObjectLinesHolder.h>`.
26typedef struct MR_Polyline3 MR_Polyline3; // Defined in `#include <MRCMesh/MRPolyline.h>`.
27typedef struct MR_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.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_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Polyline3.h>`.
40typedef struct MR_std_shared_ptr_std_vector_std_string MR_std_shared_ptr_std_vector_std_string; // Defined in `#include <MRCMisc/std_shared_ptr_std_vector_std_string.h>`.
41typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
42typedef struct MR_std_vector_MR_GcodeProcessor_MoveAction MR_std_vector_MR_GcodeProcessor_MoveAction; // Defined in `#include <MRCMisc/std_vector_MR_GcodeProcessor_MoveAction.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_int MR_std_vector_int; // Defined in `#include <MRCMisc/std_vector_int.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
296
301
306
307// get action list (produced from g-code source)
312
313// get mapping of tool path polyline segment id to source line number of g-code source
318
322MRC_API void MR_ObjectGcode_setDirtyFlags(MR_ObjectGcode *_this, unsigned int mask, const bool *invalidateCaches);
323
328
329// set drawing feedrate as gradient of brightness
332MRC_API void MR_ObjectGcode_switchFeedrateGradient(MR_ObjectGcode *_this, bool isFeedrateGradientEnabled);
333
337
342
347
350MRC_API bool MR_ObjectGcode_select(MR_ObjectGcode *_this, bool isSelected);
351
356MRC_API void MR_ObjectGcode_setFrontColor(MR_ObjectGcode *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
357
362
365MRC_API void MR_ObjectGcode_applyScale(MR_ObjectGcode *_this, float scaleFactor);
366
370
374
379
384
389MRC_DEPRECATED_REASON("use polylinePtr() instead")
391
402
409
413
417
421
425
431
435MRC_API void MR_ObjectGcode_setVertsColorMap(MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);
436
442
447
451
456
461
467
474
481
488
493
498
503
508
513
520
527
534
541
547
553
559
566
573
580MRC_API const MR_Color *MR_ObjectGcode_getFrontColor(const MR_ObjectGcode *_this, const bool *selected, const MR_ViewportId *viewportId);
581
588
594
600
605
612
618MRC_API void MR_ObjectGcode_setBackColor(MR_ObjectGcode *_this, const MR_Color *color, const MR_ViewportId *viewportId);
619
625MRC_API const unsigned char *MR_ObjectGcode_getGlobalAlpha(const MR_ObjectGcode *_this, const MR_ViewportId *viewportId);
626
631MRC_API void MR_ObjectGcode_setGlobalAlpha(MR_ObjectGcode *_this, unsigned char alpha, const MR_ViewportId *viewportId);
632
638
643
648
653
657MRC_API void MR_ObjectGcode_resetDirtyExceptMask(const MR_ObjectGcode *_this, unsigned int mask);
658
663
669
675MRC_API bool MR_ObjectGcode_isPickable(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
676
682MRC_API void MR_ObjectGcode_setPickable(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
683
688
693
698
703
708
712MRC_API void MR_ObjectGcode_setSpecularStrength(MR_ObjectGcode *_this, float specularStrength);
713
718
722MRC_API void MR_ObjectGcode_setAmbientStrength(MR_ObjectGcode *_this, float ambientStrength);
723
730
736
742
748
753MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectGcode *_this, bool useDefaultScenePropertiesOnDeserialization);
754
759
764
769MRC_API void MR_ObjectGcode_setName(MR_ObjectGcode *_this, const char *name, const char *name_end);
770
778MRC_API const MR_AffineXf3f *MR_ObjectGcode_xf(const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef);
779
785
791
797
802
810
816
822
829
836
841
845
851
855
859MRC_API bool MR_ObjectGcode_isAncestor(const MR_ObjectGcode *_this, const MR_Object *ancestor);
860
866
873
881MRC_API bool MR_ObjectGcode_addChild(MR_ObjectGcode *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
882
890
895
900
904
910
914
919
925MRC_API void MR_ObjectGcode_setVisible(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
926
932MRC_API bool MR_ObjectGcode_isVisible(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
933
939
945
949
955
962
970
976
983
991MRC_API bool MR_ObjectGcode_addTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
992
999MRC_API bool MR_ObjectGcode_removeTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
1000
1001// return true if model of current object equals to model (the same) of other
1006
1007// return hash of model (or hash object pointer if object has no model)
1011
1012// returns this Object as shared_ptr
1013// finds it among its parent's recognized children
1018
1019#ifdef __cplusplus
1020} // extern "C"
1021#endif
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_CNCMachineSettings MR_CNCMachineSettings
Definition MRCNCMachineSettings.h:30
struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
std::vector<T>-like container that requires specific indexing type,
Definition MRChangeColoringActions.h:15
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_std_vector_MR_GcodeProcessor_MoveAction MR_std_vector_MR_GcodeProcessor_MoveAction
Definition MRGcodeProcessor.h:16
struct MR_Object MR_Object
Definition MRGltf.h:10
struct MR_std_vector_int MR_std_vector_int
Definition MRIntersectionContour.h:15
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
MRC_API const char * MR_ObjectGcode_typeName(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setShininess(MR_ObjectGcode *_this, float shininess)
MRC_API bool MR_ObjectGcode_isLocked(const MR_ObjectGcode *_this)
MRC_API MR_Object * MR_ObjectGcode_MutableUpcastTo_MR_Object(MR_ObjectGcode *object)
MRC_API void MR_ObjectGcode_setVertsColorMap(MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_StaticDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_ObjectGcode_addChildBefore(MR_ObjectGcode *_this, MR_PassBy newChild_pass_by, MR_std_shared_ptr_MR_Object *newChild, const MR_std_shared_ptr_MR_Object *existingChild)
MRC_API const MR_VertColors * MR_ObjectGcode_getVertsColorMap(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_resetColors(MR_ObjectGcode *_this)
MRC_API const MR_ObjectLinesHolder * MR_ObjectGcode_UpcastTo_MR_ObjectLinesHolder(const MR_ObjectGcode *object)
MRC_API void MR_ObjectGcode_setAmbientStrength(MR_ObjectGcode *_this, float ambientStrength)
MRC_API void MR_ObjectGcode_swap(MR_ObjectGcode *_this, MR_Object *other)
MRC_API float MR_ObjectGcode_getAmbientStrength(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_hasModel(const MR_ObjectGcode *_this)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFromOrFail_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API void MR_ObjectGcode_setIdleColor(MR_ObjectGcode *_this, const MR_Color *color)
MRC_API void MR_ObjectGcode_removeAllChildren(MR_ObjectGcode *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_getSharedPtr(const MR_ObjectGcode *_this)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_Polyline3 * MR_ObjectGcode_polylinePtr(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_isVisible(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_std_shared_ptr_const_MR_Polyline3 * MR_ObjectGcode_polyline(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setGcodeSource(MR_ObjectGcode *_this, const MR_std_shared_ptr_std_vector_std_string *gcodeSource)
MRC_API const MR_std_vector_int * MR_ObjectGcode_segmentToSourceLineMap(const MR_ObjectGcode *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_shallowClone(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setPointSize(MR_ObjectGcode *_this, float size)
MRC_API MR_ObjectGcode * MR_ObjectGcode_DefaultConstructArray(size_t num_elems)
MRC_API MR_Polyline3 * MR_ObjectGcode_varPolylinePtr(MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_sameModels(const MR_ObjectGcode *_this, const MR_Object *other)
MRC_API void MR_ObjectGcode_setGlobalVisibility(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectGcode_setDirtyFlags(MR_ObjectGcode *_this, unsigned int mask, const bool *invalidateCaches)
MRC_API unsigned int MR_ObjectGcode_getDirtyFlags(const MR_ObjectGcode *_this)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFromOrFail_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFrom_MR_Object(const MR_Object *object)
MRC_API bool MR_ObjectGcode_select(MR_ObjectGcode *_this, bool isSelected)
MRC_API float MR_ObjectGcode_totalLength(const MR_ObjectGcode *_this)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_StaticDowncastFrom_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFromOrFail_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFrom_MR_ObjectLinesHolder(const MR_ObjectLinesHolder *object)
MRC_API void MR_ObjectGcode_copyAllSolidColors(MR_ObjectGcode *_this, const MR_VisualObject *other)
MRC_API float MR_ObjectGcode_getLineWidth(const MR_ObjectGcode *_this)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(MR_ObjectChildrenHolder *object)
MRC_API const MR_ViewportMask * MR_ObjectGcode_getVisualizePropertyMask(const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API bool MR_ObjectGcode_isPickable(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API const MR_std_shared_ptr_std_vector_std_string * MR_ObjectGcode_gcodeSource(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_globalVisibility(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectGcode_renderForPicker(const MR_ObjectGcode *_this, const MR_ModelBaseRenderParams *_1, unsigned int _2)
MRC_API void MR_ObjectGcode_setWorldXf(MR_ObjectGcode *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API const MR_ObjectChildrenHolder * MR_ObjectGcode_UpcastTo_MR_ObjectChildrenHolder(const MR_ObjectGcode *object)
MRC_API const MR_Color * MR_ObjectGcode_getBackColor(const MR_ObjectGcode *_this, const MR_ViewportId *viewportId)
MRC_API bool MR_ObjectGcode_supportsVisualizeProperty(const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectGcode_getBackColorsForAllViewports(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setAncillary(MR_ObjectGcode *_this, bool ancillary)
MRC_API size_t MR_ObjectGcode_heapBytes(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_isAncestor(const MR_ObjectGcode *_this, const MR_Object *ancestor)
MRC_API bool MR_ObjectGcode_useDefaultScenePropertiesOnDeserialization(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setSpecularStrength(MR_ObjectGcode *_this, float specularStrength)
MRC_API MR_ConstChildren * MR_ObjectGcode_constChildren(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_applyScale(MR_ObjectGcode *_this, float scaleFactor)
MRC_API const char * MR_ObjectGcode_StaticClassNameInPlural(void)
Generated from method MR::ObjectGcode::StaticClassNameInPlural.
MRC_API const MR_ObjectGcode * MR_ObjectGcode_OffsetPtr(const MR_ObjectGcode *ptr, ptrdiff_t i)
MRC_API MR_ViewportMask * MR_ObjectGcode_globalVisibilityMask(const MR_ObjectGcode *_this)
MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectGcode_xfsForAllViewports(const MR_ObjectGcode *_this)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_StaticDowncastFrom_MR_ObjectChildrenHolder(const MR_ObjectChildrenHolder *object)
MRC_API void MR_ObjectGcode_copyColors(MR_ObjectGcode *_this, const MR_ObjectLinesHolder *src, const MR_VertMap *thisToSrc)
MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectGcode_getFrontColorsForAllViewports(const MR_ObjectGcode *_this, const bool *selected)
MRC_API bool MR_ObjectGcode_isFeedrateGradient(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_isAncillary(const MR_ObjectGcode *_this)
MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectGcode_getGlobalAlphaForAllViewports(const MR_ObjectGcode *_this)
MRC_API MR_AffineXf3f MR_ObjectGcode_worldXf(const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFromOrFail_MR_VisualObject(const MR_VisualObject *object)
MRC_API MR_VisualObject * MR_ObjectGcode_MutableUpcastTo_MR_VisualObject(MR_ObjectGcode *object)
MRC_API void MR_ObjectGcode_setVisualizePropertyMask(MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectGcode * MR_ObjectGcode_ConstructFromAnother(MR_PassBy _other_pass_by, MR_ObjectGcode *_other)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_ObjectLinesHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder(MR_ObjectGcode *object)
MRC_API bool MR_ObjectGcode_isParentLocked(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_resetDirty(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setCNCMachineSettings(MR_ObjectGcode *_this, const MR_CNCMachineSettings *cncSettings)
MRC_API void MR_ObjectGcode_DestroyArray(const MR_ObjectGcode *_this)
Destroys a heap-allocated array of MR_ObjectGcode. Does nothing if the pointer is null.
MRC_API void MR_ObjectGcode_resetRedrawFlag(const MR_ObjectGcode *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_cloneTree(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setLineWidth(MR_ObjectGcode *_this, float width)
MRC_API const char * MR_ObjectGcode_StaticClassName(void)
Generated from method MR::ObjectGcode::StaticClassName.
MRC_API MR_Box3f MR_ObjectGcode_getWorldTreeBox(const MR_ObjectGcode *_this, const MR_ViewportId *_1)
MRC_API bool MR_ObjectGcode_removeTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end)
MRC_API void MR_ObjectGcode_setLocked(MR_ObjectGcode *_this, bool on)
MRC_API MR_ObjectGcode * MR_ObjectGcode_OffsetMutablePtr(MR_ObjectGcode *ptr, ptrdiff_t i)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableStaticDowncastFrom_MR_Object(MR_Object *object)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_clone(const MR_ObjectGcode *_this)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_StaticDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectGcode_updateVertsColorMap(MR_ObjectGcode *_this, MR_VertColors *vertsColorMap)
MRC_API MR_ViewportMask * MR_ObjectGcode_globalClippedByPlaneMask(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setGlobalAlpha(MR_ObjectGcode *_this, unsigned char alpha, const MR_ViewportId *viewportId)
MRC_API MR_ObjectGcode * MR_ObjectGcode_AssignFromAnother(MR_ObjectGcode *_this, MR_PassBy _other_pass_by, MR_ObjectGcode *_other)
MRC_API bool MR_ObjectGcode_isSelected(const MR_ObjectGcode *_this)
MRC_API MR_Box3f MR_ObjectGcode_getBoundingBox(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_getRedrawFlag(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectGcode_setGlobalClippedByPlane(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
struct MR_std_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3
Definition MRObjectGcode.h:39
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFromOrFail_MR_Object(const MR_Object *object)
MRC_API MR_ObjectChildrenHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectGcode *object)
MRC_API bool MR_ObjectGcode_addTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end)
MRC_API size_t MR_ObjectGcode_getModelHash(const MR_ObjectGcode *_this)
MRC_API float MR_ObjectGcode_getPointSize(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setColoringType(MR_ObjectGcode *_this, MR_ColoringType coloringType)
MRC_API const MR_VisualObject * MR_ObjectGcode_UpcastTo_MR_VisualObject(const MR_ObjectGcode *object)
MRC_API MR_std_string * MR_ObjectGcode_className(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_hasVisualRepresentation(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_Destroy(const MR_ObjectGcode *_this)
Destroys a heap-allocated instance of MR_ObjectGcode. Does nothing if the pointer is null.
MRC_API const char * MR_ObjectGcode_StaticTypeName(void)
Generated from method MR::ObjectGcode::StaticTypeName.
MRC_API const unsigned char * MR_ObjectGcode_getGlobalAlpha(const MR_ObjectGcode *_this, const MR_ViewportId *viewportId)
MRC_API const MR_Object * MR_ObjectGcode_UpcastTo_MR_Object(const MR_ObjectGcode *object)
MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectGcode_getAllVisualizeProperties(const MR_ObjectGcode *_this)
MRC_API const MR_std_vector_MR_GcodeProcessor_MoveAction * MR_ObjectGcode_actionList(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectGcode *_this, bool useDefaultScenePropertiesOnDeserialization)
MRC_API void MR_ObjectGcode_setPickable(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API size_t MR_ObjectGcode_numComponents(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setXfsForAllViewports(MR_ObjectGcode *_this, MR_PassBy xf_pass_by, MR_ViewportProperty_MR_AffineXf3f *xf)
MRC_API void MR_ObjectGcode_switchFeedrateGradient(MR_ObjectGcode *_this, bool isFeedrateGradientEnabled)
MRC_API void MR_ObjectGcode_setGlobalAlphaForAllViewports(MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_unsigned_char *val)
MRC_API void MR_ObjectGcode_setFrontColor(MR_ObjectGcode *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId)
MRC_API void MR_ObjectGcode_setVisualizeProperty(MR_ObjectGcode *_this, bool value, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableStaticDowncastFrom_MR_VisualObject(MR_VisualObject *object)
MRC_API const MR_ObjectGcode * MR_ObjectGcode_DynamicDowncastFrom_MR_VisualObject(const MR_VisualObject *object)
MRC_API void MR_ObjectGcode_renderUi(const MR_ObjectGcode *_this, const MR_UiRenderParams *params)
MRC_API void MR_ObjectGcode_resetFrontColor(MR_ObjectGcode *_this)
MRC_API const MR_Color * MR_ObjectGcode_getFrontColor(const MR_ObjectGcode *_this, const bool *selected, const MR_ViewportId *viewportId)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableStaticDowncastFrom_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API void MR_ObjectGcode_setParentLocked(MR_ObjectGcode *_this, bool lock)
MRC_API void MR_ObjectGcode_setBackColorsForAllViewports(MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val)
MRC_API const MR_std_set_std_string * MR_ObjectGcode_tags(const MR_ObjectGcode *_this)
MRC_API MR_ObjectGcode * MR_ObjectGcode_DefaultConstruct(void)
MRC_API size_t MR_ObjectGcode_numUndirectedEdges(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setLinesColorMap(MR_ObjectGcode *_this, MR_PassBy linesColorMap_pass_by, MR_UndirectedEdgeColors *linesColorMap)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFromOrFail_MR_Object(MR_Object *object)
MRC_API const MR_std_string * MR_ObjectGcode_name(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_sortChildren(MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setName(MR_ObjectGcode *_this, const char *name, const char *name_end)
MRC_API void MR_ObjectGcode_updateLinesColorMap(MR_ObjectGcode *_this, MR_UndirectedEdgeColors *updated)
MRC_API const MR_Vector4_unsigned_char * MR_ObjectGcode_getDashPattern(const MR_ObjectGcode *_this, const MR_ViewportId *vpId, bool *isDef)
MRC_API void MR_ObjectGcode_setXf(MR_ObjectGcode *_this, const MR_AffineXf3f *xf, const MR_ViewportId *id)
MRC_API void MR_ObjectGcode_setVisible(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask)
MRC_API const MR_AffineXf3f * MR_ObjectGcode_xf(const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef)
MRC_API MR_Box3f MR_ObjectGcode_getWorldBox(const MR_ObjectGcode *_this, const MR_ViewportId *_1)
MRC_API MR_std_string * MR_ObjectGcode_classNameInPlural(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setVisibilityMask(MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectGcode_getShininess(const MR_ObjectGcode *_this)
MRC_API MR_ColoringType MR_ObjectGcode_getColoringType(const MR_ObjectGcode *_this)
MRC_API const MR_Color * MR_ObjectGcode_getIdleColor(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setFrontColorsForAllViewports(MR_ObjectGcode *_this, MR_PassBy val_pass_by, MR_ViewportProperty_MR_Color *val, const bool *selected)
MRC_API bool MR_ObjectGcode_globalClippedByPlane(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectGcode_getSpecularStrength(const MR_ObjectGcode *_this)
MRC_API const MR_UndirectedEdgeColors * MR_ObjectGcode_getLinesColorMap(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_isGlobalAncillary(const MR_ObjectGcode *_this)
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_shallowCloneTree(const MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_getVisualizeProperty(const MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API void MR_ObjectGcode_resetXf(MR_ObjectGcode *_this, const MR_ViewportId *id)
MRC_API void MR_ObjectGcode_setDashPattern(MR_ObjectGcode *_this, const MR_Vector4_unsigned_char *pattern, const MR_ViewportId *vpId)
MRC_API MR_std_vector_std_string * MR_ObjectGcode_getInfoLines(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_resetDirtyExceptMask(const MR_ObjectGcode *_this, unsigned int mask)
MRC_API bool MR_ObjectGcode_render(const MR_ObjectGcode *_this, const MR_ModelRenderParams *_1)
MRC_API MR_ObjectGcode * MR_ObjectGcode_MutableDynamicDowncastFrom_MR_ObjectLinesHolder(MR_ObjectLinesHolder *object)
MRC_API const MR_CNCMachineSettings * MR_ObjectGcode_getCNCMachineSettings(const MR_ObjectGcode *_this)
MRC_API MR_ViewportMask * MR_ObjectGcode_visibilityMask(const MR_ObjectGcode *_this)
struct MR_ObjectGcode MR_ObjectGcode
Definition MRObjectGcode.h:58
struct MR_ObjectLinesHolder MR_ObjectLinesHolder
Definition MRObjectGcode.h:25
MRC_API void MR_ObjectGcode_setAllVisualizeProperties(MR_ObjectGcode *_this, const MR_std_vector_MR_ViewportMask *properties)
MRC_API void MR_ObjectGcode_toggleVisualizeProperty(MR_ObjectGcode *_this, const MR_AnyVisualizeMaskEnum *type, const MR_ViewportMask *viewportMask)
MRC_API float MR_ObjectGcode_avgEdgeLen(const MR_ObjectGcode *_this)
MRC_API void MR_ObjectGcode_setBackColor(MR_ObjectGcode *_this, const MR_Color *color, const MR_ViewportId *viewportId)
MRC_API bool MR_ObjectGcode_detachFromParent(MR_ObjectGcode *_this)
MRC_API bool MR_ObjectGcode_addChild(MR_ObjectGcode *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild)
struct MR_std_shared_ptr_std_vector_std_string MR_std_shared_ptr_std_vector_std_string
Definition MRObjectGcode.h:40
#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