NorMIT-nav  22.09
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
cx::XmlOptionFile
Helper class for xml files used to store ssc/cx data.
Definition: cxXmlOptionItem.h:78
cx::UsReconstructionServiceNull::getSettings
virtual XmlOptionFile getSettings()
Return the settings xml file where parameters are stored.
Definition: cxUsReconstructionServiceNull.cpp:66
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::UsReconstructionServiceNull::createCoreParameters
virtual ReconstructCore::InputParams createCoreParameters()
Definition: cxUsReconstructionServiceNull.cpp:110
cx::UsReconstructionServiceNull::setOutputBasePath
virtual void setOutputBasePath(QString path)
Definition: cxUsReconstructionServiceNull.cpp:88
cx::UsReconstructionServiceNull::getParam
virtual PropertyPtr getParam(QString uid)
Return one of the standard parameters.
Definition: cxUsReconstructionServiceNull.cpp:48
cx::UsReconstructionServiceNull::startReconstruction
virtual void startReconstruction()
Definition: cxUsReconstructionServiceNull.cpp:93
cx::ReconstructionMethodService
Abstract interface for reconstruction algorithm.
Definition: cxReconstructionMethodService.h:54
cxUSReconstructInputData.h
cx::PropertyNull::create
static PropertyPtr create()
Definition: cxPropertyNull.h:31
cx::PropertyPtr
boost::shared_ptr< class Property > PropertyPtr
Definition: cxLocalServerStreamerServer.h:25
cx::UsReconstructionServiceNull::setOutputRelativePath
virtual void setOutputRelativePath(QString path)
Definition: cxUsReconstructionServiceNull.cpp:83
cx::UsReconstructionServiceNull::UsReconstructionServiceNull
UsReconstructionServiceNull()
Definition: cxUsReconstructionServiceNull.cpp:18
cx::UsReconstructionServiceNull::getSelectedFileData
virtual USReconstructInputData getSelectedFileData()
Return the currently selected input data.
Definition: cxUsReconstructionServiceNull.cpp:42
cx::ReconstructCore::InputParams
Definition: cxReconstructCore.h:41
cx::UsReconstructionServiceNull::isNull
virtual bool isNull()
Definition: cxUsReconstructionServiceNull.cpp:116
cx::UsReconstructionServiceNull::newDataOnDisk
virtual void newDataOnDisk(QString mhdFilename)
Definition: cxUsReconstructionServiceNull.cpp:121
cx::UsReconstructionServiceNull::getThreadedReconstruction
virtual std::set< cx::TimedAlgorithmPtr > getThreadedReconstruction()
Return the currently reconstructing thread object(s).
Definition: cxUsReconstructionServiceNull.cpp:98
cx::UsReconstructionServiceNull::selectData
virtual void selectData(QString filename, QString calFilesPath="")
Set input data for reconstruction.
Definition: cxUsReconstructionServiceNull.cpp:26
cxPropertyNull.h
cx::UsReconstructionServiceNull::getAlgoOptions
virtual std::vector< PropertyPtr > getAlgoOptions()
Return control parameters for the currently selected algorithm, adjustable like getParams()
Definition: cxUsReconstructionServiceNull.cpp:60
cx::OutputVolumeParams
Helper struct for sending and controlling output volume properties.
Definition: cxReconstructedOutputVolumeParams.h:39
cx::USReconstructInputData
Definition: cxUSReconstructInputData.h:48
cx::UsReconstructionServiceNull::getOutputVolumeParams
virtual OutputVolumeParams getOutputVolumeParams() const
Return params controlling the output data. These are data-dependent.
Definition: cxUsReconstructionServiceNull.cpp:72
cx::UsReconstructionServiceNull::createAlgorithm
virtual ReconstructionMethodService * createAlgorithm()
Definition: cxUsReconstructionServiceNull.cpp:104
cxUsReconstructionServiceNull.h
cx::UsReconstructionServiceNull::getSelectedFilename
virtual QString getSelectedFilename() const
Get the currently selected filename.
Definition: cxUsReconstructionServiceNull.cpp:36
cx::UsReconstructionServiceNull::setOutputVolumeParams
virtual void setOutputVolumeParams(const OutputVolumeParams &par)
Control the output volume.
Definition: cxUsReconstructionServiceNull.cpp:78