#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.
Typedefs | |
| typedef enum MR_LabelVisualizePropertyType | MR_LabelVisualizePropertyType |
| MRC_API bool MR_ObjectLabel_addChild | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_addChildBefore | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_addTag | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_applyScale | ( | MR_ObjectLabel * | _this, |
| float | scaleFactor ) |
Generated from method MR::ObjectLabel::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_AssignFromAnother | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectLabel * | _other ) |
Generated from method MR::ObjectLabel::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved in the return value. When this function is called, this object will drop any object references it held previously.
| MRC_API void MR_ObjectLabel_buildMeshFromText | ( | const MR_ObjectLabel * | _this | ) |
Loads font, and converts the symbols of text into mesh; since this operation is time consuming, one can call this method in parallel for several ObjectLabels before rendering Generated from method MR::ObjectLabel::buildMeshFromText. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_string * MR_ObjectLabel_className | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_classNameInPlural | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_clone | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_cloneTree | ( | const MR_ObjectLabel * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectLabel::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_ObjectLabel * MR_ObjectLabel_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectLabel * | _other ) |
Generated from constructor MR::ObjectLabel::ObjectLabel. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectLabel_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectLabel_copyAllSolidColors | ( | MR_ObjectLabel * | _this, |
| const MR_VisualObject * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectLabel::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 MR_ObjectLabel * MR_ObjectLabel_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectLabel_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_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_ObjectLabel_DestroyArray(). Use MR_ObjectLabel_OffsetMutablePtr() and MR_ObjectLabel_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectLabel_Destroy | ( | const MR_ObjectLabel * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectLabel. Does nothing if the pointer is null.
| MRC_API void MR_ObjectLabel_DestroyArray | ( | const MR_ObjectLabel * | _this | ) |
Destroys a heap-allocated array of MR_ObjectLabel. Does nothing if the pointer is null.
| MRC_API bool MR_ObjectLabel_detachFromParent | ( | MR_ObjectLabel * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectLabel::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFrom_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFrom_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFromOrFail_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_DynamicDowncastFromOrFail_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectLabel_getAllVisualizeProperties | ( | const MR_ObjectLabel * | _this | ) |
get all visualize properties masks Generated from method MR::ObjectLabel::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_ObjectLabel_getAmbientStrength | ( | const MR_ObjectLabel * | _this | ) |
returns intensity of non-directional light Generated from method MR::ObjectLabel::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectLabel_getBackColor | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::ObjectLabel::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_ObjectLabel_getBackColorsForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
returns backward color of object in all viewports Generated from method MR::ObjectLabel::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 float MR_ObjectLabel_getBackgroundPadding | ( | const MR_ObjectLabel * | _this | ) |
returns background padding in pixels Generated from method MR::ObjectLabel::getBackgroundPadding. Parameter _this can not be null. It is a single object.
| MRC_API MR_Box3f MR_ObjectLabel_getBoundingBox | ( | const MR_ObjectLabel * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectLabel::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_ObjectLabel_getColoringType | ( | const MR_ObjectLabel * | _this | ) |
returns the current coloring mode of the object Generated from method MR::ObjectLabel::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectLabel_getContourColor | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | id ) |
return contour color Generated from method MR::ObjectLabel::getContourColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectLabel_getContourColorsForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getContourColorsForAllViewports. 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 unsigned int MR_ObjectLabel_getDirtyFlags | ( | const MR_ObjectLabel * | _this | ) |
returns current dirty flags for the object Generated from method MR::ObjectLabel::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectLabel_getFontHeight | ( | const MR_ObjectLabel * | _this | ) |
returns size of label font on screen in pixels Generated from method MR::ObjectLabel::getFontHeight. Parameter _this can not be null. It is a single object.
| MRC_API const MR_std_filesystem_path * MR_ObjectLabel_getFontPath | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getFontPath. 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 const MR_Color * MR_ObjectLabel_getFrontColor | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_getFrontColorsForAllViewports | ( | const MR_ObjectLabel * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectLabel::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_ObjectLabel_getGlobalAlpha | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectLabel::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_ObjectLabel_getGlobalAlphaForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectLabel::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_ObjectLabel_getInfoLines | ( | const MR_ObjectLabel * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::ObjectLabel::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_PositionedText * MR_ObjectLabel_getLabel | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getLabel. 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 const MR_Color * MR_ObjectLabel_getLeaderLineColor | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | id ) |
return color of leader line Generated from method MR::ObjectLabel::getLeaderLineColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectLabel_getLeaderLineColorsForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getLeaderLineColorsForAllViewports. 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_ObjectLabel_getLeaderLineWidth | ( | const MR_ObjectLabel * | _this | ) |
returns width of leader line in pixels Generated from method MR::ObjectLabel::getLeaderLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectLabel_getModelHash | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Vector2f * MR_ObjectLabel_getPivotPoint | ( | const MR_ObjectLabel * | _this | ) |
get pivot point Generated from method MR::ObjectLabel::getPivotPoint. 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 const MR_Vector2f * MR_ObjectLabel_getPivotShift | ( | const MR_ObjectLabel * | _this | ) |
get pivot shift (pivot point * text diagonal) Generated from method MR::ObjectLabel::getPivotShift. 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_ObjectLabel_getRedrawFlag | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_getSharedPtr | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_getShininess | ( | const MR_ObjectLabel * | _this | ) |
returns the current shininess visual value Generated from method MR::ObjectLabel::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectLabel_getSourcePointColor | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | id ) |
returns color of source point Generated from method MR::ObjectLabel::getSourcePointColor. Parameter _this can not be null. It is a single object. Parameter id 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_ObjectLabel_getSourcePointColorsForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::getSourcePointColorsForAllViewports. 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_ObjectLabel_getSourcePointSize | ( | const MR_ObjectLabel * | _this | ) |
returns size of source point in pixels Generated from method MR::ObjectLabel::getSourcePointSize. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectLabel_getSpecularStrength | ( | const MR_ObjectLabel * | _this | ) |
returns intensity of reflections Generated from method MR::ObjectLabel::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_getVisualizeProperty | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_getVisualizePropertyMask | ( | const MR_ObjectLabel * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
returns mask of viewports where given property is set Generated from method MR::ObjectLabel::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_ObjectLabel_getWorldBox | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportId * | _1 ) |
returns cached bounding box of this label object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectLabel::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_ObjectLabel_getWorldTreeBox | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_globalClippedByPlane | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_globalClippedByPlaneMask | ( | const MR_ObjectLabel * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectLabel::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_ObjectLabel_globalVisibility | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_globalVisibilityMask | ( | const MR_ObjectLabel * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectLabel::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_ObjectLabel_hasModel | ( | const MR_ObjectLabel * | _this | ) |
does the object have any model available (but possibly empty), e.g. ObjectMesh has valid mesh() or ObjectPoints has valid pointCloud() Generated from method MR::ObjectLabel::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_hasVisualRepresentation | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectLabel_heapBytes | ( | const MR_ObjectLabel * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectLabel::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isAncestor | ( | const MR_ObjectLabel * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectLabel::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isAncillary | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isGlobalAncillary | ( | const MR_ObjectLabel * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectLabel::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isLocked | ( | const MR_ObjectLabel * | _this | ) |
object properties lock for UI Generated from method MR::ObjectLabel::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isParentLocked | ( | const MR_ObjectLabel * | _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::ObjectLabel::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isPickable | ( | const MR_ObjectLabel * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectLabel::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_ObjectLabel_isSelected | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_isVisible | ( | const MR_ObjectLabel * | _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::ObjectLabel::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 const MR_std_shared_ptr_MR_Mesh * MR_ObjectLabel_labelRepresentingMesh | ( | const MR_ObjectLabel * | _this | ) |
returns mesh that represents current label only used in Render object for binding, cleared after it Generated from method MR::ObjectLabel::labelRepresentingMesh. 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_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFrom_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFrom_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. This is a dynamic downcast, it checks the type before casting. This version will return zero if the target type is wrong. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFromOrFail_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableDynamicDowncastFromOrFail_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_ObjectChildrenHolder | ( | MR_ObjectChildrenHolder * | object | ) |
Downcasts an instance of MR::ObjectChildrenHolder to a derived class MR::ObjectLabel. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectLabel * MR_ObjectLabel_MutableStaticDowncastFrom_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. This is a static downcast, it trusts the programmer that the target type is correct. Results in UB and returns an invalid pointer otherwise. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_Object * MR_ObjectLabel_MutableUpcastTo_MR_Object | ( | MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::Object. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectChildrenHolder * MR_ObjectLabel_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::ObjectChildrenHolder. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VisualObject * MR_ObjectLabel_MutableUpcastTo_MR_VisualObject | ( | MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::VisualObject. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_std_string * MR_ObjectLabel_name | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel * MR_ObjectLabel_OffsetMutablePtr | ( | MR_ObjectLabel * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_OffsetPtr | ( | const MR_ObjectLabel * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ObjectLabel_removeAllChildren | ( | MR_ObjectLabel * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectLabel::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectLabel_removeTag | ( | MR_ObjectLabel * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectLabel::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_ObjectLabel_render | ( | const MR_ObjectLabel * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectLabel::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_ObjectLabel_renderForPicker | ( | const MR_ObjectLabel * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::ObjectLabel::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_ObjectLabel_renderUi | ( | const MR_ObjectLabel * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::ObjectLabel::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_ObjectLabel_resetColors | ( | MR_ObjectLabel * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectLabel::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_resetDirty | ( | const MR_ObjectLabel * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectLabel::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_resetDirtyExceptMask | ( | const MR_ObjectLabel * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectLabel::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_resetFrontColor | ( | MR_ObjectLabel * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectLabel::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_resetRedrawFlag | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_resetXf | ( | MR_ObjectLabel * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectLabel::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_ObjectLabel_sameModels | ( | const MR_ObjectLabel * | _this, |
| const MR_Object * | other ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_select | ( | MR_ObjectLabel * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectLabel::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setAllVisualizeProperties | ( | MR_ObjectLabel * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::ObjectLabel::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_ObjectLabel_setAmbientStrength | ( | MR_ObjectLabel * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::ObjectLabel::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setAncillary | ( | MR_ObjectLabel * | _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::ObjectLabel::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setBackColor | ( | MR_ObjectLabel * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectLabel::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_ObjectLabel_setBackColorsForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::ObjectLabel::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setBackgroundPadding | ( | MR_ObjectLabel * | _this, |
| float | padding ) |
sets background padding in pixels Generated from method MR::ObjectLabel::setBackgroundPadding. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setColoringType | ( | MR_ObjectLabel * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectLabel::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setContourColor | ( | MR_ObjectLabel * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets contour color Generated from method MR::ObjectLabel::setContourColor. Parameter _this can not be null. It is a single object. Parameter color 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_ObjectLabel_setContourColorsForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectLabel::setContourColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setDirtyFlags | ( | MR_ObjectLabel * | _this, |
| unsigned int | mask, | ||
| const bool * | invalidateCaches ) |
sets some dirty flags for the object (to force its visual update)
| mask | is a union of DirtyFlags flags |
| invalidateCaches | whether to automatically invalidate model caches (pass false here if you manually update the caches) Generated from method MR::ObjectLabel::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_ObjectLabel_setFontHeight | ( | MR_ObjectLabel * | _this, |
| float | size ) |
sets size of label font in pixels Generated from method MR::ObjectLabel::setFontHeight. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setFontPath | ( | MR_ObjectLabel * | _this, |
| const char * | pathToFont, | ||
| const char * | pathToFont_end ) |
sets path to font file Generated from method MR::ObjectLabel::setFontPath. Parameter _this can not be null. It is a single object. Parameter pathToFont is a UTF-8 encoded filesystem path.
| MRC_API void MR_ObjectLabel_setFrontColor | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setFrontColorsForAllViewports | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setGlobalAlpha | ( | MR_ObjectLabel * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectLabel::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_ObjectLabel_setGlobalAlphaForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectLabel::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setGlobalClippedByPlane | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setGlobalVisibility | ( | MR_ObjectLabel * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectLabel::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_ObjectLabel_setLabel | ( | MR_ObjectLabel * | _this, |
| const MR_PositionedText * | label ) |
sets text and position of label Generated from method MR::ObjectLabel::setLabel. Parameter _this can not be null. It is a single object. Parameter label can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setLeaderLineColor | ( | MR_ObjectLabel * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets color of leader line Generated from method MR::ObjectLabel::setLeaderLineColor. Parameter _this can not be null. It is a single object. Parameter color 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_ObjectLabel_setLeaderLineColorsForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectLabel::setLeaderLineColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setLeaderLineWidth | ( | MR_ObjectLabel * | _this, |
| float | width ) |
sets width of leader line in pixels Generated from method MR::ObjectLabel::setLeaderLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setLocked | ( | MR_ObjectLabel * | _this, |
| bool | on ) |
Generated from method MR::ObjectLabel::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setName | ( | MR_ObjectLabel * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_setParentLocked | ( | MR_ObjectLabel * | _this, |
| bool | lock ) |
Generated from method MR::ObjectLabel::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setPickable | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setPivotPoint | ( | MR_ObjectLabel * | _this, |
| const MR_Vector2f * | pivotPoint ) |
set pivot point
| pivotPoint | - text location parameter of relative to text position point [0, 0] - text position point is left-down corner of text [1, 1] - text position point is right-up corner can be outside range [0, 0] - [1, 1] Generated from method MR::ObjectLabel::setPivotPoint. Parameter _this can not be null. It is a single object. Parameter pivotPoint can not be null. It is a single object. |
| MRC_API void MR_ObjectLabel_setShininess | ( | MR_ObjectLabel * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectLabel::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setSourcePointColor | ( | MR_ObjectLabel * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets color of source point Generated from method MR::ObjectLabel::setSourcePointColor. Parameter _this can not be null. It is a single object. Parameter color 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_ObjectLabel_setSourcePointColorsForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectLabel::setSourcePointColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setSourcePointSize | ( | MR_ObjectLabel * | _this, |
| float | size ) |
sets size of source point in pixels Generated from method MR::ObjectLabel::setSourcePointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setSpecularStrength | ( | MR_ObjectLabel * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::ObjectLabel::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setUseDefaultScenePropertiesOnDeserialization | ( | MR_ObjectLabel * | _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::ObjectLabel::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectLabel_setVisibilityMask | ( | MR_ObjectLabel * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectLabel::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_ObjectLabel_setVisible | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setVisualizeProperty | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_setVisualizePropertyMask | ( | MR_ObjectLabel * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::ObjectLabel::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_ObjectLabel_setWorldXf | ( | MR_ObjectLabel * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_setXf | ( | MR_ObjectLabel * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_setXfsForAllViewports | ( | MR_ObjectLabel * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::ObjectLabel::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectLabel_shallowClone | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::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_ObjectLabel_shallowCloneTree | ( | const MR_ObjectLabel * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectLabel::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_ObjectLabel_sortChildren | ( | MR_ObjectLabel * | _this | ) |
sort recognized children by name Generated from method MR::ObjectLabel::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectLabel_StaticClassName | ( | void | ) |
Generated from method MR::ObjectLabel::StaticClassName.
| MRC_API const char * MR_ObjectLabel_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::ObjectLabel::StaticClassNameInPlural.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object to a derived class MR::ObjectLabel. 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_ObjectChildrenHolder | ( | const MR_ObjectChildrenHolder * | object | ) |
Downcasts an instance of MR::ObjectChildrenHolder to a derived class MR::ObjectLabel. 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectLabel * MR_ObjectLabel_StaticDowncastFrom_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject to a derived class MR::ObjectLabel. 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const char * MR_ObjectLabel_StaticTypeName | ( | void | ) |
Generated from method MR::ObjectLabel::StaticTypeName.
| MRC_API bool MR_ObjectLabel_supportsVisualizeProperty | ( | const MR_ObjectLabel * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Returns true if this class supports the property type. Otherwise passing it to the functions below is illegal. Generated from method MR::ObjectLabel::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_ObjectLabel_swap | ( | MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_tags | ( | const MR_ObjectLabel * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectLabel::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_ObjectLabel_toggleVisualizeProperty | ( | MR_ObjectLabel * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectLabel::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 const char * MR_ObjectLabel_typeName | ( | const MR_ObjectLabel * | _this | ) |
Generated from method MR::ObjectLabel::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_ObjectLabel_UpcastTo_MR_Object | ( | const MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::Object. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectChildrenHolder * MR_ObjectLabel_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_VisualObject * MR_ObjectLabel_UpcastTo_MR_VisualObject | ( | const MR_ObjectLabel * | object | ) |
Upcasts an instance of MR::ObjectLabel to its base class MR::VisualObject. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API bool MR_ObjectLabel_useDefaultScenePropertiesOnDeserialization | ( | const MR_ObjectLabel * | _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::ObjectLabel::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_ObjectLabel_visibilityMask | ( | const MR_ObjectLabel * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectLabel::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_ObjectLabel_worldXf | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_xf | ( | const MR_ObjectLabel * | _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::ObjectLabel::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_ObjectLabel_xfsForAllViewports | ( | const MR_ObjectLabel * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectLabel::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.