Fraxinus  18.10
An IGT application
cxStringPropertySelectPointMetric.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 #include "cxResourceExport.h"
14 
15 namespace cx {
16 
17 typedef boost::shared_ptr<class PointMetric> PointMetricPtr;
18 typedef boost::shared_ptr<class StringPropertySelectPointMetric> StringPropertySelectPointMetricPtr;
24 {
25  Q_OBJECT
26 public:
27  static StringPropertySelectPointMetricPtr New(PatientModelServicePtr patientModelService) { return StringPropertySelectPointMetricPtr(new StringPropertySelectPointMetric(patientModelService)); }
29 
30 public: // basic methods
31  virtual bool setValue(const QString& value);
32  virtual QString getValue() const;
33 
34 public: // interface extension
35  PointMetricPtr getPointMetric();
36 
37 protected:
39 private:
40  QString mPointMetricUid;
41 };
42 
43 } //namespace cx
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
static StringPropertySelectPointMetricPtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class StringPropertySelectPointMetric > StringPropertySelectPointMetricPtr
Namespace for all CustusX production code.
boost::shared_ptr< class PointMetric > PointMetricPtr