#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRBox.h>#include <MRCMesh/MREnums.h>#include <MRCMesh/MRMatrix3.h>#include <MRCMesh/MRVector3.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.
| typedef struct MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter |
| typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum |
| typedef struct MR_CircleObject MR_CircleObject |
| typedef struct MR_Color MR_Color |
| typedef struct MR_ConeObject MR_ConeObject |
| typedef struct MR_CylinderObject MR_CylinderObject |
| typedef struct MR_FeatureObject MR_FeatureObject |
An interface class which allows feature objects to share setters and getters on their main properties, for convenient presentation in the UI Generated from class MR::FeatureObject. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length> MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter> MR::LineObject MR::PlaneObject MR::PointObject Indirect: (non-virtual) MR::CircleObject MR::ConeObject MR::CylinderObject MR::SphereObject
Generated from class MR::FeatureObjectProjectPointResult. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_FeatureObjectSharedProperty MR_FeatureObjectSharedProperty |
Generated from class MR::FeatureObjectSharedProperty. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef enum MR_FeaturePropertyKind MR_FeaturePropertyKind |
| typedef struct MR_LineObject MR_LineObject |
| typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams |
| typedef struct MR_ModelRenderParams MR_ModelRenderParams |
| typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_PlaneObject MR_PlaneObject |
| typedef struct MR_PointObject MR_PointObject |
| typedef struct MR_SphereObject MR_SphereObject |
| typedef struct MR_std_function_std_variant_float_MR_Vector3f_from_const_MR_FeatureObject_ptr_MR_ViewportId MR_std_function_std_variant_float_MR_Vector3f_from_const_MR_FeatureObject_ptr_MR_ViewportId |
| typedef struct MR_std_optional_MR_Vector3f MR_std_optional_MR_Vector3f |
| 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_FeatureObjectSharedProperty MR_std_vector_MR_FeatureObjectSharedProperty |
| 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_ViewportMask MR_ViewportMask |
| typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color |
| typedef struct MR_VisualObject MR_VisualObject |
| MRC_API bool MR_FeatureObject_addChild | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_addChildBefore | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_addTag | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_applyScale | ( | MR_FeatureObject * | _this, |
| float | scaleFactor ) |
scale object size (all point positions) Generated from method MR::FeatureObject::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_string * MR_FeatureObject_className | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::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_FeatureObject_classNameInPlural | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::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_FeatureObject_clone | ( | const MR_FeatureObject * | _this | ) |
clones this object only, without its children, making new object the owner of all copied resources Generated from method MR::FeatureObject::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_FeatureObject_cloneTree | ( | const MR_FeatureObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::FeatureObject::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 void MR_FeatureObject_copyAllSolidColors | ( | MR_FeatureObject * | _this, |
| const MR_VisualObject * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::FeatureObject::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_FeatureObject_Destroy | ( | const MR_FeatureObject * | _this | ) |
Destroys a heap-allocated instance of MR_FeatureObject. Does nothing if the pointer is null.
| MRC_API void MR_FeatureObject_DestroyArray | ( | const MR_FeatureObject * | _this | ) |
Destroys a heap-allocated array of MR_FeatureObject. Does nothing if the pointer is null.
| MRC_API bool MR_FeatureObject_detachFromParent | ( | MR_FeatureObject * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::FeatureObject::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_DynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_DynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_DynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_DynamicDowncastTo_MR_CircleObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_DynamicDowncastTo_MR_ConeObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_DynamicDowncastTo_MR_CylinderObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_DynamicDowncastTo_MR_LineObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_DynamicDowncastTo_MR_PlaneObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_DynamicDowncastTo_MR_PointObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_DynamicDowncastTo_MR_SphereObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_DynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_DynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_DynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_CircleObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_ConeObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_CylinderObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_LineObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_PlaneObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_PointObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_DynamicDowncastToOrFail_MR_SphereObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_std_vector_MR_FeatureObjectSharedProperty * MR_FeatureObject_getAllSharedProperties | ( | const MR_FeatureObject * | _this | ) |
Create and generate list of bounded getters and setters for the main properties of feature object, together with prop. name for display and edit into UI. Generated from method MR::FeatureObject::getAllSharedProperties. 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_MR_ViewportMask * MR_FeatureObject_getAllVisualizeProperties | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::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_FeatureObject_getAmbientStrength | ( | const MR_FeatureObject * | _this | ) |
returns intensity of non-directional light Generated from method MR::FeatureObject::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_FeatureObject_getBackColor | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::FeatureObject::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_FeatureObject_getBackColorsForAllViewports | ( | const MR_FeatureObject * | _this | ) |
returns backward color of object in all viewports Generated from method MR::FeatureObject::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_Vector3f MR_FeatureObject_getBasePoint | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::FeatureObject::getBasePoint. 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 MR_Box3f MR_FeatureObject_getBoundingBox | ( | const MR_FeatureObject * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::FeatureObject::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_FeatureObject_getColoringType | ( | const MR_FeatureObject * | _this | ) |
returns the current coloring mode of the object Generated from method MR::FeatureObject::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_FeatureObject_getDecorationsColor | ( | const MR_FeatureObject * | _this, |
| bool | selected, | ||
| const MR_ViewportId * | viewportId, | ||
| bool * | isDef ) |
Generated from method MR::FeatureObject::getDecorationsColor. Parameter _this can not be null. It is a single object. Parameter viewportId 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_Color * MR_FeatureObject_getDecorationsColorForAllViewports | ( | const MR_FeatureObject * | _this, |
| bool | selected ) |
Generated from method MR::FeatureObject::getDecorationsColorForAllViewports. 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_FeatureObject_getDirtyFlags | ( | const MR_FeatureObject * | _this | ) |
returns current dirty flags for the object Generated from method MR::FeatureObject::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_FeatureObject_getFrontColor | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_getFrontColorsForAllViewports | ( | const MR_FeatureObject * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::FeatureObject::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_FeatureObject_getGlobalAlpha | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::FeatureObject::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_FeatureObject_getGlobalAlphaForAllViewports | ( | const MR_FeatureObject * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::FeatureObject::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_FeatureObject_getInfoLines | ( | const MR_FeatureObject * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::FeatureObject::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 float MR_FeatureObject_getLineWidth | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getMainFeatureAlpha | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getMainFeatureAlpha. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_FeatureObject_getModelHash | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_optional_MR_Vector3f * MR_FeatureObject_getNormal | ( | const MR_FeatureObject * | _this, |
| const MR_Vector3f * | point ) |
Generated from method MR::FeatureObject::getNormal. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Vector3f_Destroy() to free it when you're done using it.
| MRC_API float MR_FeatureObject_getPointSize | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_getRedrawFlag | ( | const MR_FeatureObject * | _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::FeatureObject::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_Matrix3f MR_FeatureObject_getRotationMatrix | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
Generated from method MR::FeatureObject::getRotationMatrix. 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 MR_Matrix3f MR_FeatureObject_getScaleShearMatrix | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
Generated from method MR::FeatureObject::getScaleShearMatrix. 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 MR_std_shared_ptr_MR_Object * MR_FeatureObject_getSharedPtr | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::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_FeatureObject_getShininess | ( | const MR_FeatureObject * | _this | ) |
returns the current shininess visual value Generated from method MR::FeatureObject::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSpecularStrength | ( | const MR_FeatureObject * | _this | ) |
returns intensity of reflections Generated from method MR::FeatureObject::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSubfeatureAlphaLines | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSubfeatureAlphaMesh | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSubfeatureAlphaPoints | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSubfeatureLineWidth | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getSubfeatureLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API float MR_FeatureObject_getSubfeaturePointSize | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::getSubfeaturePointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_getVisualizeProperty | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_getVisualizePropertyMask | ( | const MR_FeatureObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::FeatureObject::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_FeatureObject_getWorldBox | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportId * | _1 ) |
returns bounding box of this object in given viewport in world coordinates, to get world bounding box of the object with all child objects, please call Object::getWorldTreeBox method Generated from method MR::FeatureObject::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_FeatureObject_getWorldTreeBox | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_globalClippedByPlane | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_globalClippedByPlaneMask | ( | const MR_FeatureObject * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::FeatureObject::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_FeatureObject_globalVisibility | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_globalVisibilityMask | ( | const MR_FeatureObject * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::FeatureObject::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_FeatureObject_hasModel | ( | const MR_FeatureObject * | _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::FeatureObject::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_hasVisualRepresentation | ( | const MR_FeatureObject * | _this | ) |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::FeatureObject::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_FeatureObject_heapBytes | ( | const MR_FeatureObject * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::FeatureObject::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isAncestor | ( | const MR_FeatureObject * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::FeatureObject::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isAncillary | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isGlobalAncillary | ( | const MR_FeatureObject * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::FeatureObject::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isLocked | ( | const MR_FeatureObject * | _this | ) |
object properties lock for UI Generated from method MR::FeatureObject::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isParentLocked | ( | const MR_FeatureObject * | _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::FeatureObject::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isPickable | ( | const MR_FeatureObject * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::FeatureObject::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_FeatureObject_isSelected | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_isVisible | ( | const MR_FeatureObject * | _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::FeatureObject::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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_MutableDynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableDynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableDynamicDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_CircleObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_ConeObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_CylinderObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_LineObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_PlaneObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_PointObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_MutableDynamicDowncastTo_MR_SphereObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_CircleObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_ConeObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_CylinderObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_LineObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_PlaneObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_PointObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_MutableDynamicDowncastToOrFail_MR_SphereObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_MutableStaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableStaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_MutableStaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_MutableStaticDowncastTo_MR_CircleObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_MutableStaticDowncastTo_MR_ConeObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_MutableStaticDowncastTo_MR_CylinderObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_MutableStaticDowncastTo_MR_LineObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_MutableStaticDowncastTo_MR_PlaneObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_MutableStaticDowncastTo_MR_PointObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_MutableStaticDowncastTo_MR_SphereObject | ( | MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_FeatureObject_MutableUpcastTo_MR_Object | ( | MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_FeatureObject_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::ObjectChildrenHolder.
| MRC_API MR_VisualObject * MR_FeatureObject_MutableUpcastTo_MR_VisualObject | ( | MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::VisualObject.
| MRC_API const MR_std_string * MR_FeatureObject_name | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::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_FeatureObject * MR_FeatureObject_OffsetMutablePtr | ( | MR_FeatureObject * | 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_FeatureObject * MR_FeatureObject_OffsetPtr | ( | const MR_FeatureObject * | 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 MR_FeatureObjectProjectPointResult * MR_FeatureObject_projectPoint | ( | const MR_FeatureObject * | _this, |
| const MR_Vector3f * | point, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::FeatureObject::projectPoint. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectProjectPointResult_Destroy() to free it when you're done using it.
| MRC_API void MR_FeatureObject_removeAllChildren | ( | MR_FeatureObject * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::FeatureObject::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_FeatureObject_removeTag | ( | MR_FeatureObject * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::FeatureObject::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_FeatureObject_render | ( | const MR_FeatureObject * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::FeatureObject::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_FeatureObject_renderForPicker | ( | const MR_FeatureObject * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::FeatureObject::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_FeatureObject_renderUi | ( | const MR_FeatureObject * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::FeatureObject::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_FeatureObject_resetColors | ( | MR_FeatureObject * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::FeatureObject::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_resetDirty | ( | const MR_FeatureObject * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::FeatureObject::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_resetDirtyExceptMask | ( | const MR_FeatureObject * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::FeatureObject::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_resetFrontColor | ( | MR_FeatureObject * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::FeatureObject::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_resetRedrawFlag | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_resetXf | ( | MR_FeatureObject * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::FeatureObject::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_FeatureObject_sameModels | ( | const MR_FeatureObject * | _this, |
| const MR_Object * | other ) |
Generated from method MR::FeatureObject::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_FeatureObject_select | ( | MR_FeatureObject * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::FeatureObject::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setAllVisualizeProperties | ( | MR_FeatureObject * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::FeatureObject::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_FeatureObject_setAmbientStrength | ( | MR_FeatureObject * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::FeatureObject::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setAncillary | ( | MR_FeatureObject * | _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::FeatureObject::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setBackColor | ( | MR_FeatureObject * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::FeatureObject::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_FeatureObject_setBackColorsForAllViewports | ( | MR_FeatureObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::FeatureObject::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setColoringType | ( | MR_FeatureObject * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::FeatureObject::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setDecorationsColor | ( | MR_FeatureObject * | _this, |
| const MR_Color * | color, | ||
| bool | selected, | ||
| const MR_ViewportId * | viewportId ) |
Generated from method MR::FeatureObject::setDecorationsColor. 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_FeatureObject_setDecorationsColorForAllViewports | ( | MR_FeatureObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val, | ||
| bool | selected ) |
Generated from method MR::FeatureObject::setDecorationsColorForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setDirtyFlags | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setFrontColor | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setFrontColorsForAllViewports | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setGlobalAlpha | ( | MR_FeatureObject * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::FeatureObject::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_FeatureObject_setGlobalAlphaForAllViewports | ( | MR_FeatureObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::FeatureObject::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setGlobalClippedByPlane | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setGlobalVisibility | ( | MR_FeatureObject * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::FeatureObject::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_FeatureObject_setLineWidth | ( | MR_FeatureObject * | _this, |
| float | lineWidth ) |
Generated from method MR::FeatureObject::setLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setLocked | ( | MR_FeatureObject * | _this, |
| bool | on ) |
Generated from method MR::FeatureObject::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setMainFeatureAlpha | ( | MR_FeatureObject * | _this, |
| float | alpha ) |
Generated from method MR::FeatureObject::setMainFeatureAlpha. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setName | ( | MR_FeatureObject * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::FeatureObject::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_FeatureObject_setParentLocked | ( | MR_FeatureObject * | _this, |
| bool | lock ) |
Generated from method MR::FeatureObject::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setPickable | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setPointSize | ( | MR_FeatureObject * | _this, |
| float | pointSize ) |
Generated from method MR::FeatureObject::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setShininess | ( | MR_FeatureObject * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::FeatureObject::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSpecularStrength | ( | MR_FeatureObject * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::FeatureObject::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSubfeatureAlphaLines | ( | MR_FeatureObject * | _this, |
| float | alpha ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSubfeatureAlphaMesh | ( | MR_FeatureObject * | _this, |
| float | alpha ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSubfeatureAlphaPoints | ( | MR_FeatureObject * | _this, |
| float | alpha ) |
Generated from method MR::FeatureObject::setSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSubfeatureLineWidth | ( | MR_FeatureObject * | _this, |
| float | lineWidth ) |
Generated from method MR::FeatureObject::setSubfeatureLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setSubfeaturePointSize | ( | MR_FeatureObject * | _this, |
| float | pointSize ) |
Generated from method MR::FeatureObject::setSubfeaturePointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setUseDefaultScenePropertiesOnDeserialization | ( | MR_FeatureObject * | _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::FeatureObject::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObject_setVisibilityMask | ( | MR_FeatureObject * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::FeatureObject::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_FeatureObject_setVisible | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setVisualizeProperty | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_setVisualizePropertyMask | ( | MR_FeatureObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::FeatureObject::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_FeatureObject_setWorldXf | ( | MR_FeatureObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::FeatureObject::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_FeatureObject_setXf | ( | MR_FeatureObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::FeatureObject::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_FeatureObject_setXfsForAllViewports | ( | MR_FeatureObject * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::FeatureObject::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_FeatureObject_shallowClone | ( | const MR_FeatureObject * | _this | ) |
clones this object only, without its children, making new object to share resources with this object Generated from method MR::FeatureObject::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_FeatureObject_shallowCloneTree | ( | const MR_FeatureObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::FeatureObject::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_FeatureObject_sortChildren | ( | MR_FeatureObject * | _this | ) |
sort recognized children by name Generated from method MR::FeatureObject::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_FeatureObject_StaticClassName | ( | void | ) |
Generated from method MR::FeatureObject::StaticClassName.
| MRC_API const char * MR_FeatureObject_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::FeatureObject::StaticClassNameInPlural.
| MRC_API const MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter * MR_FeatureObject_StaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_StaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_angle_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::angle, MR::DimensionsVisualizePropertyType::length>. 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_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length * MR_FeatureObject_StaticDowncastTo_MR_AddVisualProperties_MR_FeatureObject_MR_DimensionsVisualizePropertyType_diameter_MR_DimensionsVisualizePropertyType_length | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::AddVisualProperties<MR::FeatureObject, MR::DimensionsVisualizePropertyType::diameter, MR::DimensionsVisualizePropertyType::length>. 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_CircleObject * MR_FeatureObject_StaticDowncastTo_MR_CircleObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CircleObject. 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_ConeObject * MR_FeatureObject_StaticDowncastTo_MR_ConeObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::ConeObject. 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_CylinderObject * MR_FeatureObject_StaticDowncastTo_MR_CylinderObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::CylinderObject. 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_LineObject * MR_FeatureObject_StaticDowncastTo_MR_LineObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::LineObject. 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_PlaneObject * MR_FeatureObject_StaticDowncastTo_MR_PlaneObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PlaneObject. 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_PointObject * MR_FeatureObject_StaticDowncastTo_MR_PointObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::PointObject. 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_SphereObject * MR_FeatureObject_StaticDowncastTo_MR_SphereObject | ( | const MR_FeatureObject * | object | ) |
Downcasts an instance of MR::FeatureObject to a derived class MR::SphereObject. 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_FeatureObject_StaticTypeName | ( | void | ) |
Generated from method MR::FeatureObject::StaticTypeName.
| MRC_API bool MR_FeatureObject_supportsVisualizeProperty | ( | const MR_FeatureObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::FeatureObject::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_FeatureObject_swap | ( | MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_tags | ( | const MR_FeatureObject * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::FeatureObject::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_FeatureObject_toggleVisualizeProperty | ( | MR_FeatureObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::FeatureObject::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_FeatureObject_typeName | ( | const MR_FeatureObject * | _this | ) |
Generated from method MR::FeatureObject::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_FeatureObject_UpcastTo_MR_Object | ( | const MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_FeatureObject_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API const MR_VisualObject * MR_FeatureObject_UpcastTo_MR_VisualObject | ( | const MR_FeatureObject * | object | ) |
Upcasts an instance of MR::FeatureObject to its base class MR::VisualObject. This version is acting on mutable pointers.
| MRC_API bool MR_FeatureObject_useDefaultScenePropertiesOnDeserialization | ( | const MR_FeatureObject * | _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::FeatureObject::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_FeatureObject_visibilityMask | ( | const MR_FeatureObject * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::FeatureObject::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_FeatureObject_worldXf | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_xf | ( | const MR_FeatureObject * | _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::FeatureObject::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_FeatureObject_xfsForAllViewports | ( | const MR_FeatureObject * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::FeatureObject::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.
| MRC_API MR_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_AssignFromAnother | ( | MR_FeatureObjectProjectPointResult * | _this, |
| const MR_FeatureObjectProjectPointResult * | _other ) |
Generated from method MR::FeatureObjectProjectPointResult::operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_ConstructFrom | ( | MR_Vector3f | point, |
| const MR_Vector3f * | normal ) |
Constructs MR::FeatureObjectProjectPointResult elementwise. Parameter normal is optional. To keep it empty, pass a null pointer. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectProjectPointResult_Destroy() to free it when you're done using it.
| MRC_API MR_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_ConstructFromAnother | ( | const MR_FeatureObjectProjectPointResult * | _other | ) |
Generated from constructor MR::FeatureObjectProjectPointResult::FeatureObjectProjectPointResult. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectProjectPointResult_Destroy() to free it when you're done using it.
| MRC_API MR_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectProjectPointResult_Destroy() to free it when you're done using it.
| MRC_API MR_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_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_FeatureObjectProjectPointResult_DestroyArray(). Use MR_FeatureObjectProjectPointResult_OffsetMutablePtr() and MR_FeatureObjectProjectPointResult_OffsetPtr() to access the array elements.
| MRC_API void MR_FeatureObjectProjectPointResult_Destroy | ( | const MR_FeatureObjectProjectPointResult * | _this | ) |
Destroys a heap-allocated instance of MR_FeatureObjectProjectPointResult. Does nothing if the pointer is null.
| MRC_API void MR_FeatureObjectProjectPointResult_DestroyArray | ( | const MR_FeatureObjectProjectPointResult * | _this | ) |
Destroys a heap-allocated array of MR_FeatureObjectProjectPointResult. Does nothing if the pointer is null.
| MRC_API const MR_std_optional_MR_Vector3f * MR_FeatureObjectProjectPointResult_Get_normal | ( | const MR_FeatureObjectProjectPointResult * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectProjectPointResult named normal. 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_Vector3f * MR_FeatureObjectProjectPointResult_Get_point | ( | const MR_FeatureObjectProjectPointResult * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectProjectPointResult named point. 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_optional_MR_Vector3f * MR_FeatureObjectProjectPointResult_GetMutable_normal | ( | MR_FeatureObjectProjectPointResult * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectProjectPointResult named normal. 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_Vector3f * MR_FeatureObjectProjectPointResult_GetMutable_point | ( | MR_FeatureObjectProjectPointResult * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectProjectPointResult named point. 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_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_OffsetMutablePtr | ( | MR_FeatureObjectProjectPointResult * | 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_FeatureObjectProjectPointResult * MR_FeatureObjectProjectPointResult_OffsetPtr | ( | const MR_FeatureObjectProjectPointResult * | 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 void MR_FeatureObjectProjectPointResult_Set_normal | ( | MR_FeatureObjectProjectPointResult * | _this, |
| const MR_Vector3f * | value ) |
Modifies a member variable of class MR::FeatureObjectProjectPointResult named normal. Parameter _this can not be null. It is a single object. Parameter value is optional. To keep it empty, pass a null pointer.
| MRC_API void MR_FeatureObjectProjectPointResult_Set_point | ( | MR_FeatureObjectProjectPointResult * | _this, |
| MR_Vector3f | value ) |
Modifies a member variable of class MR::FeatureObjectProjectPointResult named point. Parameter _this can not be null. It is a single object.
| MRC_API MR_FeatureObjectSharedProperty * MR_FeatureObjectSharedProperty_AssignFromAnother | ( | MR_FeatureObjectSharedProperty * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_FeatureObjectSharedProperty * | _other ) |
Generated from method MR::FeatureObjectSharedProperty::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 MR_FeatureObjectSharedProperty * MR_FeatureObjectSharedProperty_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_FeatureObjectSharedProperty * | _other ) |
Generated from constructor MR::FeatureObjectSharedProperty::FeatureObjectSharedProperty. Never returns null. Returns an instance allocated on the heap! Must call MR_FeatureObjectSharedProperty_Destroy() to free it when you're done using it.
| MRC_API void MR_FeatureObjectSharedProperty_Destroy | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Destroys a heap-allocated instance of MR_FeatureObjectSharedProperty. Does nothing if the pointer is null.
| MRC_API void MR_FeatureObjectSharedProperty_DestroyArray | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Destroys a heap-allocated array of MR_FeatureObjectSharedProperty. Does nothing if the pointer is null.
| MRC_API const MR_std_function_std_variant_float_MR_Vector3f_from_const_MR_FeatureObject_ptr_MR_ViewportId * MR_FeatureObjectSharedProperty_Get_getter | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectSharedProperty named getter. 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_FeaturePropertyKind * MR_FeatureObjectSharedProperty_Get_kind | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectSharedProperty named kind. 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_std_string * MR_FeatureObjectSharedProperty_Get_propertyName | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectSharedProperty named propertyName. 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_std_function_void_from_const_std_variant_float_MR_Vector3f_ref_MR_FeatureObject_ptr_MR_ViewportId * MR_FeatureObjectSharedProperty_Get_setter | ( | const MR_FeatureObjectSharedProperty * | _this | ) |
Returns a pointer to a member variable of class MR::FeatureObjectSharedProperty named setter. 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_function_std_variant_float_MR_Vector3f_from_const_MR_FeatureObject_ptr_MR_ViewportId * MR_FeatureObjectSharedProperty_GetMutable_getter | ( | MR_FeatureObjectSharedProperty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectSharedProperty named getter. 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_FeaturePropertyKind * MR_FeatureObjectSharedProperty_GetMutable_kind | ( | MR_FeatureObjectSharedProperty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectSharedProperty named kind. 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_string * MR_FeatureObjectSharedProperty_GetMutable_propertyName | ( | MR_FeatureObjectSharedProperty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectSharedProperty named propertyName. 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_function_void_from_const_std_variant_float_MR_Vector3f_ref_MR_FeatureObject_ptr_MR_ViewportId * MR_FeatureObjectSharedProperty_GetMutable_setter | ( | MR_FeatureObjectSharedProperty * | _this | ) |
Returns a mutable pointer to a member variable of class MR::FeatureObjectSharedProperty named setter. 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_FeatureObjectSharedProperty * MR_FeatureObjectSharedProperty_OffsetMutablePtr | ( | MR_FeatureObjectSharedProperty * | 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_FeatureObjectSharedProperty * MR_FeatureObjectSharedProperty_OffsetPtr | ( | const MR_FeatureObjectSharedProperty * | 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 void MR_FeatureObjectSharedProperty_Set_getter | ( | MR_FeatureObjectSharedProperty * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_std_variant_float_MR_Vector3f_from_const_MR_FeatureObject_ptr_MR_ViewportId * | value ) |
Modifies a member variable of class MR::FeatureObjectSharedProperty named getter. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObjectSharedProperty_Set_kind | ( | MR_FeatureObjectSharedProperty * | _this, |
| MR_FeaturePropertyKind | value ) |
Modifies a member variable of class MR::FeatureObjectSharedProperty named kind. Parameter _this can not be null. It is a single object.
| MRC_API void MR_FeatureObjectSharedProperty_Set_propertyName | ( | MR_FeatureObjectSharedProperty * | _this, |
| const char * | value, | ||
| const char * | value_end ) |
Modifies a member variable of class MR::FeatureObjectSharedProperty named propertyName. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated.
| MRC_API void MR_FeatureObjectSharedProperty_Set_setter | ( | MR_FeatureObjectSharedProperty * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_void_from_const_std_variant_float_MR_Vector3f_ref_MR_FeatureObject_ptr_MR_ViewportId * | value ) |
Modifies a member variable of class MR::FeatureObjectSharedProperty named setter. Parameter _this can not be null. It is a single object.