39 mTrackingService(trackingService)
43 this->activeToolChanged();
46 void DoublePropertyTimeCalibration::activeToolChanged()
50 ToolPtr newTool = mTrackingService->getFirstProbe();
51 if (!newTool || !newTool->getProbe())
72 if (!mTool || !mTool->getProbe())
74 return mTool->getProbe()->getProbeDefinition().getTemporalCalibration();
79 return "Set a temporal shift to add to input probe frames (the frames will be stored with this shift applied).\n"
80 "Changes done here will NOT be saved.";
87 mTool->getProbe()->setTemporalCalibration(val);
DoublePropertyTimeCalibration(TrackingServicePtr trackingService)
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
boost::shared_ptr< class TrackingService > TrackingServicePtr
virtual double getValue() const
get the data value.
Utility class for describing a bounded numeric range.
static DoublePropertyBasePtr New(TrackingServicePtr trackingService)
DoubleRange getValueRange() const
void activeToolChanged(const QString &uId)
void sectorChanged()
< Return a ProbeSectorPtr for the given uid. Use 'active' to get the default.
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual bool setValue(double val)
set the data value.
cxLogicManager_EXPORT TrackingServicePtr trackingService()
boost::shared_ptr< class Tool > ToolPtr