1 #ifndef STACKPROCESS_HPP
2 #define STACKPROCESS_HPP
31 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
33 Store* input = currentStack()->currentStore();
34 Store* output = currentStack()->work();
38 = (*this)(input, output, currentMesh(), parms[2].toFloat(), parms[3].toFloat(), fill, parms[1].toUInt());
54 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh,
float minDist,
float maxDist,
55 bool fill, uint fillval);
61 return "Keep or fill a layer near the mesh";
64 return "Mesh Interaction";
69 <<
"Fill Val" <<
QString(
"Min Dist(%1)").
arg(UM)
74 return QStringList() <<
"Fill the layer with specified value, or keep the original data."
75 <<
"Value to fill the volume with."
76 <<
"Minimal distance from layer to mesh."
77 <<
"Maximal distance from layre to mesh";
89 map[0] = booleanChoice();
93 return QIcon(
":/images/Annihilate.png");
112 if(!checkState().store(STORE_NON_EMPTY))
114 Store* input = currentStack()->currentStore();
115 Store* output = currentStack()->work();
116 bool res = (*this)(input, output);
127 bool operator()(
const Store* store,
Store* output);
130 return "Autoscale Stack";
133 return "Scale the stack intensity to fill exactly the whole range.";
145 return QIcon(
":/images/Palette.png");
164 if(!checkState().store(STORE_NON_EMPTY))
166 Store* input = currentStack()->currentStore();
167 Store* output = currentStack()->work();
169 = (*this)(input, output, parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
188 bool operator()(
Store* store,
Store* output,
float red,
float green,
float blue,
float alpha);
191 return "Apply Transfer Function";
194 return "Apply the transfer function to the stack (modifies voxel values).";
221 return QIcon(
":/images/Palette.png");
240 if(!checkState().store(STORE_NON_EMPTY | STORE_NON_LABEL))
243 Store* input = currentStack()->currentStore();
244 Store* output = currentStack()->work();
245 bool res = (*this)(input, output, wat, parms[1].toUInt());
253 bool operator()(
const Store* input,
Store* output,
bool watershed, uint startlabel);
256 return "Segmentation";
259 return "Blob Detect";
262 return "Find and label blobs in an image";
277 map[0] = booleanChoice();
286 return QIcon(
":/images/BlobDetect.png");
305 if(!checkState().store(STORE_WORK))
307 return (*
this)(currentStack(), parms[0].toUInt());
310 bool operator()(
Stack* stack, uint fillValue);
316 return "Clear Work Stack";
319 return "Clear the work stack";
331 return QIcon(
":/images/ClearStack.png");
350 if(!checkState().store(STORE_MAIN))
352 return (*
this)(currentStack(), parms[0].toUInt());
355 bool operator()(
Stack* stack, uint fillValue);
361 return "Clear Main Stack";
364 return "Clear the main stack";
376 return QIcon(
":/images/ClearStack.png");
395 if(!checkState().store(STORE_NON_EMPTY))
397 Store* input = currentStack()->currentStore();
398 Store* output = currentStack()->work();
399 bool res = (*this)(input, output);
407 bool operator()(
const Store* input,
Store* output);
410 return "Mesh Interaction";
416 return "Trim stack to clipping planes";
425 return QIcon(
":/images/ClipStack.png");
444 if(!checkState().store(STORE_MAIN | STORE_NON_EMPTY))
446 Stack* stack = currentStack();
447 bool res = (*this)(stack);
455 bool operator()(
Stack* stack);
458 return "Multi-stack";
461 return "Copy Main to Work Stack";
464 return "Copy Main to Work Stack";
473 return QIcon(
":/images/CopyMainToWork.png");
492 if(!checkState().store(STORE_WORK | STORE_NON_EMPTY))
494 Stack* stack = currentStack();
495 bool res = (*this)(stack);
503 bool operator()(
Stack* stack);
506 return "Multi-stack";
509 return "Copy Work to Main Stack";
512 return "Copy Work to Main Stack";
521 return QIcon(
":/images/CopyWorkToMain.png");
541 bool res = (*this)(parms[0], parms[1]);
550 bool operator()(
const QString& storeStr,
const QString& actionStr);
553 return "Multi-stack";
556 return "Swap or Copy Stack 1 and 2";
559 return "Copy or Swap Stack 1 and 2";
579 map[0] = storeChoice();
587 return QIcon(
":/images/CopySwapStacks.png");
604 bool operator()(
const QStringList& parms,
bool fill)
606 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
608 Store* input = currentStack()->currentStore();
609 Store* output = currentStack()->work();
610 const Mesh* mesh = currentMesh();
613 fillValue = parms[0].toUInt();
614 bool res = (*this)(input, output, mesh, fill, fillValue);
622 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh,
bool fill, uint fillValue);
638 using StackMeshProcess::operator();
641 return (*
this)(parms,
true);
645 return "Fill Stack from Mesh";
648 return "Mesh Interaction";
651 return "Fill volume contained by closed mesh";
663 return QIcon(
":/images/TrimStack.png");
680 using StackMeshProcess::operator();
683 return (*
this)(parms,
false);
687 return "Mesh Interaction";
693 return "Trim parts of stack which are not contained within closed mesh.";
702 return QIcon(
":/images/TrimStack.png");
721 if(!checkState().store(STORE_NON_EMPTY).mesh(MESH_NON_EMPTY))
723 Store* input = currentStack()->currentStore();
724 Store* output = currentStack()->work();
725 const Mesh* mesh = currentMesh();
726 bool res = (*this)(input, output, mesh);
730 output->setLabels(
true);
735 bool operator()(
const Store* input,
Store* output,
const Mesh* mesh);
738 return "Fill Stack from 3D Mesh";
741 return "Mesh Interaction";
744 return "Fill stack contained by labeled 3D mesh";
756 return QIcon(
":/images/FillStack3D.png");
775 if(!checkState().stack(STACK_NON_EMPTY))
777 Stack* s = currentStack();
779 setErrorMessage(
"You need to select a stack to launch this process.");
785 bool operator()(
Stack* stack);
788 return "Multi-stack";
791 return "Swap Main and Work Stacks";
794 return "Swap the main and work data of the current stack.";
803 return QIcon(
":/images/SwapStacks.png");
822 if(!checkState().store(STORE_NON_EMPTY))
824 Stack* s = currentStack();
830 if((*
this)(output, input, reverse_x, reverse_y, reverse_z)) {
838 bool operator()(
Store* output,
const Store* input,
bool x,
bool y,
bool z);
844 return "Reverse Axes";
848 return "Reverse the direction of the selected axes.\n"
849 "Press A-key to display the axis.";
872 map[0] = map[1] = map[2] = booleanChoice();
876 return QIcon(
":/images/Resize.png");
895 if(!checkState().stack(STORE_NON_EMPTY))
897 Stack* s = currentStack();
898 Point3f nv(parms[0].toFloat(), parms[1].toFloat(), parms[2].toFloat());
899 return (*
this)(s, nv);
908 return "Change Voxel Size";
911 return "Change the size of a voxel (i.e. doesn't change the data)";
930 return QIcon(
":/images/Resize.png");
949 if(!checkState().stack(STORE_NON_EMPTY))
951 Stack* s = currentStack();
952 Point3i ds(parms[2].toInt(), parms[3].toInt(), parms[4].toInt());
956 bool operator()(
Stack* stack,
bool isRelative,
bool center,
Point3i ds);
962 return "Resize Canvas";
966 return "Resize the stack to add or remove voxels.\n"
967 "Make sure BBox is checked on before running.";
979 return QStringList() <<
"If true, X, Y and Z are given in percentage, if false in voxels."
980 <<
"New canvas centered as the old one, or else use the bottom left corner as reference."
981 <<
"Canvas size for X direction, in percentage or voxels."
982 <<
"Canvas size for Y direction, in percentage or voxels."
983 <<
"Canvas size for Z direction, in percentage or voxels.";
996 map[0] = booleanChoice();
997 map[1] = booleanChoice();
1001 return QIcon(
":/images/Resize.png");
1020 if(!checkState().stack(STORE_NON_EMPTY))
1022 Stack* s = currentStack();
1023 Point3f newsize(parms[1].toFloat(), parms[2].toFloat(), parms[3].toFloat());
1027 bool operator()(
Stack* stack,
Point3f newsize,
bool percent);
1033 return "Scale Stack";
1036 return "Scale the stack.";
1062 map[0] = map[1] = booleanChoice();
1066 return QIcon(
":/images/Scale.png");
1086 if(!checkState().store(STORE_NON_EMPTY))
1088 Stack* s = currentStack();
1089 Point3i ds(parms[1].toInt(), parms[2].toInt(), parms[3].toInt());
1093 bool operator()(
Stack* stack,
bool origin,
Point3i ds);
1099 return "Shift Stack";
1102 return "Shift both stores of the stack to within the canvas.";
1128 map[0] = booleanChoice();
1132 return QIcon(
":/images/Shift.png");
1152 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
1154 Stack* s = currentStack();
1157 int start = parms[0].toInt();
1158 int step = parms[1].toInt();
1159 if((*
this)(s, store, output, start, step)) {
1167 bool operator()(
Stack* stack,
const Store* store,
Store* output,
int start,
int step);
1170 return "Segmentation";
1177 return "Relabel a 3D stack to use consecutive labels.\n"
1178 "The cells are shuffled so each relabling will be different.";
1196 return QIcon(
":/images/Relabel.png");
1218 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL).mesh(MESH_NON_EMPTY | MESH_LABEL))
1220 Stack* s = currentStack();
1223 const Mesh* m = currentMesh();
1224 if((*
this)(s, store, output, m,
stringToBool(parms[0]))) {
1233 bool delete_unknown);
1236 return "Mesh Interaction";
1239 return "Relabel From Mesh";
1243 return "Relabel a 3D stack reusing the same labels as in the stack.\n"
1244 "Unknown cells (i.e. cells in the stack, not in the mesh), \n"
1245 "can be either kept or deleted. If kept, they will be relabeled\n"
1246 "to not conflict with existing cells.";
1260 map[0] = booleanChoice();
1264 return QIcon(
":/images/Relabel.png");
1287 return (*
this)(currentStack(), parms[0]);
1290 bool operator()(
Stack* stack,
const QString& filename);
1296 return "Save Transform";
1299 return "Save the frame matrix (or transform if trans checked) to a file";
1311 return QIcon(
":/images/save.png");
1334 return (*
this)(currentStack(), parms[0]);
1337 bool operator()(
Stack* stack,
const QString& filename);
1343 return "Load Transform";
1346 return "Save the frame matrix (or transform if trans checked) from a file";
1358 return QIcon(
":/images/open.png");
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:466
fromWCharArray(const wchar_t *string, int size=-1)
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:511
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:802
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:576
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1059
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1175
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:196
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:743
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:558
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:79
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1098
void show()
Ask the user interface to show this store.
Definition: Store.hpp:167
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1035
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:555
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:348
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:206
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:904
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:719
Change the size of the stack's voxel, without changing the data itself.
Definition: StackProcess.hpp:885
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:737
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:820
Apply the active clipping planes to the current stack.
Definition: StackProcess.hpp:385
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:418
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:787
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:315
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:463
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1241
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:321
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1238
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:799
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:199
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1095
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:893
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:66
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:586
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:92
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:538
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:57
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1045
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:686
Shift main and work stores within the canvas (e.g.
Definition: StackProcess.hpp:1076
arg(const QString &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char( ' ')
Transform the stack to reflect the transfer function in use.
Definition: StackProcess.hpp:154
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1235
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1190
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:977
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1052
const Store * currentStore() const
Returns the current store.
Definition: Stack.hpp:112
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1248
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:796
Change the labels of a stack to match the ones of a labeled 3D cell mesh.
Definition: StackProcess.hpp:1208
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1029
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:653
Find and label blobs in an image.
Definition: StackProcess.hpp:230
Copy or swap stacks between stack 1 and 2.
Definition: StackProcess.hpp:530
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:162
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:490
Erase the content of the main stack.
Definition: StackProcess.hpp:340
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:640
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:86
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:190
Copy the content of the main stack into the work stack.
Definition: StackProcess.hpp:434
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1118
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1172
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:132
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:695
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:740
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:330
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:303
Delete all but a layour of the stack just "below" the mesh.
Definition: StackProcess.hpp:21
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:460
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:656
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1065
Scale the stack.
Definition: StackProcess.hpp:1010
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:869
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1125
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:662
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1018
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:863
Fill the stack with labels from a labeled 3D mesh.
Definition: StackProcess.hpp:711
Set to 0 any voxel not contained within the closed mesh.
Definition: StackProcess.hpp:672
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:412
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:261
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:141
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:135
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1150
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:25
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:682
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:571
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:167
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:144
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:958
Reverse the direction of the selected axes.
Definition: StackProcess.hpp:812
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:793
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:913
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:285
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:469
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:561
Copy the content of the work stack into the main stack.
Definition: StackProcess.hpp:482
Relabel a 3D stack to use consecutive labels.
Definition: StackProcess.hpp:1142
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1000
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:985
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1195
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:698
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:375
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1111
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:647
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:1032
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:274
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:851
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1251
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:63
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:60
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:1185
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:514
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:1101
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:907
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:363
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:659
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:846
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:442
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:857
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:749
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:29
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:110
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:415
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:264
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:969
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:552
Fill the volume contained by a closed mesh with a pre-defined intensity.
Definition: StackProcess.hpp:630
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:650
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:644
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:840
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:327
File containing the definition of a Process.
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:790
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:746
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1263
The Stack class represent the dimensions of the 3D data, and the frames transformations.
Definition: Stack.hpp:25
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:421
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1104
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:843
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:961
This is the main process class, the one all process inherit from.
Definition: Process.hpp:248
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:220
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:689
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:238
Base class for a process that either fill or erase the inside part of a mesh in a stack...
Definition: StackProcess.hpp:596
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:918
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:213
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:755
void hide()
Ask the user interface to hide this store.
Definition: Store.hpp:173
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:910
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:129
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:393
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:280
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:993
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:692
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:1131
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:318
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:312
const Store * work() const
Access the work store.
Definition: Stack.hpp:93
Resize the stack to add or remove voxels.
Definition: StackProcess.hpp:939
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:923
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:947
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1180
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:508
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:566
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:520
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1216
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:472
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: StackProcess.hpp:1257
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:457
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:366
const Store * main() const
Access the main store.
Definition: Stack.hpp:74
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:505
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:269
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:424
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:369
Erase the content of the work stack.
Definition: StackProcess.hpp:295
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:1254
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:819
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:929
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:517
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:773
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:360
QString name() const
Returns the name of the process.
Definition: StackProcess.hpp:258
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:72
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:193
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcess.hpp:324
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:1038
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:701
Swap the main and work stores of a stack.
Definition: StackProcess.hpp:765
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:255
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcess.hpp:1084
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:357
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:409
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcess.hpp:875
Scale the stack intensity to fill exactly the whole range.
Definition: StackProcess.hpp:102
QString folder() const
Folder in which to place the process.
Definition: StackProcess.hpp:1169
QStringList parmDefaults() const
List of default parms.
Definition: StackProcess.hpp:372
QStringList parmNames() const
List of named parameters.
Definition: StackProcess.hpp:138
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcess.hpp:964