11 #ifndef STACKPROCESS_HPP 12 #define STACKPROCESS_HPP 41 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
43 Store* input = currentStack()->currentStore();
44 Store* output = currentStack()->work();
48 = (*this)(input, output, currentMesh(), parms[2].toFloat(), parms[3].toFloat(), fill, parms[1].toUInt());
64 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh,
float minDist,
float maxDist,
65 bool fill, uint fillval);
71 return "Keep or fill a layer near the mesh";
74 return "Mesh Interaction";
79 <<
"Fill Val" <<
QString(
"Min Dist(%1)").
arg(UM)
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";
99 map[0] = booleanChoice();
103 return QIcon(
":/images/Annihilate.png");
122 if(!checkState().store(STORE_NON_EMPTY))
124 Store* input = currentStack()->currentStore();
125 Store* output = currentStack()->work();
126 bool res = (*this)(input, output);
137 bool operator()(
const Store* store,
Store* output);
140 return "Autoscale Stack";
143 return "Scale the stack intensity to fill exactly the whole range.";
155 return QIcon(
":/images/Palette.png");
174 if(!checkState().store(STORE_NON_EMPTY))
176 Store* input = currentStack()->currentStore();
177 Store* output = currentStack()->work();
179 = (*this)(input, output, parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
198 bool operator()(
Store* store,
Store* output,
float red,
float green,
float blue,
float alpha);
201 return "Apply Transfer Function";
204 return "Apply the transfer function to the stack (modifies voxel values).";
231 return QIcon(
":/images/Palette.png");
250 if(!checkState().store(STORE_NON_EMPTY | STORE_NON_LABEL))
253 Store* input = currentStack()->currentStore();
254 Store* output = currentStack()->work();
255 bool res = (*this)(input, output, wat, parms[1].toUInt());
263 bool operator()(
const Store* input,
Store* output,
bool watershed, uint startlabel);
266 return "Segmentation";
269 return "Blob Detect";
272 return "Find and label blobs in an image";
287 map[0] = booleanChoice();
296 return QIcon(
":/images/BlobDetect.png");
315 if(!checkState().store(STORE_WORK))
317 return (*
this)(currentStack(), parms[0].toUInt());
320 bool operator()(
Stack* stack, uint fillValue);
326 return "Clear Work Stack";
329 return "Clear the work stack";
341 return QIcon(
":/images/ClearStack.png");
360 if(!checkState().store(STORE_MAIN))
362 return (*
this)(currentStack(), parms[0].toUInt());
365 bool operator()(
Stack* stack, uint fillValue);
371 return "Clear Main Stack";
374 return "Clear the main stack";
386 return QIcon(
":/images/ClearStack.png");
405 if(!checkState().store(STORE_NON_EMPTY))
407 Store* input = currentStack()->currentStore();
408 Store* output = currentStack()->work();
409 bool res = (*this)(input, output);
417 bool operator()(
const Store* input,
Store* output);
420 return "Mesh Interaction";
426 return "Trim stack to clipping planes";
435 return QIcon(
":/images/ClipStack.png");
454 if(!checkState().store(STORE_MAIN | STORE_NON_EMPTY))
456 Stack* stack = currentStack();
457 bool res = (*this)(stack);
465 bool operator()(
Stack* stack);
468 return "Multi-stack";
471 return "Copy Main to Work Stack";
474 return "Copy Main to Work Stack";
483 return QIcon(
":/images/CopyMainToWork.png");
502 if(!checkState().store(STORE_WORK | STORE_NON_EMPTY))
504 Stack* stack = currentStack();
505 bool res = (*this)(stack);
513 bool operator()(
Stack* stack);
516 return "Multi-stack";
519 return "Copy Work to Main Stack";
522 return "Copy Work to Main Stack";
531 return QIcon(
":/images/CopyWorkToMain.png");
551 bool res = (*this)(parms[0], parms[1]);
560 bool operator()(
const QString& storeStr,
const QString& actionStr);
563 return "Multi-stack";
566 return "Swap or Copy Stack 1 and 2";
569 return "Copy or Swap Stack 1 and 2";
589 map[0] = storeChoice();
597 return QIcon(
":/images/CopySwapStacks.png");
614 bool operator()(
const QStringList& parms,
bool fill)
616 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
618 Store* input = currentStack()->currentStore();
619 Store* output = currentStack()->work();
620 const Mesh* mesh = currentMesh();
623 fillValue = parms[0].toUInt();
624 bool res = (*this)(input, output, mesh, fill, fillValue);
632 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh,
bool fill, uint fillValue);
648 using StackMeshProcess::operator();
651 return (*
this)(parms,
true);
655 return "Fill Stack from Mesh";
658 return "Mesh Interaction";
661 return "Fill volume contained by closed mesh";
673 return QIcon(
":/images/TrimStack.png");
690 using StackMeshProcess::operator();
693 return (*
this)(parms,
false);
697 return "Mesh Interaction";
703 return "Trim parts of stack which are not contained within closed mesh.";
712 return QIcon(
":/images/TrimStack.png");
731 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
733 Store* input = currentStack()->currentStore();
734 Store* output = currentStack()->work();
735 const Mesh* mesh = currentMesh();
736 bool res = (*this)(input, output, mesh);
740 output->setLabels(
true);
745 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh);
748 return "Fill Stack from 3D Mesh";
751 return "Mesh Interaction";
754 return "Fill stack contained by labeled 3D mesh";
766 return QIcon(
":/images/FillStack3D.png");
785 if(!checkState().stack(STACK_NON_EMPTY))
787 Stack* s = currentStack();
789 setErrorMessage(
"You need to select a stack to launch this process.");
795 bool operator()(
Stack* stack);
798 return "Multi-stack";
801 return "Swap Main and Work Stacks";
804 return "Swap the main and work data of the current stack.";
813 return QIcon(
":/images/SwapStacks.png");
832 if(!checkState().store(STORE_NON_EMPTY))
834 Stack* s = currentStack();
840 if((*
this)(output, input, reverse_x, reverse_y, reverse_z)) {
848 bool operator()(
Store* output,
const Store* input,
bool x,
bool y,
bool z);
854 return "Reverse Axes";
858 return "Reverse the direction of the selected axes.\n" 859 "Press A-key to display the axis.";
882 map[0] = map[1] = map[2] = booleanChoice();
886 return QIcon(
":/images/Resize.png");
905 if(!checkState().stack(STORE_NON_EMPTY))
907 Stack* s = currentStack();
908 Point3f nv(parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat());
909 return (*
this)(s, nv);
918 return "Change Voxel Size";
921 return "Change the size of a voxel (i.e. doesn't change the data)";
940 return QIcon(
":/images/Resize.png");
959 if(!checkState().stack(STORE_NON_EMPTY))
961 Stack* s = currentStack();
962 Point3i ds(parms[2].toInt(), parms[3].toInt(), parms[4].toInt());
966 bool operator()(
Stack* stack,
bool isRelative,
bool center,
Point3i ds);
972 return "Resize Canvas";
976 return "Resize the stack to add or remove voxels.\n" 977 "Make sure BBox is checked on before running.";
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.";
1006 map[0] = booleanChoice();
1007 map[1] = booleanChoice();
1011 return QIcon(
":/images/Resize.png");
1030 if(!checkState().stack(STORE_NON_EMPTY))
1032 Stack* s = currentStack();
1033 Point3f newsize(parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
1037 bool operator()(
Stack* stack,
Point3f newsize,
bool percent);
1043 return "Scale Stack";
1046 return "Scale the stack.";
1072 map[0] = map[1] = booleanChoice();
1076 return QIcon(
":/images/Scale.png");
1096 if(!checkState().store(STORE_NON_EMPTY))
1098 Stack* s = currentStack();
1099 Point3i ds(parms[1].toInt(), parms[2].toInt(), parms[3].toInt());
1103 bool operator()(
Stack* stack,
bool origin,
Point3i ds);
1109 return "Shift Stack";
1112 return "Shift both stores of the stack to within the canvas.";
1138 map[0] = booleanChoice();
1142 return QIcon(
":/images/Shift.png");
1162 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
1164 Stack* s = currentStack();
1167 int start = parms[0].toInt();
1168 int step = parms[1].toInt();
1169 if((*
this)(s, store, output, start, step)) {
1177 bool operator()(
Stack* stack,
const Store* store,
Store* output,
int start,
int step);
1180 return "Segmentation";
1187 return "Relabel a 3D stack to use consecutive labels.\n" 1188 "The cells are shuffled so each relabling will be different.";
1206 return QIcon(
":/images/Relabel.png");
1228 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL).mesh(MESH_NON_EMPTY | MESH_LABEL))
1230 Stack* s = currentStack();
1233 const Mesh* m = currentMesh();
1234 if((*
this)(s, store, output, m,
stringToBool(parms[0]))) {
1243 bool delete_unknown);
1246 return "Mesh Interaction";
1249 return "Relabel From Mesh";
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.";
1270 map[0] = booleanChoice();
1274 return QIcon(
":/images/Relabel.png");
1297 return (*
this)(currentStack(), parms[0]);
1300 bool operator()(
Stack* stack,
const QString& filename);
1306 return "Save Transform";
1309 return "Save the frame matrix (or transform if trans checked) to a file";
1321 return QIcon(
":/images/save.png");
1344 return (*
this)(currentStack(), parms[0]);
1347 bool operator()(
Stack* stack,
const QString& filename);
1353 return "Load Transform";
1356 return "Save the frame matrix (or transform if trans checked) from a file";
1368 return QIcon(
":/images/open.png");
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'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
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
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
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
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
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
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
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
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 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
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
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
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 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:1179
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:382
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