MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.VoxelsSave.ConstSavingSettings Class Reference
Inheritance diagram for mrmeshpy.VoxelsSave.ConstSavingSettings:

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_func_bool_from_float cb (self)
str format (self)
pathlib.Path path (self)
SlicePlane slicePlane (self)

Static Protected Attributes

typing _offsetof_cb = 80
typing _offsetof_format = 40
typing _offsetof_path = 0
typing _offsetof_slicePlane = 72

Detailed Description

Generated from:  MR::VoxelsSave::SavingSettings

stores together all data for save voxel object as a group of images

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.VoxelsSave.ConstSavingSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings) -> None

2. __init__(self: meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings, arg0: meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings, path: Union[os.PathLike, str, bytes], format: str, slicePlane: meshlib.mrmeshpy.SlicePlane, cb: meshlib.mrmeshpy.Const_func_bool_from_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings, : meshlib.mrmeshpy.VoxelsSave.ConstSavingSettings) -> None

Member Function Documentation

◆ cb()

Const_func_bool_from_float mrmeshpy.VoxelsSave.ConstSavingSettings.cb ( self)
Callback reporting progress

Reimplemented in mrmeshpy.VoxelsSave.SavingSettings, and mrmeshpy.VoxelsSave.SavingSettings.

◆ format()

str mrmeshpy.VoxelsSave.ConstSavingSettings.format ( self)
format for file names, you should specify a placeholder for number and extension, eg "slice_{0:0{1}}.tif"

Reimplemented in mrmeshpy.VoxelsSave.SavingSettings, and mrmeshpy.VoxelsSave.SavingSettings.

◆ path()

pathlib.Path mrmeshpy.VoxelsSave.ConstSavingSettings.path ( self)
path to directory where you want to save images

Reimplemented in mrmeshpy.VoxelsSave.SavingSettings, and mrmeshpy.VoxelsSave.SavingSettings.

◆ slicePlane()

SlicePlane mrmeshpy.VoxelsSave.ConstSavingSettings.slicePlane ( self)
Plane which the object is sliced by. XY, XZ, or YZ

Reimplemented in mrmeshpy.VoxelsSave.SavingSettings, and mrmeshpy.VoxelsSave.SavingSettings.

Member Data Documentation

◆ _offsetof_cb

typing mrmeshpy.VoxelsSave.ConstSavingSettings._offsetof_cb = 80
staticprotected

◆ _offsetof_format

typing mrmeshpy.VoxelsSave.ConstSavingSettings._offsetof_format = 40
staticprotected

◆ _offsetof_path

typing mrmeshpy.VoxelsSave.ConstSavingSettings._offsetof_path = 0
staticprotected

◆ _offsetof_slicePlane

typing mrmeshpy.VoxelsSave.ConstSavingSettings._offsetof_slicePlane = 72
staticprotected

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