7 #ifndef TelemedUltrasound_h 8 #define TelemedUltrasound_h 10 #include "igsioCommon.h" 70 IConnectionPoint* m_usg_device_change_cpnt;
71 DWORD m_usg_device_change_cpnt_cookie;
73 IConnectionPoint* m_usg_control_change_cpnt;
74 DWORD m_usg_control_change_cpnt_cookie;
77 void ReleaseUsgControls(
bool release_usgfw2);
80 void DepthSetPrevNext(
int dir);
82 LPCWSTR GetInterfaceNameByGuid(BSTR ctrlGUID);
83 LPCWSTR GetModeNameById(LONG scanMode);
86 HWND ImageWindowHandle;
88 std::vector<unsigned char> MemoryBitmapBuffer;
103 virtual HRESULT STDMETHODCALLTYPE
GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo** pptinfo);
104 virtual HRESULT STDMETHODCALLTYPE
GetIDsOfNames(
const IID& riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgdispid);
105 virtual HRESULT STDMETHODCALLTYPE
Invoke(DISPID dispIdMember,
const IID& riid, LCID lcid,
WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr);
112 virtual HRESULT STDMETHODCALLTYPE
OnProbeArrive(IUnknown* pUsgProbe,
ULONG* reserved);
114 virtual HRESULT STDMETHODCALLTYPE
OnProbeRemove(IUnknown* pUsgProbe,
ULONG* reserved);
120 #endif //TelemedUltrasound virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT *pctinfo)
STDMETHODIMP QueryInterface(REFIID riid, void **ppv)
PlusStatus GetFocusDepthPercent(double &focusDepthPercent)
PlusStatus SetPowerDb(double powerDb)
virtual HRESULT STDMETHODCALLTYPE OnBeamformerArrive(IUnknown *pUsgBeamformer, ULONG *reserved)
virtual HRESULT STDMETHODCALLTYPE OnBeamformerStateChanged(IUnknown *pUsgBeamformer, ULONG *reserved)
virtual HRESULT STDMETHODCALLTYPE Invoke(DISPID dispIdMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
unsigned char * CaptureFrame()
void FreezeDevice(bool freeze)
void GetFrameSize(FrameSizeType &frameSize)
interface IUsgMixerControl IUsgMixerControl
interface IUsgDeviceChangeSink IUsgDeviceChangeSink
PlusStatus GetPowerDb(double &powerDb)
interface IUsgDynamicRange IUsgDynamicRange
virtual HRESULT STDMETHODCALLTYPE OnControlChangedBSTR(BSTR ctrlGUID, LONG scanMode, LONG streamId, IUsgControl *pControlObject, LONG dispId, LONG flags)
interface IUsgGain IUsgGain
interface IUsgDataView IUsgDataView
interface IUsgDepth IUsgDepth
PlusStatus SetFocusDepthPercent(double focusDepthPercent)
virtual HRESULT STDMETHODCALLTYPE OnProbeStateChanged(IUnknown *pUsgProbe, ULONG *reserved)
STDMETHODIMP_(ULONG) AddRef()
PlusStatus GetGainPercent(double &gainPercent)
PlusStatus GetDepthMm(double &depthMm)
virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(const IID &riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid)
PlusStatus GetDynRangeDb(double &dynRangeDb)
FrameSizeType m_FrameSize
void SetMaximumFrameSize(const FrameSizeType &maxFrameSize)
PlusStatus GetFrequencyMhz(double &freqMHz)
PlusStatus SetDepthMm(double depthMm)
const char int const char int flags
virtual ~TelemedUltrasound()
interface IUsgPower IUsgPower
interface IUsgControl IUsgControl
PlusStatus Connect(int probeId=0)
virtual HRESULT STDMETHODCALLTYPE OnProbeArrive(IUnknown *pUsgProbe, ULONG *reserved)
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo **pptinfo)
PlusStatus SetGainPercent(double gainPercent)
interface IUsgProbeFrequency3 IUsgProbeFrequency3
void CreateUsgControls(int probeId=0)
virtual HRESULT STDMETHODCALLTYPE OnProbeRemove(IUnknown *pUsgProbe, ULONG *reserved)
unsigned long GetBufferSize()
virtual HRESULT STDMETHODCALLTYPE OnBeamformerRemove(IUnknown *pUsgBeamformer, ULONG *reserved)
virtual HRESULT STDMETHODCALLTYPE OnControlChanged(REFIID riidCtrl, ULONG scanMode, LONG streamId, IUsgControl *pControlObj, LONG dispId, LONG flags)
interface IUsgFocus IUsgFocus
PlusStatus SetDynRangeDb(double dynRangeDb)
PlusStatus SetFrequencyMhz(double freqMHz)
FrameSizeType m_MaximumFrameSize
std::vector< unsigned char > m_FrameBuffer
interface IUsgfw2 IUsgfw2