Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkUSTelemedDevice_h
14 #define mitkUSTelemedDevice_h
148 virtual HRESULT __stdcall
raw_OnProbeArrive(IUnknown *pUsgProbe, ULONG *reserved);
150 virtual HRESULT __stdcall
raw_OnProbeRemove(IUnknown *pUsgProbe, ULONG *reserved);
162 virtual HRESULT STDMETHODCALLTYPE
GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo** pptinfo);
163 virtual HRESULT STDMETHODCALLTYPE
GetIDsOfNames(
const IID &riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgdispid);
164 virtual HRESULT STDMETHODCALLTYPE
Invoke(DISPID dispIdMember,
const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr);
std::vector< mitk::USProbe::Pointer > GetAllProbes()
Returns all probes for this device or an empty vector it no probes were set Returns a std::vector of ...
USImageSource::Pointer GetUSImageSource()
void ReleaseUsgControls()
virtual ~USTelemedDevice()
STDMETHODIMP_(ULONG) AddRef()
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT itinfo, LCID lcid, ITypeInfo **pptinfo)
Usgfw2Lib::IUsgCollection * m_ProbesCollection
USTelemedImageSource::Pointer m_ImageSource
Implementation of mitk::USDevice for Telemed API devices. Connects to a Telemed API device through it...
virtual HRESULT __stdcall raw_OnBeamformerRemove(IUnknown *pUsgBeamformer, ULONG *reserved)
virtual bool OnDeactivation()
Is called during the deactivation process. After a call to this method the device is connected,...
virtual bool OnInitialization()
Is called during the initialization process. There is nothing done on the initialization of a mik::US...
virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT *pctinfo)
void SetActiveDataView(Usgfw2Lib::IUsgDataView *)
Changes active IUsgDataView of the device. This method is for being called by Telemed control interfa...
void StopScanning()
Stop ultrasound scanning by Telemed API call.
mitk::USProbe::Pointer GetProbeByName(std::string name)
get the probe by its name Returns a pointer to the probe identified by the given name....
virtual void OnFreeze(bool freeze)
Changes scan state of the device if freeze is toggeled in mitk::USDevice.
virtual USControlInterfaceBMode::Pointer GetControlInterfaceBMode()
Default getter for the b mode control interface. Has to be implemented in a subclass if a b mode cont...
A device holds information about it's model, make and the connected probes. It is the common super cl...
Find image slices visible on a given plane.
mitk::USProbe::Pointer GetCurrentProbe()
Return current active probe for this USDevice Returns a pointer to the probe that is currently in use...
virtual USControlInterfaceDoppler::Pointer GetControlInterfaceDoppler()
Default getter for the doppler control interface. Has to be implemented in a subclass if a doppler co...
Usgfw2Lib::IUsgfw2 * m_UsgMainInterface
virtual HRESULT __stdcall raw_OnProbeStateChanged(IUnknown *pUsgProbe, ULONG *reserved)
DWORD m_UsgDeviceChangeCpntCookie
virtual USControlInterfaceProbes::Pointer GetControlInterfaceProbes()
Default getter for the probes control interface. Has to be implemented in a subclass if a probes cont...
Usgfw2Lib::IUsgDataView * m_UsgDataView
Superclass of all classes generating some kind of mitk::BaseData.
mitkClassMacro(USTelemedDevice, mitk::USDevice)
IConnectionPoint * m_UsgDeviceChangeCpnt
void ConnectDeviceChangeSink()
STDMETHODIMP QueryInterface(REFIID riid, void **ppv)
virtual bool OnActivation()
Is called during the activation process. After this method is finished, the device is generating imag...
void GenerateData() override
Grabs the next frame from the Video input. This method is called internally, whenever Update() is inv...
virtual std::string GetDeviceClass()
Returns the class of the device.
mitkNewMacro2Param(Self, std::string, std::string)
virtual bool OnDisconnection()
Is called during the disconnection process. Deactivate and remove all Telemed API controls....
virtual HRESULT __stdcall raw_OnBeamformerArrive(IUnknown *pUsgBeamformer, ULONG *reserved)
Usgfw2Lib::IProbe * m_Probe
USTelemedDevice(std::string manufacturer, std::string model)
virtual HRESULT __stdcall raw_OnBeamformerStateChanged(IUnknown *pUsgBeamformer, ULONG *reserved)
virtual HRESULT __stdcall raw_OnProbeArrive(IUnknown *pUsgProbe, ULONG *reserved)
virtual HRESULT __stdcall raw_OnProbeRemove(IUnknown *pUsgProbe, ULONG *reserved)
USTelemedDopplerControls::Pointer m_ControlsDoppler
virtual bool OnConnection()
Is called during the connection process. Connect to the Telemed API and try to get available probes f...
USTelemedProbesControls::Pointer m_ControlsProbes
Usgfw2Lib::IUsgfw2 * GetUsgMainInterface()
Getter for main Telemed API object. This method is for being called by Telemed control interfaces.
virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(const IID &riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgdispid)
USTelemedBModeControls::Pointer m_ControlsBMode
virtual HRESULT STDMETHODCALLTYPE Invoke(DISPID dispIdMember, const IID &riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)