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
69
72
76
79
83
86
90
93
97
100
104
107
110
115
118
122
125
130
133
138
143
148
153
158
163
168
169// get action list (produced from g-code source)
174
175// get mapping of tool path polyline segment id to source line number of g-code source
180
184MRC_API void MR_ObjectGcode_setDirtyFlags(MR_ObjectGcode *_this, unsigned int mask, const bool *invalidateCaches);
185
190
191// set drawing feedrate as gradient of brightness
194MRC_API void MR_ObjectGcode_switchFeedrateGradient(MR_ObjectGcode *_this, bool isFeedrateGradientEnabled);
195
199
204
209
212MRC_API bool MR_ObjectGcode_select(MR_ObjectGcode *_this, bool isSelected);
213
218MRC_API void MR_ObjectGcode_setFrontColor(MR_ObjectGcode *_this, const MR_Color *color, bool selected, const MR_ViewportId *viewportId);
219
224
227MRC_API void MR_ObjectGcode_applyScale(MR_ObjectGcode *_this, float scaleFactor);
228
232
236
241
252
259
263
267
271
275
281
285MRC_API void MR_ObjectGcode_setVertsColorMap(MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap);
286
292
297
301
306
311
317
324
331
338
343
348
353
358
363
370
377
384
391
397
403
409
416
423
430MRC_API const MR_Color *MR_ObjectGcode_getFrontColor(const MR_ObjectGcode *_this, const bool *selected, const MR_ViewportId *viewportId);
431
438
444
450
455
462
468MRC_API void MR_ObjectGcode_setBackColor(MR_ObjectGcode *_this, const MR_Color *color, const MR_ViewportId *viewportId);
469
475MRC_API const unsigned char *MR_ObjectGcode_getGlobalAlpha(const MR_ObjectGcode *_this, const MR_ViewportId *viewportId);
476
481MRC_API void MR_ObjectGcode_setGlobalAlpha(MR_ObjectGcode *_this, unsigned char alpha, const MR_ViewportId *viewportId);
482
488
493
498
503
507MRC_API void MR_ObjectGcode_resetDirtyExceptMask(const MR_ObjectGcode *_this, unsigned int mask);
508
513
519
525MRC_API bool MR_ObjectGcode_isPickable(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
526
532MRC_API void MR_ObjectGcode_setPickable(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
533
538
543
548
553
558
562MRC_API void MR_ObjectGcode_setSpecularStrength(MR_ObjectGcode *_this, float specularStrength);
563
568
572MRC_API void MR_ObjectGcode_setAmbientStrength(MR_ObjectGcode *_this, float ambientStrength);
573
580
586
592
598
603MRC_API void MR_ObjectGcode_setUseDefaultScenePropertiesOnDeserialization(MR_ObjectGcode *_this, bool useDefaultScenePropertiesOnDeserialization);
604
609
614
619MRC_API void MR_ObjectGcode_setName(MR_ObjectGcode *_this, const char *name, const char *name_end);
620
628MRC_API const MR_AffineXf3f *MR_ObjectGcode_xf(const MR_ObjectGcode *_this, const MR_ViewportId *id, bool *isDef);
629
635
641
647
652
660
666
672
679
686
691
695
701
705
709MRC_API bool MR_ObjectGcode_isAncestor(const MR_ObjectGcode *_this, const MR_Object *ancestor);
710
716
724MRC_API bool MR_ObjectGcode_addChild(MR_ObjectGcode *_this, MR_PassBy child_pass_by, MR_std_shared_ptr_MR_Object *child, const bool *recognizedChild);
725
733
738
743
747
753
757
762
768MRC_API void MR_ObjectGcode_setVisible(MR_ObjectGcode *_this, bool on, const MR_ViewportMask *viewportMask);
769
775MRC_API bool MR_ObjectGcode_isVisible(const MR_ObjectGcode *_this, const MR_ViewportMask *viewportMask);
776
782
788
792
798
805
813
820
827
835MRC_API bool MR_ObjectGcode_addTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
836
843MRC_API bool MR_ObjectGcode_removeTag(MR_ObjectGcode *_this, const char *tag, const char *tag_end);
844
845// return true if model of current object equals to model (the same) of other
850
851// return hash of model (or hash object pointer if object has no model)
855
856// returns this Object as shared_ptr
857// finds it among its parent's recognized children
862
863#ifdef __cplusplus
864} // extern "C"
865#endif
struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams
Definition MRAddVisualPropertiesMixin.h:26
struct MR_ViewportProperty_unsigned_char MR_ViewportProperty_unsigned_char
Definition MRAddVisualPropertiesMixin.h:35
struct MR_VisualObject MR_VisualObject
Definition MRAddVisualPropertiesMixin.h:36
struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum
Definition MRAddVisualPropertiesMixin.h:19
struct MR_ViewportMask MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:32
struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object
Definition MRAddVisualPropertiesMixin.h:39
struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask
Definition MRAddVisualPropertiesMixin.h:42
struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color
Definition MRAddVisualPropertiesMixin.h:34
struct MR_ModelRenderParams MR_ModelRenderParams
Definition MRAddVisualPropertiesMixin.h:27
struct MR_std_set_std_string MR_std_set_std_string
Definition MRAddVisualPropertiesMixin.h:38
struct MR_UiRenderParams MR_UiRenderParams
Definition MRAddVisualPropertiesMixin.h:31
struct MR_ViewportProperty_MR_AffineXf3f MR_ViewportProperty_MR_AffineXf3f
Definition MRAddVisualPropertiesMixin.h:33
struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder
Definition MRAddVisualPropertiesMixin.h:29
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:40
struct MR_CNCMachineSettings MR_CNCMachineSettings
Definition MRCNCMachineSettings.h:30
struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors
Definition MRChangeColoringActions.h:15
struct MR_VertColors MR_VertColors
Definition MRCtm.h:22
struct MR_std_string MR_std_string
Definition MRCtm.h:32
MR_ColoringType
Definition MREnums.h:86
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
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)
Upcasts an instance of MR::ObjectGcode to its base class MR::Object.
MRC_API void MR_ObjectGcode_setVertsColorMap(MR_ObjectGcode *_this, MR_PassBy vertsColorMap_pass_by, MR_VertColors *vertsColorMap)
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 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 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 bool MR_ObjectGcode_select(MR_ObjectGcode *_this, bool isSelected)
MRC_API float MR_ObjectGcode_totalLength(const MR_ObjectGcode *_this)
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_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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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 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 MR_VisualObject * MR_ObjectGcode_MutableUpcastTo_MR_VisualObject(MR_ObjectGcode *object)
Upcasts an instance of MR::ObjectGcode to its base class MR::VisualObject.
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_ObjectLinesHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectLinesHolder(MR_ObjectGcode *object)
Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectLinesHolder.
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectGcode_clone(const MR_ObjectGcode *_this)
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 MR_ObjectChildrenHolder * MR_ObjectGcode_MutableUpcastTo_MR_ObjectChildrenHolder(MR_ObjectGcode *object)
Upcasts an instance of MR::ObjectGcode to its base class MR::ObjectChildrenHolder.
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 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 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 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 const MR_CNCMachineSettings * MR_ObjectGcode_getCNCMachineSettings(const MR_ObjectGcode *_this)
MRC_API MR_ViewportMask * MR_ObjectGcode_visibilityMask(const MR_ObjectGcode *_this)
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
struct MR_ObjectGcode MR_ObjectGcode
Definition MRObject.h:28
struct MR_ObjectLinesHolder MR_ObjectLinesHolder
Definition MRObject.h:31
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
MR_PassBy
Definition common.h:23
uint64_t MR_uint64_t
Definition common.h:18
#define MRC_API
Definition exports.h:11
virtual std::string name() const override
size_t size() const
Definition MRAffineXf.h:39
Definition MRBox.h:110
Generated from class MR::Color.
Definition MRColor.h:18
Definition MRViewportId.h:17