3 typedef unsigned short ushort;
4 typedef unsigned int uint;
10 #include <CutSurf.hpp>
12 #include <TaskEditDlg.hpp>
21 #include <ui_EditParms.h>
22 #include <ui_ProcessDocs.h>
51 static QLabel* ActiveStack;
58 Ui_EditParmsDialog* editParmsDialog;
74 bool currentProcessInTasks;
76 mgx::process::SetupProcess* currentSetup;
79 #ifdef WATCH_PROCESS_FOLDERS
81 QTimer* processReloadTimer;
95 const QString& projectFile()
const;
96 void setProjectFile(
const QString& f);
99 void setDebug(
bool debug);
103 bool useGUI =
true,
bool saveDefaults =
true);
105 int activeStack()
const;
106 int activeMesh()
const;
107 QString getStackName(
bool main,
int num);
109 void setLoadFile(
const QString& f)
113 bool runningProcess()
const
115 return currentProcess != 0;
122 void processFinished();
123 void processFailed();
127 void connectControlsIn();
128 void connectControlsOut();
131 void clearMeshSelect();
133 void processCommandGetParmValues(
const QString&
name,
int type);
134 void processCommandSetParmValues(
const QString& name,
int type);
135 void readProcessParms();
136 void createSetupProcess();
140 void forceStack1SurfHeat();
141 void forceStack2SurfHeat();
142 void modified(
bool state =
true);
143 void storeParameters();
145 void ImportMesh(
int stack);
146 void ExportMesh(
int stack);
147 void ResetMesh(
int mesh);
148 void LoadMesh(
int mesh);
149 void SaveMesh(
int mesh);
150 void ImportStack(
int stack,
bool main);
151 void ImportStackSeries(
int stack,
bool main);
152 void OpenStack(
int stack,
bool main);
153 void SaveStack(
int stack,
bool main);
154 void ExportStack(
int stack,
bool main);
155 void updateCurrentStack();
158 void FileOpen(
const QString& filename);
160 void AutoOpen(
const QString& filename =
QString(),
int stack = 0,
bool main =
true);
161 void resetDefaultParameters();
164 void DebugDialogSlot();
166 void SetCutSurfControl();
167 void ResetClipControl(
float sceneRadius);
168 void changeSelectLabel(
int lab);
169 void UpdateSliderScaleSlot();
172 void stack1UnloadedSlot();
173 void stack2UnloadedSlot();
177 void RotateSlot(
bool checked);
183 void SeedStackSlot(
bool val);
184 void PixelEditRadiusSlot(
int val) {
185 mgx::ImgData::PixelEditRadius = val;
187 void FillWorkDataSlot(
bool val) {
188 mgx::ImgData::FillWorkData = val;
191 void LoadView(
const QString& filename);
192 void SaveView(
const QString& filename);
194 void FileEditPathsSlot();
197 void FileSaveAsSlot();
200 void GlobalContrastSlot();
201 void GlobalBrightnessSlot();
203 void Stack1ImportSlot();
204 void Stack1ImportSeriesSlot();
205 void Stack1SaveSlot();
206 void Stack1OpenSlot();
207 void Stack1ExportSlot();
208 void Stack1ResetSlot();
209 void Stack2ImportSlot();
210 void Stack2ImportSeriesSlot();
211 void Stack2SaveSlot();
212 void Stack2OpenSlot();
213 void Stack2ExportSlot();
214 void Stack2ResetSlot();
216 void Stack1WorkImportSlot();
217 void Stack1WorkImportSeriesSlot();
218 void Stack1WorkSaveSlot();
219 void Stack1WorkOpenSlot();
220 void Stack1WorkExportSlot();
221 void Stack2WorkImportSlot();
222 void Stack2WorkImportSeriesSlot();
223 void Stack2WorkSaveSlot();
224 void Stack2WorkOpenSlot();
225 void Stack2WorkExportSlot();
227 void Mesh1ImportSlot();
228 void Mesh1ExportSlot();
229 void Mesh1LoadSlot();
230 void Mesh1SaveSlot();
231 void Mesh1ResetSlot();
232 void Mesh2ImportSlot();
233 void Mesh2ExportSlot();
234 void Mesh2LoadSlot();
235 void Mesh2SaveSlot();
236 void Mesh2ResetSlot();
238 void MeshSelectAll();
240 void MeshInvertSelection();
241 void MeshAddCurrentLabel();
242 void MeshAddUnlabeled();
243 void MeshRemoveCurrentLabel();
244 void ChangeCurrentSeed();
246 void UserManualSlot();
248 void QGLViewerHelpSlot();
251 void LabelColorSlot();
252 void LabelColorSlot(
QIcon& icon);
253 void AddNewSeedSlot(
bool on);
254 void AddCurrSeedSlot(
bool on);
255 void PickLabelSlot(
bool on);
256 void GrabSeedSlot(
bool on);
257 void FillLabelSlot(
bool on);
258 void MeshSelectSlot(
bool on);
259 void LabelSelectSlot(
bool on);
260 void ConnectedSelectSlot(
bool on);
261 void PixelEditSlot(
bool on);
262 void PickVolLabelSlot(
bool on);
263 void DeleteVolumeLabelSlot(
bool on);
264 void DeletePickedLabelSlot(
bool on);
265 void FillVolumeLabelSlot(
bool on);
267 void EraseSelectSlot();
268 void FillSelectSlot();
269 void DeleteSelectionSlot();
270 void EditParmsSlot();
271 void ProcessDocsSlot();
272 void ColorPaletteSlot();
273 void LabelsEditSlot(
bool on);
274 void EditParmsSaveAsSlot();
275 void SwapSurfacesSlot();
277 void ProcessCommandGoSlot();
278 void ProcessCommandTabSlot(
int tab);
280 void SaveProcessesParameters();
281 void RecallProcessesParameters();
282 void ReloadProcesses();
283 void ProcessCommandFinished();
295 QTime currentProcessTime;
AttribBase(const QString &name) const QString & name()
Default constructor of named attribute.
Definition: Attributes.hpp:54
Definition of a process, without the process factory.
Definition: Process.hpp:1229
Definition: ProcessParms.hpp:19
Definition: MorphoGraphX.hpp:43
Definition: PathEditorDlg.hpp:50
Common definitions and utilities for all geometry algorithms This file is shared by cuda...
Definition: ProcessThread.hpp:25
File containing the definition of a Process.
Definition: CutSurf.hpp:21
This is the main process class, the one all process inherit from.
Definition: Process.hpp:248
Definition: ImageData.hpp:37
Definition: LabelEditorDlg.hpp:50
Definition: Library.hpp:8