MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SceneRootObject Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.SceneRootObject:

Public Member Functions

None __init__ (self)
 
Object clone (self)
 
SceneRootObject cloneRoot (self)
 
str typeName (self)
 
- Public Member Functions inherited from meshlib.mrmeshpy.Object
bool addChild (self, Object child, bool recognizedChild=True)
 
bool addChildBefore (self, Object newChild, Object existingChild)
 
None applyScale (self, float scaleFactor)
 
VisualObject asType_VisualObject (self)
 
VisualObject asType_VisualObject (self)
 
std_vector_std_shared_ptr_Object children (self)
 
std_vector_std_shared_ptr_Object_const children (self)
 
Object cloneTree (self)
 
bool detachFromParent (self)
 
Object find (self, str name)
 
Object find (self, str name)
 
Object findCommonAncestor (self, Object other)
 
Object findCommonAncestor (self, Object other)
 
str getClassName (self)
 
std_vector_std_string getInfoLines (self)
 
bool globalVisibility (self, ViewportMask viewportMask='ViewportMask::any()')
 
ViewportMask globalVisibilityMask (self)
 
bool hasModel (self)
 
bool hasVisualRepresentation (self)
 
int heapBytes (self)
 
bool isAncestor (self, Object ancestor)
 
bool isAncillary (self)
 
bool isLocked (self)
 
bool isParentLocked (self)
 
bool isSelected (self)
 
bool isVisible (self, ViewportMask viewportMask='ViewportMask::any()')
 
str name (self)
 
Object parent (self)
 
Object parent (self)
 
None removeAllChildren (self)
 
bool removeChild (self, Object child)
 
bool removeChild (self, Object child)
 
None resetRedrawFlag (self)
 
None resetXf (self, ViewportId id='MR::ViewportId{}')
 
None setGlobalVisibility (self, bool on, ViewportMask viewportMask='ViewportMask::any()')
 
None setLocked (self, bool on)
 
None setParentLocked (self, bool lock)
 
None setVisibilityMask (self, ViewportMask viewportMask)
 
None setVisible (self, bool on, ViewportMask viewportMask='ViewportMask::all()')
 
None setWorldXf (self, AffineXf3f xf, ViewportId id='MR::ViewportId{}')
 
None setXf (self, AffineXf3f xf, ViewportId id='MR::ViewportId{}')
 
None setXfsForAllViewports (self, ViewportProperty_AffineXf3f xf)
 
Object shallowClone (self)
 
Object shallowCloneTree (self)
 
None sortChildren (self)
 
None swap (self, Object other)
 
ViewportMask visibilityMask (self)
 
AffineXf3f worldXf (self, ViewportId id='MR::ViewportId{}', bool_output isDef=None)
 
AffineXf3f xf (self, ViewportId id='MR::ViewportId{}', bool_output isDef=None)
 
ViewportProperty_AffineXf3f xfsForAllViewports (self)
 
- Public Member Functions inherited from meshlib.mrmeshpy.ObjectChildrenHolder
Object getSharedPtr (self)
 

Static Public Member Functions

str RootName ()
 
str TypeName ()
 
bool select (*args, **kwargs)
 
None setAncillary (*args, **kwargs)
 
None setName (*args, **kwargs)
 
- Static Public Member Functions inherited from meshlib.mrmeshpy.Object
bool getRedrawFlag (*args, **kwargs)
 
Box3f getWorldBox (*args, **kwargs)
 
Box3f getWorldTreeBox (*args, **kwargs)
 

Additional Inherited Members

- Static Protected Member Functions inherited from meshlib.mrmeshpy.ObjectChildrenHolder
ObjectChildrenHolder _Equal (*args, **kwargs)
 
ObjectChildrenHolder _Equal (*args, **kwargs)
 

Detailed Description

Generated from:  MR::SceneRootObject

Object that is parent of all scene

Constructor & Destructor Documentation

◆ __init__()

None meshlib.mrmeshpy.SceneRootObject.__init__ ( self)

Reimplemented from meshlib.mrmeshpy.Object.

Member Function Documentation

◆ clone()

Object meshlib.mrmeshpy.SceneRootObject.clone ( self)
clones current object only, without parent and/or children

Reimplemented from meshlib.mrmeshpy.Object.

◆ cloneRoot()

SceneRootObject meshlib.mrmeshpy.SceneRootObject.cloneRoot ( self)
same as clone but returns correct type

◆ RootName()

str meshlib.mrmeshpy.SceneRootObject.RootName ( )
static

◆ select()

bool meshlib.mrmeshpy.SceneRootObject.select ( * self,
** on )
static
selects the object, returns true if value changed, otherwise returns false

Reimplemented from meshlib.mrmeshpy.Object.

◆ setAncillary()

None meshlib.mrmeshpy.SceneRootObject.setAncillary ( * self,
** ancillary )
static
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

Reimplemented from meshlib.mrmeshpy.Object.

◆ setName()

None meshlib.mrmeshpy.SceneRootObject.setName ( * args,
** kwargs )
static

Reimplemented from meshlib.mrmeshpy.Object.

◆ TypeName()

str meshlib.mrmeshpy.SceneRootObject.TypeName ( )
static
return name of subtype for serialization purposes

Reimplemented from meshlib.mrmeshpy.Object.

◆ typeName()

str meshlib.mrmeshpy.SceneRootObject.typeName ( self)

Reimplemented from meshlib.mrmeshpy.Object.


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