1 #ifndef MESH_PROCESSS_CELLAXIS_HPP
2 #define MESH_PROCESSS_CELLAXIS_HPP
6 #include <MeshProcessCellMesh.hpp>
27 if(!checkState().mesh(MESH_NON_EMPTY))
29 return (*
this)(currentMesh(), parms[0]);
32 bool operator()(
Mesh* mesh,
const QString& filename);
38 return "Cell Axis Save";
41 return "Save PDG, Fibril Orientations or Curvature to a spreadsheet file.";
53 return QIcon(
":/images/CellAxisSave.png");
72 if(!checkState().mesh(MESH_NON_EMPTY))
74 return (*
this)(currentMesh(), parms[0], parms[1]);
83 return "Cell Axis Load";
86 return "Load cell axis from a spreadsheet file.";
95 return QStringList() <<
"Load PDG, Fibril Orientations or Curvature from a spreadsheet file."
96 <<
"Path to input file. If empty, a browser will open.";
112 return QIcon(
":/images/CellAxisOpen.png");
131 if(!checkState().mesh(MESH_NON_EMPTY))
133 return (*
this)(currentMesh());
136 bool operator()(
Mesh* mesh);
142 return "Cell Axis Clear";
145 return "Remove any cell axis information from the current mesh.";
154 return QIcon(
":/images/CellAxisClear.png");
173 if(!checkState().mesh(MESH_NON_EMPTY))
175 return (*
this)(currentMesh());
178 bool operator()(
Mesh* mesh);
184 return "Cell Axis Hide";
187 return "Hide the cell axis on the current mesh.";
196 return QIcon(
":/images/CellAxisHide.png");
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessCellAxis.hpp:43
QString name() const
Returns the name of the process.
Definition: MeshProcessCellAxis.hpp:37
QString name() const
Returns the name of the process.
Definition: MeshProcessCellAxis.hpp:141
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessCellAxis.hpp:192
QStringList parmDefaults() const
List of default parms.
Definition: MeshProcessCellAxis.hpp:49
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: MeshProcessCellAxis.hpp:70
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessCellAxis.hpp:40
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessCellAxis.hpp:93
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessCellAxis.hpp:111
Definition: MeshProcessCellAxis.hpp:15
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessCellAxis.hpp:52
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessCellAxis.hpp:85
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessCellAxis.hpp:150
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessCellAxis.hpp:195
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessCellAxis.hpp:189
bool operator()(const QStringList &parms)
Implementation of the process with generic arguments.
Definition: MeshProcessCellAxis.hpp:25
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessCellAxis.hpp:88
QString folder() const
Folder in which to place the process.
Definition: MeshProcessCellAxis.hpp:180
This class holds the actual mesh as a VV Graph and all sort of properties for it, including visualiza...
Definition: Mesh.hpp:167
QString folder() const
Folder in which to place the process.
Definition: MeshProcessCellAxis.hpp:138
ParmChoiceMap parmChoice() const
Purely for GUI purposes, provides for some of the parms parameter a choice.
Definition: MeshProcessCellAxis.hpp:103
Definition: MeshProcessCellAxis.hpp:60
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: MeshProcessCellAxis.hpp:129
bool operator()(const QStringList &)
Implementation of the process with generic arguments.
Definition: MeshProcessCellAxis.hpp:171
File containing the definition of a Process.
QStringList parmDescs() const
List of parameters descriptions.
Definition: MeshProcessCellAxis.hpp:46
QIcon icon() const
Icon to use to represent the process in the GUI.
Definition: MeshProcessCellAxis.hpp:153
This is the main process class, the one all process inherit from.
Definition: Process.hpp:248
Definition: MeshProcessCellAxis.hpp:121
QString name() const
Returns the name of the process.
Definition: MeshProcessCellAxis.hpp:82
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessCellAxis.hpp:144
QStringList parmDefaults() const
List of default parms.
Definition: MeshProcessCellAxis.hpp:98
QStringList parmNames() const
List of named parameters.
Definition: MeshProcessCellAxis.hpp:147
QString folder() const
Folder in which to place the process.
Definition: MeshProcessCellAxis.hpp:34
QString description() const
Returns a description of the process for the GUI.
Definition: MeshProcessCellAxis.hpp:186
Hide the cell axis on the mesh.
Definition: MeshProcessCellAxis.hpp:163
QString folder() const
Folder in which to place the process.
Definition: MeshProcessCellAxis.hpp:79
Mesh processes have mutable access to meshes and non-mutable access to stacks.
Definition: Process.hpp:855
QString name() const
Returns the name of the process.
Definition: MeshProcessCellAxis.hpp:183