Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
mitk::USDiPhASCustomControls Class Reference

#include <mitkUSDiPhASCustomControls.h>

Inheritance diagram for mitk::USDiPhASCustomControls:
Collaboration diagram for mitk::USDiPhASCustomControls:

Public Types

typedef USDiPhASDeviceCustomControls::DataType DataType
 
typedef USDiPhASDeviceCustomControls::SavingSettings SavingSettings
 
- Public Types inherited from mitk::USDiPhASDeviceCustomControls
enum  DataType { Image_uChar, Beamformed_Short }
 

Public Member Functions

 mitkClassMacro (USDiPhASCustomControls, USAbstractControlInterface)
 
 mitkNewMacro1Param (Self, mitk::USDiPhASDevice *)
 
virtual void SetIsActive (bool isActive) override
 
virtual bool GetIsActive () override
 
virtual void passGUIOut (std::function< void(QString)> callback) override
 
- Public Member Functions inherited from mitk::USDiPhASDeviceCustomControls
 mitkClassMacro (USDiPhASDeviceCustomControls, USAbstractControlInterface)
 
 mitkNewMacro1Param (Self, itk::SmartPointer< USDevice >)
 
virtual void SetCompensateEnergy (bool compensate)
 
virtual void SetUseBModeFilter (bool isSet)
 
virtual void SetVerticalSpacing (float mm)
 
virtual void SetRecord (bool record)
 
virtual void SetScatteringCoefficient (float coeff)
 
virtual void SetCompensateScattering (bool compensate)
 
virtual void SetSavingSettings (SavingSettings settings)
 
virtual void SetTransmitPhaseLength (double us)
 
virtual void SetExcitationFrequency (double MHz)
 
virtual void SetTransmitEvents (int events)
 
virtual void SetVoltage (int voltage)
 
virtual void SetMode (bool interleaved)
 
virtual void SetScanDepth (double mm)
 
virtual void SetAveragingCount (int count)
 
virtual void SetTGCMin (int min)
 
virtual void SetTGCMax (int max)
 
virtual void SetDataType (DataType type)
 
virtual void SetPitch (double mm)
 
virtual void SetReconstructedSamples (int samples)
 
virtual void SetReconstructedLines (int lines)
 
virtual void SetSpeedOfSound (int mps)
 
virtual void SetBandpassEnabled (bool bandpass)
 
virtual void SetLowCut (double MHz)
 
virtual void SetHighCut (double MHz)
 
virtual void SetSilentUpdate (bool silent)
 
virtual bool GetSilentUpdate ()
 
- Public Member Functions inherited from mitk::USAbstractControlInterface
 mitkClassMacroItkParent (USAbstractControlInterface, itk::Object)
 

Public Attributes

BeamformingParametersPlaneWaveCompound parametersPW
 
BeamformingParametersInterleaved_OA_US parametersOSUS
 

Protected Member Functions

 USDiPhASCustomControls (USDiPhASDevice *device)
 
virtual ~USDiPhASCustomControls ()
 
virtual void OnSetCompensateEnergy (bool compensate) override
 
virtual void OnSetUseBModeFilter (bool isSet) override
 
virtual void OnSetRecord (bool record) override
 
virtual void OnSetVerticalSpacing (float mm) override
 
virtual void OnSetScatteringCoefficient (float coeff) override
 
virtual void OnSetCompensateScattering (bool compensate) override
 
virtual void OnSetSavingSettings (SavingSettings settings) override
 
virtual void OnSetTransmitPhaseLength (double us) override
 
virtual void OnSetExcitationFrequency (double MHz) override
 
virtual void OnSetTransmitEvents (int events) override
 
virtual void OnSetVoltage (int voltage) override
 
virtual void OnSetMode (bool interleaved) override
 
virtual void OnSetScanDepth (double mm) override
 
virtual void OnSetAveragingCount (int count) override
 
virtual void OnSetTGCMin (int min) override
 
virtual void OnSetTGCMax (int max) override
 
virtual void OnSetDataType (DataType type) override
 
virtual void OnSetPitch (double mm) override
 
virtual void OnSetReconstructedSamples (int samples) override
 
virtual void OnSetReconstructedLines (int lines) override
 
virtual void OnSetSpeedOfSound (int mps) override
 
virtual void OnSetBandpassEnabled (bool bandpass) override
 
virtual void OnSetLowCut (double MHz) override
 
virtual void OnSetHighCut (double MHz) override
 
- Protected Member Functions inherited from mitk::USDiPhASDeviceCustomControls
 USDiPhASDeviceCustomControls (itk::SmartPointer< USDevice > device)
 
 ~USDiPhASDeviceCustomControls () override
 
- Protected Member Functions inherited from mitk::USAbstractControlInterface
 USAbstractControlInterface (itk::SmartPointer< USDevice > device)
 
 ~USAbstractControlInterface () override
 

Protected Attributes

bool m_IsActive
 
USImageVideoSource::Pointer m_ImageSource
 
USDiPhASDevicem_device
 
int currentBeamformingAlgorithm
 
- Protected Attributes inherited from mitk::USDiPhASDeviceCustomControls
bool m_IsActive
 
USImageVideoSource::Pointer m_ImageSource
 
bool silentUpdate
 
- Protected Attributes inherited from mitk::USAbstractControlInterface
itk::WeakPointer< USDevicem_Device
 

Detailed Description

Definition at line 28 of file mitkUSDiPhASCustomControls.h.

Member Typedef Documentation

◆ DataType

◆ SavingSettings

Constructor & Destructor Documentation

◆ USDiPhASCustomControls()

mitk::USDiPhASCustomControls::USDiPhASCustomControls ( USDiPhASDevice device)
protected

Class needs an mitk::USDiPhASDevice object for beeing constructed. This object's ScanMode will be manipulated by the custom controls methods.

Definition at line 16 of file mitkUSDiPhASCustomControls.cpp.

◆ ~USDiPhASCustomControls()

mitk::USDiPhASCustomControls::~USDiPhASCustomControls ( )
protectedvirtual

Definition at line 21 of file mitkUSDiPhASCustomControls.cpp.

Member Function Documentation

◆ GetIsActive()

bool mitk::USDiPhASCustomControls::GetIsActive ( )
overridevirtual
Returns
if this custom controls are currently activated

Reimplemented from mitk::USDiPhASDeviceCustomControls.

Definition at line 30 of file mitkUSDiPhASCustomControls.cpp.

References m_IsActive.

◆ mitkClassMacro()

mitk::USDiPhASCustomControls::mitkClassMacro ( USDiPhASCustomControls  ,
USAbstractControlInterface   
)

◆ mitkNewMacro1Param()

mitk::USDiPhASCustomControls::mitkNewMacro1Param ( Self  ,
mitk::USDiPhASDevice  
)

◆ OnSetAveragingCount()

void mitk::USDiPhASCustomControls::OnSetAveragingCount ( int  count)
overrideprotectedvirtual

◆ OnSetBandpassEnabled()

void mitk::USDiPhASCustomControls::OnSetBandpassEnabled ( bool  bandpass)
overrideprotectedvirtual

◆ OnSetCompensateEnergy()

void mitk::USDiPhASCustomControls::OnSetCompensateEnergy ( bool  compensate)
overrideprotectedvirtual

◆ OnSetCompensateScattering()

void mitk::USDiPhASCustomControls::OnSetCompensateScattering ( bool  compensate)
overrideprotectedvirtual

◆ OnSetDataType()

void mitk::USDiPhASCustomControls::OnSetDataType ( DataType  type)
overrideprotectedvirtual

◆ OnSetExcitationFrequency()

void mitk::USDiPhASCustomControls::OnSetExcitationFrequency ( double  MHz)
overrideprotectedvirtual

◆ OnSetHighCut()

void mitk::USDiPhASCustomControls::OnSetHighCut ( double  MHz)
overrideprotectedvirtual

◆ OnSetLowCut()

void mitk::USDiPhASCustomControls::OnSetLowCut ( double  MHz)
overrideprotectedvirtual

◆ OnSetMode()

void mitk::USDiPhASCustomControls::OnSetMode ( bool  interleaved)
overrideprotectedvirtual

◆ OnSetPitch()

void mitk::USDiPhASCustomControls::OnSetPitch ( double  mm)
overrideprotectedvirtual

◆ OnSetReconstructedLines()

void mitk::USDiPhASCustomControls::OnSetReconstructedLines ( int  lines)
overrideprotectedvirtual

◆ OnSetReconstructedSamples()

void mitk::USDiPhASCustomControls::OnSetReconstructedSamples ( int  samples)
overrideprotectedvirtual

◆ OnSetRecord()

void mitk::USDiPhASCustomControls::OnSetRecord ( bool  record)
overrideprotectedvirtual

◆ OnSetSavingSettings()

void mitk::USDiPhASCustomControls::OnSetSavingSettings ( SavingSettings  settings)
overrideprotectedvirtual

◆ OnSetScanDepth()

void mitk::USDiPhASCustomControls::OnSetScanDepth ( double  mm)
overrideprotectedvirtual

◆ OnSetScatteringCoefficient()

void mitk::USDiPhASCustomControls::OnSetScatteringCoefficient ( float  coeff)
overrideprotectedvirtual

◆ OnSetSpeedOfSound()

void mitk::USDiPhASCustomControls::OnSetSpeedOfSound ( int  mps)
overrideprotectedvirtual

◆ OnSetTGCMax()

void mitk::USDiPhASCustomControls::OnSetTGCMax ( int  max)
overrideprotectedvirtual

◆ OnSetTGCMin()

void mitk::USDiPhASCustomControls::OnSetTGCMin ( int  min)
overrideprotectedvirtual

◆ OnSetTransmitEvents()

void mitk::USDiPhASCustomControls::OnSetTransmitEvents ( int  events)
overrideprotectedvirtual

◆ OnSetTransmitPhaseLength()

void mitk::USDiPhASCustomControls::OnSetTransmitPhaseLength ( double  us)
overrideprotectedvirtual

◆ OnSetUseBModeFilter()

void mitk::USDiPhASCustomControls::OnSetUseBModeFilter ( bool  isSet)
overrideprotectedvirtual

◆ OnSetVerticalSpacing()

void mitk::USDiPhASCustomControls::OnSetVerticalSpacing ( float  mm)
overrideprotectedvirtual

◆ OnSetVoltage()

void mitk::USDiPhASCustomControls::OnSetVoltage ( int  voltage)
overrideprotectedvirtual

◆ passGUIOut()

void mitk::USDiPhASCustomControls::passGUIOut ( std::function< void(QString)>  callback)
overridevirtual

◆ SetIsActive()

void mitk::USDiPhASCustomControls::SetIsActive ( bool  isActive)
overridevirtual

Activate or deactivate the custom controls. This is just for handling widget visibility in a GUI for example.

Reimplemented from mitk::USDiPhASDeviceCustomControls.

Definition at line 25 of file mitkUSDiPhASCustomControls.cpp.

References m_IsActive.

Member Data Documentation

◆ currentBeamformingAlgorithm

int mitk::USDiPhASCustomControls::currentBeamformingAlgorithm
protected

Definition at line 63 of file mitkUSDiPhASCustomControls.h.

◆ m_device

◆ m_ImageSource

USImageVideoSource::Pointer mitk::USDiPhASCustomControls::m_ImageSource
protected

Definition at line 61 of file mitkUSDiPhASCustomControls.h.

◆ m_IsActive

bool mitk::USDiPhASCustomControls::m_IsActive
protected

Definition at line 60 of file mitkUSDiPhASCustomControls.h.

Referenced by GetIsActive(), and SetIsActive().

◆ parametersOSUS

BeamformingParametersInterleaved_OA_US mitk::USDiPhASCustomControls::parametersOSUS

Definition at line 50 of file mitkUSDiPhASCustomControls.h.

◆ parametersPW

BeamformingParametersPlaneWaveCompound mitk::USDiPhASCustomControls::parametersPW

Definition at line 49 of file mitkUSDiPhASCustomControls.h.


The documentation for this class was generated from the following files: