MorphoGraphX
SystemProcessLoad.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef SYSTEMPROCESSLOAD_HPP
12 #define SYSTEMPROCESSLOAD_HPP
13 
14 #include <Process.hpp>
15 
16 #include <QObject>
17 
23 class QDialog;
24 class Ui_LoadStackDialog;
25 class Ui_LoadMeshDialog;
26 class Ui_ImportMeshDialog;
27 class QFile;
28 class QIODevice;
29 
30 namespace mgx { namespace process {
46  mgx_EXPORT bool meshFromTriangles(vvgraph& S, std::vector<vertex>& vertices,
47  std::vector<Point3i>& triangles);
48 
49  mgx_EXPORT QList<int> extractVersion(QIODevice& file);
50 
58  class mgx_EXPORT StackSwapBytes : public StackProcess {
59  public:
60  StackSwapBytes(const StackProcess& process) : Process(process), StackProcess(process) {}
61 
62  bool operator()(const QStringList&)
63  {
64  if(!checkState().store(STORE_NON_EMPTY))
65  return false;
66  Store* input = currentStack()->currentStore();
67  Store* output = currentStack()->work();
68  bool res = (*this)(input, output);
69  if(res) {
70  input->hide();
71  output->show();
72  }
73  return res;
74  }
75 
76  bool operator()(const Store* input, Store* output);
77 
78  QString name() const { return "Swap Bytes"; }
79  QString description() const { return "Swap the bytes of the values in the stack."; }
80  QString folder() const { return "Filters"; }
81  QStringList parmNames() const { return QStringList(); }
82  QStringList parmDescs() const { return QStringList(); }
83  QIcon icon() const { return QIcon(":/images/SwapBytes.png"); }
84  };
85 
93  class mgx_EXPORT StackImport : public QObject, public StackProcess {
94  Q_OBJECT
95  public:
96  StackImport(const StackProcess& proc) : Process(proc), QObject(), StackProcess(proc) {}
97 
98  bool initialize(QStringList& parms, QWidget* parent);
99 
100  bool operator()(const QStringList& parms)
101  {
102  int stackId = parms[0].toInt();
103  QString storeName = parms[1];
104  Point3f step(parms[2].toFloat(), parms[3].toFloat(), parms[4].toFloat());
105  float brightness(parms[5].toFloat());
106  QString filename(parms[6]);
107 
108  // Get stack and store
109  Stack* stk = currentStack();
110  if(stackId != -1)
111  stk = stack(parms[0].toInt());
112  if(!checkState().stack(STACK_ANY, stackId))
113  return false;
114 
115  Store* store = stk->currentStore();
116  if(storeName == "Main")
117  store = stk->main();
118  else if(storeName == "Work")
119  store = stk->work();
120 
121  return (*this)(stk, store, step, brightness, filename);
122  }
133  bool operator()(Stack* stack, Store* store, Point3f step, float brightness, QString filename);
134 
135  QString folder() const { return "System"; }
136  QString name() const { return "Import"; }
137  QString description() const { return "Import stack from a series of images"; }
138  QStringList parmNames() const { return QStringList()
139  << "Stack" << "Store" << "X Step" << "Y Step" << "Z Step" << "Brightness" << "Profile File"; }
140  QStringList parmDescs() const { return QStringList()
141  << "Stack" << "Store" << "X Step" << "Y Step" << "Z Step" << "Brightness" << "Profile File"; }
143  << "-1" << "Current" << "1.0" << "1.0" << "1.0" << "1.0" << ""; }
145  {
146  ParmChoiceMap map;
147  map[1] << "Main" << "Work" << "Current";
148  return map;
149  }
150  QIcon icon() const { return QIcon(":/images/open.png"); }
151 
152  protected slots:
153  void SaveProfile();
154  void LoadProfile(QString filename = QString());
155  void AddFilesSlot();
156  void AddFilesSlot(const QStringList& files);
157  void RemoveFilesSlot();
158  void FilterFilesSlot();
159  void SortAscendingSlot(bool val = true);
160  void SortDescendingSlot();
161 
162  protected:
163  bool LoadProfile(QString filename, Point3u& size, Point3f& step, float& brightness, QStringList& files);
164  void setImageSize(Point3u size);
165  void setImageSize(uint x, uint y, uint z) {
166  setImageSize(Point3u(x, y, z));
167  }
168  void setImageResolution(Point3f step);
169  void setImageResolution(float x, float y, float z) {
170  setImageResolution(Point3f(x, y, z));
171  }
172  Point3f imageResolution();
173 
174  QString txtFile;
175  QDialog* dlg;
176  Ui_LoadStackDialog* ui;
177  QString loadedFile;
178  Point3u imageSize;
179  QStringList imageFiles;
180  };
181 
189  class mgx_EXPORT StackOpen : public StackProcess {
190  public:
191  StackOpen(const StackProcess& proc) : Process(proc), StackProcess(proc) {}
192 
193  bool operator()(const QStringList& parms);
200  bool operator()(Stack* stack, Store* store, QString filename);
201  QString folder() const { return "System"; }
202  QString name() const { return "Open"; }
203  QString description() const { return "Open a stack from a known 3D image format"; }
204  QStringList parmNames() const { return QStringList() << "Filename" << "Store" << "Stack number"; }
205  QStringList parmDescs() const { return QStringList() << "Filename" << "Store" << "Stack number"; }
206  QStringList parmDefaults() const { return QStringList() << "" << "Main" << "0"; }
208  {
209  ParmChoiceMap map;
210  map[1] = storeChoice();
211  return map;
212  }
213  bool initialize(QStringList& parms, QWidget* parent);
214  QIcon icon() const { return QIcon(":/images/open.png"); }
215 
216  bool loadMGXS_1_3(QIODevice& file, Stack* stack, Store* store);
217  bool loadMGXS_1_2(QIODevice& file, Stack* stack, Store* store);
218  bool loadMGXS_1_1(QIODevice& file, Stack* stack, Store* store);
219  bool loadMGXS_1_0(QIODevice& file, Stack* stack, Store* store);
220  bool loadMGXS_0(QIODevice& file, Stack* stack, Store* store);
221  void centerImage();
222  };
223 
231  class mgx_EXPORT MeshLoad : public QObject, public MeshProcess {
232  Q_OBJECT
233  public:
234  MeshLoad(const MeshProcess& proc) : Process(proc), QObject(), MeshProcess(proc) {}
235 
236  bool operator()(const QStringList& parms);
248  bool operator()(Mesh* mesh, QString filename, bool transform, bool add);
249  QString folder() const { return "System"; }
250  QString name() const { return "Load"; }
251  QString description() const { return "Load a mesh from one of the known formats."; }
252  QStringList parmNames() const { return QStringList()
253  << "Filename" << "Transform" << "Add" << "Stack number"; }
254  QStringList parmDescs() const { return QStringList()
255  << "Filename" << "Transform" << "Add" << "Stack number"; }
257  << "" << "no" << "no" << "0"; }
259  {
260  ParmChoiceMap map;
261  map[1] = map[2] = booleanChoice();
262  return map;
263  }
264  bool initialize(QStringList& parms, QWidget* parent);
265  QIcon icon() const { return QIcon(":/images/open.png"); }
266 
267  bool loadMGXM_0(QIODevice& file, Mesh* mesh, bool scale, bool transform, bool add, bool has_color = true);
268  bool loadMGXM_1_0(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
269  bool loadMGXM_1_1(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
270  bool loadMGXM_1_2(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
271  bool loadMGXM_1_3(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add);
272 
273  void findSignalBounds(Mesh* mesh);
274 
275  protected slots:
276  void selectMeshFile();
277 
278  protected:
279  void setMeshFile(const QString& filename);
280 
281  QDialog* dlg;
282  Ui_LoadMeshDialog* ui;
283  };
284 
292  class mgx_EXPORT MeshImport : public QObject, public MeshProcess {
293  Q_OBJECT
294 
295  public:
296  MeshImport(const MeshProcess& proc) : Process(proc), QObject(), MeshProcess(proc) {}
297 
298  bool operator()(const QStringList& parms);
311  bool initialize(QStringList& parms, QWidget* parent);
312 
313  bool operator()(Mesh* mesh, QString filename, QString type, bool scale, bool transform, bool add);
314 
315  QString folder() const { return "System"; }
316  QString name() const { return "Import"; }
317  QString description() const { return "Import a mesh from one of the known formats."; }
318  QStringList parmNames() const { return QStringList()
319  << "Filename" << "Kind" << "Scale" << "Transform" << "Add" << "Stack number"; }
320  QStringList parmDescs() const { return QStringList()
321  << "Filename" << "Kind" << "Scale" << "Transform" << "Add" << "Stack number"; }
323  << "" << "PLY" << "yes" << "no" << "no" << "0"; }
325  {
326  ParmChoiceMap map;
327  map[1] = QStringList() << "VTK Mesh" << "Text" << "Cells" << "Keyence" << "MeshEdit";
328  map[2] = map[3] = map[4] = booleanChoice();
329  return map;
330  }
331  QIcon icon() const { return QIcon(":/images/open.png"); }
332 
333  protected slots:
334  void selectMeshFile();
335  void selectMeshType(const QString& type);
336 
337  protected:
338  void setMeshFile(const QString& filename, const QString& type = QString());
339  QString properFile(QString filename, const QString& type) const;
340 
341  bool loadText(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
342  bool loadCells(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
343  bool loadKeyence(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
344  bool loadMeshEdit(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
345  bool loadMeshVTK(Mesh* mesh, const QString& filename, bool& scale, bool transform, bool add);
346  bool loadMeshOBJ(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
347  bool loadMeshPLY(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
348 
349  QDialog* dlg;
350  Ui_ImportMeshDialog* ui;
351  };
352 
363  class mgx_EXPORT LoadAllData : public GlobalProcess {
364  public:
365  LoadAllData(const GlobalProcess& proc) : Process(proc), GlobalProcess(proc) {}
366 
367  bool operator()(const QStringList&);
368  bool operator()();
369 
370  QString folder() const { return "System"; }
371  QString name() const { return "Load All"; }
372  QString description() const { return
373  "Load the data for all existing objects, using the filename and properties set in them."; }
374  QStringList parmNames() const { return QStringList(); }
375  QStringList parmDescs() const { return QStringList(); }
376  QIcon icon() const { return QIcon(":/images/open.png"); }
377 
378  protected:
379  bool loadStore(Stack* stack, Store* store, QStringList& errors);
380  };
381 
388  class mgx_EXPORT LoadViewFile : public GlobalProcess {
389  public:
390  LoadViewFile(const GlobalProcess& proc) : Process(proc), GlobalProcess(proc) {}
391 
392  bool operator()(const QStringList& parms);
396  bool operator()(QString filename);
397 
398  bool initialize(QStringList& parms, QWidget* parent);
399 
400  QString folder() const { return "System"; }
401  QString name() const { return "Load View"; }
402  QString description() const { return
403  "Load a view file and set all the fields and interface. Does not load the data though."; }
404  QStringList parmNames() const { return QStringList() << "Filename"; }
405  QStringList parmDescs() const { return QStringList() << "Filename"; }
406  QStringList parmDefaults() const { return QStringList() << ""; }
407  QIcon icon() const { return QIcon(":/images/open.png"); }
408  };
409 
417  class mgx_EXPORT ResetMeshProcess : public MeshProcess {
418  public:
419  ResetMeshProcess(const MeshProcess& proc) : Process(proc), MeshProcess(proc) {}
420 
421  bool operator()(const QStringList& parms);
422  bool operator()(Mesh* m);
423 
424  QString folder() const { return "System"; }
425  QString name() const { return "Reset"; }
426  QString description() const { return "Reset a mesh, -1 for current."; }
427  QStringList parmNames() const { return QStringList() << "Mesh"; }
428  QStringList parmDescs() const { return QStringList() << "Mesh"; }
429  QStringList parmDefaults() const { return QStringList() << "-1"; }
430  QIcon icon() const { return QIcon(":/images/ClearStack.png"); }
431  };
432 
440  class mgx_EXPORT SaveParents : public MeshProcess {
441  public:
442  SaveParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
443 
444  bool initialize(QStringList& parms, QWidget* parent);
445 
446  bool operator()(const QStringList& parms)
447  {
448  if(!checkState().mesh(MESH_ANY))
449  return false;
450  Mesh* m = currentMesh();
451  return (*this)(m, parms[0]);
452  }
453 
454  bool operator()(Mesh* mesh, const QString& filename);
455 
456  QString folder() const { return "Lineage Tracking"; }
457  QString name() const { return "Save Parents"; }
458  QString description() const { return "Save map of labels to parents labels to a file"; }
459  QStringList parmNames() const { return QStringList() << "Filename"; }
460  QStringList parmDescs() const { return QStringList() << "Path to spreadsheet file."; }
461  QStringList parmDefaults() const { return QStringList() << ""; }
462  QIcon icon() const { return QIcon(":/images/ParentsSave.png"); }
463  };
464 
472  class mgx_EXPORT LoadParents : public MeshProcess {
473  public:
474  LoadParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
475 
476  bool initialize(QStringList& parms, QWidget* parent);
477 
478  bool operator()(const QStringList& parms)
479  {
480  if(!checkState().mesh(MESH_ANY))
481  return false;
482  Mesh* m = currentMesh();
483  bool res = (*this)(m, parms[0]);
484  if(res)
485  m->showParent();
486  return res;
487  }
488 
489  bool operator()(Mesh* mesh, const QString& filename);
490 
491  QString folder() const { return "Lineage Tracking"; }
492  QString name() const { return "Load Parents"; }
493  QString description() const { return "Load map of labels to parents from a file"; }
494  QStringList parmNames() const { return QStringList() << "Filename"; }
495  QStringList parmDescs() const { return QStringList() << "Path to spreadsheet file."; }
496  QStringList parmDefaults() const { return QStringList() << ""; }
497  QIcon icon() const { return QIcon(":/images/ParentsOpen.png"); }
498  };
499 
507  class mgx_EXPORT ResetParents : public MeshProcess {
508  public:
509  ResetParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
510 
511  bool operator()(const QStringList& )
512  {
513  if(!checkState().mesh(MESH_ANY))
514  return false;
515  Mesh* m = currentMesh();
516  return (*this)(m);
517  }
518 
519  bool operator()(Mesh* mesh);
520 
521  QString folder() const { return "Lineage Tracking"; }
522  QString name() const { return "Reset Parents"; }
523  QString description() const { return "Clear mapping from parents to labels"; }
524  QStringList parmNames() const { return QStringList(); }
525  QStringList parmDescs() const { return QStringList(); }
526  QIcon icon() const { return QIcon(":/images/ParentsClear.png"); }
527  };
528 
529 }}
530 
531 #endif
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:81
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:522
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:521
void show()
Ask the user interface to show this store.
Definition: Store.hpp:177
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:83
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:82
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:493
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:524
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:429
Load a MGXM mesh file.
Definition: SystemProcessLoad.hpp:231
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:523
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:144
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:320
Import a mesh from a file of another format.
Definition: SystemProcessLoad.hpp:292
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:100
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:331
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:495
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:316
const Store * currentStore() const
Returns the current store.
Definition: Stack.hpp:122
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:458
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:374
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:140
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:372
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:492
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:206
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:202
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:318
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:424
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:462
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:460
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:137
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:150
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:203
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:371
mgx_EXPORT bool meshFromTriangles(vvgraph &S, std::vector< vertex > &vertices, std::vector< Point3i > &triangles)
This function creates a graph from a triangle soup.
Load a view file and all the associated files.
Definition: SystemProcessLoad.hpp:388
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:251
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:456
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:446
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:35
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:457
Open a stack in either the MGXS or INRIA formats.
Definition: SystemProcessLoad.hpp:189
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:214
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:250
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:177
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:78
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:249
graph::VVGraph< VertexData, EdgeData > vvgraph
Type of the VV graph holding the actual mesh.
Definition: Mesh.hpp:46
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:322
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:207
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:254
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:426
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:79
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:497
Process that swap bytes.
Definition: SystemProcessLoad.hpp:58
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:376
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:428
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:491
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:406
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:401
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:205
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:430
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:258
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:204
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:252
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:402
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:494
File containing the definition of a Process.
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:405
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:496
The Stack class represent the dimensions of the 3D data, and the frames transformations.
Definition: Stack.hpp:35
This is the main process class, the one all process inherit from.
Definition: Process.hpp:258
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:256
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:375
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:370
void hide()
Ask the user interface to hide this store.
Definition: Store.hpp:183
Global processes have full mutable access to all properties of the process.
Definition: Process.hpp:904
This namespace contains all the classes needed to define processes.
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:526
Reset a mesh.
Definition: SystemProcessLoad.hpp:417
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:201
const Store * work() const
Access the work store.
Definition: Stack.hpp:103
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:136
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:511
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:400
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:459
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:138
Import images forming a stack.
Definition: SystemProcessLoad.hpp:93
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:80
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:407
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:135
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:461
const Store * main() const
Access the main store.
Definition: Stack.hpp:84
Load all the files as specified in the various objects (filenames).
Definition: SystemProcessLoad.hpp:363
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:425
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:829
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:142
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:427
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:478
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:315
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:525
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:324
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:317
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:62
Mesh processes have mutable access to meshes and non-mutable access to stacks.
Definition: Process.hpp:865
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:404
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:265