#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRBox.h>#include <MRCMesh/MREnums.h>#include <MRCMesh/MRViewportId.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Enumerations | |
| enum | MR_PointsVisualizePropertyType { MR_PointsVisualizePropertyType_SelectedVertices = 0 , MR_PointsVisualizePropertyType__count = 1 } |
| typedef struct MR_AnyVisualizeMaskEnum MR_AnyVisualizeMaskEnum |
| typedef struct MR_Color MR_Color |
| typedef struct MR_FaceMap MR_FaceMap |
| typedef struct MR_ModelBaseRenderParams MR_ModelBaseRenderParams |
| typedef struct MR_ModelRenderParams MR_ModelRenderParams |
| typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_ObjectPoints MR_ObjectPoints |
| typedef struct MR_ObjectPointsHolder MR_ObjectPointsHolder |
an object that stores a points Generated from class MR::ObjectPointsHolder. Base classes: Direct: (non-virtual) MR::VisualObject Indirect: (non-virtual) MR::ObjectChildrenHolder MR::Object Derived classes: Direct: (non-virtual) MR::ObjectPoints Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_PointCloudPart MR_PointCloudPart |
| typedef struct MR_std_set_std_string MR_std_set_std_string |
| typedef struct MR_std_shared_ptr_MR_Object MR_std_shared_ptr_MR_Object |
| typedef struct MR_std_string MR_std_string |
| typedef struct MR_std_vector_MR_ViewportMask MR_std_vector_MR_ViewportMask |
| typedef struct MR_std_vector_std_string MR_std_vector_std_string |
| typedef struct MR_UiRenderParams MR_UiRenderParams |
| typedef struct MR_VertBitSet MR_VertBitSet |
| typedef struct MR_VertColors MR_VertColors |
| typedef struct MR_VertMap MR_VertMap |
| typedef struct MR_ViewportMask MR_ViewportMask |
| typedef struct MR_ViewportProperty_MR_Color MR_ViewportProperty_MR_Color |
| typedef struct MR_VisualObject MR_VisualObject |
| MRC_API const MR_std_string * MR_defaultSerializePointsFormat | ( | void | ) |
returns file extension used to serialize ObjectPointsHolder by default (if not overridden in specific object), the string starts with '.' Generated from function MR::defaultSerializePointsFormat. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_ObjectPointsHolder_addChild | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_addChildBefore | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_addTag | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_applyScale | ( | MR_ObjectPointsHolder * | _this, |
| float | scaleFactor ) |
Generated from method MR::ObjectPointsHolder::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectPointsHolder * MR_ObjectPointsHolder_AssignFromAnother | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_ObjectPointsHolder * | _other ) |
Generated from method MR::ObjectPointsHolder::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_std_string * MR_ObjectPointsHolder_className | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_classNameInPlural | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_clone | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_cloneTree | ( | const MR_ObjectPointsHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder * MR_ObjectPointsHolder_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_ObjectPointsHolder * | _other ) |
Generated from constructor MR::ObjectPointsHolder::ObjectPointsHolder. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectPointsHolder_Destroy() to free it when you're done using it.
| MRC_API void MR_ObjectPointsHolder_copyAllSolidColors | ( | MR_ObjectPointsHolder * | _this, |
| const MR_ObjectPointsHolder * | other ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_copyColors | ( | MR_ObjectPointsHolder * | _this, |
| const MR_ObjectPointsHolder * | src, | ||
| const MR_VertMap * | thisToSrc, | ||
| const MR_FaceMap * | thisToSrcFaces ) |
copies point colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectPointsHolder::copyColors. Parameter _this can not be null. It is a single object. Parameter src can not be null. It is a single object. Parameter thisToSrc can not be null. It is a single object. Parameter thisToSrcFaces is a single object. Parameter thisToSrcFaces has a default argument: {}, pass a null pointer to use it. |
| MRC_API MR_ObjectPointsHolder * MR_ObjectPointsHolder_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ObjectPointsHolder_Destroy() to free it when you're done using it.
| MRC_API MR_ObjectPointsHolder * MR_ObjectPointsHolder_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_ObjectPointsHolder_DestroyArray(). Use MR_ObjectPointsHolder_OffsetMutablePtr() and MR_ObjectPointsHolder_OffsetPtr() to access the array elements.
| MRC_API void MR_ObjectPointsHolder_Destroy | ( | const MR_ObjectPointsHolder * | _this | ) |
Destroys a heap-allocated instance of MR_ObjectPointsHolder. Does nothing if the pointer is null.
| MRC_API void MR_ObjectPointsHolder_DestroyArray | ( | const MR_ObjectPointsHolder * | _this | ) |
Destroys a heap-allocated array of MR_ObjectPointsHolder. Does nothing if the pointer is null.
| MRC_API bool MR_ObjectPointsHolder_detachFromParent | ( | MR_ObjectPointsHolder * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectPointsHolder::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API const MR_ObjectPoints * MR_ObjectPointsHolder_DynamicDowncastTo_MR_ObjectPoints | ( | const MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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_ObjectPoints * MR_ObjectPointsHolder_DynamicDowncastToOrFail_MR_ObjectPoints | ( | const MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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 int * MR_ObjectPointsHolder_Get_MaxRenderingPointsDefault | ( | void | ) |
default value for maximum rendered points number Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsDefault. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const int * MR_ObjectPointsHolder_Get_MaxRenderingPointsUnlimited | ( | void | ) |
recommended value for maximum rendered points number to disable discretization Returns a pointer to a member variable of class MR::ObjectPointsHolder named MaxRenderingPointsUnlimited. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_vector_MR_ViewportMask * MR_ObjectPointsHolder_getAllVisualizeProperties | ( | const MR_ObjectPointsHolder * | _this | ) |
get all visualize properties masks Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getAmbientStrength | ( | const MR_ObjectPointsHolder * | _this | ) |
returns intensity of non-directional light Generated from method MR::ObjectPointsHolder::getAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectPointsHolder_getBackColor | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns backward color of object in given viewport Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getBackColorsForAllViewports | ( | const MR_ObjectPointsHolder * | _this | ) |
returns backward color of object in all viewports Generated from method MR::ObjectPointsHolder::getBackColorsForAllViewports. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_Box3f MR_ObjectPointsHolder_getBoundingBox | ( | const MR_ObjectPointsHolder * | _this | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectPointsHolder::getBoundingBox. Parameter _this can not be null. It is a single object.
| MRC_API MR_ColoringType MR_ObjectPointsHolder_getColoringType | ( | const MR_ObjectPointsHolder * | _this | ) |
returns the current coloring mode of the object Generated from method MR::ObjectPointsHolder::getColoringType. Parameter _this can not be null. It is a single object.
| MRC_API unsigned int MR_ObjectPointsHolder_getDirtyFlags | ( | const MR_ObjectPointsHolder * | _this | ) |
returns current dirty flags for the object Generated from method MR::ObjectPointsHolder::getDirtyFlags. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Color * MR_ObjectPointsHolder_getFrontColor | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_getFrontColorsForAllViewports | ( | const MR_ObjectPointsHolder * | _this, |
| const bool * | selected ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getGlobalAlpha | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ViewportId * | viewportId ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getGlobalAlphaForAllViewports | ( | const MR_ObjectPointsHolder * | _this | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getInfoLines | ( | const MR_ObjectPointsHolder * | _this | ) |
return several info lines that can better describe the object in the UI Generated from method MR::ObjectPointsHolder::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 int MR_ObjectPointsHolder_getMaxRenderingPoints | ( | const MR_ObjectPointsHolder * | _this | ) |
returns maximal number of points that will be rendered if actual count of valid points is greater then the points will be sampled Generated from method MR::ObjectPointsHolder::getMaxRenderingPoints. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectPointsHolder_getModelHash | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectPointsHolder_getPointSize | ( | const MR_ObjectPointsHolder * | _this | ) |
returns size of points on screen in pixels Generated from method MR::ObjectPointsHolder::getPointSize. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_getRedrawFlag | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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 int MR_ObjectPointsHolder_getRenderDiscretization | ( | const MR_ObjectPointsHolder * | _this | ) |
returns rendering discretization display each renderDiscretization-th point only, starting from 0 index, total number is numRenderingValidPoints() \detail defined by maximum rendered points number as: numValidPoints() / getMaxRenderingPoints() (rounded up) updated when setting maxRenderingPoints or changing the cloud (setting DIRTY_FACE flag) Generated from method MR::ObjectPointsHolder::getRenderDiscretization. Parameter _this can not be null. It is a single object.
| MRC_API const MR_VertBitSet * MR_ObjectPointsHolder_getSelectedPoints | ( | const MR_ObjectPointsHolder * | _this | ) |
gets current selected points Generated from method MR::ObjectPointsHolder::getSelectedPoints. 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_VertBitSet * MR_ObjectPointsHolder_getSelectedPointsOrAll | ( | const MR_ObjectPointsHolder * | _this | ) |
returns selected points if any, otherwise returns all valid points Generated from method MR::ObjectPointsHolder::getSelectedPointsOrAll. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_Color * MR_ObjectPointsHolder_getSelectedVerticesColor | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ViewportId * | id ) |
returns colors of selected vertices Generated from method MR::ObjectPointsHolder::getSelectedVerticesColor. Parameter _this can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_ViewportProperty_MR_Color * MR_ObjectPointsHolder_getSelectedVerticesColorsForAllViewports | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::getSelectedVerticesColorsForAllViewports. 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_shared_ptr_MR_Object * MR_ObjectPointsHolder_getSharedPtr | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getShininess | ( | const MR_ObjectPointsHolder * | _this | ) |
returns the current shininess visual value Generated from method MR::ObjectPointsHolder::getShininess. Parameter _this can not be null. It is a single object.
| MRC_API float MR_ObjectPointsHolder_getSpecularStrength | ( | const MR_ObjectPointsHolder * | _this | ) |
returns intensity of reflections Generated from method MR::ObjectPointsHolder::getSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API const MR_VertColors * MR_ObjectPointsHolder_getVertsColorMap | ( | const MR_ObjectPointsHolder * | _this | ) |
returns per-point colors of the object Generated from method MR::ObjectPointsHolder::getVertsColorMap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API bool MR_ObjectPointsHolder_getVisualizeProperty | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_getVisualizePropertyMask | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
returns mask of viewports where given property is set Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getWorldBox | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ViewportId * | _1 ) |
returns cached bounding box of this point object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_getWorldTreeBox | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_globalClippedByPlane | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_globalClippedByPlaneMask | ( | const MR_ObjectPointsHolder * | _this | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_globalVisibility | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_globalVisibilityMask | ( | const MR_ObjectPointsHolder * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_hasModel | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_hasVisualRepresentation | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectPointsHolder_heapBytes | ( | const MR_ObjectPointsHolder * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectPointsHolder::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isAncestor | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectPointsHolder::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isAncillary | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isGlobalAncillary | ( | const MR_ObjectPointsHolder * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectPointsHolder::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isLocked | ( | const MR_ObjectPointsHolder * | _this | ) |
object properties lock for UI Generated from method MR::ObjectPointsHolder::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isParentLocked | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isPickable | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_isSelected | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_isVisible | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPoints * MR_ObjectPointsHolder_MutableDynamicDowncastTo_MR_ObjectPoints | ( | MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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_ObjectPoints * MR_ObjectPointsHolder_MutableDynamicDowncastToOrFail_MR_ObjectPoints | ( | MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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_ObjectPoints * MR_ObjectPointsHolder_MutableStaticDowncastTo_MR_ObjectPoints | ( | MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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_ObjectPointsHolder_MutableUpcastTo_MR_Object | ( | MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_ObjectPointsHolder_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::ObjectChildrenHolder.
| MRC_API MR_VisualObject * MR_ObjectPointsHolder_MutableUpcastTo_MR_VisualObject | ( | MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::VisualObject.
| MRC_API const MR_std_string * MR_ObjectPointsHolder_name | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::name. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t MR_ObjectPointsHolder_numRenderingValidPoints | ( | const MR_ObjectPointsHolder * | _this | ) |
returns count of valid points that will be rendered Generated from method MR::ObjectPointsHolder::numRenderingValidPoints. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectPointsHolder_numSelectedPoints | ( | const MR_ObjectPointsHolder * | _this | ) |
returns cached information about the number of selected points Generated from method MR::ObjectPointsHolder::numSelectedPoints. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_ObjectPointsHolder_numValidPoints | ( | const MR_ObjectPointsHolder * | _this | ) |
returns cached information about the number of valid points Generated from method MR::ObjectPointsHolder::numValidPoints. Parameter _this can not be null. It is a single object.
| MRC_API MR_ObjectPointsHolder * MR_ObjectPointsHolder_OffsetMutablePtr | ( | MR_ObjectPointsHolder * | 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_ObjectPointsHolder * MR_ObjectPointsHolder_OffsetPtr | ( | const MR_ObjectPointsHolder * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API const MR_std_shared_ptr_const_MR_PointCloud * MR_ObjectPointsHolder_pointCloud | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::pointCloud. 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_PointCloudPart * MR_ObjectPointsHolder_pointCloudPart | ( | const MR_ObjectPointsHolder * | _this | ) |
MR::ObjectPointsHolder::pointCloudPart. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_PointCloudPart_Destroy() to free it when you're done using it. | MRC_API void MR_ObjectPointsHolder_removeAllChildren | ( | MR_ObjectPointsHolder * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectPointsHolder::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_removeTag | ( | MR_ObjectPointsHolder * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_render | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ModelRenderParams * | _1 ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_renderForPicker | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_ModelBaseRenderParams * | _1, | ||
| unsigned int | _2 ) |
draws this object for picking Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_renderUi | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_UiRenderParams * | params ) |
draws this object for 2d UI Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_resetColors | ( | MR_ObjectPointsHolder * | _this | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectPointsHolder::resetColors. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_resetDirty | ( | const MR_ObjectPointsHolder * | _this | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectPointsHolder::resetDirty. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_resetDirtyExceptMask | ( | const MR_ObjectPointsHolder * | _this, |
| unsigned int | mask ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectPointsHolder::resetDirtyExceptMask. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_resetFrontColor | ( | MR_ObjectPointsHolder * | _this | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectPointsHolder::resetFrontColor. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_resetRedrawFlag | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_resetXf | ( | MR_ObjectPointsHolder * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_sameModels | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_Object * | other ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_select | ( | MR_ObjectPointsHolder * | _this, |
| bool | on ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectPointsHolder::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_selectPoints | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | newSelection_pass_by, | ||
| MR_VertBitSet * | newSelection ) |
sets current selected points Generated from method MR::ObjectPointsHolder::selectPoints. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectPointsHolder_serializeFormat | ( | const MR_ObjectPointsHolder * | _this | ) |
returns overriden file extension used to serialize point cloud inside this object, nullptr means defaultSerializePointsFormat() Generated from method MR::ObjectPointsHolder::serializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setAllVisualizeProperties | ( | MR_ObjectPointsHolder * | _this, |
| const MR_std_vector_MR_ViewportMask * | properties ) |
set all visualize properties masks Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setAmbientStrength | ( | MR_ObjectPointsHolder * | _this, |
| float | ambientStrength ) |
sets intensity of non-directional light Generated from method MR::ObjectPointsHolder::setAmbientStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setAncillary | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setBackColor | ( | MR_ObjectPointsHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setBackColorsForAllViewports | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
sets backward color of object in all viewports Generated from method MR::ObjectPointsHolder::setBackColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setColoringType | ( | MR_ObjectPointsHolder * | _this, |
| MR_ColoringType | coloringType ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectPointsHolder::setColoringType. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setDirtyFlags | ( | MR_ObjectPointsHolder * | _this, |
| unsigned int | mask, | ||
| const bool * | invalidateCaches ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setFrontColor | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setFrontColorsForAllViewports | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setGlobalAlpha | ( | MR_ObjectPointsHolder * | _this, |
| unsigned char | alpha, | ||
| const MR_ViewportId * | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setGlobalAlphaForAllViewports | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_unsigned_char * | val ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectPointsHolder::setGlobalAlphaForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setGlobalClippedByPlane | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setGlobalVisibility | ( | MR_ObjectPointsHolder * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setLocked | ( | MR_ObjectPointsHolder * | _this, |
| bool | on ) |
Generated from method MR::ObjectPointsHolder::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setMaxRenderingPoints | ( | MR_ObjectPointsHolder * | _this, |
| int | val ) |
sets maximal number of points that will be rendered
MR::ObjectPointsHolder::setMaxRenderingPoints. Parameter _this can not be null. It is a single object. | MRC_API void MR_ObjectPointsHolder_setName | ( | MR_ObjectPointsHolder * | _this, |
| const char * | name, | ||
| const char * | name_end ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setParentLocked | ( | MR_ObjectPointsHolder * | _this, |
| bool | lock ) |
Generated from method MR::ObjectPointsHolder::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setPickable | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setPointSize | ( | MR_ObjectPointsHolder * | _this, |
| float | size ) |
sets size of points on screen in pixels Generated from method MR::ObjectPointsHolder::setPointSize. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setSelectedVerticesColor | ( | MR_ObjectPointsHolder * | _this, |
| const MR_Color * | color, | ||
| const MR_ViewportId * | id ) |
sets colors of selected vertices Generated from method MR::ObjectPointsHolder::setSelectedVerticesColor. Parameter _this can not be null. It is a single object. Parameter color can not be null. It is a single object. Parameter id has a default argument: {}, pass a null pointer to use it.
| MRC_API void MR_ObjectPointsHolder_setSelectedVerticesColorsForAllViewports | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | val_pass_by, | ||
| MR_ViewportProperty_MR_Color * | val ) |
Generated from method MR::ObjectPointsHolder::setSelectedVerticesColorsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setSerializeFormat | ( | MR_ObjectPointsHolder * | _this, |
| const char * | newFormat ) |
overrides file extension used to serialize point cloud inside this object: must start from '.', nullptr means serialize in defaultSerializePointsFormat() Generated from method MR::ObjectPointsHolder::setSerializeFormat. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setShininess | ( | MR_ObjectPointsHolder * | _this, |
| float | shininess ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectPointsHolder::setShininess. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setSpecularStrength | ( | MR_ObjectPointsHolder * | _this, |
| float | specularStrength ) |
sets intensity of reflections Generated from method MR::ObjectPointsHolder::setSpecularStrength. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setUseDefaultScenePropertiesOnDeserialization | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::setUseDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setVertsColorMap | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | vertsColorMap_pass_by, | ||
| MR_VertColors * | vertsColorMap ) |
sets per-point colors of the object Generated from method MR::ObjectPointsHolder::setVertsColorMap. Parameter _this can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_setVisibilityMask | ( | MR_ObjectPointsHolder * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setVisible | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setVisualizeProperty | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_setVisualizePropertyMask | ( | MR_ObjectPointsHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
set visual property mask Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setWorldXf | ( | MR_ObjectPointsHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setXf | ( | MR_ObjectPointsHolder * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_setXfsForAllViewports | ( | MR_ObjectPointsHolder * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::ObjectPointsHolder::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_ObjectPointsHolder_shallowClone | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_shallowCloneTree | ( | const MR_ObjectPointsHolder * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_sortChildren | ( | MR_ObjectPointsHolder * | _this | ) |
sort recognized children by name Generated from method MR::ObjectPointsHolder::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_ObjectPointsHolder_StaticClassName | ( | void | ) |
Generated from method MR::ObjectPointsHolder::StaticClassName.
| MRC_API const char * MR_ObjectPointsHolder_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::ObjectPointsHolder::StaticClassNameInPlural.
| MRC_API const MR_ObjectPoints * MR_ObjectPointsHolder_StaticDowncastTo_MR_ObjectPoints | ( | const MR_ObjectPointsHolder * | object | ) |
Downcasts an instance of MR::ObjectPointsHolder to a derived class MR::ObjectPoints. 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_ObjectPointsHolder_StaticTypeName | ( | void | ) |
Generated from method MR::ObjectPointsHolder::StaticTypeName.
| MRC_API bool MR_ObjectPointsHolder_supportsVisualizeProperty | ( | const MR_ObjectPointsHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type ) |
Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_swap | ( | MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_tags | ( | const MR_ObjectPointsHolder * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_toggleVisualizeProperty | ( | MR_ObjectPointsHolder * | _this, |
| const MR_AnyVisualizeMaskEnum * | type, | ||
| const MR_ViewportMask * | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_typeName | ( | const MR_ObjectPointsHolder * | _this | ) |
Generated from method MR::ObjectPointsHolder::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_ObjectPointsHolder_UpcastTo_MR_Object | ( | const MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_ObjectPointsHolder_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API const MR_VisualObject * MR_ObjectPointsHolder_UpcastTo_MR_VisualObject | ( | const MR_ObjectPointsHolder * | object | ) |
Upcasts an instance of MR::ObjectPointsHolder to its base class MR::VisualObject. This version is acting on mutable pointers.
| MRC_API void MR_ObjectPointsHolder_updateSelectedPoints | ( | MR_ObjectPointsHolder * | _this, |
| MR_VertBitSet * | selection ) |
swaps current selected points with the argument Generated from method MR::ObjectPointsHolder::updateSelectedPoints. Parameter _this can not be null. It is a single object. Parameter selection can not be null. It is a single object.
| MRC_API void MR_ObjectPointsHolder_updateVertsColorMap | ( | MR_ObjectPointsHolder * | _this, |
| MR_VertColors * | vertsColorMap ) |
swaps per-point colors of the object with given argument Generated from method MR::ObjectPointsHolder::updateVertsColorMap. Parameter _this can not be null. It is a single object. Parameter vertsColorMap can not be null. It is a single object.
| MRC_API bool MR_ObjectPointsHolder_useDefaultScenePropertiesOnDeserialization | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::useDefaultScenePropertiesOnDeserialization. Parameter _this can not be null. It is a single object.
| MRC_API MR_ViewportMask * MR_ObjectPointsHolder_visibilityMask | ( | const MR_ObjectPointsHolder * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectPointsHolder::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_ObjectPointsHolder_worldXf | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_xf | ( | const MR_ObjectPointsHolder * | _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::ObjectPointsHolder::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_ObjectPointsHolder_xfsForAllViewports | ( | const MR_ObjectPointsHolder * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectPointsHolder::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 void MR_setDefaultSerializePointsFormat | ( | const char * | newFormat, |
| const char * | newFormat_end ) |
sets file extension used to serialize serialize ObjectPointsHolder by default (if not overridden in specific object), the string must start from '.'; Generated from function MR::setDefaultSerializePointsFormat. Parameter newFormat can not be null. If newFormat_end is null, then newFormat is assumed to be null-terminated.