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_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_UiRenderParams MR_UiRenderParams; // Defined in `#include <MRCMesh/MRIRenderObject.h>`.
26typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors; // Defined in `#include <MRCMesh/MRVector.h>`.
27typedef struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char; // Defined in `#include <MRCMesh/MRVector4.h>`.
28typedef struct MR_VertColors MR_VertColors; // Defined in `#include <MRCMesh/MRVector.h>`.
29typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
30typedef struct MR_ViewportMask MR_ViewportMask; // Defined in `#include <MRCMesh/MRViewportId.h>`.
31typedef struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
32typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
33typedef struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char; // Defined in `#include <MRCMesh/MRViewportProperty.h>`.
34typedef struct MR_VisualObject MR_VisualObject; // Defined in `#include <MRCMesh/MRVisualObject.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_shared_ptr_const_MR_Polyline3 MR_std_shared_ptr_const_MR_Polyline3; // Defined in `#include <MRCMisc/std_shared_ptr_const_MR_Polyline3.h>`.
38typedef 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>`.
39typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
40typedef struct MR_std_vector_MR_GcodeProcessor_MoveAction MR_std_vector_MR_GcodeProcessor_MoveAction; // Defined in `#include <MRCMisc/std_vector_MR_GcodeProcessor_MoveAction.h>`.
41typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask; // Defined in `#include <MRCMisc/std_vector_MR_ViewportMask.h>`.
42typedef struct MR_std_vector_int MR_std_vector_int; // Defined in `#include <MRCMisc/std_vector_int.h>`.
43typedef struct MR_std_vector_std_string MR_std_vector_std_string; // Defined in `#include <MRCMisc/std_vector_std_string.h>`.
44
45
57
61
66
70
74
79
83
89
94
99
103
109
114
120
125
133
140
145
149
155
160
166
171
179
186
191
195
201
206
212
217
225
232
237
240
243
251
254
258
261
266
269
274
279
284
289
294
299
304
305// get action list (produced from g-code source)
310
311// get mapping of tool path polyline segment id to source line number of g-code source
316
320MRC_API void MR_ObjectGcode_setDirtyFlags(MR_ObjectGcode *_this, unsigned int mask, const bool *invalidateCaches);
321
326
327// set drawing feedrate as gradient of brightness
330MRC_API void MR_ObjectGcode_switchFeedrateGradient(MR_ObjectGcode *_this, bool isFeedrateGradientEnabled);
331
335
340
345
348MRC_API bool MR_ObjectGcode_select(MR_ObjectGcode *_this, bool isSelected);
349
354MRC_API void MR_ObjectGcode_setFrontColor(MR_ObjectGcode *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
355
360
363MRC_API void MR_ObjectGcode_applyScale(MR_ObjectGcode *_this, float scaleFactor);
364
368
372
377
388
395
399
403
407
411
417
421MRC_API void MR_ObjectGcode_setVertsColorMap(MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);
422
428
433
437
442
447
453
460
467
474
479
484
489
494
499
506
513
520
527
533
539
545
552
559
566MRC_API const MR_Color *MR_ObjectGcode_getFrontColor(const MR_ObjectGcode *_this, const bool *selected, const MR_ViewportId *viewportId);
567
574
580
586
591
598
604MRC_API void MR_ObjectGcode_setBackColor(MR_ObjectGcode *_this, const MR_Color *color, const MR_ViewportId *viewportId);
605
611MRC_API const unsigned char *MR_ObjectGcode_getGlobalAlpha(const MR_ObjectGcode *_this, const MR_ViewportId *viewportId);
612
617MRC_API void MR_ObjectGcode_setGlobalAlpha(MR_ObjectGcode *_this, unsigned char alpha, const MR_ViewportId *viewportId);
618
624
629
634
639
643MRC_API void MR_ObjectGcode_resetDirtyExceptMask(const MR_ObjectGcode *_this, unsigned int mask);
644
649
655
661MRC_API bool MR_ObjectGcode_isPickable(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
662
668MRC_API void MR_ObjectGcode_setPickable(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
669
674
679
684
689
694
698MRC_API void MR_ObjectGcode_setSpecularStrength(MR_ObjectGcode *_this, float specularStrength);
699
704
708MRC_API void MR_ObjectGcode_setAmbientStrength(MR_ObjectGcode *_this, float ambientStrength);
709
716
722
728
734
739MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectGcode *_this, bool useDefaultScenePropertiesOnDeserialization);
740
745
750
755MRC_API void MR_ObjectGcode_setName(MR_ObjectGcode *_this, const char *name, const char *name_end);
756
764MRC_API const MR_AffineXf3f *MR_ObjectGcode_xf(const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef);
765
771
777
783
788
796
802
808
815
822
827
831
837
841
845MRC_API bool MR_ObjectGcode_isAncestor(const MR_ObjectGcode *_this, const MR_Object *ancestor);
846
852
860MRC_API bool MR_ObjectGcode_addChild(MR_ObjectGcode *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
861
869
874
879
883
889
893
898
904MRC_API void MR_ObjectGcode_setVisible(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
905
911MRC_API bool MR_ObjectGcode_isVisible(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
912
918
924
928
934
941
949
956
963
971MRC_API bool MR_ObjectGcode_addTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
972
979MRC_API bool MR_ObjectGcode_removeTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
980
981// return true if model of current object equals to model (the same) of other
986
987// return hash of model (or hash object pointer if object has no model)
991
992// returns this Object as shared_ptr
993// finds it among its parent's recognized children
998
999#ifdef __cplusplus
1000} // extern "C"
1001#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:23
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_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_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:18
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 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_uint64_t MR_ObjectGcode_getModelHash(const 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 MR_uint64_t MR_ObjectGcode_numUndirectedEdges(const MR_ObjectGcode *_this)
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 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 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 MR_uint64_t MR_ObjectGcode_heapBytes(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:37
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 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 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 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:56
struct MR_ObjectLinesHolder MR_ObjectLinesHolder
Definition MRObjectGcode.h:24
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 MR_uint64_t MR_ObjectGcode_numComponents(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:38
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 MRViewportId.h:17