#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRBox.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_Object | MR_Object |
| typedef struct MR_ObjectChildrenHolder | MR_ObjectChildrenHolder |
| typedef struct MR_ViewportMask | MR_ViewportMask |
| typedef struct MR_ViewportProperty_MR_AffineXf3f | MR_ViewportProperty_MR_AffineXf3f |
| typedef struct MR_std_filesystem_path | MR_std_filesystem_path |
| 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_shared_ptr_MR_SceneRootObject | MR_std_shared_ptr_MR_SceneRootObject |
| typedef struct MR_std_shared_ptr_const_MR_SceneRootObject | MR_std_shared_ptr_const_MR_SceneRootObject |
| typedef struct MR_std_string | MR_std_string |
| typedef struct MR_std_vector_std_string | MR_std_vector_std_string |
| typedef struct MR_SceneRootObject | MR_SceneRootObject |
| typedef struct MR_SceneRoot | MR_SceneRoot |
| typedef struct MR_ObjectChildrenHolder MR_ObjectChildrenHolder |
| typedef struct MR_SceneRoot MR_SceneRoot |
Singleton to store scene root object Generated from class MR::SceneRoot. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_SceneRootObject MR_SceneRootObject |
Object that is parent of all scene Generated from class MR::SceneRootObject. Base classes: Direct: (non-virtual) MR::Object Indirect: (non-virtual) MR::ObjectChildrenHolder Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_std_filesystem_path MR_std_filesystem_path |
| typedef struct MR_std_set_std_string MR_std_set_std_string |
| typedef struct MR_std_shared_ptr_const_MR_SceneRootObject MR_std_shared_ptr_const_MR_SceneRootObject |
| 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_std_string MR_std_vector_std_string |
| typedef struct MR_ViewportMask MR_ViewportMask |
| MRC_API MR_std_shared_ptr_MR_SceneRootObject * MR_createRootFormObject | ( | MR_PassBy | obj_pass_by, |
| MR_std_shared_ptr_MR_Object * | obj ) |
Removes all obj children and attaches it to newly created SceneRootObject note that it does not respect obj xf Generated from function MR::createRootFormObject. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_MR_SceneRootObject_Destroy() to free it when you're done using it.
| MRC_API MR_SceneRoot * MR_SceneRoot_AssignFromAnother | ( | MR_SceneRoot * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_SceneRoot * | _other ) |
Generated from method MR::SceneRoot::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 const MR_SceneRootObject * MR_SceneRoot_constGet | ( | void | ) |
Generated from method MR::SceneRoot::constGet. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_shared_ptr_const_MR_SceneRootObject * MR_SceneRoot_constGetSharedPtr | ( | void | ) |
Generated from method MR::SceneRoot::constGetSharedPtr. Never returns null. Returns an instance allocated on the heap! Must call MR_std_shared_ptr_const_MR_SceneRootObject_Destroy() to free it when you're done using it.
| MRC_API MR_SceneRoot * MR_SceneRoot_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_SceneRoot * | _other ) |
Generated from constructor MR::SceneRoot::SceneRoot. Never returns null. Returns an instance allocated on the heap! Must call MR_SceneRoot_Destroy() to free it when you're done using it.
| MRC_API void MR_SceneRoot_Destroy | ( | const MR_SceneRoot * | _this | ) |
Destroys a heap-allocated instance of MR_SceneRoot. Does nothing if the pointer is null.
| MRC_API void MR_SceneRoot_DestroyArray | ( | const MR_SceneRoot * | _this | ) |
Destroys a heap-allocated array of MR_SceneRoot. Does nothing if the pointer is null.
| MRC_API MR_SceneRootObject * MR_SceneRoot_get | ( | void | ) |
Generated from method MR::SceneRoot::get. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_std_filesystem_path * MR_SceneRoot_getScenePath | ( | void | ) |
Generated from method MR::SceneRoot::getScenePath. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_std_shared_ptr_MR_SceneRootObject * MR_SceneRoot_getSharedPtr | ( | void | ) |
Generated from method MR::SceneRoot::getSharedPtr. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_SceneRoot * MR_SceneRoot_OffsetMutablePtr | ( | MR_SceneRoot * | 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_SceneRoot * MR_SceneRoot_OffsetPtr | ( | const MR_SceneRoot * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API void MR_SceneRoot_setScenePath | ( | const char * | scenePath, |
| const char * | scenePath_end ) |
Generated from method MR::SceneRoot::setScenePath. Parameter scenePath is a UTF-8 encoded filesystem path.
| MRC_API bool MR_SceneRootObject_addChild | ( | MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_addChildBefore | ( | MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_addTag | ( | MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_applyScale | ( | MR_SceneRootObject * | _this, |
| float | scaleFactor ) |
scale object size (all point positions) Generated from method MR::SceneRootObject::applyScale. Parameter _this can not be null. It is a single object.
| MRC_API MR_SceneRootObject * MR_SceneRootObject_AssignFromAnother | ( | MR_SceneRootObject * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_SceneRootObject * | _other ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_className | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_classNameInPlural | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_clone | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::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_SceneRootObject * MR_SceneRootObject_cloneRoot | ( | const MR_SceneRootObject * | _this | ) |
same as clone but returns correct type Generated from method MR::SceneRootObject::cloneRoot. 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_SceneRootObject_Destroy() to free it when you're done using it.
| MRC_API MR_std_shared_ptr_MR_Object * MR_SceneRootObject_cloneTree | ( | const MR_SceneRootObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::SceneRootObject::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_SceneRootObject * MR_SceneRootObject_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_SceneRootObject * | _other ) |
Generated from constructor MR::SceneRootObject::SceneRootObject. Never returns null. Returns an instance allocated on the heap! Must call MR_SceneRootObject_Destroy() to free it when you're done using it.
| MRC_API MR_SceneRootObject * MR_SceneRootObject_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SceneRootObject_Destroy() to free it when you're done using it.
| MRC_API MR_SceneRootObject * MR_SceneRootObject_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_SceneRootObject_DestroyArray(). Use MR_SceneRootObject_OffsetMutablePtr() and MR_SceneRootObject_OffsetPtr() to access the array elements.
| MRC_API void MR_SceneRootObject_Destroy | ( | const MR_SceneRootObject * | _this | ) |
Destroys a heap-allocated instance of MR_SceneRootObject. Does nothing if the pointer is null.
| MRC_API void MR_SceneRootObject_DestroyArray | ( | const MR_SceneRootObject * | _this | ) |
Destroys a heap-allocated array of MR_SceneRootObject. Does nothing if the pointer is null.
| MRC_API bool MR_SceneRootObject_detachFromParent | ( | MR_SceneRootObject * | _this | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::SceneRootObject::detachFromParent. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_vector_std_string * MR_SceneRootObject_getInfoLines | ( | const MR_SceneRootObject * | _this | ) |
return several info lines that can better describe object in the UI Generated from method MR::SceneRootObject::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 MR_uint64_t MR_SceneRootObject_getModelHash | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::getModelHash. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_getRedrawFlag | ( | const MR_SceneRootObject * | _this, |
| const MR_ViewportMask * | _1 ) |
this method virtual because others data model types could have dirty flags or something Generated from method MR::SceneRootObject::getRedrawFlag. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_SceneRootObject_getSharedPtr | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::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 MR_Box3f MR_SceneRootObject_getWorldBox | ( | const MR_SceneRootObject * | _this, |
| const MR_ViewportId * | _1 ) |
returns bounding box of this object in world coordinates for default or specific viewport Generated from method MR::SceneRootObject::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_SceneRootObject_getWorldTreeBox | ( | const MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_globalVisibility | ( | const MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_globalVisibilityMask | ( | const MR_SceneRootObject * | _this | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::SceneRootObject::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_SceneRootObject_hasModel | ( | const MR_SceneRootObject * | _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::SceneRootObject::hasModel. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_hasVisualRepresentation | ( | const MR_SceneRootObject * | _this | ) |
does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::SceneRootObject::hasVisualRepresentation. Parameter _this can not be null. It is a single object.
| MRC_API MR_uint64_t MR_SceneRootObject_heapBytes | ( | const MR_SceneRootObject * | _this | ) |
returns the amount of memory this object occupies on heap Generated from method MR::SceneRootObject::heapBytes. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isAncestor | ( | const MR_SceneRootObject * | _this, |
| const MR_Object * | ancestor ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::SceneRootObject::isAncestor. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isAncillary | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::isAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isGlobalAncillary | ( | const MR_SceneRootObject * | _this | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::SceneRootObject::isGlobalAncillary. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isLocked | ( | const MR_SceneRootObject * | _this | ) |
object properties lock for UI Generated from method MR::SceneRootObject::isLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isParentLocked | ( | const MR_SceneRootObject * | _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::SceneRootObject::isParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isSelected | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::isSelected. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_isVisible | ( | const MR_SceneRootObject * | _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::SceneRootObject::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_Object * MR_SceneRootObject_MutableUpcastTo_MR_Object | ( | MR_SceneRootObject * | object | ) |
Upcasts an instance of MR::SceneRootObject to its base class MR::Object.
| MRC_API MR_ObjectChildrenHolder * MR_SceneRootObject_MutableUpcastTo_MR_ObjectChildrenHolder | ( | MR_SceneRootObject * | object | ) |
Upcasts an instance of MR::SceneRootObject to its base class MR::ObjectChildrenHolder.
| MRC_API const MR_std_string * MR_SceneRootObject_name | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::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_SceneRootObject * MR_SceneRootObject_OffsetMutablePtr | ( | MR_SceneRootObject * | 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_SceneRootObject * MR_SceneRootObject_OffsetPtr | ( | const MR_SceneRootObject * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element.
| MRC_API void MR_SceneRootObject_removeAllChildren | ( | MR_SceneRootObject * | _this | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::SceneRootObject::removeAllChildren. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_SceneRootObject_removeTag | ( | MR_SceneRootObject * | _this, |
| const char * | tag, | ||
| const char * | tag_end ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::SceneRootObject::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 void MR_SceneRootObject_resetRedrawFlag | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::resetRedrawFlag. Parameter _this can not be null. It is a single object.
| MRC_API void MR_SceneRootObject_resetXf | ( | MR_SceneRootObject * | _this, |
| const MR_ViewportId * | id ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::SceneRootObject::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 const char * MR_SceneRootObject_RootName | ( | void | ) |
Generated from method MR::SceneRootObject::RootName.
| MRC_API bool MR_SceneRootObject_sameModels | ( | const MR_SceneRootObject * | _this, |
| const MR_Object * | other ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_select | ( | MR_SceneRootObject * | _this, |
| bool | _1 ) |
Generated from method MR::SceneRootObject::select. Parameter _this can not be null. It is a single object.
| MRC_API void MR_SceneRootObject_setAncillary | ( | MR_SceneRootObject * | _this, |
| bool | _1 ) |
Generated from method MR::SceneRootObject::setAncillary. Parameter _this can not be null. It is a single object.
| MRC_API void MR_SceneRootObject_setGlobalVisibility | ( | MR_SceneRootObject * | _this, |
| bool | on, | ||
| const MR_ViewportMask * | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::SceneRootObject::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_SceneRootObject_setLocked | ( | MR_SceneRootObject * | _this, |
| bool | on ) |
Generated from method MR::SceneRootObject::setLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_SceneRootObject_setName | ( | MR_SceneRootObject * | _this, |
| const char * | _1, | ||
| const char * | _1_end ) |
Generated from method MR::SceneRootObject::setName. Parameter _this can not be null. It is a single object. Parameter _1 can not be null. If _1_end is null, then _1 is assumed to be null-terminated.
| MRC_API void MR_SceneRootObject_setParentLocked | ( | MR_SceneRootObject * | _this, |
| bool | lock ) |
Generated from method MR::SceneRootObject::setParentLocked. Parameter _this can not be null. It is a single object.
| MRC_API void MR_SceneRootObject_setVisibilityMask | ( | MR_SceneRootObject * | _this, |
| const MR_ViewportMask * | viewportMask ) |
specifies object visibility as bitmask of viewports Generated from method MR::SceneRootObject::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_SceneRootObject_setVisible | ( | MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_setWorldXf | ( | MR_SceneRootObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_setXf | ( | MR_SceneRootObject * | _this, |
| const MR_AffineXf3f * | xf, | ||
| const MR_ViewportId * | id ) |
Generated from method MR::SceneRootObject::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_SceneRootObject_setXfsForAllViewports | ( | MR_SceneRootObject * | _this, |
| MR_PassBy | xf_pass_by, | ||
| MR_ViewportProperty_MR_AffineXf3f * | xf ) |
modifies xfs for all viewports at once Generated from method MR::SceneRootObject::setXfsForAllViewports. Parameter _this can not be null. It is a single object.
| MRC_API MR_std_shared_ptr_MR_Object * MR_SceneRootObject_shallowClone | ( | const MR_SceneRootObject * | _this | ) |
clones current object only, without parent and/or children clones only pointers to mesh, points or voxels Generated from method MR::SceneRootObject::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_SceneRootObject_shallowCloneTree | ( | const MR_SceneRootObject * | _this | ) |
clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR::SceneRootObject::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_SceneRootObject_sortChildren | ( | MR_SceneRootObject * | _this | ) |
sort recognized children by name Generated from method MR::SceneRootObject::sortChildren. Parameter _this can not be null. It is a single object.
| MRC_API const char * MR_SceneRootObject_StaticClassName | ( | void | ) |
Generated from method MR::SceneRootObject::StaticClassName.
| MRC_API const char * MR_SceneRootObject_StaticClassNameInPlural | ( | void | ) |
Generated from method MR::SceneRootObject::StaticClassNameInPlural.
| MRC_API const char * MR_SceneRootObject_StaticTypeName | ( | void | ) |
Generated from method MR::SceneRootObject::StaticTypeName.
| MRC_API void MR_SceneRootObject_swap | ( | MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_tags | ( | const MR_SceneRootObject * | _this | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::SceneRootObject::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 const char * MR_SceneRootObject_typeName | ( | const MR_SceneRootObject * | _this | ) |
Generated from method MR::SceneRootObject::typeName. Parameter _this can not be null. It is a single object.
| MRC_API const MR_Object * MR_SceneRootObject_UpcastTo_MR_Object | ( | const MR_SceneRootObject * | object | ) |
Upcasts an instance of MR::SceneRootObject to its base class MR::Object. This version is acting on mutable pointers.
| MRC_API const MR_ObjectChildrenHolder * MR_SceneRootObject_UpcastTo_MR_ObjectChildrenHolder | ( | const MR_SceneRootObject * | object | ) |
Upcasts an instance of MR::SceneRootObject to its base class MR::ObjectChildrenHolder. This version is acting on mutable pointers.
| MRC_API MR_ViewportMask * MR_SceneRootObject_visibilityMask | ( | const MR_SceneRootObject * | _this | ) |
gets object visibility as bitmask of viewports Generated from method MR::SceneRootObject::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_SceneRootObject_worldXf | ( | const MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_xf | ( | const MR_SceneRootObject * | _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::SceneRootObject::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_SceneRootObject_xfsForAllViewports | ( | const MR_SceneRootObject * | _this | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::SceneRootObject::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.