CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxDoublePropertyTemporalCalibration.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 CXDOUBLEPROPERTYTEMPORALCALIBRATION_H_
12 #define CXDOUBLEPROPERTYTEMPORALCALIBRATION_H_
13 
14 #include "cxResourceExport.h"
15 
16 #include "cxDoublePropertyBase.h"
17 #include "cxForwardDeclarations.h"
18 
19 namespace cx
20 {
29 class cxResource_EXPORT DoublePropertyTimeCalibration : public DoublePropertyBase
30 {
31  Q_OBJECT
32 public:
33  static DoublePropertyBasePtr New(TrackingServicePtr trackingService);
36  virtual QString getDisplayName() const { return "Temporal Calibration"; }
37  virtual double getValue() const;
38  virtual QString getHelp() const;
39  virtual bool setValue(double val);
40  DoubleRange getValueRange() const;
41 
42 private slots:
43  void activeToolChanged();
44 
45 private:
46  TrackingServicePtr mTrackingService;
47  ToolPtr mTool;
48 };
49 
53 }
54 
55 #endif /* CXDOUBLEPROPERTYTEMPORALCALIBRATION_H_ */
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class TrackingService > TrackingServicePtr
Utility class for describing a bounded numeric range.
Definition: cxDoubleRange.h:32
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr