Public Types | |
| enum | ToolType { NONE = 0, IR_FFT, IR_REFINE_TRANSLATE, IR_REFINE_GRID, IR_MOSAIC_OVERRIDE, IR_ASSEMBLE, IR_STOS_BRUTE, IR_STOS_GRID, IR_ADD_TRANSFORMS, IR_STOM, IR_STOS_OVERRIDE, SNAPSHOT, IR_BLOB, IR_CLAHE, SMART_IMPORT = 20, IR_ASSEMBLE_TILED = 22, INVALID_TOOL = 32767 } |
Public Slots | |
| void | Run (bool askUserInput=true, bool userRequest=true, bool runOnAllSlices=false) |
| void | SaveCustomArgs () |
| bool | ExecuteSettingsDialog (QHash< QString, ToolFlag * > &flags, bool askUserInput=true, bool onlyOkButton=false) |
| void | Clean () |
Public Member Functions | |
| Tool (QXmlStreamReader &xml, ToolType type) | |
| QString | GetToolName () |
| QString | GetProcessName () |
| QString | GetIconName () |
| QString | GetDetails () |
| QString | GetShortDetails () |
| QString | GetFriendlyName () |
| QString | GetSearchName () |
| QString | GetSaveName () |
| QString | InsertAliasId (const QString &addTo) |
| bool | GetRunPerImage () |
| QStringList | GetFilterList (const QString &tag="") |
| bool | RunPerChannel () |
| int | GetGroupType () |
| QStringList | GetPossibleInputFiles (QList< VolumeIndex * > *slices, const QString &inputTag) |
| QHash< QString, QStringList > | GetAllPossibleInputFiles (QList< VolumeIndex * > *indices) |
| bool | FilenameMatchesSearch (const QString &filename) |
| void | SetIndices (QList< VolumeIndex * > *indices) |
| void | QueueOnly (bool queueOnly) |
| void | SetUpstreamInput (const QStringList &upstreams) |
| void | ClearUpstreamInput () |
| void | SetAlias (ToolAlias *alias) |
| void | ClearAlias () |
| ToolAlias * | GetAlias () |
| Tool::ToolType | GetToolType () |
| void | SaveCustomArgs (QXmlStreamWriter &xml, bool loadSettings=true) |
| void | LoadCustomArgs (QXmlStreamReader &xml, QHash< QString, ToolFlag * > *newFlags=NULL) |
| bool | RunOnSections () |
| bool | NoOperation () |
| bool | RunInTerminal () |
| void | ToolCompletedSuccessfully (int timeTaken) |
| float | TotalRuntime () |
| float | AverageRuntime () |
| QHash< QString, ToolFlag * > | GetFlags () |
| void | OverrideFlags (QHash< QString, ToolFlag * > *flags) |
| void | ClearOverride () |
| bool | CanRunAfter (ToolAlias *before) |
| int | QueueProcess (const QString &prog, VolumeIndex *index) |
| int | NumThreads () |
| int | SectionsRequired () |
| bool | ChecksValid () |
| QString | PrintValidChecks () |
Static Public Member Functions | |
| static QString | GetToolName (Tool::ToolType type) |
| static QString | GetIconName (Tool::ToolType type) |
| static QString | GetDetails (Tool::ToolType type) |
| static bool | FileToComboBoxDetails (const QString &fileName, QString &properName, QIcon &icon) |
| static ToolAlias * | LoadNextTool (QXmlStreamReader &xml, int &separator, bool onlyOverride=false, QHash< QString, ToolFlag * > *newFlags=NULL) |
| static Tool * | GetTool (ToolType type) |
| static Tool * | GetOperable (int idx) |
| static QHash< int, Tool * > & | GetOperables () |
| static int | ConvertToGroupId (const QString &groupStr) |
Protected Attributes | |
| QString | name |
| QString | processName |
| QString | icon |
| QString | description |
| QString | shortDescription |
| QString | friendlyName |
| QString | saveName |
| QString | searchName |
| QHash< QString, QStringList > | inputFilters |
| Tool::ToolType | type |
| QStringList | checkList |
| QStringList | invalidList |
| bool | singleRun |
| bool | runOnSections |
| bool | useSlicesAsInput |
| bool | runPerImage |
| bool | runPerChannel |
| int | runType |
| int | numThreads |
| int | sectionsRequired |
| int | groupId |
| float | totalTime |
| int | timesFinished |
| ToolAlias * | currentAlias |
| QHash< QString, ToolFlag * > | flags |
| QHash< QString, ToolFlag * > * | overrideFlags |
| bool | queueOnly |
| QList< VolumeIndex * > * | activeIndices |
| QStringList | upstreamArgs |
Static Protected Attributes | |
| static QHash< ToolType, Tool * > | toolList |
| static QHash< int, Tool * > | operableTools |
Friends | |
| class | Iris::IrisTests |
| Tool::Tool | ( | QXmlStreamReader & | xml, |
| ToolType | type | ||
| ) |
Tools are generated from Tool\ToolList.xml file. This file allows for easy addition of custom tools. The tools are the backbone of Iris, and make up a Pipeline. The list contains xml elements with sub lists of xml attributes. The marked attributes are required.
1.7.2