NorMIT-nav  22.09
An IGT application
cxReconstructionMethodService.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 
13 #ifndef CXRECONSTRUCTIONMETHODSERVICE_H_
14 #define CXRECONSTRUCTIONMETHODSERVICE_H_
15 
16 #include "org_custusx_usreconstruction_Export.h"
17 
18 #include <vector>
19 #include <QObject>
20 #include <vtkSmartPointer.h>
21 #include "cxProperty.h"
22 #include "boost/shared_ptr.hpp"
23 
24 
25 class QDomElement;
26 
27 #define ReconstructionMethodService_iid "cx::ReconstructionMethodService"
28 
29 typedef vtkSmartPointer<class vtkImageData> vtkImageDataPtr;
30 
31 namespace cx
32 {
33 typedef boost::shared_ptr<class DoubleProperty> DoublePropertyPtr;
34 typedef boost::shared_ptr<class BoolProperty> BoolPropertyPtr;
35 typedef boost::shared_ptr<class Image> ImagePtr;
36 typedef boost::shared_ptr<class ProcessedUSInputData> ProcessedUSInputDataPtr;
37 
43 typedef boost::shared_ptr<class ReconstructionMethodService> ReconstructionMethodServicePtr;
44 
54 class org_custusx_usreconstruction_EXPORT ReconstructionMethodService : public QObject
55 {
56  Q_OBJECT
57 public:
59  virtual QString getName() const = 0;
65  virtual std::vector<PropertyPtr> getSettings(QDomElement root) = 0;
71  virtual bool reconstruct(ProcessedUSInputDataPtr input, vtkImageDataPtr outputData, QDomElement settings) = 0;
72 };
73 
78 }//namespace cx
80 
81 #endif //CXRECONSTRUCTIONMETHODSERVICE_H_
ReconstructionMethodService_iid
#define ReconstructionMethodService_iid
Definition: cxReconstructionMethodService.h:27
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::ProcessedUSInputDataPtr
boost::shared_ptr< class ProcessedUSInputData > ProcessedUSInputDataPtr
Definition: cxReconstructionMethodService.h:36
cx::BoolPropertyPtr
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
Definition: cxPlusConnectWidget.h:29
vtkImageDataPtr
vtkSmartPointer< class vtkImageData > vtkImageDataPtr
Definition: cxVideoConnectionWidget.h:30
vtkImageDataPtr
vtkSmartPointer< class vtkImageData > vtkImageDataPtr
Definition: cxReconstructionMethodService.h:29
cx::ReconstructionMethodService
Abstract interface for reconstruction algorithm.
Definition: cxReconstructionMethodService.h:54
cx::DoublePropertyPtr
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
Definition: cxReconstructionMethodService.h:33
cxProperty.h
cx::ImagePtr
boost::shared_ptr< class Image > ImagePtr
Definition: cxDicomWidget.h:27
cx::ReconstructionMethodServicePtr
boost::shared_ptr< class ReconstructionMethodService > ReconstructionMethodServicePtr
Definition: cxReconstructionMethodService.h:43
cx::ReconstructionMethodService::~ReconstructionMethodService
virtual ~ReconstructionMethodService()
Definition: cxReconstructionMethodService.h:58
cx::settings
Settings * settings()
Shortcut for accessing the settings instance.
Definition: cxSettings.cpp:21