11 #ifndef STACKPROCESSANALYSES_HPP 12 #define STACKPROCESSANALYSES_HPP 39 if(!checkState().store(STORE_NON_EMPTY | STORE_LABEL))
41 Store* input = currentStack()->currentStore();
42 return (*
this)(input, parms[0]);
48 return "Compute Volumes";
52 return "Compute the volumes of the labels, i.e. the number of voxels multiplied by the vocel size.";
67 return QIcon(
":/images/CellFiles3D.png");
QStringList parmNames() const
List of named parameters.
Definition: StackProcessAnalyses.hpp:57
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: StackProcessAnalyses.hpp:37
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: StackProcessAnalyses.hpp:66
The Store class holds the actual 3D data and properties specific to it.
Definition: Store.hpp:35
QStringList parmDescs() const
List of parameters descriptions.
Definition: StackProcessAnalyses.hpp:60
QStringList parmDefaults() const
List of default parms.
Definition: StackProcessAnalyses.hpp:63
QString name() const
Returns the name of the process.
Definition: StackProcessAnalyses.hpp:47
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
QString folder() const
Folder in which to place the process.
Definition: StackProcessAnalyses.hpp:54
File containing the definition of a Process.
Compute the volume of each label and write the result in a CSV file.
Definition: StackProcessAnalyses.hpp:29
This is the main process class, the one all process inherit from.
Definition: Process.hpp:258
This namespace contains all the classes needed to define processes.
QString description() const
Returns a description of the process for the GUI.
Definition: StackProcessAnalyses.hpp:50
Stack processes have non-mutable access to meshes and mutable access to stacks.
Definition: Process.hpp:829