MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SceneLoad.ConstSettings Class Reference
Inheritance diagram for mrmeshpy.SceneLoad.ConstSettings:

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_func_tl_expected_LoadedObjects_std_string_from_std_filesystem_path_std_function_bool_float openFolder (self)
Const_func_bool_from_float progress (self)
Const_std_optional_LengthUnit targetUnit (self)

Static Protected Attributes

typing _offsetof_openFolder = 40
typing _offsetof_progress = 8
typing _offsetof_targetUnit = 0

Detailed Description

Generated from:  MR::SceneLoad::Settings

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.SceneLoad.ConstSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.SceneLoad.ConstSettings) -> None

2. __init__(self: meshlib.mrmeshpy.SceneLoad.ConstSettings, arg0: meshlib.mrmeshpy.SceneLoad.ConstSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.SceneLoad.ConstSettings, targetUnit: meshlib.mrmeshpy.Const_std_optional_LengthUnit, progress: meshlib.mrmeshpy.Const_func_bool_from_float, openFolder: meshlib.mrmeshpy.Const_func_tl_expected_LoadedObjects_std_string_from_std_filesystem_path_std_function_bool_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.SceneLoad.ConstSettings, : meshlib.mrmeshpy.SceneLoad.ConstSettings) -> None

Member Function Documentation

◆ openFolder()

◆ progress()

Const_func_bool_from_float mrmeshpy.SceneLoad.ConstSettings.progress ( self)
to report loading progress and allow the user to cancel it

Reimplemented in mrmeshpy.SceneLoad.Settings, and mrmeshpy.SceneLoad.Settings.

◆ targetUnit()

Const_std_optional_LengthUnit mrmeshpy.SceneLoad.ConstSettings.targetUnit ( self)
if both targetUnit and loadedObject.lengthUnit are not nullopt,
then adjusts transformations of the loaded objects to match target units

Reimplemented in mrmeshpy.SceneLoad.Settings, and mrmeshpy.SceneLoad.Settings.

Member Data Documentation

◆ _offsetof_openFolder

typing mrmeshpy.SceneLoad.ConstSettings._offsetof_openFolder = 40
staticprotected

◆ _offsetof_progress

typing mrmeshpy.SceneLoad.ConstSettings._offsetof_progress = 8
staticprotected

◆ _offsetof_targetUnit

typing mrmeshpy.SceneLoad.ConstSettings._offsetof_targetUnit = 0
staticprotected

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