Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Implementation of mitk::USControlInterfaceBMode for Telemed ultrasound devices. See documentation of mitk::USControlInterfaceBMode for a description of the interface methods. More...
#include <mitkUSTelemedBModeControls.h>
Public Member Functions | |
mitkClassMacro (USTelemedBModeControls, USControlInterfaceBMode) | |
mitkNewMacro1Param (Self, itk::SmartPointer< USTelemedDevice >) | |
virtual void | SetIsActive (bool) |
virtual bool | GetIsActive () |
virtual double | GetScanningFrequency () |
virtual void | OnSetScanningFrequency (double frequency) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningFrequency. More... | |
virtual std::vector< double > | GetScanningFrequencyValues () |
virtual double | GetScanningPower () |
virtual void | OnSetScanningPower (double power) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningPower. Implement this method to handle the actual setting of the value at the device api. More... | |
virtual double | GetScanningPowerMin () |
virtual double | GetScanningPowerMax () |
virtual double | GetScanningPowerTick () |
virtual double | GetScanningDepth () |
virtual void | OnSetScanningDepth (double) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningDepth. Implement this method to handle the actual setting of the value at the device api. More... | |
virtual std::vector< double > | GetScanningDepthValues () |
virtual double | GetScanningGain () |
virtual void | OnSetScanningGain (double) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningGain. Implement this method to handle the actual setting of the value at the device api. More... | |
virtual double | GetScanningGainMin () |
virtual double | GetScanningGainMax () |
virtual double | GetScanningGainTick () |
virtual double | GetScanningRejection () |
virtual void | OnSetScanningRejection (double) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningRejection. Implement this method to handle the actual setting of the value at the device api. More... | |
virtual double | GetScanningRejectionMin () |
virtual double | GetScanningRejectionMax () |
virtual double | GetScanningRejectionTick () |
virtual double | GetScanningDynamicRange () |
virtual void | OnSetScanningDynamicRange (double) |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningDynamicRange. Implement this method to handle the actual setting of the value at the device api. More... | |
virtual double | GetScanningDynamicRangeMin () |
virtual double | GetScanningDynamicRangeMax () |
virtual double | GetScanningDynamicRangeTick () |
void | SetUsgDataView (Usgfw2Lib::IUsgDataView *) |
Setter for the IUsgDataView necesary for communicating with the Telemed API. This method is just for internal use of the mitk::USTelemedDevice. More... | |
void | ReinitializeControls () |
![]() | |
mitkClassMacro (USControlInterfaceBMode, USAbstractControlInterface) | |
void | Initialize () |
Initializes the microservice properties with the current values from the device. This method must be called before one would like to get the b mode values (e.g. frequency, power, ...) from the microservice and after the device is ready to deliver the values by the methods of this control interface. More... | |
void | SetScanningFrequency (double frequency) |
void | SetScanningPower (double power) |
void | SetScanningDepth (double depth) |
void | SetScanningGain (double gain) |
void | SetScanningRejection (double rejection) |
virtual void | SetScanningDynamicRange (double dynamicRange) |
![]() | |
mitkClassMacroItkParent (USAbstractControlInterface, itk::Object) | |
Protected Member Functions | |
USTelemedBModeControls (itk::SmartPointer< USTelemedDevice > device) | |
virtual | ~USTelemedBModeControls () |
void | CreateControls () |
void | ReleaseControls () |
double | GetScanningFrequencyAPI () |
![]() | |
USControlInterfaceBMode (itk::SmartPointer< USDevice > device) | |
~USControlInterfaceBMode () override | |
![]() | |
USAbstractControlInterface (itk::SmartPointer< USDevice > device) | |
~USAbstractControlInterface () override | |
Protected Attributes | |
Usgfw2Lib::IUsgDataView * | m_UsgDataView |
Usgfw2Lib::IUsgPower * | m_PowerControl |
Usgfw2Lib::IUsgProbeFrequency2 * | m_FrequencyControl |
Usgfw2Lib::IUsgDepth * | m_DepthControl |
Usgfw2Lib::IUsgGain * | m_GainControl |
Usgfw2Lib::IUsgRejection2 * | m_RejectionControl |
Usgfw2Lib::IUsgDynamicRange * | m_DynamicRangeControl |
bool | m_Active |
double * | m_PowerSteps |
double * | m_GainSteps |
double * | m_RejectionSteps |
double * | m_DynamicRangeSteps |
![]() | |
itk::WeakPointer< USDevice > | m_Device |
Implementation of mitk::USControlInterfaceBMode for Telemed ultrasound devices. See documentation of mitk::USControlInterfaceBMode for a description of the interface methods.
Definition at line 28 of file mitkUSTelemedBModeControls.h.
|
protected |
Definition at line 19 of file mitkUSTelemedBModeControls.cpp.
|
protectedvirtual |
Definition at line 30 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeSteps, m_GainSteps, m_PowerSteps, m_RejectionSteps, and ReleaseControls().
|
protected |
Definition at line 223 of file mitkUSTelemedBModeControls.cpp.
References CREATE_TelemedControl, GETINOUTPUT_TelemedAvailableValuesBounds, m_DepthControl, m_DynamicRangeControl, m_DynamicRangeSteps, m_FrequencyControl, m_GainControl, m_GainSteps, m_PowerControl, m_PowerSteps, m_RejectionControl, m_RejectionSteps, and m_UsgDataView.
Referenced by ReinitializeControls(), and SetIsActive().
|
virtual |
Implements mitk::USAbstractControlInterface.
Definition at line 77 of file mitkUSTelemedBModeControls.cpp.
References m_Active, m_UsgDataView, and mitkThrow.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 133 of file mitkUSTelemedBModeControls.cpp.
References m_DepthControl, and RETURN_TelemedValue.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 143 of file mitkUSTelemedBModeControls.cpp.
References m_DepthControl, and RETURN_TelemedAvailableValues.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 198 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeControl, and RETURN_TelemedValue.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 213 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 208 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 218 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 93 of file mitkUSTelemedBModeControls.cpp.
References GetScanningFrequencyAPI(), and TELEMED_FREQUENCY_FACTOR.
|
protected |
Definition at line 88 of file mitkUSTelemedBModeControls.cpp.
References m_FrequencyControl, and RETURN_TelemedValue.
Referenced by GetScanningFrequency().
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 103 of file mitkUSTelemedBModeControls.cpp.
References m_FrequencyControl, RETURN_TelemedAvailableValuesWithFactor, and TELEMED_FREQUENCY_FACTOR.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 148 of file mitkUSTelemedBModeControls.cpp.
References m_GainControl, and RETURN_TelemedValue.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 163 of file mitkUSTelemedBModeControls.cpp.
References m_GainSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 158 of file mitkUSTelemedBModeControls.cpp.
References m_GainSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 168 of file mitkUSTelemedBModeControls.cpp.
References m_GainSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 108 of file mitkUSTelemedBModeControls.cpp.
References m_PowerControl, and RETURN_TelemedValue.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 123 of file mitkUSTelemedBModeControls.cpp.
References m_PowerSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 118 of file mitkUSTelemedBModeControls.cpp.
References m_PowerSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 128 of file mitkUSTelemedBModeControls.cpp.
References m_PowerSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 173 of file mitkUSTelemedBModeControls.cpp.
References m_RejectionControl, and RETURN_TelemedValue.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 188 of file mitkUSTelemedBModeControls.cpp.
References m_RejectionSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 183 of file mitkUSTelemedBModeControls.cpp.
References m_RejectionSteps.
|
virtual |
Implements mitk::USControlInterfaceBMode.
Definition at line 193 of file mitkUSTelemedBModeControls.cpp.
References m_RejectionSteps.
mitk::USTelemedBModeControls::mitkClassMacro | ( | USTelemedBModeControls | , |
USControlInterfaceBMode | |||
) |
mitk::USTelemedBModeControls::mitkNewMacro1Param | ( | Self | , |
itk::SmartPointer< USTelemedDevice > | |||
) |
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningDepth. Implement this method to handle the actual setting of the value at the device api.
Implements mitk::USControlInterfaceBMode.
Definition at line 138 of file mitkUSTelemedBModeControls.cpp.
References m_DepthControl, and SET_TelemedValue.
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningDynamicRange. Implement this method to handle the actual setting of the value at the device api.
Implements mitk::USControlInterfaceBMode.
Definition at line 203 of file mitkUSTelemedBModeControls.cpp.
References m_DynamicRangeControl, and SET_TelemedValue.
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningFrequency.
Implements mitk::USControlInterfaceBMode.
Definition at line 98 of file mitkUSTelemedBModeControls.cpp.
References m_FrequencyControl, SET_TelemedValue, and TELEMED_FREQUENCY_FACTOR.
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningGain. Implement this method to handle the actual setting of the value at the device api.
Implements mitk::USControlInterfaceBMode.
Definition at line 153 of file mitkUSTelemedBModeControls.cpp.
References m_GainControl, and SET_TelemedValue.
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningPower. Implement this method to handle the actual setting of the value at the device api.
Implements mitk::USControlInterfaceBMode.
Definition at line 113 of file mitkUSTelemedBModeControls.cpp.
References m_PowerControl, and SET_TelemedValue.
|
virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningRejection. Implement this method to handle the actual setting of the value at the device api.
Implements mitk::USControlInterfaceBMode.
Definition at line 178 of file mitkUSTelemedBModeControls.cpp.
References m_RejectionControl, and SET_TelemedValue.
void mitk::USTelemedBModeControls::ReinitializeControls | ( | ) |
Definition at line 45 of file mitkUSTelemedBModeControls.cpp.
References CreateControls(), and ReleaseControls().
|
protected |
Definition at line 248 of file mitkUSTelemedBModeControls.cpp.
References m_DepthControl, m_DynamicRangeControl, m_FrequencyControl, m_GainControl, m_PowerControl, m_RejectionControl, and SAFE_RELEASE.
Referenced by ReinitializeControls(), SetIsActive(), and ~USTelemedBModeControls().
|
virtual |
Scan mode is set to b mode when this controls are activated. All necessary controls are created at the Telemed API.
Implements mitk::USAbstractControlInterface.
Definition at line 51 of file mitkUSTelemedBModeControls.cpp.
References CreateControls(), m_Active, m_UsgDataView, mitkThrow, and ReleaseControls().
void mitk::USTelemedBModeControls::SetUsgDataView | ( | Usgfw2Lib::IUsgDataView * | usgDataView | ) |
Setter for the IUsgDataView necesary for communicating with the Telemed API. This method is just for internal use of the mitk::USTelemedDevice.
Definition at line 40 of file mitkUSTelemedBModeControls.cpp.
References m_UsgDataView.
|
protected |
Definition at line 102 of file mitkUSTelemedBModeControls.h.
Referenced by GetIsActive(), and SetIsActive().
|
protected |
Definition at line 97 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningDepth(), GetScanningDepthValues(), OnSetScanningDepth(), and ReleaseControls().
|
protected |
Definition at line 100 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningDynamicRange(), OnSetScanningDynamicRange(), and ReleaseControls().
|
protected |
Definition at line 107 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningDynamicRangeMax(), GetScanningDynamicRangeMin(), GetScanningDynamicRangeTick(), and ~USTelemedBModeControls().
|
protected |
Definition at line 96 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningFrequencyAPI(), GetScanningFrequencyValues(), OnSetScanningFrequency(), and ReleaseControls().
|
protected |
Definition at line 98 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningGain(), OnSetScanningGain(), and ReleaseControls().
|
protected |
Definition at line 105 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningGainMax(), GetScanningGainMin(), GetScanningGainTick(), and ~USTelemedBModeControls().
|
protected |
Definition at line 95 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningPower(), OnSetScanningPower(), and ReleaseControls().
|
protected |
Definition at line 104 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningPowerMax(), GetScanningPowerMin(), GetScanningPowerTick(), and ~USTelemedBModeControls().
|
protected |
Definition at line 99 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningRejection(), OnSetScanningRejection(), and ReleaseControls().
|
protected |
Definition at line 106 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetScanningRejectionMax(), GetScanningRejectionMin(), GetScanningRejectionTick(), and ~USTelemedBModeControls().
|
protected |
Definition at line 94 of file mitkUSTelemedBModeControls.h.
Referenced by CreateControls(), GetIsActive(), SetIsActive(), and SetUsgDataView().