itom 1.1.0
ito::IOHelper Class Reference

List of all members.

Public Types

enum  IOFilter {
  IOInput = 0x001, IOOutput = 0x002, IOPlugin = 0x004, IOAllFiles = 0x008,
  IOWorkspace = 0x010, IOMimeDataObject = 0x020, IOMimePointCloud = 0x040, IOMimePolygonMesh = 0x080,
  IOMimeAll = IOMimeDataObject | IOMimePointCloud | IOMimePolygonMesh
}

Static Public Member Functions

static RetVal openGeneralFile (QString generalFileName, bool openUnknownsWithExternalApp=true, bool showMessages=false, QWidget *parent=NULL, const char *errorSlotMemberOfParent=NULL, bool globalNotLocalWorkspace=true)
static RetVal uiExportPyWorkspaceVars (bool globalNotLocal, QStringList varNames, QVector< int > compatibleParamBaseTypes, QString defaultPath=QString::Null(), QWidget *parent=NULL)
static RetVal exportPyWorkspaceVars (QString filename, bool globalNotLocal, QStringList varNames)
static RetVal uiImportPyWorkspaceVars (bool globalNotLocal, IOFilters IOfilters, QString defaultPath=QString::Null(), QWidget *parent=NULL)
static RetVal importPyWorkspaceVars (QString filename, bool globalNotLocal)
static RetVal uiOpenPythonScript (QString defaultPath=QString::Null(), QWidget *parent=NULL)
static RetVal openPythonScript (QString filename)
static RetVal uiOpenFileWithFilter (ito::AddInAlgo::FilterDef *filter, const QString &filename, QWidget *parent=NULL, bool globalNotLocal=true)
static RetVal uiSaveFileWithFilter (QSharedPointer< ito::ParamBase > &value, const QString &filename, QWidget *parent=NULL)
static RetVal openUIFile (QString filename, QWidget *parent=NULL, const char *errorSlotMemberOfParent=NULL)
static QString getFileFilters (const IOFilters &IOfilters, QStringList *allPatterns=NULL)
static bool fileFitsToFileFilters (const QString &filename, const IOFilters &IOfilters)

Private Member Functions

 IOHelper (const IOHelper &)

Member Enumeration Documentation

Enumerator:
IOInput 

consider algorithms for file input

IOOutput 

consider algorithms for file output

IOPlugin 

consider algorithms provided by plugins

IOAllFiles 

add the "All Files (*.*)" filter

IOWorkspace 

only consider filters which can be imported or exported from python workspace


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends