#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRBox.h>#include <MRCMesh/MREnums.h>#include <MRCMesh/MRViewportId.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Enumerations | |
| enum | MR_LinesVisualizePropertyType { MR_LinesVisualizePropertyType_Points = 0 , MR_LinesVisualizePropertyType_Smooth = 1 , MR_LinesVisualizePropertyType_Dashed = 2 , MR_LinesVisualizePropertyType__count = 3 } |
| typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum |
| typedef struct MR_Color MR_Color |
| typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams |
| typedef struct MR_ModelRenderParams MR_ModelRenderParams |
| typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_ObjectGcode MR_ObjectGcode |
| typedef struct MR_ObjectLines MR_ObjectLines |
| typedef struct MR_ObjectLinesHolder MR_ObjectLinesHolder |
an object that stores a lines Generated from class MR::ObjectLinesHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectGcode MR::ObjectLines Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_std_set_std_string MR_std_set_std_string |
| typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask |
| typedef struct MR_std_vector_std_string MR_std_vector_std_string |
| typedef struct MR_UiRenderParams MR_UiRenderParams |
| typedef struct MR_UndirectedEdgeColors MR_UndirectedEdgeColors |
| typedef struct MR_Vector4_unsigned_char MR_Vector4_unsigned_char |
| typedef struct MR_VertColors MR_VertColors |
| typedef struct MR_VertMap MR_VertMap |
| typedef struct MR_ViewportMask MR_ViewportMask |
| typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color |
| typedef struct MR_VisualObject MR_VisualObject |
| MRC_API bool MR_ObjectLinesHolder_addChild | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | child_pass_by, | ||
| MR_std_shared_ptr_MR_Object * | child, | ||
| const bool * | recognizedChild ) |
adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;
| recognizedChild | if set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR::ObjectLinesHolder::addChild. Parameter _this can not be null. It is a single object. Parameter recognizedChild has a default argument: true, pass a null pointer to use it. |
| MRC_API bool MR_ObjectLinesHolder_addChildBefore | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | newChild_pass_by, | ||
| MR_std_shared_ptr_MR_Object * | newChild, | ||
| const MR_std_shared_ptr_MR_Object * | existingChild ) |
adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR::ObjectLinesHolder::addChildBefore. Parameter _this can not be null. It is a single object. Parameter existingChild can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_addTag | ( | MR_ObjectLinesHolder * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
adds tag to the object's tag storage additionally calls ObjectTagManager::tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR::ObjectLinesHolder::addTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.
| MRC_API void MR_ObjectLinesHolder_applyScale | ( | MR_ObjectLinesHolder * | _this, |
| float | scaleFactor ) |
Generated from method MR::ObjectLinesHolder::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectLinesHolder * MR_ObjectLinesHolder_AssignFromAnother | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectLinesHolder * | _other ) |
Generated from method MR::ObjectLinesHolder::operator=. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float MR_ObjectLinesHolder_avgEdgeLen | ( | const MR_ObjectLinesHolder * | _this | ) |
returns cached average edge length Generated from method MR::ObjectLinesHolder::avgEdgeLen. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_string * MR_ObjectLinesHolder_className | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::className. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_std_string * MR_ObjectLinesHolder_classNameInPlural | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::classNameInPlural. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLinesHolder_clone | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::clone. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLinesHolder_cloneTree | ( | const MR_ObjectLinesHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectLinesHolder::cloneTree. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectLinesHolder * MR_ObjectLinesHolder_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectLinesHolder * | _other ) |
Generated from constructor MR::ObjectLinesHolder::ObjectLinesHolder. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectLinesHolder_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectLinesHolder_copyAllSolidColors | ( | MR_ObjectLinesHolder * | _this, |
| const MR_VisualObject * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectLinesHolder::copyAllSolidColors. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_copyColors | ( | MR_ObjectLinesHolder * | _this, |
| const MR_ObjectLinesHolder * | src, | ||
| const MR_VertMap * | thisToSrc ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectLinesHolder::copyColors. Parameter _this can not be null. It is a single object. Parameter src can not be null. It is a single object. Parameter thisToSrc can not be null. It is a single object. |
| MRC_API MR_ObjectLinesHolder * MR_ObjectLinesHolder_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectLinesHolder_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectLinesHolder * MR_ObjectLinesHolder_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ObjectLinesHolder_DestroyArray(). Use MR_ObjectLinesHolder_OffsetMutablePtr() and MR_ObjectLinesHolder_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectLinesHolder_Destroy | ( | const MR_ObjectLinesHolder * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectLinesHolder. Does nothing if the pointer is null.
| MRC_API void MR_ObjectLinesHolder_DestroyArray | ( | const MR_ObjectLinesHolder * | _this | ) |
Destroys a heap-allocated array of MR_ObjectLinesHolder. Does nothing if the pointer is null.
| MRC_API bool MR_ObjectLinesHolder_detachFromParent | ( | MR_ObjectLinesHolder * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectLinesHolder::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_ObjectGcode * MR_ObjectLinesHolder_DynamicDowncastTo_MR_ObjectGcode | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.
| MRC_API const MR_ObjectLines * MR_ObjectLinesHolder_DynamicDowncastTo_MR_ObjectLines | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. This version is acting on mutable pointers.
| MRC_API const MR_ObjectGcode * MR_ObjectLinesHolder_DynamicDowncastToOrFail_MR_ObjectGcode | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ObjectLines * MR_ObjectLinesHolder_DynamicDowncastToOrFail_MR_ObjectLines | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. This version is acting on mutable pointers. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectLinesHolder_getAllVisualizeProperties | ( | const MR_ObjectLinesHolder * | _this | ) |
get all visualize properties masks Generated from method MR::ObjectLinesHolder::getAllVisualizeProperties. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_ViewportMask_Destroy() to free it when you're done using it.
| MRC_API float MR_ObjectLinesHolder_getAmbientStrength | ( | const MR_ObjectLinesHolder * | _this | ) |
returns intensity of non-directional light Generated from method MR::ObjectLinesHolder::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectLinesHolder_getBackColor | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::ObjectLinesHolder::getBackColor. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLinesHolder_getBackColorsForAllViewports | ( | const MR_ObjectLinesHolder * | _this | ) |
returns backward color of object in all viewports Generated from method MR::ObjectLinesHolder::getBackColorsForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Box3f MR_ObjectLinesHolder_getBoundingBox | ( | const MR_ObjectLinesHolder * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectLinesHolder::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_ObjectLinesHolder_getColoringType | ( | const MR_ObjectLinesHolder * | _this | ) |
returns the current coloring mode of the object Generated from method MR::ObjectLinesHolder::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Vector4_unsigned_char * MR_ObjectLinesHolder_getDashPattern | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | vpId, | ||
| bool * | isDef ) |
Generated from method MR::ObjectLinesHolder::getDashPattern. Parameter _this can not be null. It is a single object. Parameter vpId has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API unsigned int MR_ObjectLinesHolder_getDirtyFlags | ( | const MR_ObjectLinesHolder * | _this | ) |
returns current dirty flags for the object Generated from method MR::ObjectLinesHolder::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectLinesHolder_getFrontColor | ( | const MR_ObjectLinesHolder * | _this, |
| const bool * | selected, | ||
| const MR_ViewportId * | viewportId ) |
returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectLinesHolder::getFrontColor. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectLinesHolder_getFrontColorsForAllViewports | ( | const MR_ObjectLinesHolder * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectLinesHolder::getFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const unsigned char * MR_ObjectLinesHolder_getGlobalAlpha | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectLinesHolder::getGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ViewportProperty_unsigned_char * MR_ObjectLinesHolder_getGlobalAlphaForAllViewports | ( | const MR_ObjectLinesHolder * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectLinesHolder::getGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_vector_std_string * MR_ObjectLinesHolder_getInfoLines | ( | const MR_ObjectLinesHolder * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::ObjectLinesHolder::getInfoLines. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_std_string_Destroy() to free it when you're done using it.
| MRC_API const MR_UndirectedEdgeColors * MR_ObjectLinesHolder_getLinesColorMap | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::getLinesColorMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float MR_ObjectLinesHolder_getLineWidth | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::getLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectLinesHolder_getModelHash | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectLinesHolder_getPointSize | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_getRedrawFlag | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
returns true if the object must be redrawn (due to dirty flags) in one of specified viewports Generated from method MR::ObjectLinesHolder::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLinesHolder_getSharedPtr | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::getSharedPtr. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API float MR_ObjectLinesHolder_getShininess | ( | const MR_ObjectLinesHolder * | _this | ) |
returns the current shininess visual value Generated from method MR::ObjectLinesHolder::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectLinesHolder_getSpecularStrength | ( | const MR_ObjectLinesHolder * | _this | ) |
returns intensity of reflections Generated from method MR::ObjectLinesHolder::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_VertColors * MR_ObjectLinesHolder_getVertsColorMap | ( | const MR_ObjectLinesHolder * | _this | ) |
returns per-vertex colors of the object Generated from method MR::ObjectLinesHolder::getVertsColorMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_ObjectLinesHolder_getVisualizeProperty | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
returns true if the property is set at least in one viewport specified by the mask Generated from method MR::ObjectLinesHolder::getVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API const MR_ViewportMask * MR_ObjectLinesHolder_getVisualizePropertyMask | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
returns mask of viewports where given property is set Generated from method MR::ObjectLinesHolder::getVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Box3f MR_ObjectLinesHolder_getWorldBox | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | _1 ) |
returns cached bounding box of this point object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectLinesHolder::getWorldBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.
| MRC_API MR_Box3f MR_ObjectLinesHolder_getWorldTreeBox | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | _1 ) |
empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::ObjectLinesHolder::getWorldTreeBox. Parameter _this can not be null. It is a single object. Parameter _1 has a default argument: {}, pass a null pointer to use it.
| MRC_API bool MR_ObjectLinesHolder_globalClippedByPlane | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR::ObjectLinesHolder::globalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.
| MRC_API MR_ViewportMask * MR_ObjectLinesHolder_globalClippedByPlaneMask | ( | const MR_ObjectLinesHolder * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectLinesHolder::globalClippedByPlaneMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.
| MRC_API bool MR_ObjectLinesHolder_globalVisibility | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::ObjectLinesHolder::globalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.
| MRC_API MR_ViewportMask * MR_ObjectLinesHolder_globalVisibilityMask | ( | const MR_ObjectLinesHolder * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectLinesHolder::globalVisibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.
| MRC_API bool MR_ObjectLinesHolder_hasModel | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_hasVisualRepresentation | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectLinesHolder_heapBytes | ( | const MR_ObjectLinesHolder * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectLinesHolder::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isAncestor | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectLinesHolder::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isAncillary | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isGlobalAncillary | ( | const MR_ObjectLinesHolder * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectLinesHolder::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isLocked | ( | const MR_ObjectLinesHolder * | _this | ) |
object properties lock for UI Generated from method MR::ObjectLinesHolder::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isParentLocked | ( | const MR_ObjectLinesHolder * | _this | ) |
If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false. Generated from method MR::ObjectLinesHolder::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isPickable | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectLinesHolder::isPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.
| MRC_API bool MR_ObjectLinesHolder_isSelected | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_isVisible | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR::ObjectLinesHolder::isVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.
| MRC_API MR_ObjectGcode * MR_ObjectLinesHolder_MutableDynamicDowncastTo_MR_ObjectGcode | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.
| MRC_API MR_ObjectLines * MR_ObjectLinesHolder_MutableDynamicDowncastTo_MR_ObjectLines | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong.
| MRC_API MR_ObjectGcode * MR_ObjectLinesHolder_MutableDynamicDowncastToOrFail_MR_ObjectGcode | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectLines * MR_ObjectLinesHolder_MutableDynamicDowncastToOrFail_MR_ObjectLines | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a dynamic downcast, it checks the type before casting. This version will throw if the target type is wrong. Parameter object can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectGcode * MR_ObjectLinesHolder_MutableStaticDowncastTo_MR_ObjectGcode | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_ObjectLines * MR_ObjectLinesHolder_MutableStaticDowncastTo_MR_ObjectLines | ( | MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise.
| MRC_API MR_Object * MR_ObjectLinesHolder_MutableUpcastTo_MR_Object | ( | MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_ObjectLinesHolder_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::ObjectChildrenHolder.
| MRC_API MR_VisualObject * MR_ObjectLinesHolder_MutableUpcastTo_MR_VisualObject | ( | MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::VisualObject.
| MRC_API const MR_std_string * MR_ObjectLinesHolder_name | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::name. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t MR_ObjectLinesHolder_numComponents | ( | const MR_ObjectLinesHolder * | _this | ) |
returns cached information about the number of components in the polyline Generated from method MR::ObjectLinesHolder::numComponents. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectLinesHolder_numUndirectedEdges | ( | const MR_ObjectLinesHolder * | _this | ) |
returns cached information about the number of undirected edges in the polyline Generated from method MR::ObjectLinesHolder::numUndirectedEdges. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectLinesHolder * MR_ObjectLinesHolder_OffsetMutablePtr | ( | MR_ObjectLinesHolder * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_ObjectLinesHolder * MR_ObjectLinesHolder_OffsetPtr | ( | const MR_ObjectLinesHolder * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_std_shared_ptr_const_MR_Polyline3 * MR_ObjectLinesHolder_polyline | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::polyline. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API void MR_ObjectLinesHolder_removeAllChildren | ( | MR_ObjectLinesHolder * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectLinesHolder::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_removeTag | ( | MR_ObjectLinesHolder * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectLinesHolder::removeTag. Parameter _this can not be null. It is a single object. Parameter tag can not be null. If tag_end is null, then tag is assumed to be null-terminated.
| MRC_API bool MR_ObjectLinesHolder_render | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectLinesHolder::render. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_renderForPicker | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::ObjectLinesHolder::renderForPicker. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_renderUi | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::ObjectLinesHolder::renderUi. Parameter _this can not be null. It is a single object. Parameter params can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetColors | ( | MR_ObjectLinesHolder * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectLinesHolder::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetDirty | ( | const MR_ObjectLinesHolder * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectLinesHolder::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetDirtyExceptMask | ( | const MR_ObjectLinesHolder * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectLinesHolder::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetFrontColor | ( | MR_ObjectLinesHolder * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectLinesHolder::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetRedrawFlag | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_resetXf | ( | MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectLinesHolder::resetXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.
| MRC_API bool MR_ObjectLinesHolder_sameModels | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_Object * | other ) |
Generated from method MR::ObjectLinesHolder::sameModels. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_select | ( | MR_ObjectLinesHolder * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectLinesHolder::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setAllVisualizeProperties | ( | MR_ObjectLinesHolder * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::ObjectLinesHolder::setAllVisualizeProperties. Parameter _this can not be null. It is a single object. Parameter properties can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setAmbientStrength | ( | MR_ObjectLinesHolder * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::ObjectLinesHolder::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setAncillary | ( | MR_ObjectLinesHolder * | _this, |
| bool | ancillary ) |
ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR::ObjectLinesHolder::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setBackColor | ( | MR_ObjectLinesHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectLinesHolder::setBackColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setBackColorsForAllViewports | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::ObjectLinesHolder::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setColoringType | ( | MR_ObjectLinesHolder * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectLinesHolder::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setDashPattern | ( | MR_ObjectLinesHolder * | _this, |
| const MR_Vector4_unsigned_char * | pattern, | ||
| const MR_ViewportId * | vpId ) |
specify dash pattern in pixels [0] - dash [1] - space [2] - dash [3] - space Generated from method MR::ObjectLinesHolder::setDashPattern. Parameter _this can not be null. It is a single object. Parameter pattern can not be null. It is a single object. Parameter vpId has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setDirtyFlags | ( | MR_ObjectLinesHolder * | _this, |
| unsigned int | mask, | ||
| const bool * | invalidateCaches ) |
Generated from method MR::ObjectLinesHolder::setDirtyFlags. Parameter _this can not be null. It is a single object. Parameter invalidateCaches has a default argument: true, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setFrontColor | ( | MR_ObjectLinesHolder * | _this, |
| const MR_Color * | color, | ||
| bool | selected, | ||
| const MR_ViewportId * | viewportId ) |
sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectLinesHolder::setFrontColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setFrontColorsForAllViewports | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val, | ||
| const bool * | selected ) |
sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectLinesHolder::setFrontColorsForAllViewports. Parameter _this can not be null. It is a single object. Parameter selected has a default argument: true, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setGlobalAlpha | ( | MR_ObjectLinesHolder * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectLinesHolder::setGlobalAlpha. Parameter _this can not be null. It is a single object. Parameter viewportId has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setGlobalAlphaForAllViewports | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectLinesHolder::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setGlobalClippedByPlane | ( | MR_ObjectLinesHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR::ObjectLinesHolder::setGlobalClippedByPlane. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setGlobalVisibility | ( | MR_ObjectLinesHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectLinesHolder::setGlobalVisibility. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::any(), pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setLinesColorMap | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | linesColorMap_pass_by, | ||
| MR_UndirectedEdgeColors * | linesColorMap ) |
Generated from method MR::ObjectLinesHolder::setLinesColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setLineWidth | ( | MR_ObjectLinesHolder * | _this, |
| float | width ) |
Generated from method MR::ObjectLinesHolder::setLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setLocked | ( | MR_ObjectLinesHolder * | _this, |
| bool | on ) |
Generated from method MR::ObjectLinesHolder::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setName | ( | MR_ObjectLinesHolder * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::ObjectLinesHolder::setName. Parameter _this can not be null. It is a single object. Parameter name can not be null. If name_end is null, then name is assumed to be null-terminated.
| MRC_API void MR_ObjectLinesHolder_setParentLocked | ( | MR_ObjectLinesHolder * | _this, |
| bool | lock ) |
Generated from method MR::ObjectLinesHolder::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setPickable | ( | MR_ObjectLinesHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::ObjectLinesHolder::setPickable. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setPointSize | ( | MR_ObjectLinesHolder * | _this, |
| float | size ) |
Generated from method MR::ObjectLinesHolder::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setShininess | ( | MR_ObjectLinesHolder * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectLinesHolder::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setSpecularStrength | ( | MR_ObjectLinesHolder * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::ObjectLinesHolder::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setUseDefaultScenePropertiesOnDeserialization | ( | MR_ObjectLinesHolder * | _this, |
| bool | useDefaultScenePropertiesOnDeserialization ) |
set whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::ObjectLinesHolder::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setVertsColorMap | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | vertsColorMap_pass_by, | ||
| MR_VertColors * | vertsColorMap ) |
sets per-vertex colors of the object Generated from method MR::ObjectLinesHolder::setVertsColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setVisibilityMask | ( | MR_ObjectLinesHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectLinesHolder::setVisibilityMask. Parameter _this can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setVisible | ( | MR_ObjectLinesHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::ObjectLinesHolder::setVisible. Parameter _this can not be null. It is a single object. Parameter viewportMask is a single object. Parameter viewportMask has a default argument: ViewportMask::all(), pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setVisualizeProperty | ( | MR_ObjectLinesHolder * | _this, |
| bool | value, | ||
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property in all viewports specified by the mask Generated from method MR::ObjectLinesHolder::setVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setVisualizePropertyMask | ( | MR_ObjectLinesHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::ObjectLinesHolder::setVisualizePropertyMask. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_setWorldXf | ( | MR_ObjectLinesHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectLinesHolder::setWorldXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setXf | ( | MR_ObjectLinesHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectLinesHolder::setXf. Parameter _this can not be null. It is a single object. Parameter xf can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectLinesHolder_setXfsForAllViewports | ( | MR_ObjectLinesHolder * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::ObjectLinesHolder::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLinesHolder_shallowClone | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::shallowClone. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLinesHolder_shallowCloneTree | ( | const MR_ObjectLinesHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectLinesHolder::shallowCloneTree. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectLinesHolder_sortChildren | ( | MR_ObjectLinesHolder * | _this | ) |
sort recognized children by name Generated from method MR::ObjectLinesHolder::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectLinesHolder_StaticClassName | ( | void | ) |
Generated from method MR::ObjectLinesHolder::StaticClassName.
| MRC_API const char * MR_ObjectLinesHolder_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::ObjectLinesHolder::StaticClassNameInPlural.
| MRC_API const MR_ObjectGcode * MR_ObjectLinesHolder_StaticDowncastTo_MR_ObjectGcode | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectGcode. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const MR_ObjectLines * MR_ObjectLinesHolder_StaticDowncastTo_MR_ObjectLines | ( | const MR_ObjectLinesHolder * | object | ) |
Downcasts an instance of MR::ObjectLinesHolder to a derived class MR::ObjectLines. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. This version is acting on mutable pointers.
| MRC_API const char * MR_ObjectLinesHolder_StaticTypeName | ( | void | ) |
Generated from method MR::ObjectLinesHolder::StaticTypeName.
| MRC_API bool MR_ObjectLinesHolder_supportsVisualizeProperty | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::ObjectLinesHolder::supportsVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_swap | ( | MR_ObjectLinesHolder * | _this, |
| MR_Object * | other ) |
swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR::ObjectLinesHolder::swap. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API const MR_std_set_std_string * MR_ObjectLinesHolder_tags | ( | const MR_ObjectLinesHolder * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectLinesHolder::tags. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API void MR_ObjectLinesHolder_toggleVisualizeProperty | ( | MR_ObjectLinesHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectLinesHolder::toggleVisualizeProperty. Parameter _this can not be null. It is a single object. Parameter type can not be null. It is a single object. Parameter viewportMask can not be null. It is a single object.
| MRC_API float MR_ObjectLinesHolder_totalLength | ( | const MR_ObjectLinesHolder * | _this | ) |
return cached total length Generated from method MR::ObjectLinesHolder::totalLength. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectLinesHolder_typeName | ( | const MR_ObjectLinesHolder * | _this | ) |
Generated from method MR::ObjectLinesHolder::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_ObjectLinesHolder_UpcastTo_MR_Object | ( | const MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_ObjectLinesHolder_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API const MR_VisualObject * MR_ObjectLinesHolder_UpcastTo_MR_VisualObject | ( | const MR_ObjectLinesHolder * | object | ) |
Upcasts an instance of MR::ObjectLinesHolder to its base class MR::VisualObject. This version is acting on mutable pointers.
| MRC_API void MR_ObjectLinesHolder_updateLinesColorMap | ( | MR_ObjectLinesHolder * | _this, |
| MR_UndirectedEdgeColors * | updated ) |
Generated from method MR::ObjectLinesHolder::updateLinesColorMap. Parameter _this can not be null. It is a single object. Parameter updated can not be null. It is a single object.
| MRC_API void MR_ObjectLinesHolder_updateVertsColorMap | ( | MR_ObjectLinesHolder * | _this, |
| MR_VertColors * | vertsColorMap ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectLinesHolder::updateVertsColorMap. Parameter _this can not be null. It is a single object. Parameter vertsColorMap can not be null. It is a single object.
| MRC_API bool MR_ObjectLinesHolder_useDefaultScenePropertiesOnDeserialization | ( | const MR_ObjectLinesHolder * | _this | ) |
whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR::ObjectLinesHolder::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_ObjectLinesHolder_visibilityMask | ( | const MR_ObjectLinesHolder * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectLinesHolder::visibilityMask. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ViewportMask_Destroy() to free it when you're done using it.
| MRC_API MR_AffineXf3f MR_ObjectLinesHolder_worldXf | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
this space to world space transformation for default or specific viewport
| isDef | receives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectLinesHolder::worldXf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. |
| MRC_API const MR_AffineXf3f * MR_ObjectLinesHolder_xf | ( | const MR_ObjectLinesHolder * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
this space to parent space transformation (to world space if no parent) for default or given viewport
| isDef | receives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectLinesHolder::xf. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Parameter isDef defaults to a null pointer in C++. The returned pointer will never be null. It is non-owning, do NOT destroy it. |
| MRC_API const MR_ViewportProperty_MR_AffineXf3f * MR_ObjectLinesHolder_xfsForAllViewports | ( | const MR_ObjectLinesHolder * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectLinesHolder::xfsForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.