#include "PlusConfigure.h"
#include "PixelCodec.h"
#include "vtkPlusChannel.h"
#include "vtkPlusDataSource.h"
#include "vtkPlusTelemedVideoSource.h"
#include "vtkPlusUsImagingParameters.h"
#include <vtkImageData.h>
#include <vtkImageImport.h>
#include <vtkObjectFactory.h>
Go to the source code of this file.
◆ IMAGING_PARAMETER_GET
#define IMAGING_PARAMETER_GET |
( |
|
parameterName | ) |
|
Value:PlusStatus vtkPlusTelemedVideoSource::Get##parameterName(
double &a##parameterName) \
{ \
if (this->Device==NULL) \
{ \
\
a##parameterName=this->parameterName; \
} \
if (this->Device->Get##parameterName(this->parameterName)!=
PLUS_SUCCESS) \
{ \
LOG_ERROR("vtkPlusTelemedVideoSource parameter setting failed: "<<parameterName<<"="<<a##parameterName); \
} \
a##parameterName=this->parameterName; \
}
Definition at line 317 of file vtkPlusTelemedVideoSource.cxx.
◆ IMAGING_PARAMETER_SET
#define IMAGING_PARAMETER_SET |
( |
|
parameterName | ) |
|
Value:PlusStatus vtkPlusTelemedVideoSource::Set##parameterName(
double a##parameterName) \
{ \
LOG_INFO("Setting US parameter "<<#parameterName<<"="<<a##parameterName); \
if (this->Device==NULL) \
{ \
\
this->parameterName=a##parameterName; \
} \
int oldParamValue = this->parameterName; \
this->parameterName=a##parameterName; \
if (this->Device->Set##parameterName(this->parameterName)!=
PLUS_SUCCESS) \
{ \
LOG_ERROR("vtkPlusTelemedVideoSource parameter setting failed: "<<#parameterName<<"="<<a##parameterName); \
this->parameterName=oldParamValue; \
} \
}
Definition at line 296 of file vtkPlusTelemedVideoSource.cxx.
◆ IMAGING_PARAMETER_GET() [1/6]
IMAGING_PARAMETER_GET |
( |
FrequencyMhz |
| ) |
|
◆ IMAGING_PARAMETER_GET() [2/6]
IMAGING_PARAMETER_GET |
( |
DepthMm |
| ) |
|
◆ IMAGING_PARAMETER_GET() [3/6]
IMAGING_PARAMETER_GET |
( |
GainPercent |
| ) |
|
◆ IMAGING_PARAMETER_GET() [4/6]
IMAGING_PARAMETER_GET |
( |
DynRangeDb |
| ) |
|
◆ IMAGING_PARAMETER_GET() [5/6]
IMAGING_PARAMETER_GET |
( |
PowerDb |
| ) |
|
◆ IMAGING_PARAMETER_GET() [6/6]
IMAGING_PARAMETER_GET |
( |
FocusDepthPercent |
| ) |
|
◆ IMAGING_PARAMETER_SET() [1/6]
IMAGING_PARAMETER_SET |
( |
FrequencyMhz |
| ) |
|
◆ IMAGING_PARAMETER_SET() [2/6]
IMAGING_PARAMETER_SET |
( |
DepthMm |
| ) |
|
◆ IMAGING_PARAMETER_SET() [3/6]
IMAGING_PARAMETER_SET |
( |
GainPercent |
| ) |
|
◆ IMAGING_PARAMETER_SET() [4/6]
IMAGING_PARAMETER_SET |
( |
DynRangeDb |
| ) |
|
◆ IMAGING_PARAMETER_SET() [5/6]
IMAGING_PARAMETER_SET |
( |
PowerDb |
| ) |
|
◆ IMAGING_PARAMETER_SET() [6/6]
IMAGING_PARAMETER_SET |
( |
FocusDepthPercent |
| ) |
|
◆ vtkStandardNewMacro()