#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.
Typedefs | |
| typedef struct MR_PointObject | MR_PointObject |
| typedef struct MR_PointObject MR_PointObject |
Object to show point feature Generated from class MR::PointObject. Base classes: Direct: (non-virtual) MR::FeatureObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object MR::VisualObject Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API bool MR_PointObject_addChild | ( | MR_PointObject * | _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::PointObject::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_PointObject_addChildBefore | ( | MR_PointObject * | _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::PointObject::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_PointObject_addTag | ( | MR_PointObject * | _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::PointObject::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_PointObject_applyScale | ( | MR_PointObject * | _this, |
| float | scaleFactor ) |
scale object size (all point positions) Generated from method MR::PointObject::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_PointObject * MR_PointObject_AssignFromAnother | ( | MR_PointObject * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_PointObject * | _other ) |
Generated from method MR::PointObject::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved in the return value. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_std_string * MR_PointObject_className | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_classNameInPlural | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_clone | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_cloneTree | ( | const MR_PointObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::PointObject::cloneTree. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_Object_Destroy() to free it when you're done using it.
| MRC_API MR_PointObject * MR_PointObject_Construct | ( | const MR_std_vector_MR_Vector3f * | pointsToApprox | ) |
Finds best point to approx given points Generated from constructor MR::PointObject::PointObject. Parameter pointsToApprox can not be null. It is a single object. The reference to the parameter pointsToApprox might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointObject_Destroy() to free it when you're done using it.
| MRC_API MR_PointObject * MR_PointObject_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_PointObject * | _other ) |
Generated from constructor MR::PointObject::PointObject. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointObject_Destroy() to free it when you're done using it.
| MRC_API void MR_PointObject_copyAllSolidColors | ( | MR_PointObject * | _this, |
| const MR_VisualObject * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::PointObject::copyAllSolidColors. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API MR_PointObject * MR_PointObject_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_PointObject_Destroy() to free it when you're done using it.
| MRC_API MR_PointObject * MR_PointObject_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_PointObject_DestroyArray(). Use MR_PointObject_OffsetMutablePtr() and MR_PointObject_OffsetPtr() to access the array elements.
| MRC_API void MR_PointObject_Destroy | ( | const MR_PointObject * | _this | ) |
Destroys a heap-allocated instance of MR_PointObject. Does nothing if the pointer is null.
| MRC_API void MR_PointObject_DestroyArray | ( | const MR_PointObject * | _this | ) |
Destroys a heap-allocated array of MR_PointObject. Does nothing if the pointer is null.
| MRC_API bool MR_PointObject_detachFromParent | ( | MR_PointObject * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::PointObject::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_FeatureObject | ( | 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFrom_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_FeatureObject | ( | 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_PointObject * MR_PointObject_DynamicDowncastFromOrFail_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_vector_MR_FeatureObjectSharedProperty * MR_PointObject_getAllSharedProperties | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_getAllVisualizeProperties | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_getAmbientStrength | ( | const MR_PointObject * | _this | ) |
returns intensity of non-directional light Generated from method MR::PointObject::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_PointObject_getBackColor | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::PointObject::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_PointObject_getBackColorsForAllViewports | ( | const MR_PointObject * | _this | ) |
returns backward color of object in all viewports Generated from method MR::PointObject::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_PointObject_getBasePoint | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::PointObject::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_PointObject_getBoundingBox | ( | const MR_PointObject * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::PointObject::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_PointObject_getColoringType | ( | const MR_PointObject * | _this | ) |
returns the current coloring mode of the object Generated from method MR::PointObject::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_PointObject_getDecorationsColor | ( | const MR_PointObject * | _this, |
| bool | selected, | ||
| const MR_ViewportId * | viewportId, | ||
| bool * | isDef ) |
Generated from method MR::PointObject::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_PointObject_getDecorationsColorForAllViewports | ( | const MR_PointObject * | _this, |
| bool | selected ) |
Generated from method MR::PointObject::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_PointObject_getDirtyFlags | ( | const MR_PointObject * | _this | ) |
returns current dirty flags for the object Generated from method MR::PointObject::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_PointObject_getFrontColor | ( | const MR_PointObject * | _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::PointObject::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_PointObject_getFrontColorsForAllViewports | ( | const MR_PointObject * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::PointObject::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_PointObject_getGlobalAlpha | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::PointObject::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_PointObject_getGlobalAlphaForAllViewports | ( | const MR_PointObject * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::PointObject::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_PointObject_getInfoLines | ( | const MR_PointObject * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::PointObject::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_PointObject_getLineWidth | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getMainFeatureAlpha | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getMainFeatureAlpha. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_PointObject_getModelHash | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_optional_MR_Vector3f * MR_PointObject_getNormal | ( | const MR_PointObject * | _this, |
| const MR_Vector3f * | point ) |
Generated from method MR::PointObject::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 MR_Vector3f MR_PointObject_getPoint | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | id ) |
calculates point from xf Generated from method MR::PointObject::getPoint. 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 float MR_PointObject_getPointSize | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_getRedrawFlag | ( | const MR_PointObject * | _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::PointObject::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_PointObject_getRotationMatrix | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
Generated from method MR::PointObject::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_PointObject_getScaleShearMatrix | ( | const MR_PointObject * | _this, |
| const MR_ViewportId * | id, | ||
| bool * | isDef ) |
Generated from method MR::PointObject::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_PointObject_getSharedPtr | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_getShininess | ( | const MR_PointObject * | _this | ) |
returns the current shininess visual value Generated from method MR::PointObject::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSpecularStrength | ( | const MR_PointObject * | _this | ) |
returns intensity of reflections Generated from method MR::PointObject::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSubfeatureAlphaLines | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSubfeatureAlphaMesh | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSubfeatureAlphaPoints | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSubfeatureLineWidth | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getSubfeatureLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API float MR_PointObject_getSubfeaturePointSize | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::getSubfeaturePointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_getVisualizeProperty | ( | const MR_PointObject * | _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::PointObject::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_PointObject_getVisualizePropertyMask | ( | const MR_PointObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::PointObject::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_PointObject_getWorldBox | ( | const MR_PointObject * | _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::PointObject::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_PointObject_getWorldTreeBox | ( | const MR_PointObject * | _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::PointObject::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_PointObject_globalClippedByPlane | ( | const MR_PointObject * | _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::PointObject::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_PointObject_globalClippedByPlaneMask | ( | const MR_PointObject * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::PointObject::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_PointObject_globalVisibility | ( | const MR_PointObject * | _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::PointObject::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_PointObject_globalVisibilityMask | ( | const MR_PointObject * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::PointObject::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_PointObject_hasModel | ( | const MR_PointObject * | _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::PointObject::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_hasVisualRepresentation | ( | const MR_PointObject * | _this | ) |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::PointObject::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_PointObject_heapBytes | ( | const MR_PointObject * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::PointObject::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isAncestor | ( | const MR_PointObject * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::PointObject::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isAncillary | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isGlobalAncillary | ( | const MR_PointObject * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::PointObject::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isLocked | ( | const MR_PointObject * | _this | ) |
object properties lock for UI Generated from method MR::PointObject::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isParentLocked | ( | const MR_PointObject * | _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::PointObject::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isPickable | ( | const MR_PointObject * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::PointObject::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_PointObject_isSelected | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_isVisible | ( | const MR_PointObject * | _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::PointObject::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_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_FeatureObject | ( | 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFrom_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_FeatureObject | ( | 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PointObject * MR_PointObject_MutableDynamicDowncastFromOrFail_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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 reference to the parameter object might be preserved in the return value. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_FeatureObject | ( | 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_Object | ( | MR_Object * | object | ) |
Downcasts an instance of MR::Object 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder | ( | MR_ObjectChildrenHolder * | object | ) |
Downcasts an instance of MR::ObjectChildrenHolder 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_PointObject * MR_PointObject_MutableStaticDowncastFrom_MR_VisualObject | ( | MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_FeatureObject * MR_PointObject_MutableUpcastTo_MR_FeatureObject | ( | MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::FeatureObject. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_Object * MR_PointObject_MutableUpcastTo_MR_Object | ( | MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::Object. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_ObjectChildrenHolder * MR_PointObject_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::ObjectChildrenHolder. The reference to the parameter object might be preserved in the return value.
| MRC_API MR_VisualObject * MR_PointObject_MutableUpcastTo_MR_VisualObject | ( | MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::VisualObject. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_std_string * MR_PointObject_name | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject * MR_PointObject_OffsetMutablePtr | ( | MR_PointObject * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_OffsetPtr | ( | const MR_PointObject * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API MR_FeatureObjectProjectPointResult * MR_PointObject_projectPoint | ( | const MR_PointObject * | _this, |
| const MR_Vector3f * | _1, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::PointObject::projectPoint. Parameter _this can not be null. It is a single object. Parameter _1 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_PointObject_removeAllChildren | ( | MR_PointObject * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::PointObject::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_PointObject_removeTag | ( | MR_PointObject * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::PointObject::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_PointObject_render | ( | const MR_PointObject * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::PointObject::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_PointObject_renderForPicker | ( | const MR_PointObject * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::PointObject::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_PointObject_renderUi | ( | const MR_PointObject * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::PointObject::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_PointObject_resetColors | ( | MR_PointObject * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::PointObject::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_resetDirty | ( | const MR_PointObject * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::PointObject::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_resetDirtyExceptMask | ( | const MR_PointObject * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::PointObject::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_resetFrontColor | ( | MR_PointObject * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::PointObject::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_resetRedrawFlag | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_resetXf | ( | MR_PointObject * | _this, |
| const MR_ViewportId * | id ) |
Generated from method MR::PointObject::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_PointObject_sameModels | ( | const MR_PointObject * | _this, |
| const MR_Object * | other ) |
Generated from method MR::PointObject::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_PointObject_select | ( | MR_PointObject * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::PointObject::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setAllVisualizeProperties | ( | MR_PointObject * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::PointObject::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_PointObject_setAmbientStrength | ( | MR_PointObject * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::PointObject::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setAncillary | ( | MR_PointObject * | _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::PointObject::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setBackColor | ( | MR_PointObject * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::PointObject::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_PointObject_setBackColorsForAllViewports | ( | MR_PointObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::PointObject::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setColoringType | ( | MR_PointObject * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::PointObject::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setDecorationsColor | ( | MR_PointObject * | _this, |
| const MR_Color * | color, | ||
| bool | selected, | ||
| const MR_ViewportId * | viewportId ) |
Generated from method MR::PointObject::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_PointObject_setDecorationsColorForAllViewports | ( | MR_PointObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val, | ||
| bool | selected ) |
Generated from method MR::PointObject::setDecorationsColorForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setDirtyFlags | ( | MR_PointObject * | _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::PointObject::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_PointObject_setFrontColor | ( | MR_PointObject * | _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::PointObject::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_PointObject_setFrontColorsForAllViewports | ( | MR_PointObject * | _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::PointObject::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_PointObject_setGlobalAlpha | ( | MR_PointObject * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::PointObject::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_PointObject_setGlobalAlphaForAllViewports | ( | MR_PointObject * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::PointObject::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setGlobalClippedByPlane | ( | MR_PointObject * | _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::PointObject::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_PointObject_setGlobalVisibility | ( | MR_PointObject * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::PointObject::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_PointObject_setLineWidth | ( | MR_PointObject * | _this, |
| float | lineWidth ) |
Generated from method MR::PointObject::setLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setLocalPoint | ( | MR_PointObject * | _this, |
| const MR_Vector3f * | point, | ||
| const MR_ViewportId * | id ) |
updates xf to fit given point Generated from method MR::PointObject::setLocalPoint. 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.
| MRC_API void MR_PointObject_setLocked | ( | MR_PointObject * | _this, |
| bool | on ) |
Generated from method MR::PointObject::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setMainFeatureAlpha | ( | MR_PointObject * | _this, |
| float | alpha ) |
Generated from method MR::PointObject::setMainFeatureAlpha. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setName | ( | MR_PointObject * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::PointObject::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_PointObject_setParentLocked | ( | MR_PointObject * | _this, |
| bool | lock ) |
Generated from method MR::PointObject::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setPickable | ( | MR_PointObject * | _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::PointObject::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_PointObject_setPointSize | ( | MR_PointObject * | _this, |
| float | pointSize ) |
Generated from method MR::PointObject::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setShininess | ( | MR_PointObject * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::PointObject::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSpecularStrength | ( | MR_PointObject * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::PointObject::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSubfeatureAlphaLines | ( | MR_PointObject * | _this, |
| float | alpha ) |
Generated from method MR::PointObject::setSubfeatureAlphaLines. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSubfeatureAlphaMesh | ( | MR_PointObject * | _this, |
| float | alpha ) |
Generated from method MR::PointObject::setSubfeatureAlphaMesh. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSubfeatureAlphaPoints | ( | MR_PointObject * | _this, |
| float | alpha ) |
Generated from method MR::PointObject::setSubfeatureAlphaPoints. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSubfeatureLineWidth | ( | MR_PointObject * | _this, |
| float | lineWidth ) |
Generated from method MR::PointObject::setSubfeatureLineWidth. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setSubfeaturePointSize | ( | MR_PointObject * | _this, |
| float | pointSize ) |
Generated from method MR::PointObject::setSubfeaturePointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setUseDefaultScenePropertiesOnDeserialization | ( | MR_PointObject * | _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::PointObject::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_PointObject_setVisibilityMask | ( | MR_PointObject * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::PointObject::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_PointObject_setVisible | ( | MR_PointObject * | _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::PointObject::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_PointObject_setVisualizeProperty | ( | MR_PointObject * | _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::PointObject::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_PointObject_setVisualizePropertyMask | ( | MR_PointObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::PointObject::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_PointObject_setWorldXf | ( | MR_PointObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::PointObject::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_PointObject_setXf | ( | MR_PointObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::PointObject::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_PointObject_setXfsForAllViewports | ( | MR_PointObject * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::PointObject::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_PointObject_shallowClone | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::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_PointObject_shallowCloneTree | ( | const MR_PointObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::PointObject::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_PointObject_sortChildren | ( | MR_PointObject * | _this | ) |
sort recognized children by name Generated from method MR::PointObject::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_PointObject_StaticClassName | ( | void | ) |
Generated from method MR::PointObject::StaticClassName.
| MRC_API const char * MR_PointObject_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::PointObject::StaticClassNameInPlural.
| MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_FeatureObject | ( | 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_Object | ( | const MR_Object * | object | ) |
Downcasts an instance of MR::Object 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_ObjectChildrenHolder | ( | const MR_ObjectChildrenHolder * | object | ) |
Downcasts an instance of MR::ObjectChildrenHolder 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_PointObject * MR_PointObject_StaticDowncastFrom_MR_VisualObject | ( | const MR_VisualObject * | object | ) |
Downcasts an instance of MR::VisualObject 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. The reference to the parameter object might be preserved in the return value.
| MRC_API const char * MR_PointObject_StaticTypeName | ( | void | ) |
Generated from method MR::PointObject::StaticTypeName.
| MRC_API bool MR_PointObject_supportsVisualizeProperty | ( | const MR_PointObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::PointObject::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_PointObject_swap | ( | MR_PointObject * | _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::PointObject::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_PointObject_tags | ( | const MR_PointObject * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::PointObject::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_PointObject_toggleVisualizeProperty | ( | MR_PointObject * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::PointObject::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_PointObject_typeName | ( | const MR_PointObject * | _this | ) |
Generated from method MR::PointObject::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_FeatureObject * MR_PointObject_UpcastTo_MR_FeatureObject | ( | const MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::FeatureObject. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_Object * MR_PointObject_UpcastTo_MR_Object | ( | const MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::Object. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_ObjectChildrenHolder * MR_PointObject_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API const MR_VisualObject * MR_PointObject_UpcastTo_MR_VisualObject | ( | const MR_PointObject * | object | ) |
Upcasts an instance of MR::PointObject to its base class MR::VisualObject. This version is acting on mutable pointers. The reference to the parameter object might be preserved in the return value.
| MRC_API bool MR_PointObject_useDefaultScenePropertiesOnDeserialization | ( | const MR_PointObject * | _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::PointObject::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_PointObject_visibilityMask | ( | const MR_PointObject * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::PointObject::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_PointObject_worldXf | ( | const MR_PointObject * | _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::PointObject::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_PointObject_xf | ( | const MR_PointObject * | _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::PointObject::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_PointObject_xfsForAllViewports | ( | const MR_PointObject * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::PointObject::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.