NorMIT-nav  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_ */
cx::DoublePropertyTimeCalibration::getDisplayName
virtual QString getDisplayName() const
name of data entity. Used for display to user.
Definition: cxDoublePropertyTemporalCalibration.h:36
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxForwardDeclarations.h
cxDoublePropertyBase.h
cx::DoublePropertyTimeCalibration::~DoublePropertyTimeCalibration
virtual ~DoublePropertyTimeCalibration()
Definition: cxDoublePropertyTemporalCalibration.h:35
cx::TrackingServicePtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
Definition: cxToolFilterWidget.h:27
cx::DoublePropertyTimeCalibration
Definition: cxDoublePropertyTemporalCalibration.h:29
cx::DoublePropertyBase
Definition: cxDoublePropertyBase.h:70
cx::ToolPtr
boost::shared_ptr< class Tool > ToolPtr
Definition: cxVideoConnectionWidget.h:43
cx::DoublePropertyBasePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Definition: cxIGTLinkStreamerService.h:21
cx::DoubleRange
Utility class for describing a bounded numeric range.
Definition: cxDoubleRange.h:32