Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxUsReconstructionServiceNull.cpp
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 
13 #include "cxPropertyNull.h"
15 
16 namespace cx {
17 
19 {}
20 
21 void UsReconstructionServiceNull::printWarning() const
22 {
23 // reportWarning("Trying to use UsReconstructionServiceNull. Is UsReconstructionService (org.custusx.usreconstruction) disabled?");
24 }
25 
26 void UsReconstructionServiceNull::selectData(QString filename, QString calFilesPath)
27 {
28  printWarning();
29 }
30 
32 {
33  printWarning();
34 }
35 
37 {
38  printWarning();
39  return QString();
40 }
41 
43 {
44  printWarning();
45  return USReconstructInputData();
46 }
47 
49 {
50  printWarning();
51  return PropertyNull::create();
52 }
53 
54 //ReconstructParamsPtr UsReconstructionServiceNull::getParams()
55 //{
56 // printWarning();
57 // return ReconstructParamsPtr();
58 //}
59 
61 {
62  printWarning();
63  return std::vector<PropertyPtr>();
64 }
65 
67 {
68  printWarning();
69  return XmlOptionFile();
70 }
71 
73 {
74  printWarning();
75  return OutputVolumeParams();
76 }
77 
79 {
80  printWarning();
81 }
82 
84 {
85  printWarning();
86 }
87 
89 {
90  printWarning();
91 }
92 
94 {
95  printWarning();
96 }
97 
99 {
100  printWarning();
101  return std::set<TimedAlgorithmPtr>();
102 }
103 
105 {
106  printWarning();
107  return NULL;
108 }
109 
111 {
112  printWarning();
114 }
115 
117 {
118  return true;
119 }
120 
122 {
123  printWarning();
124 }
125 
126 } //cx
Abstract interface for reconstruction algorithm.
virtual ReconstructCore::InputParams createCoreParameters()
virtual std::vector< PropertyPtr > getAlgoOptions()
Return control parameters for the currently selected algorithm, adjustable like getParams() ...
Helper struct for sending and controlling output volume properties.
virtual OutputVolumeParams getOutputVolumeParams() const
Return params controlling the output data. These are data-dependent.
virtual ReconstructionMethodService * createAlgorithm()
virtual void setOutputRelativePath(QString path)
virtual std::set< cx::TimedAlgorithmPtr > getThreadedReconstruction()
Return the currently reconstructing thread object(s).
boost::shared_ptr< class Property > PropertyPtr
virtual void selectData(QString filename, QString calFilesPath="")
Set input data for reconstruction.
virtual void setOutputVolumeParams(const OutputVolumeParams &par)
Control the output volume.
virtual USReconstructInputData getSelectedFileData()
Return the currently selected input data.
static PropertyPtr create()
virtual XmlOptionFile getSettings()
Return the settings xml file where parameters are stored.
virtual QString getSelectedFilename() const
Get the currently selected filename.
virtual void newDataOnDisk(QString mhdFilename)
Helper class for xml files used to store ssc/cx data.
virtual PropertyPtr getParam(QString uid)
Return one of the standard parameters.
Namespace for all CustusX production code.