MorphoGraphX
StackProcess.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 STACKPROCESS_HPP
12 #define STACKPROCESS_HPP
13 
19 #include <Process.hpp>
20 
21 namespace mgx {
22 namespace process {
23 
26 
31 class mgxBase_EXPORT Annihilate : public StackProcess {
32 public:
34  : Process(process)
35  , StackProcess(process)
36  {
37  }
38 
39  bool operator()(const QStringList& parms)
40  {
41  if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
42  return false;
43  Store* input = currentStack()->currentStore();
44  Store* output = currentStack()->work();
45 
46  bool fill = stringToBool(parms[0]);
47  bool res
48  = (*this)(input, output, currentMesh(), parms[2].toFloat(), parms[3].toFloat(), fill, parms[1].toUInt());
49  if(res) {
50  input->hide();
51  output->show();
52  }
53  return res;
54  }
55 
64  bool operator()(const Store* input, Store* output, const Mesh* mesh, float minDist, float maxDist,
65  bool fill, uint fillval);
66 
67  QString name() const {
68  return "Annihilate";
69  }
70  QString description() const {
71  return "Keep or fill a layer near the mesh";
72  }
73  QString folder() const {
74  return "Mesh Interaction";
75  }
77  {
78  return QStringList() << "Fill"
79  << "Fill Val" << QString("Min Dist(%1)").arg(UM)
80  << QString("Max Dist(%1)").arg(UM);
81  }
83  {
84  return QStringList() << "Fill the layer with specified value, or keep the original data."
85  << "Value to fill the volume with."
86  << "Minimal distance from layer to mesh."
87  << "Maximal distance from layre to mesh";
88  }
90  {
91  return QStringList() << "No"
92  << "30000"
93  << "1.0"
94  << "5.0";
95  }
97  {
98  ParmChoiceMap map;
99  map[0] = booleanChoice();
100  return map;
101  }
102  QIcon icon() const {
103  return QIcon(":/images/Annihilate.png");
104  }
105 };
106 
112 class mgxBase_EXPORT AutoScaleStack : public StackProcess {
113 public:
115  : Process(process)
116  , StackProcess(process)
117  {
118  }
119 
120  bool operator()(const QStringList& )
121  {
122  if(!checkState().store(STORE_NON_EMPTY))
123  return false;
124  Store* input = currentStack()->currentStore();
125  Store* output = currentStack()->work();
126  bool res = (*this)(input, output);
127  if(res) {
128  input->hide();
129  output->show();
130  }
131  return res;
132  }
133 
137  bool operator()(const Store* store, Store* output);
138 
139  QString name() const {
140  return "Autoscale Stack";
141  }
143  return "Scale the stack intensity to fill exactly the whole range.";
144  }
145  QString folder() const {
146  return "Filters";
147  }
149  return QStringList();
150  }
152  return QStringList();
153  }
154  QIcon icon() const {
155  return QIcon(":/images/Palette.png");
156  }
157 };
158 
164 class mgxBase_EXPORT ApplyTransferFunction : public StackProcess {
165 public:
167  : Process(process)
168  , StackProcess(process)
169  {
170  }
171 
172  bool operator()(const QStringList& parms)
173  {
174  if(!checkState().store(STORE_NON_EMPTY))
175  return false;
176  Store* input = currentStack()->currentStore();
177  Store* output = currentStack()->work();
178  bool res
179  = (*this)(input, output, parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
180  if(res) {
181  input->hide();
182  output->show();
183  }
184  return res;
185  }
186 
198  bool operator()(Store* store, Store* output, float red, float green, float blue, float alpha);
199 
200  QString name() const {
201  return "Apply Transfer Function";
202  }
204  return "Apply the transfer function to the stack (modifies voxel values).";
205  }
206  QString folder() const {
207  return "Filters";
208  }
210  {
211  return QStringList() << "Red"
212  << "Green"
213  << "Blue"
214  << "Alpha";
215  }
217  {
218  return QStringList() << "Red"
219  << "Green"
220  << "Blue"
221  << "Alpha";
222  }
224  {
225  return QStringList() << "0"
226  << "0"
227  << "0"
228  << "1";
229  }
230  QIcon icon() const {
231  return QIcon(":/images/Palette.png");
232  }
233 };
234 
240 class mgxBase_EXPORT BlobDetect : public StackProcess {
241 public:
243  : Process(process)
244  , StackProcess(process)
245  {
246  }
247 
248  bool operator()(const QStringList& parms)
249  {
250  if(!checkState().store(STORE_NON_EMPTY | STORE_NON_LABEL))
251  return false;
252  bool wat = stringToBool(parms[0]);
253  Store* input = currentStack()->currentStore();
254  Store* output = currentStack()->work();
255  bool res = (*this)(input, output, wat, parms[1].toUInt());
256  if(res) {
257  input->hide();
258  output->show();
259  }
260  return res;
261  }
262 
263  bool operator()(const Store* input, Store* output, bool watershed, uint startlabel);
264 
265  QString folder() const {
266  return "Segmentation";
267  }
268  QString name() const {
269  return "Blob Detect";
270  }
272  return "Find and label blobs in an image";
273  }
275  {
276  return QStringList() << "Use watershed"
277  << "Start Label";
278  }
280  {
281  return QStringList() << "Use watershed"
282  << "Start Label";
283  }
285  {
286  ParmChoiceMap map;
287  map[0] = booleanChoice();
288  return map;
289  }
291  {
292  return QStringList() << "No"
293  << "1";
294  }
295  QIcon icon() const {
296  return QIcon(":/images/BlobDetect.png");
297  }
298 };
299 
305 class mgxBase_EXPORT ClearWorkStack : public StackProcess {
306 public:
308  : Process(process)
309  , StackProcess(process)
310  {
311  }
312 
313  bool operator()(const QStringList& parms)
314  {
315  if(!checkState().store(STORE_WORK))
316  return false;
317  return (*this)(currentStack(), parms[0].toUInt());
318  }
319 
320  bool operator()(Stack* stack, uint fillValue);
321 
322  QString folder() const {
323  return "System";
324  }
325  QString name() const {
326  return "Clear Work Stack";
327  }
329  return "Clear the work stack";
330  }
332  return QStringList() << "Fill value";
333  }
335  return QStringList() << "Fill value";
336  }
338  return QStringList() << "0";
339  }
340  QIcon icon() const {
341  return QIcon(":/images/ClearStack.png");
342  }
343 };
344 
350 class mgxBase_EXPORT ClearMainStack : public StackProcess {
351 public:
353  : Process(process)
354  , StackProcess(process)
355  {
356  }
357 
358  bool operator()(const QStringList& parms)
359  {
360  if(!checkState().store(STORE_MAIN))
361  return false;
362  return (*this)(currentStack(), parms[0].toUInt());
363  }
364 
365  bool operator()(Stack* stack, uint fillValue);
366 
367  QString folder() const {
368  return "System";
369  }
370  QString name() const {
371  return "Clear Main Stack";
372  }
374  return "Clear the main stack";
375  }
377  return QStringList() << "Fill value";
378  }
380  return QStringList() << "Fill value";
381  }
383  return QStringList() << "0";
384  }
385  QIcon icon() const {
386  return QIcon(":/images/ClearStack.png");
387  }
388 };
389 
395 class mgxBase_EXPORT ClipStack : public StackProcess {
396 public:
398  : Process(process)
399  , StackProcess(process)
400  {
401  }
402 
403  bool operator()(const QStringList&)
404  {
405  if(!checkState().store(STORE_NON_EMPTY))
406  return false;
407  Store* input = currentStack()->currentStore();
408  Store* output = currentStack()->work();
409  bool res = (*this)(input, output);
410  if(res) {
411  input->hide();
412  output->show();
413  }
414  return res;
415  }
416 
417  bool operator()(const Store* input, Store* output);
418 
419  QString folder() const {
420  return "Mesh Interaction";
421  }
422  QString name() const {
423  return "Clip Stack";
424  }
426  return "Trim stack to clipping planes";
427  }
429  return QStringList();
430  }
432  return QStringList();
433  }
434  QIcon icon() const {
435  return QIcon(":/images/ClipStack.png");
436  }
437 };
438 
444 class mgxBase_EXPORT CopyMainToWork : public StackProcess {
445 public:
447  : Process(process)
448  , StackProcess(process)
449  {
450  }
451 
452  bool operator()(const QStringList&)
453  {
454  if(!checkState().store(STORE_MAIN | STORE_NON_EMPTY))
455  return false;
456  Stack* stack = currentStack();
457  bool res = (*this)(stack);
458  if(res) {
459  stack->main()->hide();
460  stack->work()->show();
461  }
462  return res;
463  }
464 
465  bool operator()(Stack* stack);
466 
467  QString folder() const {
468  return "Multi-stack";
469  }
470  QString name() const {
471  return "Copy Main to Work Stack";
472  }
474  return "Copy Main to Work Stack";
475  }
477  return QStringList();
478  }
480  return QStringList();
481  }
482  QIcon icon() const {
483  return QIcon(":/images/CopyMainToWork.png");
484  }
485 };
486 
492 class mgxBase_EXPORT CopyWorkToMain : public StackProcess {
493 public:
495  : Process(process)
496  , StackProcess(process)
497  {
498  }
499 
500  bool operator()(const QStringList&)
501  {
502  if(!checkState().store(STORE_WORK | STORE_NON_EMPTY))
503  return false;
504  Stack* stack = currentStack();
505  bool res = (*this)(stack);
506  if(res) {
507  stack->work()->hide();
508  stack->main()->show();
509  }
510  return res;
511  }
512 
513  bool operator()(Stack* stack);
514 
515  QString folder() const {
516  return "Multi-stack";
517  }
518  QString name() const {
519  return "Copy Work to Main Stack";
520  }
522  return "Copy Work to Main Stack";
523  }
525  return QStringList();
526  }
528  return QStringList();
529  }
530  QIcon icon() const {
531  return QIcon(":/images/CopyWorkToMain.png");
532  }
533 };
534 
540 class mgxBase_EXPORT CopySwapStacks : public StackProcess {
541 public:
543  : Process(process)
544  , StackProcess(process)
545  {
546  }
547 
548  bool operator()(const QStringList& parms)
549  {
550  // Stack *stack = currentStack();
551  bool res = (*this)(parms[0], parms[1]);
552  // if(res)
553  //{
554  // stack->main()->hide();
555  // stack->work()->show();
556  //}
557  return res;
558  }
559 
560  bool operator()(const QString& storeStr, const QString& actionStr);
561 
562  QString folder() const {
563  return "Multi-stack";
564  }
565  QString name() const {
566  return "Swap or Copy Stack 1 and 2";
567  }
569  return "Copy or Swap Stack 1 and 2";
570  }
572  {
573  return QStringList() << "Store"
574  << "Action";
575  }
577  {
578  return QStringList() << "Store"
579  << "Action";
580  }
582  {
583  return QStringList() << "Main"
584  << "1 -> 2";
585  }
587  {
588  ParmChoiceMap map;
589  map[0] = storeChoice();
590  map[1] = QStringList() << "1 -> 2"
591  << "1 <- 2"
592  << "1 <-> 2";
593  return map;
594  }
595 
596  QIcon icon() const {
597  return QIcon(":/images/CopySwapStacks.png");
598  }
599 };
600 
606 class mgxBase_EXPORT StackMeshProcess : public StackProcess {
607 public:
609  : Process(process)
610  , StackProcess(process)
611  {
612  }
613 
614  bool operator()(const QStringList& parms, bool fill)
615  {
616  if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
617  return false;
618  Store* input = currentStack()->currentStore();
619  Store* output = currentStack()->work();
620  const Mesh* mesh = currentMesh();
621  uint fillValue = 0;
622  if(fill)
623  fillValue = parms[0].toUInt();
624  bool res = (*this)(input, output, mesh, fill, fillValue);
625  if(res) {
626  input->hide();
627  output->show();
628  }
629  return res;
630  }
631 
632  bool operator()(const Store* input, Store* output, const Mesh* mesh, bool fill, uint fillValue);
633 };
634 
640 class mgxBase_EXPORT FillStackToMesh : public StackMeshProcess {
641 public:
643  : Process(process)
644  , StackMeshProcess(process)
645  {
646  }
647 
648  using StackMeshProcess::operator();
649 
650  bool operator()(const QStringList& parms) {
651  return (*this)(parms, true);
652  }
653 
654  QString name() const {
655  return "Fill Stack from Mesh";
656  }
657  QString folder() const {
658  return "Mesh Interaction";
659  }
661  return "Fill volume contained by closed mesh";
662  }
664  return QStringList() << "Fill Value";
665  }
667  return QStringList() << "Fill Value";
668  }
670  return QStringList() << "32000";
671  }
672  QIcon icon() const {
673  return QIcon(":/images/TrimStack.png");
674  }
675 };
676 
682 class mgxBase_EXPORT TrimStackProcess : public StackMeshProcess {
683 public:
685  : Process(process)
686  , StackMeshProcess(process)
687  {
688  }
689 
690  using StackMeshProcess::operator();
691 
692  bool operator()(const QStringList& parms) {
693  return (*this)(parms, false);
694  }
695 
696  QString folder() const {
697  return "Mesh Interaction";
698  }
699  QString name() const {
700  return "Trim Stack";
701  }
703  return "Trim parts of stack which are not contained within closed mesh.";
704  }
706  return QStringList();
707  }
709  return QStringList();
710  }
711  QIcon icon() const {
712  return QIcon(":/images/TrimStack.png");
713  }
714 };
715 
721 class mgxBase_EXPORT FillStack3D : public StackProcess {
722 public:
724  : Process(process)
725  , StackProcess(process)
726  {
727  }
728 
729  bool operator()(const QStringList& )
730  {
731  if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
732  return false;
733  Store* input = currentStack()->currentStore();
734  Store* output = currentStack()->work();
735  const Mesh* mesh = currentMesh();
736  bool res = (*this)(input, output, mesh);
737  if(res) {
738  input->hide();
739  output->show();
740  output->setLabels(true);
741  }
742  return res;
743  }
744 
745  bool operator()(const Store* input, Store* output, const Mesh* mesh);
746 
747  QString name() const {
748  return "Fill Stack from 3D Mesh";
749  }
750  QString folder() const {
751  return "Mesh Interaction";
752  }
754  return "Fill stack contained by labeled 3D mesh";
755  }
757  return QStringList();
758  }
760  return QStringList();
761  }
762  QList<float> default_values() const {
763  return QList<float>();
764  }
765  QIcon icon() const {
766  return QIcon(":/images/FillStack3D.png");
767  }
768 };
769 
775 class mgxBase_EXPORT SwapStacks : public StackProcess {
776 public:
778  : Process(process)
779  , StackProcess(process)
780  {
781  }
782 
783  bool operator()(const QStringList&)
784  {
785  if(!checkState().stack(STACK_NON_EMPTY))
786  return false;
787  Stack* s = currentStack();
788  if(!s) {
789  setErrorMessage("You need to select a stack to launch this process.");
790  return false;
791  }
792  return (*this)(s);
793  }
794 
795  bool operator()(Stack* stack);
796 
797  QString folder() const {
798  return "Multi-stack";
799  }
800  QString name() const {
801  return "Swap Main and Work Stacks";
802  }
804  return "Swap the main and work data of the current stack.";
805  }
807  return QStringList();
808  }
810  return QStringList();
811  }
812  QIcon icon() const {
813  return QIcon(":/images/SwapStacks.png");
814  }
815 };
816 
822 class mgxBase_EXPORT ReverseStack : public StackProcess {
823 public:
825  : Process(process)
826  , StackProcess(process)
827  {
828  }
829 
830  bool operator()(const QStringList& parms)
831  {
832  if(!checkState().store(STORE_NON_EMPTY))
833  return false;
834  Stack* s = currentStack();
835  Store* input = s->currentStore();
836  Store* output = s->work();
837  bool reverse_x = stringToBool(parms[0]);
838  bool reverse_y = stringToBool(parms[1]);
839  bool reverse_z = stringToBool(parms[2]);
840  if((*this)(output, input, reverse_x, reverse_y, reverse_z)) {
841  input->hide();
842  output->show();
843  return true;
844  }
845  return false;
846  }
847 
848  bool operator()(Store* output, const Store* input, bool x, bool y, bool z);
849 
850  QString folder() const {
851  return "Canvas";
852  }
853  QString name() const {
854  return "Reverse Axes";
855  }
857  {
858  return "Reverse the direction of the selected axes.\n"
859  "Press A-key to display the axis.";
860  }
862  {
863  return QStringList() << "X"
864  << "Y"
865  << "Z";
866  }
868  {
869  return QStringList() << "X"
870  << "Y"
871  << "Z";
872  }
874  {
875  return QStringList() << "No"
876  << "No"
877  << "Yes";
878  }
880  {
881  ParmChoiceMap map;
882  map[0] = map[1] = map[2] = booleanChoice();
883  return map;
884  }
885  QIcon icon() const {
886  return QIcon(":/images/Resize.png");
887  }
888 };
889 
895 class mgxBase_EXPORT ChangeVoxelSize : public StackProcess {
896 public:
898  : Process(process)
899  , StackProcess(process)
900  {
901  }
902 
903  bool operator()(const QStringList& parms)
904  {
905  if(!checkState().stack(STORE_NON_EMPTY))
906  return false;
907  Stack* s = currentStack();
908  Point3f nv(parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat());
909  return (*this)(s, nv);
910  }
911 
912  bool operator()(Stack* stack, Point3f nv);
913 
914  QString folder() const {
915  return "Canvas";
916  }
917  QString name() const {
918  return "Change Voxel Size";
919  }
921  return "Change the size of a voxel (i.e. doesn't change the data)";
922  }
924  {
925  return QStringList() << QString::fromWCharArray(L"X (\xb5m)") << QString::fromWCharArray(L"Y (\xb5m)")
926  << QString::fromWCharArray(L"Z (\xb5m)");
927  }
929  {
930  return QStringList() << QString::fromWCharArray(L"X (\xb5m)") << QString::fromWCharArray(L"Y (\xb5m)")
931  << QString::fromWCharArray(L"Z (\xb5m)");
932  }
934  {
935  return QStringList() << "1.0"
936  << "1.0"
937  << "1.0";
938  }
939  QIcon icon() const {
940  return QIcon(":/images/Resize.png");
941  }
942 };
943 
949 class mgxBase_EXPORT ResizeCanvas : public StackProcess {
950 public:
952  : Process(process)
953  , StackProcess(process)
954  {
955  }
956 
957  bool operator()(const QStringList& parms)
958  {
959  if(!checkState().stack(STORE_NON_EMPTY))
960  return false;
961  Stack* s = currentStack();
962  Point3i ds(parms[2].toInt(), parms[3].toInt(), parms[4].toInt());
963  return (*this)(s, stringToBool(parms[0]), stringToBool(parms[1]), ds);
964  }
965 
966  bool operator()(Stack* stack, bool isRelative, bool center, Point3i ds);
967 
968  QString folder() const {
969  return "Canvas";
970  }
971  QString name() const {
972  return "Resize Canvas";
973  }
975  {
976  return "Resize the stack to add or remove voxels.\n"
977  "Make sure BBox is checked on before running.";
978  }
980  {
981  return QStringList() << "Relative"
982  << "Center"
983  << "X"
984  << "Y"
985  << "Z";
986  }
988  {
989  return QStringList() << "If true, X, Y and Z are given in percentage, if false in voxels."
990  << "New canvas centered as the old one, or else use the bottom left corner as reference."
991  << "Canvas size for X direction, in percentage or voxels."
992  << "Canvas size for Y direction, in percentage or voxels."
993  << "Canvas size for Z direction, in percentage or voxels.";
994  }
996  {
997  return QStringList() << "Yes"
998  << "Yes"
999  << "0"
1000  << "0"
1001  << "0";
1002  }
1004  {
1005  ParmChoiceMap map;
1006  map[0] = booleanChoice();
1007  map[1] = booleanChoice();
1008  return map;
1009  }
1010  QIcon icon() const {
1011  return QIcon(":/images/Resize.png");
1012  }
1013 };
1014 
1020 class mgxBase_EXPORT ScaleStack : public StackProcess {
1021 public:
1023  : Process(process)
1024  , StackProcess(process)
1025  {
1026  }
1027 
1028  bool operator()(const QStringList& parms)
1029  {
1030  if(!checkState().stack(STORE_NON_EMPTY))
1031  return false;
1032  Stack* s = currentStack();
1033  Point3f newsize(parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
1034  return (*this)(s, newsize, stringToBool(parms[0]));
1035  }
1036 
1037  bool operator()(Stack* stack, Point3f newsize, bool percent);
1038 
1039  QString folder() const {
1040  return "Canvas";
1041  }
1042  QString name() const {
1043  return "Scale Stack";
1044  }
1046  return "Scale the stack.";
1047  }
1049  {
1050  return QStringList() << "Percent"
1051  << "X"
1052  << "Y"
1053  << "Z";
1054  }
1056  {
1057  return QStringList() << "Percent"
1058  << "X"
1059  << "Y"
1060  << "Z";
1061  }
1063  {
1064  return QStringList() << "Yes"
1065  << "0.0"
1066  << "0.0"
1067  << "0.0";
1068  }
1070  {
1071  ParmChoiceMap map;
1072  map[0] = map[1] = booleanChoice();
1073  return map;
1074  }
1075  QIcon icon() const {
1076  return QIcon(":/images/Scale.png");
1077  }
1078 };
1079 
1086 class mgxBase_EXPORT ShiftStack : public StackProcess {
1087 public:
1089  : Process(process)
1090  , StackProcess(process)
1091  {
1092  }
1093 
1094  bool operator()(const QStringList& parms)
1095  {
1096  if(!checkState().store(STORE_NON_EMPTY))
1097  return false;
1098  Stack* s = currentStack();
1099  Point3i ds(parms[1].toInt(), parms[2].toInt(), parms[3].toInt());
1100  return (*this)(s, stringToBool(parms[0]), ds);
1101  }
1102 
1103  bool operator()(Stack* stack, bool origin, Point3i ds);
1104 
1105  QString folder() const {
1106  return "Canvas";
1107  }
1108  QString name() const {
1109  return "Shift Stack";
1110  }
1112  return "Shift both stores of the stack to within the canvas.";
1113  }
1115  {
1116  return QStringList() << "Origin"
1117  << "X"
1118  << "Y"
1119  << "Z";
1120  }
1122  {
1123  return QStringList() << "Origin"
1124  << "X"
1125  << "Y"
1126  << "Z";
1127  }
1129  {
1130  return QStringList() << "No"
1131  << "0"
1132  << "0"
1133  << "0";
1134  }
1136  {
1137  ParmChoiceMap map;
1138  map[0] = booleanChoice();
1139  return map;
1140  }
1141  QIcon icon() const {
1142  return QIcon(":/images/Shift.png");
1143  }
1144 };
1145 
1152 class mgxBase_EXPORT StackRelabel : public StackProcess {
1153 public:
1155  : Process(process)
1156  , StackProcess(process)
1157  {
1158  }
1159 
1160  bool operator()(const QStringList& parms)
1161  {
1162  if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
1163  return false;
1164  Stack* s = currentStack();
1165  Store* store = s->currentStore();
1166  Store* output = s->work();
1167  int start = parms[0].toInt();
1168  int step = parms[1].toInt();
1169  if((*this)(s, store, output, start, step)) {
1170  store->hide();
1171  output->show();
1172  return true;
1173  }
1174  return false;
1175  }
1176 
1177  bool operator()(Stack* stack, const Store* store, Store* output, int start, int step);
1178 
1179  QString folder() const {
1180  return "Segmentation";
1181  }
1182  QString name() const {
1183  return "Relabel";
1184  }
1186  {
1187  return "Relabel a 3D stack to use consecutive labels.\n"
1188  "The cells are shuffled so each relabling will be different.";
1189  }
1191  {
1192  return QStringList() << "StartLabel"
1193  << "Step";
1194  }
1196  {
1197  return QStringList() << "StartLabel"
1198  << "Step";
1199  }
1201  {
1202  return QStringList() << "1"
1203  << "1";
1204  }
1205  QIcon icon() const {
1206  return QIcon(":/images/Relabel.png");
1207  }
1208 };
1209 
1218 class mgxBase_EXPORT StackRelabelFromMesh : public StackProcess {
1219 public:
1221  : Process(process)
1222  , StackProcess(process)
1223  {
1224  }
1225 
1226  bool operator()(const QStringList& parms)
1227  {
1228  if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL).mesh(MESH_NON_EMPTY | MESH_LABEL))
1229  return false;
1230  Stack* s = currentStack();
1231  Store* store = s->currentStore();
1232  Store* output = s->work();
1233  const Mesh* m = currentMesh();
1234  if((*this)(s, store, output, m, stringToBool(parms[0]))) {
1235  store->hide();
1236  output->show();
1237  return true;
1238  }
1239  return false;
1240  }
1241 
1242  bool operator()(Stack* stack, const Store* store, Store* output, const Mesh* mesh,
1243  bool delete_unknown);
1244 
1245  QString folder() const {
1246  return "Mesh Interaction";
1247  }
1248  QString name() const {
1249  return "Relabel From Mesh";
1250  }
1252  {
1253  return "Relabel a 3D stack reusing the same labels as in the stack.\n"
1254  "Unknown cells (i.e. cells in the stack, not in the mesh), \n"
1255  "can be either kept or deleted. If kept, they will be relabeled\n"
1256  "to not conflict with existing cells.";
1257  }
1259  return QStringList() << "Delete unknown";
1260  }
1262  return QStringList() << "Delete unknown";
1263  }
1265  return QStringList() << "Yes";
1266  }
1268  {
1269  ParmChoiceMap map;
1270  map[0] = booleanChoice();
1271  return map;
1272  }
1273  QIcon icon() const {
1274  return QIcon(":/images/Relabel.png");
1275  }
1276 };
1277 
1283 class mgxBase_EXPORT SaveTransform : public QObject, public StackProcess {
1284  Q_OBJECT
1285 
1286 public:
1288  : Process(process)
1289  , QObject()
1290  , StackProcess(process)
1291  {
1292  }
1293 
1294  bool initialize(QStringList& parms, QWidget* parent);
1295 
1296  bool operator()(const QStringList& parms) {
1297  return (*this)(currentStack(), parms[0]);
1298  }
1299 
1300  bool operator()(Stack* stack, const QString& filename);
1301 
1302  QString folder() const {
1303  return "Transform";
1304  }
1305  QString name() const {
1306  return "Save Transform";
1307  }
1309  return "Save the frame matrix (or transform if trans checked) to a file";
1310  }
1312  return QStringList() << "Filename";
1313  }
1315  return QStringList() << "Filename";
1316  }
1318  return QStringList() << "";
1319  }
1320  QIcon icon() const {
1321  return QIcon(":/images/save.png");
1322  }
1323 };
1324 
1330 class mgxBase_EXPORT LoadTransform : public QObject, public StackProcess {
1331  Q_OBJECT
1332 
1333 public:
1335  : Process(process)
1336  , QObject()
1337  , StackProcess(process)
1338  {
1339  }
1340 
1341  bool initialize(QStringList& parms, QWidget* parent);
1342 
1343  bool operator()(const QStringList& parms) {
1344  return (*this)(currentStack(), parms[0]);
1345  }
1346 
1347  bool operator()(Stack* stack, const QString& filename);
1348 
1349  QString folder() const {
1350  return "Transform";
1351  }
1352  QString name() const {
1353  return "Load Transform";
1354  }
1356  return "Save the frame matrix (or transform if trans checked) from a file";
1357  }
1359  return QStringList() << "Filename";
1360  }
1362  return QStringList() << "Filename";
1363  }
1365  return QStringList() << "";
1366  }
1367  QIcon icon() const {
1368  return QIcon(":/images/open.png");
1369  }
1370 };
1371 
1373 } // namespace process
1374 } // namespace mgx
1375 
1376 #endif
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:476
fromWCharArray(const wchar_t *string, int size=-1)
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:521
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:812
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:586
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1069
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1185
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:206
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:753
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:568
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:89
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1108
void show()
Ask the user interface to show this store.
Definition: Store.hpp:177
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1045
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:565
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:358
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:216
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:914
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:729
Change the size of the stack&#39;s voxel, without changing the data itself.
Definition: StackProcess.hpp:895
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:747
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:830
Apply the active clipping planes to the current stack.
Definition: StackProcess.hpp:395
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:428
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:797
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:325
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:473
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1251
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:331
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1248
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:809
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:209
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1105
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:903
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:76
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:596
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:102
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:548
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:67
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1055
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:696
Shift main and work stores within the canvas (e.g.
Definition: StackProcess.hpp:1086
arg(const QString &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char( ' ')
Transform the stack to reflect the transfer function in use.
Definition: StackProcess.hpp:164
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1245
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1200
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:987
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1320
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1305
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1062
const Store * currentStore() const
Returns the current store.
Definition: Stack.hpp:122
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1258
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:806
Change the labels of a stack to match the ones of a labeled 3D cell mesh.
Definition: StackProcess.hpp:1218
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1039
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:663
Find and label blobs in an image.
Definition: StackProcess.hpp:240
Copy or swap stacks between stack 1 and 2.
Definition: StackProcess.hpp:540
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:172
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1358
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:500
Erase the content of the main stack.
Definition: StackProcess.hpp:350
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1317
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1311
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:650
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:96
Load the frame (or transform) matrix from a file containing a list of values in column-major.
Definition: StackProcess.hpp:1330
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:200
Copy the content of the main stack into the work stack.
Definition: StackProcess.hpp:444
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1128
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1182
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:142
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:705
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:750
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:340
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:313
Delete all but a layour of the stack just "below" the mesh.
Definition: StackProcess.hpp:31
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:470
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:666
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1075
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1361
Scale the stack.
Definition: StackProcess.hpp:1020
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:879
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1135
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:672
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1028
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:873
Fill the stack with labels from a labeled 3D mesh.
Definition: StackProcess.hpp:721
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1308
Set to 0 any voxel not contained within the closed mesh.
Definition: StackProcess.hpp:682
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:422
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:271
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:151
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:145
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1160
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:35
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:692
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:581
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:177
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:154
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:968
Reverse the direction of the selected axes.
Definition: StackProcess.hpp:822
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:803
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:923
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:295
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:479
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:571
Copy the content of the work stack into the main stack.
Definition: StackProcess.hpp:492
Relabel a 3D stack to use consecutive labels.
Definition: StackProcess.hpp:1152
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1364
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1010
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:995
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1205
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:708
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:385
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1121
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:657
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1042
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:284
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:861
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1261
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:73
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:70
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1195
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:524
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1111
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:917
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:373
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:669
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:856
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:452
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:867
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:759
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:39
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:120
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:425
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:274
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:979
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:562
Fill the volume contained by a closed mesh with a pre-defined intensity.
Definition: StackProcess.hpp:640
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1367
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1296
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:660
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:654
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:850
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:337
File containing the definition of a Process.
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:800
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1314
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:756
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1273
The Stack class represent the dimensions of the 3D data, and the frames transformations.
Definition: Stack.hpp:35
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:431
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1114
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:853
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:971
This is the main process class, the one all process inherit from.
Definition: Process.hpp:258
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:230
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:699
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:248
Base class for a process that either fill or erase the inside part of a mesh in a stack...
Definition: StackProcess.hpp:606
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:928
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:223
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:765
void hide()
Ask the user interface to hide this store.
Definition: Store.hpp:183
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:920
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:139
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:403
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:290
mgx_EXPORT bool stringToBool(const QString &string)
Helper function converting a string into a boolean.
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1003
This namespace contains all the classes needed to define processes.
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:702
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1141
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:328
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:322
const Store * work() const
Access the work store.
Definition: Stack.hpp:103
Resize the stack to add or remove voxels.
Definition: StackProcess.hpp:949
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:933
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:957
Save the frame (or transform) matrix to a file, as a list of values in column-major.
Definition: StackProcess.hpp:1283
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1190
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:518
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:576
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:530
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1226
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:482
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1267
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:467
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:376
const Store * main() const
Access the main store.
Definition: Stack.hpp:84
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:515
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:279
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:434
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:379
Erase the content of the work stack.
Definition: StackProcess.hpp:305
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1352
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1264
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:829
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:939
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:527
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:783
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:370
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1343
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:268
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:82
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1349
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:203
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:334
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1048
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:711
Swap the main and work stores of a stack.
Definition: StackProcess.hpp:775
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:265
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1094
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:367
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:419
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:885
Scale the stack intensity to fill exactly the whole range.
Definition: StackProcess.hpp:112
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1302
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1179
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:382
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1355
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:148
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:974