Medical Imaging Interaction Toolkit  2022.04.99-685cdc74
Medical Imaging Interaction Toolkit
mitkUSTelemedSDKHeader.h File Reference
#include <Usgfw2.tlh>
#include <mitkCommon.h>

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 
 mitk::telemed
 

Macros

#define SAFE_RELEASE(x)
 
#define RETURN_TelemedValue(control)
 
#define SET_TelemedValue(control, value)
 
#define RETURN_TelemedAvailableValues(control)
 
#define RETURN_TelemedAvailableValuesWithFactor(control, factor)
 
#define GETINOUTPUT_TelemedAvailableValuesBounds(control, output)
 
#define CREATE_TelemedControl(control, dataView, iidType, type, scanMode)
 

Enumerations

enum  mitk::telemed::ScanModes { mitk::telemed::ScanModeB }
 

Functions

bool mitk::telemed::CreateUsgControl (Usgfw2Lib::IUsgDataView *dataView, const IID &typeId, ULONG scanMode, ULONG streamId, void **ctrl)
 
std::string mitk::telemed::ConvertWcharToString (const BSTR input)
 

Macro Definition Documentation

◆ CREATE_TelemedControl

#define CREATE_TelemedControl (   control,
  dataView,
  iidType,
  type,
  scanMode 
)

Create Telemed API control. The interface documentation can be found in the Telemed API documentation regarding CreateUsgControl().

Definition at line 109 of file mitkUSTelemedSDKHeader.h.

◆ GETINOUTPUT_TelemedAvailableValuesBounds

#define GETINOUTPUT_TelemedAvailableValuesBounds (   control,
  output 
)

Get all available values for given COM object, calculate minimum, maximum and interval step from them and save this three in given "output" variable. This variable must be a c array with three elements.

Definition at line 83 of file mitkUSTelemedSDKHeader.h.

◆ RETURN_TelemedAvailableValues

#define RETURN_TelemedAvailableValues (   control)

Get all available values for given COM object and return them as std::vector<double>.

Definition at line 52 of file mitkUSTelemedSDKHeader.h.

◆ RETURN_TelemedAvailableValuesWithFactor

#define RETURN_TelemedAvailableValuesWithFactor (   control,
  factor 
)

Definition at line 56 of file mitkUSTelemedSDKHeader.h.

◆ RETURN_TelemedValue

#define RETURN_TelemedValue (   control)

Get the current value from the given COM object and return it as double.

Definition at line 33 of file mitkUSTelemedSDKHeader.h.

◆ SAFE_RELEASE

#define SAFE_RELEASE (   x)

Release the given COM object pointer and set the pointer to null.

Definition at line 28 of file mitkUSTelemedSDKHeader.h.

◆ SET_TelemedValue

#define SET_TelemedValue (   control,
  value 
)

Cast the value to LONG and set it at the given COM object.

Definition at line 43 of file mitkUSTelemedSDKHeader.h.