Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Interface defining methods for scanning mode b of ultrasound devices. It consists of methods for scanning depth, scanning gaing and scanning rejection. More...
#include <mitkUSControlInterfaceBMode.h>
Public Member Functions | |
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... | |
virtual double | GetScanningFrequency ()=0 |
void | SetScanningFrequency (double frequency) |
virtual void | OnSetScanningFrequency (double frequency)=0 |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningFrequency. More... | |
virtual std::vector< double > | GetScanningFrequencyValues ()=0 |
virtual double | GetScanningPower ()=0 |
void | SetScanningPower (double power) |
virtual void | OnSetScanningPower (double power)=0 |
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 ()=0 |
virtual double | GetScanningPowerMax ()=0 |
virtual double | GetScanningPowerTick ()=0 |
virtual double | GetScanningDepth ()=0 |
void | SetScanningDepth (double depth) |
virtual void | OnSetScanningDepth (double depth)=0 |
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 ()=0 |
virtual double | GetScanningGain ()=0 |
void | SetScanningGain (double gain) |
virtual void | OnSetScanningGain (double gain)=0 |
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 ()=0 |
virtual double | GetScanningGainMax ()=0 |
virtual double | GetScanningGainTick ()=0 |
virtual double | GetScanningRejection ()=0 |
void | SetScanningRejection (double rejection) |
virtual void | OnSetScanningRejection (double rejection)=0 |
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 ()=0 |
virtual double | GetScanningRejectionMax ()=0 |
virtual double | GetScanningRejectionTick ()=0 |
virtual double | GetScanningDynamicRange ()=0 |
virtual void | SetScanningDynamicRange (double dynamicRange) |
virtual void | OnSetScanningDynamicRange (double dynamicRange)=0 |
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 ()=0 |
virtual double | GetScanningDynamicRangeMax ()=0 |
virtual double | GetScanningDynamicRangeTick ()=0 |
Public Member Functions inherited from mitk::USAbstractControlInterface | |
mitkClassMacroItkParent (USAbstractControlInterface, itk::Object) | |
virtual void | SetIsActive (bool isActive)=0 |
virtual bool | GetIsActive ()=0 |
Protected Member Functions | |
USControlInterfaceBMode (itk::SmartPointer< USDevice > device) | |
virtual | ~USControlInterfaceBMode () |
Protected Member Functions inherited from mitk::USAbstractControlInterface | |
USAbstractControlInterface (itk::SmartPointer< USDevice > device) | |
virtual | ~USAbstractControlInterface () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::USAbstractControlInterface | |
itk::SmartPointer< USDevice > | m_Device |
Interface defining methods for scanning mode b of ultrasound devices. It consists of methods for scanning depth, scanning gaing and scanning rejection.
Scanning Depth: Defines the clipping of the ultrasound image. Small depth for looking at structures just below the skin. Great depth for seeing deeper structures.
Scanning Gain: Defines amplification of ultrasound echo.
Scanning Rejection: Defines range of the received values from the ultrasound signal.
Scanning Dynamic Range: Ability of displaying strong and weak signals at the same time. High dynamic range means that strong and weak signals can be distinguished. Lower dynamic range can lead to more contrast.
There is a getter and a setter defined for each kind of value. Additionaly there are methods for getting the range of the possible values. For uniformly distributed values there are three methods Get<VALUE>Min(), Get<VALUE>Max() and Get<VALUE>Tick(). For non-uniformly distributed values there is one method Get<VALUE>Values() which shoule return a list of all possible values.
All getters of this interface must be implemented in a concrete subclass. Additionally all OnSet* methods must be implemented. They handle the acutal setting of the values at the device api. The Set* methods are already implemented in this class and should not be overwritten. There are some pure virtual methods in the superclass mitk::USAbstractControlInterface which must be implemented, too.
Definition at line 56 of file mitkUSControlInterfaceBMode.h.
|
protected |
Definition at line 20 of file mitkUSControlInterfaceBMode.cpp.
References MITK_ERROR, and mitkThrow.
|
protectedvirtual |
Definition at line 30 of file mitkUSControlInterfaceBMode.cpp.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Implemented in mitk::USTelemedBModeControls.
void mitk::USControlInterfaceBMode::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.
Definition at line 34 of file mitkUSControlInterfaceBMode.cpp.
mitk::USControlInterfaceBMode::mitkClassMacro | ( | USControlInterfaceBMode | , |
USAbstractControlInterface | |||
) |
|
pure 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.
Implemented in mitk::USTelemedBModeControls.
|
pure 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.
Implemented in mitk::USTelemedBModeControls.
|
pure virtual |
Virtual method which is called inside mitk::USControlInterfaceBMode::SetScanningFrequency.
Implemented in mitk::USTelemedBModeControls.
|
pure 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.
Implemented in mitk::USTelemedBModeControls.
|
pure 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.
Implemented in mitk::USTelemedBModeControls.
|
pure 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.
Implemented in mitk::USTelemedBModeControls.
void mitk::USControlInterfaceBMode::SetScanningDepth | ( | double | depth | ) |
depth | new depth value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningDepth instead. |
Definition at line 73 of file mitkUSControlInterfaceBMode.cpp.
|
virtual |
rejection | new dynamic range value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningDynamicRange instead. |
Definition at line 91 of file mitkUSControlInterfaceBMode.cpp.
void mitk::USControlInterfaceBMode::SetScanningFrequency | ( | double | frequency | ) |
depth | new frequency value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningFrequency instead. |
Definition at line 61 of file mitkUSControlInterfaceBMode.cpp.
void mitk::USControlInterfaceBMode::SetScanningGain | ( | double | gain | ) |
gain | new gain value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningGain instead. |
Definition at line 79 of file mitkUSControlInterfaceBMode.cpp.
void mitk::USControlInterfaceBMode::SetScanningPower | ( | double | power | ) |
depth | new power value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningPower instead. |
Definition at line 67 of file mitkUSControlInterfaceBMode.cpp.
void mitk::USControlInterfaceBMode::SetScanningRejection | ( | double | rejection | ) |
rejection | new rejection value Do not override this method in a subclass. Implement mitk::USControlInterfaceBMode::OnSetScanningRejection instead. |
Definition at line 85 of file mitkUSControlInterfaceBMode.cpp.