void ProbeImpl::setProbeSector(ProbeDefinition probeSector) { if (probeSector.getUid().isEmpty()) probeSector.setUid(mActiveUid); mProbeData[probeSector.getUid()] = probeSector; emit sectorChanged(); }
ProbeImpl::ProbeImpl(QString instrumentUid, QString scannerUid) : mInstrumentUid(instrumentUid), mScannerUid(scannerUid), mSoundSpeedCompensationFactor(1.0), mOverrideTemporalCalibration(false), mTemporalCalibration(0.0) { ProbeDefinition probeData; mProbeData[probeData.getUid()] = probeData; mActiveUid = probeData.getUid(); }