AmiraImportDlg

class utils.dlgs.AmiraImportDlg

Bases: handle

AMIRAIMPORTDLG - AmiraImportDlg Controller for Amira Mesh Import Dialog.

The AmiraImportDlg class is responsible for a dialog to advanced opening of Amira Mesh files. It manages the interaction logic between the model and the App Designer view.

Usage:
controller = utils.dlgs.AmiraImportDlg(dimxyczt, ParentFigure, options.Font);
result = controller.run();

The result structure contains:

  • .startIndex

  • .endIndex

  • .zstep

  • .xy_step

  • .method

Constructor Summary
AmiraImportDlg(dimxyczt, ParentFigure, Font)

AMIRAIMPORTDLG - Constructor.

Syntax:

function obj = AmiraImportDlg(dimxyczt, ParentFigure, Font)

dimxyczt: vector containing dimensions ParentFigure: handle to the parent figure/app Font: structure with FontName and FontSize

Method Summary
run()

RUN - RUN Execute the dialog logic.

Syntax:

function result = run(obj)

Blocks execution until the user continues or cancels.