MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::SceneRootObject Struct Reference
Inheritance diagram for meshlib::SceneRootObject:

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::SceneRootObject >) -> &mut meshlib::SceneRootObject
auto type_name () const -> Option<&core::ffi::c_char >
auto class_name () const -> meshlib::Owned< meshlib::std_string >
auto class_name_in_plural () const -> meshlib::Owned< meshlib::std_string >
void set_ancillary (_1:bool)
auto select (_1:bool) -> bool
void set_name (_1:&str)
auto clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto clone_root () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_SceneRootObject >
auto name () const -> &meshlib::std_string
auto xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> &meshlib::AffineXf3f
void set_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
void reset_xf (id:Option<&meshlib::ViewportId >)
auto xfs_for_all_viewports () const -> &meshlib::ViewportProperty_MR_AffineXf3f
void set_xfs_for_all_viewports (xf:&meshlib::ViewportProperty_MR_AffineXf3f)
auto world_xf (id:Option<&meshlib::ViewportId >, isDef:Option<&mut bool >) const -> meshlib::AffineXf3f
void set_world_xf (xf:&meshlib::AffineXf3f, id:Option<&meshlib::ViewportId >)
void apply_scale (scaleFactor:f32)
auto global_visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto global_visibility (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_global_visibility (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_locked () const -> bool
void set_locked (on:bool)
auto is_parent_locked () const -> bool
void set_parent_locked (lock:bool)
auto is_ancestor (ancestor:Option<&meshlib::Object >) const -> bool
auto detach_from_parent () -> bool
auto const_children () const -> meshlib::Owned< meshlib::ConstChildren >
auto add_child (child:&meshlib::std_shared_ptr_MR_Object, recognizedChild:Option< bool >) -> bool
auto add_child_before (newChild:&meshlib::std_shared_ptr_MR_Object, existingChild:&meshlib::std_shared_ptr_MR_Object) -> bool
void remove_all_children ()
void sort_children ()
auto is_selected () const -> bool
auto is_ancillary () const -> bool
auto is_global_ancillary () const -> bool
void set_visible (on:bool, viewportMask:Option<&meshlib::ViewportMask >)
auto is_visible (viewportMask:Option<&meshlib::ViewportMask >) const -> bool
void set_visibility_mask (viewportMask:&meshlib::ViewportMask)
auto visibility_mask () const -> meshlib::Owned< meshlib::ViewportMask >
auto get_redraw_flag (_1:&meshlib::ViewportMask) const -> bool
void reset_redraw_flag () const
auto clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone_tree () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto shallow_clone () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto get_info_lines () const -> meshlib::Owned< meshlib::std_vector_std_string >
void swap (other:&mut meshlib::Object)
auto get_world_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto get_world_tree_box (_1:Option<&meshlib::ViewportId >) const -> meshlib::Box3f
auto has_visual_representation () const -> bool
auto has_model () const -> bool
auto tags () const -> &meshlib::std_set_std_string
auto add_tag (tag:&str) -> bool
auto remove_tag (tag:&str) -> bool
auto heap_bytes () const -> usize
auto same_models (other:&meshlib::Object) const -> bool
auto get_model_hash () const -> usize
auto get_shared_ptr () const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >
auto upcast_to_object_children_holder () const -> &meshlib::ObjectChildrenHolder
auto upcast_to_object_children_holder_mut () -> &mut meshlib::ObjectChildrenHolder
auto upcast_to_object () const -> &meshlib::Object
auto upcast_to_object_mut () -> &mut meshlib::Object

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SceneRootObject >
static auto construct_from_another (_other:meshlib::Owned< meshlib::SceneRootObject >) -> meshlib::Owned< meshlib::SceneRootObject >
static auto static_type_name () -> *const core::ffi::c_char
static auto static_class_name () -> *const core::ffi::c_char
static auto static_class_name_in_plural () -> *const core::ffi::c_char
static auto root_name () -> *const core::ffi::c_char
static auto static_downcast_from_object_children_holder (object:&meshlib::ObjectChildrenHolder) -> &Self
static auto static_downcast_from_object_children_holder_mut (object:&mut meshlib::ObjectChildrenHolder) -> &mut Self
static auto static_downcast_from_object (object:&meshlib::Object) -> &Self
static auto static_downcast_from_object_mut (object:&mut meshlib::Object) -> &mut Self
static auto dynamic_downcast_from_object (object:&meshlib::Object) -> Option<&Self >
static auto dynamic_downcast_from_object_mut (object:&mut meshlib::Object) -> Option<&mut Self >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

Object that is parent of all scene Generated from class MR::SceneRootObject. Base classes: Direct: (non-virtual) MR::Object Indirect: (non-virtual) MR::ObjectChildrenHolder

Generated from class MR::SceneRootObject. Heap-allocated instances are held in Owned<SceneRootObject>.

Member Function Documentation

◆ add_child()

auto meshlib::SceneRootObject::add_child ( child:&meshlib::std_shared_ptr_MR_Object ,
recognizedChild:Option< bool >  ) -> bool

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;

Parameters
recognizedChildif 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.

Calls MR_SceneRootObject_addChild().

◆ add_child_before()

auto meshlib::SceneRootObject::add_child_before ( newChild:&meshlib::std_shared_ptr_MR_Object ,
existingChild:&meshlib::std_shared_ptr_MR_Object  ) -> bool

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.

Calls MR_SceneRootObject_addChildBefore().

◆ add_tag()

auto meshlib::SceneRootObject::add_tag ( tag:& str) -> bool

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.

Calls MR_SceneRootObject_addTag().

◆ apply_scale()

void meshlib::SceneRootObject::apply_scale ( scaleFactor:f32 )

scale object size (all point positions) Generated from method MR::SceneRootObject::applyScale.

Calls MR_SceneRootObject_applyScale().

◆ assign_from_another()

auto meshlib::SceneRootObject::assign_from_another ( _other:meshlib::Owned< meshlib::SceneRootObject > ) -> &mut meshlib::SceneRootObject

Generated from method MR::SceneRootObject::operator=.

Calls MR_SceneRootObject_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

◆ class_name()

auto meshlib::SceneRootObject::class_name ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::SceneRootObject::className.

Calls MR_SceneRootObject_className().

◆ class_name_in_plural()

auto meshlib::SceneRootObject::class_name_in_plural ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::SceneRootObject::classNameInPlural.

Calls MR_SceneRootObject_classNameInPlural().

◆ clone()

auto meshlib::SceneRootObject::clone ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

Generated from method MR::SceneRootObject::clone.

Calls MR_SceneRootObject_clone().

◆ clone_root()

auto meshlib::SceneRootObject::clone_root ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_SceneRootObject >

same as clone but returns correct type Generated from method MR::SceneRootObject::cloneRoot.

Calls MR_SceneRootObject_cloneRoot().

◆ clone_tree()

auto meshlib::SceneRootObject::clone_tree ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::SceneRootObject::cloneTree.

Calls MR_SceneRootObject_cloneTree().

◆ const_children()

auto meshlib::SceneRootObject::const_children ( ) const -> meshlib::Owned< meshlib::ConstChildren >

the same sub-objects without the ability to modify them; the returned view is invalidated by anything that changes the children of this object Generated from method MR::SceneRootObject::constChildren.

Calls MR_SceneRootObject_constChildren().

◆ construct_from_another()

auto meshlib::SceneRootObject::construct_from_another ( _other:meshlib::Owned< meshlib::SceneRootObject > ) -> meshlib::Owned< meshlib::SceneRootObject >
static

Generated from constructor MR::SceneRootObject::SceneRootObject.

Calls MR_SceneRootObject_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ detach_from_parent()

auto meshlib::SceneRootObject::detach_from_parent ( ) -> bool

removes this from its parent children list returns false if it was already orphan Generated from method MR::SceneRootObject::detachFromParent.

Calls MR_SceneRootObject_detachFromParent().

◆ dynamic_downcast_from_object()

auto meshlib::SceneRootObject::dynamic_downcast_from_object ( object:&meshlib::Object ) -> Option<&Self >
static

Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a SceneRootObject.

Calls MR_SceneRootObject_DynamicDowncastFrom_MR_Object().

◆ dynamic_downcast_from_object_mut()

auto meshlib::SceneRootObject::dynamic_downcast_from_object_mut ( object:&mut meshlib::Object ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::Object. Returns None if the object isn't actually a SceneRootObject.

Calls MR_SceneRootObject_MutableDynamicDowncastFrom_MR_Object().

◆ get_info_lines()

auto meshlib::SceneRootObject::get_info_lines ( ) const -> meshlib::Owned< meshlib::std_vector_std_string >

return several info lines that can better describe object in the UI Generated from method MR::SceneRootObject::getInfoLines.

Calls MR_SceneRootObject_getInfoLines().

◆ get_model_hash()

auto meshlib::SceneRootObject::get_model_hash ( ) const -> usize

return hash of model (or hash object pointer if object has no model) Generated from method MR::SceneRootObject::getModelHash.

Calls MR_SceneRootObject_getModelHash().

◆ get_redraw_flag()

auto meshlib::SceneRootObject::get_redraw_flag ( _1:&meshlib::ViewportMask ) const -> bool

this method virtual because others data model types could have dirty flags or something Generated from method MR::SceneRootObject::getRedrawFlag.

Calls MR_SceneRootObject_getRedrawFlag().

◆ get_shared_ptr()

auto meshlib::SceneRootObject::get_shared_ptr ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::SceneRootObject::getSharedPtr.

Calls MR_SceneRootObject_getSharedPtr().

◆ get_world_box()

auto meshlib::SceneRootObject::get_world_box ( _1:Option<&meshlib::ViewportId > ) const -> meshlib::Box3f

returns bounding box of this object in world coordinates for default or specific viewport Generated from method MR::SceneRootObject::getWorldBox.

Calls MR_SceneRootObject_getWorldBox().

◆ get_world_tree_box()

auto meshlib::SceneRootObject::get_world_tree_box ( _1:Option<&meshlib::ViewportId > ) const -> meshlib::Box3f

returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::SceneRootObject::getWorldTreeBox.

Calls MR_SceneRootObject_getWorldTreeBox().

◆ global_visibility()

auto meshlib::SceneRootObject::global_visibility ( viewportMask:Option<&meshlib::ViewportMask > ) const -> bool

returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::SceneRootObject::globalVisibility.

Calls MR_SceneRootObject_globalVisibility().

◆ global_visibility_mask()

auto meshlib::SceneRootObject::global_visibility_mask ( ) const -> meshlib::Owned< meshlib::ViewportMask >

returns all viewports where this object is visible together with all its parents Generated from method MR::SceneRootObject::globalVisibilityMask.

Calls MR_SceneRootObject_globalVisibilityMask().

◆ has_model()

auto meshlib::SceneRootObject::has_model ( ) const -> bool

does the object have any model available (but possibly empty), e.g. ObjectMesh has valid meshPtr() or ObjectPoints has valid pointCloudPtr() Generated from method MR::SceneRootObject::hasModel.

Calls MR_SceneRootObject_hasModel().

◆ has_visual_representation()

auto meshlib::SceneRootObject::has_visual_representation ( ) const -> bool

does the object have any visual representation (visible points, triangles, edges, etc.), no considering child objects Generated from method MR::SceneRootObject::hasVisualRepresentation.

Calls MR_SceneRootObject_hasVisualRepresentation().

◆ heap_bytes()

auto meshlib::SceneRootObject::heap_bytes ( ) const -> usize

returns the amount of memory this object occupies on heap Generated from method MR::SceneRootObject::heapBytes.

Calls MR_SceneRootObject_heapBytes().

◆ is_ancestor()

auto meshlib::SceneRootObject::is_ancestor ( ancestor:Option<&meshlib::Object > ) const -> bool

return true if given object is ancestor of this one, false otherwise Generated from method MR::SceneRootObject::isAncestor.

Calls MR_SceneRootObject_isAncestor().

◆ is_ancillary()

auto meshlib::SceneRootObject::is_ancillary ( ) const -> bool

Generated from method MR::SceneRootObject::isAncillary.

Calls MR_SceneRootObject_isAncillary().

◆ is_global_ancillary()

auto meshlib::SceneRootObject::is_global_ancillary ( ) const -> bool

returns true if the object or any of its ancestors are ancillary Generated from method MR::SceneRootObject::isGlobalAncillary.

Calls MR_SceneRootObject_isGlobalAncillary().

◆ is_locked()

auto meshlib::SceneRootObject::is_locked ( ) const -> bool

object properties lock for UI Generated from method MR::SceneRootObject::isLocked.

Calls MR_SceneRootObject_isLocked().

◆ is_parent_locked()

auto meshlib::SceneRootObject::is_parent_locked ( ) const -> bool

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.

Calls MR_SceneRootObject_isParentLocked().

◆ is_selected()

auto meshlib::SceneRootObject::is_selected ( ) const -> bool

Generated from method MR::SceneRootObject::isSelected.

Calls MR_SceneRootObject_isSelected().

◆ is_visible()

auto meshlib::SceneRootObject::is_visible ( viewportMask:Option<&meshlib::ViewportMask > ) const -> bool

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.

Calls MR_SceneRootObject_isVisible().

◆ name()

auto meshlib::SceneRootObject::name ( ) const -> &meshlib::std_string

Generated from method MR::SceneRootObject::name.

Calls MR_SceneRootObject_name().

◆ new()

auto meshlib::SceneRootObject::new ( ) -> meshlib::Owned< meshlib::SceneRootObject >
static

Constructs an empty (default-constructed) instance.

Calls MR_SceneRootObject_DefaultConstruct().

◆ remove_all_children()

void meshlib::SceneRootObject::remove_all_children ( )

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::SceneRootObject::removeAllChildren.

Calls MR_SceneRootObject_removeAllChildren().

◆ remove_tag()

auto meshlib::SceneRootObject::remove_tag ( tag:& str) -> bool

removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::SceneRootObject::removeTag.

Calls MR_SceneRootObject_removeTag().

◆ reset_redraw_flag()

void meshlib::SceneRootObject::reset_redraw_flag ( ) const

Generated from method MR::SceneRootObject::resetRedrawFlag.

Calls MR_SceneRootObject_resetRedrawFlag().

◆ reset_xf()

void meshlib::SceneRootObject::reset_xf ( id:Option<&meshlib::ViewportId > )

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::SceneRootObject::resetXf.

Calls MR_SceneRootObject_resetXf().

◆ root_name()

auto meshlib::SceneRootObject::root_name ( ) -> *const core::ffi::c_char
static

Generated from method MR::SceneRootObject::RootName.

Calls MR_SceneRootObject_RootName().

◆ same_models()

auto meshlib::SceneRootObject::same_models ( other:&meshlib::Object ) const -> bool

return true if model of current object equals to model (the same) of other Generated from method MR::SceneRootObject::sameModels.

Calls MR_SceneRootObject_sameModels().

◆ select()

auto meshlib::SceneRootObject::select ( _1:bool ) -> bool

Generated from method MR::SceneRootObject::select.

Calls MR_SceneRootObject_select().

◆ set_ancillary()

void meshlib::SceneRootObject::set_ancillary ( _1:bool )

Generated from method MR::SceneRootObject::setAncillary.

Calls MR_SceneRootObject_setAncillary().

◆ set_global_visibility()

void meshlib::SceneRootObject::set_global_visibility ( on:bool ,
viewportMask:Option<&meshlib::ViewportMask >  )

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::SceneRootObject::setGlobalVisibility.

Calls MR_SceneRootObject_setGlobalVisibility().

◆ set_locked()

void meshlib::SceneRootObject::set_locked ( on:bool )

Generated from method MR::SceneRootObject::setLocked.

Calls MR_SceneRootObject_setLocked().

◆ set_name()

void meshlib::SceneRootObject::set_name ( _1:& str)

Generated from method MR::SceneRootObject::setName.

Calls MR_SceneRootObject_setName().

◆ set_parent_locked()

void meshlib::SceneRootObject::set_parent_locked ( lock:bool )

Generated from method MR::SceneRootObject::setParentLocked.

Calls MR_SceneRootObject_setParentLocked().

◆ set_visibility_mask()

void meshlib::SceneRootObject::set_visibility_mask ( viewportMask:&meshlib::ViewportMask )

specifies object visibility as bitmask of viewports Generated from method MR::SceneRootObject::setVisibilityMask.

Calls MR_SceneRootObject_setVisibilityMask().

◆ set_visible()

void meshlib::SceneRootObject::set_visible ( on:bool ,
viewportMask:Option<&meshlib::ViewportMask >  )

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::SceneRootObject::setVisible.

Calls MR_SceneRootObject_setVisible().

◆ set_world_xf()

void meshlib::SceneRootObject::set_world_xf ( xf:&meshlib::AffineXf3f ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::SceneRootObject::setWorldXf.

Calls MR_SceneRootObject_setWorldXf().

◆ set_xf()

void meshlib::SceneRootObject::set_xf ( xf:&meshlib::AffineXf3f ,
id:Option<&meshlib::ViewportId >  )

Generated from method MR::SceneRootObject::setXf.

Calls MR_SceneRootObject_setXf().

◆ set_xfs_for_all_viewports()

void meshlib::SceneRootObject::set_xfs_for_all_viewports ( xf:&meshlib::ViewportProperty_MR_AffineXf3f )

modifies xfs for all viewports at once Generated from method MR::SceneRootObject::setXfsForAllViewports.

Calls MR_SceneRootObject_setXfsForAllViewports().

◆ shallow_clone()

auto meshlib::SceneRootObject::shallow_clone ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

clones current object only, without parent and/or children clones only pointers to mesh, points or voxels Generated from method MR::SceneRootObject::shallowClone.

Calls MR_SceneRootObject_shallowClone().

◆ shallow_clone_tree()

auto meshlib::SceneRootObject::shallow_clone_tree ( ) const -> meshlib::Owned< meshlib::std_shared_ptr_MR_Object >

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.

Calls MR_SceneRootObject_shallowCloneTree().

◆ sort_children()

void meshlib::SceneRootObject::sort_children ( )

sort recognized children by name Generated from method MR::SceneRootObject::sortChildren.

Calls MR_SceneRootObject_sortChildren().

◆ static_class_name()

auto meshlib::SceneRootObject::static_class_name ( ) -> *const core::ffi::c_char
static

Generated from method MR::SceneRootObject::StaticClassName.

Calls MR_SceneRootObject_StaticClassName().

◆ static_class_name_in_plural()

auto meshlib::SceneRootObject::static_class_name_in_plural ( ) -> *const core::ffi::c_char
static

Generated from method MR::SceneRootObject::StaticClassNameInPlural.

Calls MR_SceneRootObject_StaticClassNameInPlural().

◆ static_downcast_from_object()

auto meshlib::SceneRootObject::static_downcast_from_object ( object:&meshlib::Object ) -> &Self
static

Static downcast from the base class MR::Object.

Calls MR_SceneRootObject_StaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a SceneRootObject.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder()

auto meshlib::SceneRootObject::static_downcast_from_object_children_holder ( object:&meshlib::ObjectChildrenHolder ) -> &Self
static

Static downcast from the base class MR::ObjectChildrenHolder.

Calls MR_SceneRootObject_StaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a SceneRootObject.

Note
This function is unsafe.

◆ static_downcast_from_object_children_holder_mut()

auto meshlib::SceneRootObject::static_downcast_from_object_children_holder_mut ( object:&mut meshlib::ObjectChildrenHolder ) -> &mut Self
static

Static downcast from the base class MR::ObjectChildrenHolder.

Calls MR_SceneRootObject_MutableStaticDowncastFrom_MR_ObjectChildrenHolder(). Undefined behavior if the object isn't actually a SceneRootObject.

Note
This function is unsafe.

◆ static_downcast_from_object_mut()

auto meshlib::SceneRootObject::static_downcast_from_object_mut ( object:&mut meshlib::Object ) -> &mut Self
static

Static downcast from the base class MR::Object.

Calls MR_SceneRootObject_MutableStaticDowncastFrom_MR_Object(). Undefined behavior if the object isn't actually a SceneRootObject.

Note
This function is unsafe.

◆ static_type_name()

auto meshlib::SceneRootObject::static_type_name ( ) -> *const core::ffi::c_char
static

Generated from method MR::SceneRootObject::StaticTypeName.

Calls MR_SceneRootObject_StaticTypeName().

◆ swap()

void meshlib::SceneRootObject::swap ( other:&mut meshlib::Object )

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.

Calls MR_SceneRootObject_swap().

◆ tags()

auto meshlib::SceneRootObject::tags ( ) const -> &meshlib::std_set_std_string

provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::SceneRootObject::tags.

Calls MR_SceneRootObject_tags().

◆ type_name()

auto meshlib::SceneRootObject::type_name ( ) const -> Option<&core::ffi::c_char >

Generated from method MR::SceneRootObject::typeName.

Calls MR_SceneRootObject_typeName().

◆ upcast_to_object()

auto meshlib::SceneRootObject::upcast_to_object ( ) const -> &meshlib::Object

Upcasts to the base class MR::Object.

Calls MR_SceneRootObject_UpcastTo_MR_Object().

◆ upcast_to_object_children_holder()

auto meshlib::SceneRootObject::upcast_to_object_children_holder ( ) const -> &meshlib::ObjectChildrenHolder

Upcasts to the base class MR::ObjectChildrenHolder.

Calls MR_SceneRootObject_UpcastTo_MR_ObjectChildrenHolder().

◆ upcast_to_object_children_holder_mut()

auto meshlib::SceneRootObject::upcast_to_object_children_holder_mut ( ) -> &mut meshlib::ObjectChildrenHolder

Upcasts to the base class MR::ObjectChildrenHolder.

Calls MR_SceneRootObject_MutableUpcastTo_MR_ObjectChildrenHolder().

◆ upcast_to_object_mut()

auto meshlib::SceneRootObject::upcast_to_object_mut ( ) -> &mut meshlib::Object

Upcasts to the base class MR::Object.

Calls MR_SceneRootObject_MutableUpcastTo_MR_Object().

◆ visibility_mask()

auto meshlib::SceneRootObject::visibility_mask ( ) const -> meshlib::Owned< meshlib::ViewportMask >

gets object visibility as bitmask of viewports Generated from method MR::SceneRootObject::visibilityMask.

Calls MR_SceneRootObject_visibilityMask().

◆ world_xf()

auto meshlib::SceneRootObject::world_xf ( id:Option<&meshlib::ViewportId > ,
isDef:Option<&mut bool >  ) const -> meshlib::AffineXf3f

this space to world space transformation for default or specific viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::SceneRootObject::worldXf.

Calls MR_SceneRootObject_worldXf().

◆ xf()

auto meshlib::SceneRootObject::xf ( id:Option<&meshlib::ViewportId > ,
isDef:Option<&mut bool >  ) const -> &meshlib::AffineXf3f

this space to parent space transformation (to world space if no parent) for default or given viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::SceneRootObject::xf.

Calls MR_SceneRootObject_xf().

◆ xfs_for_all_viewports()

auto meshlib::SceneRootObject::xfs_for_all_viewports ( ) const -> &meshlib::ViewportProperty_MR_AffineXf3f

returns xfs for all viewports, combined into a single object Generated from method MR::SceneRootObject::xfsForAllViewports.

Calls MR_SceneRootObject_xfsForAllViewports().


The documentation for this struct was generated from the following file: