25 MITK_ERROR <<
"USDevice must not be null for USControlInterfaceBMode.";
26 mitkThrow() <<
"USDevice must not be null for USControlInterfaceBMode.";
36 m_Device->UpdateServiceProperty(
37 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_FREQUENCY,
38 this->GetScanningFrequency());
40 m_Device->UpdateServiceProperty(
41 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_POWER,
42 this->GetScanningPower());
44 m_Device->UpdateServiceProperty(
45 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_DEPTH,
46 this->GetScanningDepth());
48 m_Device->UpdateServiceProperty(
49 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_GAIN,
50 this->GetScanningGain());
52 m_Device->UpdateServiceProperty(
53 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_REJECTION,
54 this->GetScanningRejection());
56 m_Device->UpdateServiceProperty(
57 mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_DYNAMIC_RANGE,
58 this->GetScanningDynamicRange());
63 this->OnSetScanningFrequency(frequency);
64 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_FREQUENCY, frequency);
69 this->OnSetScanningPower(power);
70 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_POWER, power);
75 this->OnSetScanningDepth(depth);
76 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_DEPTH, depth);
81 this->OnSetScanningGain(gain);
82 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_GAIN, gain);
87 this->OnSetScanningRejection(rejection);
88 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_REJECTION, rejection);
93 this->OnSetScanningDynamicRange(dynamicRange);
94 m_Device->UpdateServiceProperty(mitk::USDevice::GetPropertyKeys().US_PROPKEY_BMODE_DYNAMIC_RANGE, dynamicRange);
Superclass for all ultrasound device control interfaces. Defines an interface for activating and deac...
DataCollection - Class to facilitate loading/accessing structured data.
void SetScanningDepth(double depth)
void SetScanningPower(double power)
void SetScanningRejection(double rejection)
virtual ~USControlInterfaceBMode()
void SetScanningFrequency(double frequency)
void Initialize()
Initializes the microservice properties with the current values from the device. This method must be ...
void SetScanningGain(double gain)
USControlInterfaceBMode(itk::SmartPointer< USDevice > device)
virtual void SetScanningDynamicRange(double dynamicRange)