MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SystemProcessLoad.hpp
Go to the documentation of this file.
1 #ifndef SYSTEMPROCESSLOAD_HPP
2 #define SYSTEMPROCESSLOAD_HPP
3 
4 #include <Process.hpp>
5 
6 #include <QObject>
7 
13 class QDialog;
14 class Ui_LoadStackDialog;
15 class Ui_LoadMeshDialog;
16 class Ui_ImportMeshDialog;
17 class QFile;
18 class QIODevice;
19 
20 namespace mgx { namespace process {
36  mgx_EXPORT bool meshFromTriangles(vvgraph& S, std::vector<vertex>& vertices,
37  std::vector<Point3i>& triangles);
38 
39  mgx_EXPORT QList<int> extractVersion(QIODevice& file);
40 
48  class mgx_EXPORT StackSwapBytes : public StackProcess {
49  public:
50  StackSwapBytes(const StackProcess& process) : Process(process), StackProcess(process) {}
51 
52  bool operator()(const QStringList&)
53  {
54  if(!checkState().store(STORE_NON_EMPTY))
55  return false;
56  Store* input = currentStack()->currentStore();
57  Store* output = currentStack()->work();
58  bool res = (*this)(input, output);
59  if(res) {
60  input->hide();
61  output->show();
62  }
63  return res;
64  }
65 
66  bool operator()(const Store* input, Store* output);
67 
68  QString name() const { return "Swap Bytes"; }
69  QString description() const { return "Swap the bytes of the values in the stack."; }
70  QString folder() const { return "Filters"; }
71  QStringList parmNames() const { return QStringList(); }
72  QStringList parmDescs() const { return QStringList(); }
73  QIcon icon() const { return QIcon(":/images/SwapBytes.png"); }
74  };
75 
83  class mgx_EXPORT StackImport : public QObject, public StackProcess {
84  Q_OBJECT
85  public:
86  StackImport(const StackProcess& proc) : Process(proc), QObject(), StackProcess(proc) {}
87 
88  bool initialize(QStringList& parms, QWidget* parent);
89 
90  bool operator()(const QStringList& parms)
91  {
92  int stackId = parms[0].toInt();
93  QString storeName = parms[1];
94  Point3f step(parms[2].toFloat(), parms[3].toFloat(), parms[4].toFloat());
95  float brightness(parms[5].toFloat());
96  QString filename(parms[6]);
97 
98  // Get stack and store
99  Stack* stk = currentStack();
100  if(stackId != -1)
101  stk = stack(parms[0].toInt());
102  if(!checkState().stack(STACK_ANY, stackId))
103  return false;
104 
105  Store* store = stk->currentStore();
106  if(storeName == "Main")
107  store = stk->main();
108  else if(storeName == "Work")
109  store = stk->work();
110 
111  return (*this)(stk, store, step, brightness, filename);
112  }
123  bool operator()(Stack* stack, Store* store, Point3f step, float brightness, QString filename);
124 
125  QString folder() const { return "System"; }
126  QString name() const { return "Import"; }
127  QString description() const { return "Import stack from a series of images"; }
128  QStringList parmNames() const { return QStringList()
129  << "Stack" << "Store" << "X Step" << "Y Step" << "Z Step" << "Brightness" << "Profile File"; }
130  QStringList parmDescs() const { return QStringList()
131  << "Stack" << "Store" << "X Step" << "Y Step" << "Z Step" << "Brightness" << "Profile File"; }
133  << "-1" << "Current" << "1.0" << "1.0" << "1.0" << "1.0" << ""; }
135  {
136  ParmChoiceMap map;
137  map[1] << "Main" << "Work" << "Current";
138  return map;
139  }
140  QIcon icon() const { return QIcon(":/images/open.png"); }
141 
142  protected slots:
143  void SaveProfile();
144  void LoadProfile(QString filename = QString());
145  void AddFilesSlot();
146  void AddFilesSlot(const QStringList& files);
147  void RemoveFilesSlot();
148  void FilterFilesSlot();
149  void SortAscendingSlot(bool val = true);
150  void SortDescendingSlot();
151 
152  protected:
153  bool LoadProfile(QString filename, Point3u& size, Point3f& step, float& brightness, QStringList& files);
154  void setImageSize(Point3u size);
155  void setImageSize(uint x, uint y, uint z) {
156  setImageSize(Point3u(x, y, z));
157  }
158  void setImageResolution(Point3f step);
159  void setImageResolution(float x, float y, float z) {
160  setImageResolution(Point3f(x, y, z));
161  }
162  Point3f imageResolution();
163 
164  QString txtFile;
165  QDialog* dlg;
166  Ui_LoadStackDialog* ui;
167  QString loadedFile;
168  Point3u imageSize;
169  QStringList imageFiles;
170  };
171 
179  class mgx_EXPORT StackOpen : public StackProcess {
180  public:
181  StackOpen(const StackProcess& proc) : Process(proc), StackProcess(proc) {}
182 
183  bool operator()(const QStringList& parms);
190  bool operator()(Stack* stack, Store* store, QString filename);
191  QString folder() const { return "System"; }
192  QString name() const { return "Open"; }
193  QString description() const { return "Open a stack from a known 3D image format"; }
194  QStringList parmNames() const { return QStringList() << "Filename" << "Store" << "Stack number"; }
195  QStringList parmDescs() const { return QStringList() << "Filename" << "Store" << "Stack number"; }
196  QStringList parmDefaults() const { return QStringList() << "" << "Main" << "0"; }
198  {
199  ParmChoiceMap map;
200  map[1] = storeChoice();
201  return map;
202  }
203  bool initialize(QStringList& parms, QWidget* parent);
204  QIcon icon() const { return QIcon(":/images/open.png"); }
205 
206  bool loadMGXS_1_3(QIODevice& file, Stack* stack, Store* store);
207  bool loadMGXS_1_2(QIODevice& file, Stack* stack, Store* store);
208  bool loadMGXS_1_1(QIODevice& file, Stack* stack, Store* store);
209  bool loadMGXS_1_0(QIODevice& file, Stack* stack, Store* store);
210  bool loadMGXS_0(QIODevice& file, Stack* stack, Store* store);
211  void centerImage();
212  };
213 
221  class mgx_EXPORT MeshLoad : public QObject, public MeshProcess {
222  Q_OBJECT
223  public:
224  MeshLoad(const MeshProcess& proc) : Process(proc), QObject(), MeshProcess(proc) {}
225 
226  bool operator()(const QStringList& parms);
238  bool operator()(Mesh* mesh, QString filename, bool transform, bool add);
239  QString folder() const { return "System"; }
240  QString name() const { return "Load"; }
241  QString description() const { return "Load a mesh from one of the known formats."; }
242  QStringList parmNames() const { return QStringList()
243  << "Filename" << "Transform" << "Add" << "Stack number"; }
244  QStringList parmDescs() const { return QStringList()
245  << "Filename" << "Transform" << "Add" << "Stack number"; }
247  << "" << "no" << "no" << "0"; }
249  {
250  ParmChoiceMap map;
251  map[1] = map[2] = booleanChoice();
252  return map;
253  }
254  bool initialize(QStringList& parms, QWidget* parent);
255  QIcon icon() const { return QIcon(":/images/open.png"); }
256 
257  bool loadMGXM_0(QIODevice& file, Mesh* mesh, bool scale, bool transform, bool add, bool has_color = true);
258  bool loadMGXM_1_0(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
259  bool loadMGXM_1_1(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
260  bool loadMGXM_1_2(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add, bool has_color = true);
261  bool loadMGXM_1_3(QIODevice& file, Mesh* mesh, bool& scale, bool& transform, bool add);
262 
263  void findSignalBounds(Mesh* mesh);
264 
265  protected slots:
266  void selectMeshFile();
267 
268  protected:
269  void setMeshFile(const QString& filename);
270 
271  QDialog* dlg;
272  Ui_LoadMeshDialog* ui;
273  };
274 
282  class mgx_EXPORT MeshImport : public QObject, public MeshProcess {
283  Q_OBJECT
284 
285  public:
286  MeshImport(const MeshProcess& proc) : Process(proc), QObject(), MeshProcess(proc) {}
287 
288  bool operator()(const QStringList& parms);
301  bool initialize(QStringList& parms, QWidget* parent);
302 
303  bool operator()(Mesh* mesh, QString filename, QString type, bool scale, bool transform, bool add);
304 
305  QString folder() const { return "System"; }
306  QString name() const { return "Import"; }
307  QString description() const { return "Import a mesh from one of the known formats."; }
308  QStringList parmNames() const { return QStringList()
309  << "Filename" << "Kind" << "Scale" << "Transform" << "Add" << "Stack number"; }
310  QStringList parmDescs() const { return QStringList()
311  << "Filename" << "Kind" << "Scale" << "Transform" << "Add" << "Stack number"; }
313  << "" << "PLY" << "yes" << "no" << "no" << "0"; }
315  {
316  ParmChoiceMap map;
317  map[1] = QStringList() << "VTK Mesh" << "Text" << "Cells" << "Keyence" << "MeshEdit";
318  map[2] = map[3] = map[4] = booleanChoice();
319  return map;
320  }
321  QIcon icon() const { return QIcon(":/images/open.png"); }
322 
323  protected slots:
324  void selectMeshFile();
325  void selectMeshType(const QString& type);
326 
327  protected:
328  void setMeshFile(const QString& filename, const QString& type = QString());
329  QString properFile(QString filename, const QString& type) const;
330 
331  bool loadText(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
332  bool loadCells(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
333  bool loadKeyence(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
334  bool loadMeshEdit(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
335  bool loadMeshVTK(Mesh* mesh, const QString& filename, bool& scale, bool transform, bool add);
336  bool loadMeshOBJ(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
337  bool loadMeshPLY(Mesh* mesh, const QString& filename, bool scale, bool transform, bool add);
338 
339  QDialog* dlg;
340  Ui_ImportMeshDialog* ui;
341  };
342 
353  class mgx_EXPORT LoadAllData : public GlobalProcess {
354  public:
355  LoadAllData(const GlobalProcess& proc) : Process(proc), GlobalProcess(proc) {}
356 
357  bool operator()(const QStringList&);
358  bool operator()();
359 
360  QString folder() const { return "System"; }
361  QString name() const { return "Load All"; }
362  QString description() const { return
363  "Load the data for all existing objects, using the filename and properties set in them."; }
364  QStringList parmNames() const { return QStringList(); }
365  QStringList parmDescs() const { return QStringList(); }
366  QIcon icon() const { return QIcon(":/images/open.png"); }
367 
368  protected:
369  bool loadStore(Stack* stack, Store* store, QStringList& errors);
370  };
371 
378  class mgx_EXPORT LoadViewFile : public GlobalProcess {
379  public:
380  LoadViewFile(const GlobalProcess& proc) : Process(proc), GlobalProcess(proc) {}
381 
382  bool operator()(const QStringList& parms);
386  bool operator()(QString filename);
387 
388  bool initialize(QStringList& parms, QWidget* parent);
389 
390  QString folder() const { return "System"; }
391  QString name() const { return "Load View"; }
392  QString description() const { return
393  "Load a view file and set all the fields and interface. Does not load the data though."; }
394  QStringList parmNames() const { return QStringList() << "Filename"; }
395  QStringList parmDescs() const { return QStringList() << "Filename"; }
396  QStringList parmDefaults() const { return QStringList() << ""; }
397  QIcon icon() const { return QIcon(":/images/open.png"); }
398  };
399 
407  class mgx_EXPORT ResetMeshProcess : public MeshProcess {
408  public:
409  ResetMeshProcess(const MeshProcess& proc) : Process(proc), MeshProcess(proc) {}
410 
411  bool operator()(const QStringList& parms);
412  bool operator()(Mesh* m);
413 
414  QString folder() const { return "System"; }
415  QString name() const { return "Reset"; }
416  QString description() const { return "Reset a mesh, -1 for current."; }
417  QStringList parmNames() const { return QStringList() << "Mesh"; }
418  QStringList parmDescs() const { return QStringList() << "Mesh"; }
419  QStringList parmDefaults() const { return QStringList() << "-1"; }
420  QIcon icon() const { return QIcon(":/images/ClearStack.png"); }
421  };
422 
430  class mgx_EXPORT SaveParents : public MeshProcess {
431  public:
432  SaveParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
433 
434  bool initialize(QStringList& parms, QWidget* parent);
435 
436  bool operator()(const QStringList& parms)
437  {
438  if(!checkState().mesh(MESH_ANY))
439  return false;
440  Mesh* m = currentMesh();
441  return (*this)(m, parms[0]);
442  }
443 
444  bool operator()(Mesh* mesh, const QString& filename);
445 
446  QString folder() const { return "Lineage Tracking"; }
447  QString name() const { return "Save Parents"; }
448  QString description() const { return "Save map of labels to parents labels to a file"; }
449  QStringList parmNames() const { return QStringList() << "Filename"; }
450  QStringList parmDescs() const { return QStringList() << "Path to spreadsheet file."; }
451  QStringList parmDefaults() const { return QStringList() << ""; }
452  QIcon icon() const { return QIcon(":/images/ParentsSave.png"); }
453  };
454 
462  class mgx_EXPORT LoadParents : public MeshProcess {
463  public:
464  LoadParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
465 
466  bool initialize(QStringList& parms, QWidget* parent);
467 
468  bool operator()(const QStringList& parms)
469  {
470  if(!checkState().mesh(MESH_ANY))
471  return false;
472  Mesh* m = currentMesh();
473  bool res = (*this)(m, parms[0]);
474  if(res)
475  m->showParent();
476  return res;
477  }
478 
479  bool operator()(Mesh* mesh, const QString& filename);
480 
481  QString folder() const { return "Lineage Tracking"; }
482  QString name() const { return "Load Parents"; }
483  QString description() const { return "Load map of labels to parents from a file"; }
484  QStringList parmNames() const { return QStringList() << "Filename"; }
485  QStringList parmDescs() const { return QStringList() << "Path to spreadsheet file."; }
486  QStringList parmDefaults() const { return QStringList() << ""; }
487  QIcon icon() const { return QIcon(":/images/ParentsOpen.png"); }
488  };
489 
497  class mgx_EXPORT ResetParents : public MeshProcess {
498  public:
499  ResetParents(const MeshProcess& process) : Process(process), MeshProcess(process) {}
500 
501  bool operator()(const QStringList& )
502  {
503  if(!checkState().mesh(MESH_ANY))
504  return false;
505  Mesh* m = currentMesh();
506  return (*this)(m);
507  }
508 
509  bool operator()(Mesh* mesh);
510 
511  QString folder() const { return "Lineage Tracking"; }
512  QString name() const { return "Reset Parents"; }
513  QString description() const { return "Clear mapping from parents to labels"; }
514  QStringList parmNames() const { return QStringList(); }
515  QStringList parmDescs() const { return QStringList(); }
516  QIcon icon() const { return QIcon(":/images/ParentsClear.png"); }
517  };
518 
519 }}
520 
521 #endif
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:71
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:512
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:511
void show()
Ask the user interface to show this store.
Definition: Store.hpp:167
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:73
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:72
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:483
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:514
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:419
Load a MGXM mesh file.
Definition: SystemProcessLoad.hpp:221
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:513
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:134
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:310
Import a mesh from a file of another format.
Definition: SystemProcessLoad.hpp:282
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:90
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:321
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:485
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:306
const Store * currentStore() const
Returns the current store.
Definition: Stack.hpp:112
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:448
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:364
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:130
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:362
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:482
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:196
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:192
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:308
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:414
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:452
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:450
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:127
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:140
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:193
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:361
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:378
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:241
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:446
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:436
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:25
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:447
Open a stack in either the MGXS or INRIA formats.
Definition: SystemProcessLoad.hpp:179
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:204
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:240
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:167
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:68
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:239
graph::VVGraph< VertexData, EdgeData > vvgraph
Type of the VV graph holding the actual mesh.
Definition: Mesh.hpp:36
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:312
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:197
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:244
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:416
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:69
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:487
Process that swap bytes.
Definition: SystemProcessLoad.hpp:48
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:366
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:418
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:481
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:396
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:391
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:195
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:420
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:248
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:194
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:242
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:392
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:484
File containing the definition of a Process.
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:395
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:486
The Stack class represent the dimensions of the 3D data, and the frames transformations.
Definition: Stack.hpp:25
This is the main process class, the one all process inherit from.
Definition: Process.hpp:248
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:246
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:365
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:360
void hide()
Ask the user interface to hide this store.
Definition: Store.hpp:173
Global processes have full mutable access to all properties of the process.
Definition: Process.hpp:894
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:516
Reset a mesh.
Definition: SystemProcessLoad.hpp:407
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:191
const Store * work() const
Access the work store.
Definition: Stack.hpp:93
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:126
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:501
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:390
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:449
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:128
Import images forming a stack.
Definition: SystemProcessLoad.hpp:83
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:70
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:397
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:125
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:451
const Store * main() const
Access the main store.
Definition: Stack.hpp:74
Load all the files as specified in the various objects (filenames).
Definition: SystemProcessLoad.hpp:353
QString name() const
Returns the name of the process.
Definition: SystemProcessLoad.hpp:415
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:819
QStringList parmDefaults() const
List of default parms.
Definition: SystemProcessLoad.hpp:132
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:417
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:468
QString folder() const
Folder in which to place the process.
Definition: SystemProcessLoad.hpp:305
QStringList parmDescs() const
List of parameters descriptions.
Definition: SystemProcessLoad.hpp:515
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: SystemProcessLoad.hpp:314
QString description() const
Returns a description of the process for the GUI.
Definition: SystemProcessLoad.hpp:307
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: SystemProcessLoad.hpp:52
Mesh processes have mutable access to meshes and non-mutable access to stacks.
Definition: Process.hpp:855
QStringList parmNames() const
List of named parameters.
Definition: SystemProcessLoad.hpp:394
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: SystemProcessLoad.hpp:255