Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxRegistrationProperties.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 #ifndef CXREGISTRATIONPROPERTIES_H_
12 #define CXREGISTRATIONPROPERTIES_H_
13 
15 #include "org_custusx_registration_Export.h"
16 
17 namespace cx
18 {
25 typedef boost::shared_ptr<class RegistrationService> RegistrationServicePtr;
26 typedef boost::shared_ptr<class PatientModelService> PatientModelServicePtr;
27 
28 typedef boost::shared_ptr<class StringPropertyRegistrationFixedImage> StringPropertyRegistrationFixedImagePtr;
31 class org_custusx_registration_EXPORT StringPropertyRegistrationFixedImage : public SelectDataStringPropertyBase
32 {
33  Q_OBJECT
34 public:
35  StringPropertyRegistrationFixedImage(RegistrationServicePtr registrationService, PatientModelServicePtr patientModelService);
37 
38 public: // basic methods
39  virtual bool setValue(const QString& value);
40  virtual QString getValue() const;
41 
42 private:
43  RegistrationServicePtr mRegistrationService;
44  PatientModelServicePtr mPatientModelService;
45 };
46 
47 
48 typedef boost::shared_ptr<class StringPropertyRegistrationMovingImage> StringPropertyRegistrationMovingImagePtr;
51 class org_custusx_registration_EXPORT StringPropertyRegistrationMovingImage : public SelectDataStringPropertyBase
52 {
53  Q_OBJECT
54 public:
55  StringPropertyRegistrationMovingImage(RegistrationServicePtr registrationService, PatientModelServicePtr patientModelService);
57 
58 public: // basic methods
59  virtual bool setValue(const QString& value);
60  virtual QString getValue() const;
61 
62 private:
63  RegistrationServicePtr mRegistrationService;
64  PatientModelServicePtr mPatientModelService;
65 };
66 
70 }
71 
72 #endif /* CXREGISTRATIONPROPERTIES_H_ */
boost::shared_ptr< class RegistrationService > RegistrationServicePtr
boost::shared_ptr< class StringPropertyRegistrationMovingImage > StringPropertyRegistrationMovingImagePtr
boost::shared_ptr< class StringPropertyRegistrationFixedImage > StringPropertyRegistrationFixedImagePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Namespace for all CustusX production code.