Fraxinus  18.10
An IGT application
cxUsReconstructionServiceNull.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXUSRECONSTRUCTIONSERVICENULL_H
13 #define CXUSRECONSTRUCTIONSERVICENULL_H
14 
15 #include "org_custusx_usreconstruction_Export.h"
17 
18 namespace cx
19 {
20 
24 class org_custusx_usreconstruction_EXPORT UsReconstructionServiceNull : public UsReconstructionService
25 {
26 Q_OBJECT
27 
28 public:
30 
31  virtual void selectData(QString filename, QString calFilesPath = "");
32  virtual void selectData(USReconstructInputData data);
33 
34  virtual QString getSelectedFilename() const;
35  virtual USReconstructInputData getSelectedFileData();
36 // virtual ReconstructParamsPtr getParams();
37  virtual PropertyPtr getParam(QString uid);
38  virtual std::vector<PropertyPtr> getAlgoOptions();
39  virtual XmlOptionFile getSettings();
40  virtual OutputVolumeParams getOutputVolumeParams() const;
41 
42  virtual void setOutputVolumeParams(const OutputVolumeParams& par);
43  virtual void setOutputRelativePath(QString path);
44  virtual void setOutputBasePath(QString path);
45  virtual void startReconstruction();
46  virtual std::set<cx::TimedAlgorithmPtr> getThreadedReconstruction();
47  virtual ReconstructionMethodService* createAlgorithm();
48 
49  virtual ReconstructCore::InputParams createCoreParameters();
50 
51  virtual bool isNull();
52 
53 public slots:
54  virtual void newDataOnDisk(QString mhdFilename);
55 
56 private:
57  void printWarning() const;
58 
59 };
60 
61 } //cx
62 
63 #endif // CXUSRECONSTRUCTIONSERVICENULL_H
Abstract interface for reconstruction algorithm.
Helper struct for sending and controlling output volume properties.
boost::shared_ptr< class Property > PropertyPtr
Helper class for xml files used to store ssc/cx data.
Namespace for all CustusX production code.