PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusDataCollection/Telemed/TelemedUltrasound.h>
Public Member Functions | |
unsigned char * | CaptureFrame () |
PlusStatus | Connect (int probeId=0) |
void | CreateUsgControls (int probeId=0) |
void | Disconnect () |
void | FreezeDevice (bool freeze) |
unsigned long | GetBufferSize () |
PlusStatus | GetDepthMm (double &depthMm) |
PlusStatus | GetDynRangeDb (double &dynRangeDb) |
PlusStatus | GetFocusDepthPercent (double &focusDepthPercent) |
void | GetFrameSize (FrameSizeType &frameSize) |
PlusStatus | GetFrequencyMhz (double &freqMHz) |
PlusStatus | GetGainPercent (double &gainPercent) |
virtual HRESULT STDMETHODCALLTYPE | GetIDsOfNames (const IID &riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid) |
PlusStatus | GetPowerDb (double &powerDb) |
virtual HRESULT STDMETHODCALLTYPE | GetTypeInfo (UINT itinfo, LCID lcid, ITypeInfo **pptinfo) |
virtual HRESULT STDMETHODCALLTYPE | GetTypeInfoCount (UINT *pctinfo) |
virtual HRESULT STDMETHODCALLTYPE | Invoke (DISPID dispIdMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
virtual HRESULT STDMETHODCALLTYPE | OnBeamformerArrive (IUnknown *pUsgBeamformer, ULONG *reserved) |
virtual HRESULT STDMETHODCALLTYPE | OnBeamformerRemove (IUnknown *pUsgBeamformer, ULONG *reserved) |
virtual HRESULT STDMETHODCALLTYPE | OnBeamformerStateChanged (IUnknown *pUsgBeamformer, ULONG *reserved) |
virtual HRESULT STDMETHODCALLTYPE | OnControlChanged (REFIID riidCtrl, ULONG scanMode, LONG streamId, IUsgControl *pControlObj, LONG dispId, LONG flags) |
virtual HRESULT STDMETHODCALLTYPE | OnControlChangedBSTR (BSTR ctrlGUID, LONG scanMode, LONG streamId, IUsgControl *pControlObject, LONG dispId, LONG flags) |
virtual HRESULT STDMETHODCALLTYPE | OnProbeArrive (IUnknown *pUsgProbe, ULONG *reserved) |
virtual HRESULT STDMETHODCALLTYPE | OnProbeRemove (IUnknown *pUsgProbe, ULONG *reserved) |
virtual HRESULT STDMETHODCALLTYPE | OnProbeStateChanged (IUnknown *pUsgProbe, ULONG *reserved) |
STDMETHODIMP | QueryInterface (REFIID riid, void **ppv) |
PlusStatus | SetDepthMm (double depthMm) |
PlusStatus | SetDynRangeDb (double dynRangeDb) |
PlusStatus | SetFocusDepthPercent (double focusDepthPercent) |
PlusStatus | SetFrequencyMhz (double freqMHz) |
PlusStatus | SetGainPercent (double gainPercent) |
void | SetMaximumFrameSize (const FrameSizeType &maxFrameSize) |
PlusStatus | SetPowerDb (double powerDb) |
STDMETHODIMP_ (ULONG) AddRef() | |
STDMETHODIMP_ (ULONG) Release() | |
TelemedUltrasound () | |
virtual | ~TelemedUltrasound () |
Public Attributes | |
ULONG | m_refCount |
Protected Attributes | |
std::vector< unsigned char > | m_FrameBuffer |
FrameSizeType | m_FrameSize |
FrameSizeType | m_MaximumFrameSize |
Definition at line 16 of file TelemedUltrasound.h.
TelemedUltrasound::TelemedUltrasound | ( | ) |
Definition at line 18 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 50 of file TelemedUltrasound.cxx.
unsigned char * TelemedUltrasound::CaptureFrame | ( | ) |
Definition at line 251 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::Connect | ( | int | probeId = 0 | ) |
Definition at line 70 of file TelemedUltrasound.cxx.
void TelemedUltrasound::CreateUsgControls | ( | int | probeId = 0 | ) |
Definition at line 345 of file TelemedUltrasound.cxx.
void TelemedUltrasound::Disconnect | ( | ) |
Definition at line 121 of file TelemedUltrasound.cxx.
void TelemedUltrasound::FreezeDevice | ( | bool | freeze | ) |
Definition at line 135 of file TelemedUltrasound.cxx.
|
inline |
Definition at line 27 of file TelemedUltrasound.h.
PlusStatus TelemedUltrasound::GetDepthMm | ( | double & | depthMm | ) |
Definition at line 953 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::GetDynRangeDb | ( | double & | dynRangeDb | ) |
Definition at line 1238 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::GetFocusDepthPercent | ( | double & | focusDepthPercent | ) |
Definition at line 1189 of file TelemedUltrasound.cxx.
|
inline |
Definition at line 28 of file TelemedUltrasound.h.
PlusStatus TelemedUltrasound::GetFrequencyMhz | ( | double & | freqMHz | ) |
Definition at line 995 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::GetGainPercent | ( | double & | gainPercent | ) |
Definition at line 1104 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 811 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::GetPowerDb | ( | double & | powerDb | ) |
Definition at line 1140 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 796 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 785 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 818 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1301 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1291 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1318 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 600 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 707 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1267 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1280 of file TelemedUltrasound.cxx.
|
virtual |
Definition at line 1311 of file TelemedUltrasound.cxx.
STDMETHODIMP TelemedUltrasound::QueryInterface | ( | REFIID | riid, |
void ** | ppv | ||
) |
Definition at line 758 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetDepthMm | ( | double | depthMm | ) |
Definition at line 971 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetDynRangeDb | ( | double | dynRangeDb | ) |
Definition at line 1220 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetFocusDepthPercent | ( | double | focusDepthPercent | ) |
Definition at line 1158 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetFrequencyMhz | ( | double | freqMHz | ) |
Definition at line 1013 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetGainPercent | ( | double | gainPercent | ) |
Definition at line 1086 of file TelemedUltrasound.cxx.
void TelemedUltrasound::SetMaximumFrameSize | ( | const FrameSizeType & | maxFrameSize | ) |
Must be called before connect to take effect
Definition at line 64 of file TelemedUltrasound.cxx.
PlusStatus TelemedUltrasound::SetPowerDb | ( | double | powerDb | ) |
Definition at line 1122 of file TelemedUltrasound.cxx.
TelemedUltrasound::STDMETHODIMP_ | ( | ULONG | ) |
TelemedUltrasound::STDMETHODIMP_ | ( | ULONG | ) |
|
protected |
Definition at line 54 of file TelemedUltrasound.h.
|
protected |
Definition at line 55 of file TelemedUltrasound.h.
|
protected |
Definition at line 56 of file TelemedUltrasound.h.
ULONG TelemedUltrasound::m_refCount |
Definition at line 99 of file TelemedUltrasound.h.