1 #ifndef STACKPROCESSANALYSES_HPP
2 #define STACKPROCESSANALYSES_HPP
29 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
31 Store* input = currentStack()->currentStore();
32 return (*
this)(input, parms[0]);
38 return "Compute Volumes";
42 return "Compute the volumes of the labels, i.e. the number of voxels multiplied by the vocel size.";
57 return QIcon(
":/images/CellFiles3D.png");
QStringList parmNames() const
List of named parameters.
Definition: StackProcessAnalyses.hpp:47
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessAnalyses.hpp:27
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessAnalyses.hpp:56
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:25
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessAnalyses.hpp:50
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessAnalyses.hpp:53
QString name() const
Returns the name of the process.
Definition: StackProcessAnalyses.hpp:37
QString folder() const
Folder in which to place the process.
Definition: StackProcessAnalyses.hpp:44
File containing the definition of a Process.
Compute the volume of each label and write the result in a CSV file.
Definition: StackProcessAnalyses.hpp:19
This is the main process class, the one all process inherit from.
Definition: Process.hpp:248
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessAnalyses.hpp:40
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:819