PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
Class for acquiring ultrasound images from Capistrano Labs USB ultrasound systems. More...
#include <src/PlusDataCollection/Capistrano/vtkPlusCapistranoVideoSource.h>
Public Types | |
typedef vtkPlusUsDevice | Superclass |
Public Types inherited from vtkPlusUsDevice | |
typedef vtkPlusDevice | Superclass |
Public Types inherited from vtkPlusDevice | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
PlusStatus | FreezeDevice (bool freeze) |
bool | GetBidirectionalMode () |
virtual const char * | GetClassName () |
virtual double * | GetCurrentPixelSpacingMm () |
virtual void | GetCurrentPixelSpacingMm (double &, double &, double &) |
virtual void | GetCurrentPixelSpacingMm (double [3]) |
unsigned char | GetDerivativeCompensation () |
PlusStatus | GetHardwareVersion (int &HardwareVersion) |
PlusStatus | GetHighPassFilter (int &HighPassFilter) |
unsigned char | GetJitterCompensation () |
PlusStatus | GetLowPassFilter (int &LowPassFilter) |
PlusStatus | GetMISMode (bool &MISMode) |
PlusStatus | GetMISPulsePeriod (unsigned int &PulsePeriod) |
int | GetOverscan () |
unsigned char | GetPositionScale () |
PlusStatus | GetProbeVelocityDevice (float &aVel) |
float | GetPulseVoltage () |
std::string | GetSdkVersion () override |
unsigned char | GetServoGain () |
float | GetSweepAngle () |
unsigned char | GetWobbleRate () |
PlusStatus | InternalApplyImagingParameterChange () override |
virtual int | IsA (const char *type) |
bool | IsBoardAttached () |
bool | IsFrozen () |
bool | IsTracker () const override |
PlusStatus | NotifyConfigured () override |
void | PrintSelf (ostream &os, vtkIndent indent) override |
PlusStatus | ReadConfiguration (vtkXMLDataElement *config) override |
PlusStatus | SetAverageMode (bool averagemode) |
PlusStatus | SetBidirectionalMode (bool mode) |
PlusStatus | SetBModeViewOption (unsigned int bmodeviewoption) |
PlusStatus | SetCineBuffers (int cinebuffer) |
PlusStatus | SetContrast (double value) |
virtual void | SetCurrentPixelSpacingMm (double [3]) |
virtual void | SetCurrentPixelSpacingMm (double, double, double) |
PlusStatus | SetDepthMm (float depthMm) |
PlusStatus | SetDepthMmDevice (float depthMm) |
PlusStatus | SetDerivativeCompensation (unsigned char derivativeCompensation) |
PlusStatus | SetDisplayZoomDevice (double zoom) |
PlusStatus | SetGainPercent (double gainPercent[3]) |
PlusStatus | SetGainPercentDevice (double gainPercent[3]) |
PlusStatus | SetImageSize (const FrameSizeType &imageSize) |
PlusStatus | SetIntensity (double value) |
PlusStatus | SetInterpolate (bool interpolate) |
PlusStatus | SetJitterCompensation (unsigned char jitterComp) |
PlusStatus | SetLutCenter (double lutcenter) |
PlusStatus | SetLutWindow (double lutwindow) |
PlusStatus | SetMISMode (bool mode) |
PlusStatus | SetMISPulsePeriod (unsigned int val) |
PlusStatus | SetOverscan (int state) |
PlusStatus | SetPositionScale (unsigned char scale) |
PlusStatus | SetPulseFrequency (float pf) |
PlusStatus | SetPulseVoltage (float pv) |
PlusStatus | SetSampleFrequency (float sf) |
PlusStatus | SetScanDepth (float sd) |
PlusStatus | SetServoGain (unsigned char servoGain) |
PlusStatus | SetSoundVelocity (float ss) |
PlusStatus | SetSweepAngle (float sweepAngle) |
PlusStatus | SetWobbleRate (unsigned char wobbleRate) |
PlusStatus | SetZoomFactor (double zoomfactor) |
PlusStatus | WriteConfiguration (vtkXMLDataElement *config) override |
Public Member Functions inherited from vtkPlusUsDevice | |
virtual PlusStatus | AddVideoItemToVideoSource (vtkPlusDataSource &videoSource, const igsioVideoFrame &frame, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
virtual PlusStatus | AddVideoItemToVideoSource (vtkPlusDataSource &videoSource, void *imageDataPtr, US_IMAGE_ORIENTATION usImageOrientation, const FrameSizeType &frameSizeInPx, igsioCommon::VTKScalarPixelType pixelType, unsigned int numberOfScalarComponents, US_IMAGE_TYPE imageType, int numberOfBytesToSkip, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) |
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, const igsioVideoFrame &frame, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) override |
virtual PlusStatus | AddVideoItemToVideoSources (const std::vector< vtkPlusDataSource * > &videoSources, void *imageDataPtr, US_IMAGE_ORIENTATION usImageOrientation, const FrameSizeType &frameSizeInPx, igsioCommon::VTKScalarPixelType pixelType, unsigned int numberOfScalarComponents, US_IMAGE_TYPE imageType, int numberOfBytesToSkip, long frameNumber, double unfilteredTimestamp=UNDEFINED_TIMESTAMP, double filteredTimestamp=UNDEFINED_TIMESTAMP, const igsioFieldMapType *customFields=NULL) override |
virtual std::vector< double > | CalculateAngles () |
virtual std::vector< double > | CalculateBoundingBox () |
virtual std::vector< double > | CalculateDepths () |
virtual double | CalculateLinearWidth () |
virtual std::vector< double > | CalculateOrigin () |
virtual vtkPlusUsImagingParameters * | GetImagingParameters () |
virtual std::string | GetParameter (const std::string &key) const |
virtual PlusStatus | GetParameter (const std::string &key, std::string &outValue) const |
virtual IGTLIO_PROBE_TYPE | GetProbeType () |
bool | IsKnownKey (const std::string &queryKey) const |
virtual PlusStatus | SetNewImagingParameters (const vtkPlusUsImagingParameters &newImagingParameters) |
virtual PlusStatus | SetParameter (const std::string &key, const std::string &value) |
vtkGetStdStringMacro (ImageToTransducerTransformName) | |
vtkSetStdStringMacro (ImageToTransducerTransformName) | |
Public Member Functions inherited from vtkPlusDevice | |
PlusStatus | AddFieldDataSource (vtkPlusDataSource *aSource) |
PlusStatus | AddInputChannel (vtkPlusChannel *aChannel) |
PlusStatus | AddOutputChannel (vtkPlusChannel *aChannel) |
PlusStatus | AddTool (vtkPlusDataSource *tool, bool requireUniquePortName=true) |
PlusStatus | AddVideoSource (vtkPlusDataSource *anImage) |
void | ClearAllBuffers () |
virtual PlusStatus | Connect () |
virtual PlusStatus | CreateDefaultOutputChannel (const char *channelId=NULL, bool addSource=true) |
void | DeepCopy (const vtkPlusDevice &device) |
virtual PlusStatus | Disconnect () |
virtual PlusStatus | ForceUpdate () |
virtual double | GetAcquisitionRate () const |
virtual PlusStatus | GetBufferSize (vtkPlusChannel &aChannel, int &outVal, const std::string &aSourceId=std::string("")) |
virtual int | GetConnected () const |
virtual bool | GetCorrectlyConfigured () const |
PlusStatus | GetDataSource (const char *aSourceId, vtkPlusDataSource *&aSource) |
PlusStatus | GetDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource) |
virtual double | GetDesiredTimestamp () |
virtual std::string | GetDeviceId () const |
PlusStatus | GetFieldDataSource (const char *aSourceId, vtkPlusDataSource *&aSource) const |
PlusStatus | GetFieldDataSource (const std::string &aSourceId, vtkPlusDataSource *&aSource) const |
DataSourceContainerConstIterator | GetFieldDataSourcessIteratorBegin () const |
DataSourceContainerConstIterator | GetFieldDataSourcessIteratorEnd () const |
PlusStatus | GetFirstActiveOutputVideoSource (vtkPlusDataSource *&aVideoSource) |
PlusStatus | GetFirstActiveTool (vtkPlusDataSource *&aTool) const |
PlusStatus | GetFirstOutputChannel (vtkPlusChannel *&aChannel) |
PlusStatus | GetFirstVideoSource (vtkPlusDataSource *&anImage) |
virtual unsigned long | GetFrameNumber () const |
virtual double | GetFrameTimeStamp () const |
virtual PlusStatus | GetImage (const std::string &requestedImageId, std::string &assignedImageId, const std::string &imageReferencFrameName, vtkImageData *imageData, vtkMatrix4x4 *ijkToReferenceTransform) |
virtual PlusStatus | GetImageMetaData (igsioCommon::ImageMetaDataList &imageMetaDataItems) |
virtual US_IMAGE_TYPE | GetImageType (vtkPlusChannel &aChannel) |
PlusStatus | GetInputDevices (std::vector< vtkPlusDevice * > &outDeviceList) const |
PlusStatus | GetInputDevicesRecursive (std::vector< vtkPlusDevice * > &outDeviceList) const |
virtual PlusStatus | GetInputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const |
virtual PlusStatus | GetInputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const |
double | GetInternalUpdateRate () const |
virtual double | GetLocalTimeOffsetSec () const |
double | GetMissingInputGracePeriodSec () const |
virtual int | GetNumberOfFieldDataSources () const |
virtual int | GetNumberOfTools () const |
virtual int | GetNumberOfVideoSources () const |
PlusStatus | GetOutputChannelByName (vtkPlusChannel *&aChannel, const char *aChannelId) |
PlusStatus | GetOutputChannelByName (vtkPlusChannel *&aChannel, const std::string &aChannelId) |
ChannelContainerConstIterator | GetOutputChannelsEnd () const |
ChannelContainerIterator | GetOutputChannelsEnd () |
ChannelContainerConstIterator | GetOutputChannelsStart () const |
ChannelContainerIterator | GetOutputChannelsStart () |
virtual PlusStatus | GetOutputFrameSize (vtkPlusChannel &aChannel, unsigned int &x, unsigned int &y, unsigned int &z) const |
virtual PlusStatus | GetOutputFrameSize (vtkPlusChannel &aChannel, FrameSizeType &dim) const |
virtual igsioCommon::VTKScalarPixelType | GetPixelType (vtkPlusChannel &aChannel) |
virtual double | GetStartTime () |
virtual double | GetTimestampClosestToDesired () |
PlusStatus | GetTool (const char *aToolSourceId, vtkPlusDataSource *&aTool) const |
PlusStatus | GetTool (const std::string &aToolSourceId, vtkPlusDataSource *&aTool) const |
PlusStatus | GetToolByPortName (const char *aPortName, vtkPlusDataSource *&aSource) |
PlusStatus | GetToolByPortName (const std::string &aPortName, vtkPlusDataSource *&aSource) |
DataSourceContainerConstIterator | GetToolIteratorBegin () const |
DataSourceContainerConstIterator | GetToolIteratorEnd () const |
std::string | GetToolReferenceFrameName () const |
virtual int | GetUpdateWithDesiredTimestamp () |
PlusStatus | GetVideoSource (const char *aSourceId, vtkPlusDataSource *&aVideoSource) |
PlusStatus | GetVideoSourceByIndex (const unsigned int index, vtkPlusDataSource *&aVideoSource) |
DataSourceContainerConstIterator | GetVideoSourceIteratorBegin () const |
DataSourceContainerConstIterator | GetVideoSourceIteratorEnd () const |
std::vector< vtkPlusDataSource * > | GetVideoSources () const |
PlusStatus | GetVideoSourcesByPortName (const char *aPortName, std::vector< vtkPlusDataSource * > &sources) |
PlusStatus | GetVideoSourcesByPortName (const std::string &aPortName, std::vector< vtkPlusDataSource * > &sources) |
virtual bool | IsConnected () const |
virtual bool | IsRecording () const |
virtual bool | IsResettable () |
virtual bool | IsVirtual () const |
virtual int | OutputChannelCount () const |
virtual PlusStatus | Probe () |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual PlusStatus | Reset () |
virtual PlusStatus | SendText (const std::string &textToSend, std::string *textReceived=NULL) |
PlusStatus | SetAcquisitionRate (double aRate) |
virtual PlusStatus | SetBufferSize (vtkPlusChannel &aChannel, int FrameBufferSize, const std::string &aSourceId=std::string("")) |
virtual void | SetDataCollector (vtkPlusDataCollector *_arg) |
virtual void | SetDesiredTimestamp (double) |
void | SetDeviceId (const std::string &id) |
void | SetFieldDataSourcesBufferSize (int aBufferSize) |
virtual PlusStatus | SetImageType (vtkPlusChannel &aChannel, US_IMAGE_TYPE imageType) |
virtual PlusStatus | SetInputFrameSize (vtkPlusDataSource &aSource, unsigned int x, unsigned int y, unsigned int z) |
virtual void | SetLocalTimeOffsetSec (double aTimeOffsetSec) |
virtual void | SetMissingInputGracePeriodSec (double) |
virtual PlusStatus | SetPixelType (vtkPlusChannel &aChannel, igsioCommon::VTKScalarPixelType pixelType) |
virtual void | SetStartTime (double startTime) |
void | SetToolReferenceFrameName (const std::string &frameName) |
void | SetToolsBufferSize (int aBufferSize) |
virtual void | SetUpdateWithDesiredTimestamp (int) |
virtual PlusStatus | StartRecording () |
virtual PlusStatus | StopRecording () |
virtual void | UpdateWithDesiredTimestampOff () |
virtual void | UpdateWithDesiredTimestampOn () |
virtual PlusStatus | WriteToolsToSequenceFile (const std::string &filename, bool useCompression=false) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlusCapistranoVideoSource * | New () |
static vtkPlusCapistranoVideoSource * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPlusUsDevice | |
static int | IsTypeOf (const char *type) |
static vtkPlusUsDevice * | New () |
static vtkPlusUsDevice * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPlusDevice | |
static PlusStatus | GetToolReferenceFrameFromTrackedFrame (igsioTrackedFrame &aFrame, std::string &aToolReferenceFrameName) |
static int | IsTypeOf (const char *type) |
static vtkPlusDevice * | New () |
static vtkPlusDevice * | SafeDownCast (vtkObject *o) |
Static Public Attributes | |
static const char * | CAPISTRANO_FREEZE_PROBE = "FreezeProbe" |
static const char * | CAPISTRANO_GET_BIDIRECTIONAL_MODE = "GetBidirectionalMode" |
static const char * | CAPISTRANO_GET_DERIVATIVE_COMPENSATION = "GetDerivativeCompensation" |
static const char * | CAPISTRANO_GET_JITTER_COMPENSATION = "GetJitterCompensation" |
static const char * | CAPISTRANO_GET_MIS_MODE = "GetMISMode" |
static const char * | CAPISTRANO_GET_MIS_PULSE_PERIOD = "GetMISPulsePeriod" |
static const char * | CAPISTRANO_GET_POSITION_SCALE = "GetPositionScale" |
static const char * | CAPISTRANO_GET_SAMPLE_FREQUENCY = "GetSampleFrequency" |
static const char * | CAPISTRANO_GET_SERVO_GAIN = "GetServoGain" |
static const char * | CAPISTRANO_GET_SWEEP_ANGLE = "GetSweepAngle" |
static const char * | CAPISTRANO_GET_WOBBLE_RATE = "GetWobbleRate" |
static const char * | CAPISTRANO_IS_PROBE_FROZEN = "IsProbeFrozen" |
static const char * | CAPISTRANO_SET_BIDIRECTIONAL_MODE = "SetBidirectionalMode" |
static const char * | CAPISTRANO_SET_DERIVATIVE_COMPENSATION = "SetDerivativeCompensation" |
static const char * | CAPISTRANO_SET_JITTER_COMPENSATION = "SetJitterCompensation" |
static const char * | CAPISTRANO_SET_MIS_MODE = "SetMISMode" |
static const char * | CAPISTRANO_SET_MIS_PULSE_PERIOD = "SetMISPulsePeriod" |
static const char * | CAPISTRANO_SET_POSITION_SCALE = "SetPositionScale" |
static const char * | CAPISTRANO_SET_SAMPLE_FREQUENCY = "SetSampleFrequency" |
static const char * | CAPISTRANO_SET_SERVO_GAIN = "SetServoGain" |
static const char * | CAPISTRANO_SET_SWEEP_ANGLE = "SetSweepAngle" |
static const char * | CAPISTRANO_SET_WOBBLE_RATE = "SetWobbleRate" |
Static Public Attributes inherited from vtkPlusDevice | |
static const std::string | BMODE_PORT_NAME = "B" |
static const std::string | PARAMETER_XML_ELEMENT_TAG = "Parameter" |
static const std::string | PARAMETERS_XML_ELEMENT_TAG = "Parameters" |
static const std::string | RFMODE_PORT_NAME = "Rf" |
Protected Member Functions | |
PlusStatus | CalculateDisplay () |
PlusStatus | CalculateDisplay (unsigned int option) |
PlusStatus | GetProbeNameDevice (std::string &probeName) |
PlusStatus | GetSampleFrequencyDevice (float &aFreq) |
PlusStatus | InitializeCapistranoProbe () |
PlusStatus | InitializeCapistranoVideoSource () |
PlusStatus | InitializeImageWindow () |
PlusStatus | InitializeLUT () |
PlusStatus | InitializeTGC () |
PlusStatus | InternalConnect () override |
PlusStatus | InternalDisconnect () override |
PlusStatus | InternalStartRecording () override |
PlusStatus | InternalStopRecording () override |
PlusStatus | InternalUpdate () |
PlusStatus | SetUpdateParameters (bool b) |
PlusStatus | SetupProbe (int probeID=0) |
PlusStatus | UpdateDepthMode () |
PlusStatus | UpdateDepthMode (int clockdivider) |
PlusStatus | UpdateUSBModeParameters () |
PlusStatus | UpdateUSParameters () |
PlusStatus | UpdateUSProbeParameters () |
vtkPlusCapistranoVideoSource () | |
PlusStatus | WaitForFrame () |
~vtkPlusCapistranoVideoSource () | |
Protected Member Functions inherited from vtkPlusUsDevice | |
void | CalculateImageToTransducer (igsioFieldMapType &customFields) |
vtkPlusUsDevice () | |
virtual | ~vtkPlusUsDevice () |
Protected Member Functions inherited from vtkPlusDevice | |
PlusStatus | EnsureUniqueDataSourceId (const std::string &aSourceId) |
vtkXMLDataElement * | FindInputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
vtkXMLDataElement * | FindOutputChannelElement (vtkXMLDataElement *rootXMLElement, const char *aChannelId) |
vtkXMLDataElement * | FindThisDeviceElement (vtkXMLDataElement *rootXMLElement) |
virtual vtkPlusDataCollector * | GetDataCollector () |
double | GetRecordingStartTime () const |
bool | GetStartThreadForInternalUpdates () const |
bool | HasGracePeriodExpired () |
virtual void | InternalWriteInputChannels (vtkXMLDataElement *rootXMLElement) |
virtual void | InternalWriteOutputChannels (vtkXMLDataElement *rootXMLElement) |
virtual void | SetCorrectlyConfigured (bool) |
virtual void | SetRecordingStartTime (double) |
virtual void | SetStartThreadForInternalUpdates (bool) |
virtual PlusStatus | ToolTimeStampedUpdate (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, unsigned long frameNumber, double unfilteredtimestamp, const igsioFieldMapType *customFields=NULL) |
virtual PlusStatus | ToolTimeStampedUpdateWithoutFiltering (const std::string &aToolSourceId, vtkMatrix4x4 *matrix, ToolStatus status, double unfilteredtimestamp, double filteredtimestamp, const igsioFieldMapType *customFields=NULL) |
vtkPlusDevice () | |
virtual | ~vtkPlusDevice () |
Additional Inherited Members | |
Public Attributes inherited from vtkPlusDevice | |
double | InternalUpdateRate |
vtkIGSIORecursiveCriticalSection * | UpdateMutex |
vtkTimeStamp | UpdateTime |
Static Protected Member Functions inherited from vtkPlusDevice | |
static void * | vtkDataCaptureThread (vtkMultiThreader::ThreadInfo *data) |
Static Protected Attributes inherited from vtkPlusDevice | |
static const int | VIRTUAL_DEVICE_FRAME_RATE = 50 |
Class for acquiring ultrasound images from Capistrano Labs USB ultrasound systems.
Requires PLUS_USE_CAPISTRANO_VIDEO option in CMake. Requires the Capistrano cSDK2019.2, cSDK2019, cSDK2018, cSDK2016, or cSDK2013 (SDK provided by Capistrano Labs).
Definition at line 23 of file vtkPlusCapistranoVideoSource.h.
Definition at line 28 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Constructor
Definition at line 855 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Destructor
Definition at line 913 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1933 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1939 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::FreezeDevice | ( | bool | freeze | ) |
Set ON/OFF of collecting US data.
Definition at line 1400 of file vtkPlusCapistranoVideoSource.cxx.
bool vtkPlusCapistranoVideoSource::GetBidirectionalMode | ( | ) |
Definition at line 1578 of file vtkPlusCapistranoVideoSource.cxx.
|
virtual |
Reimplemented from vtkPlusUsDevice.
|
virtual |
Get Current Pixel Spacing values Of US Image (mm)
|
virtual |
|
virtual |
unsigned char vtkPlusCapistranoVideoSource::GetDerivativeCompensation | ( | ) |
Definition at line 1687 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetHardwareVersion | ( | int & | HardwareVersion | ) |
Get the hardware version. Only implemented with Capistrano SDK 2018 and newer.
Definition at line 815 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetHighPassFilter | ( | int & | HighPassFilter | ) |
Get the high pass filter. Only implemented with Capistrano SDK 2018 and newer.
Definition at line 827 of file vtkPlusCapistranoVideoSource.cxx.
unsigned char vtkPlusCapistranoVideoSource::GetJitterCompensation | ( | ) |
Definition at line 1626 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetLowPassFilter | ( | int & | LowPassFilter | ) |
Get the low pass filter. Only implemented with Capistrano SDK 2018.
Definition at line 839 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetMISMode | ( | bool & | MISMode | ) |
Definition at line 1522 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetMISPulsePeriod | ( | unsigned int & | PulsePeriod | ) |
Get the pulse period used for the MIS mode. Only implemented with Capistrano SDK 2019.2 and newer.
Definition at line 1545 of file vtkPlusCapistranoVideoSource.cxx.
int vtkPlusCapistranoVideoSource::GetOverscan | ( | ) |
Definition at line 1675 of file vtkPlusCapistranoVideoSource.cxx.
unsigned char vtkPlusCapistranoVideoSource::GetPositionScale | ( | ) |
Definition at line 1639 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Get probe name from the device
Definition at line 2026 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::GetProbeVelocityDevice | ( | float & | aVel | ) |
Definition at line 2011 of file vtkPlusCapistranoVideoSource.cxx.
float vtkPlusCapistranoVideoSource::GetPulseVoltage | ( | ) |
Definition at line 1700 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1997 of file vtkPlusCapistranoVideoSource.cxx.
|
overridevirtual |
Get the version of SDK
Reimplemented from vtkPlusDevice.
Definition at line 807 of file vtkPlusCapistranoVideoSource.cxx.
unsigned char vtkPlusCapistranoVideoSource::GetServoGain | ( | ) |
Definition at line 1663 of file vtkPlusCapistranoVideoSource.cxx.
float vtkPlusCapistranoVideoSource::GetSweepAngle | ( | ) |
Definition at line 1651 of file vtkPlusCapistranoVideoSource.cxx.
unsigned char vtkPlusCapistranoVideoSource::GetWobbleRate | ( | ) |
Definition at line 1614 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Initialize a Capistrano Probe
Definition at line 939 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Initialize vtkPlusCapistranoVideoSource
Definition at line 1161 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Initialize a ImageWindow and vtkPlusDataSource
Definition at line 1052 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Initialize an LUT for US B-Mode image
Definition at line 1130 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Initialize an TGC for US B-Mode image
Definition at line 1145 of file vtkPlusCapistranoVideoSource.cxx.
|
overridevirtual |
Set changed imaging parameter to device
Reimplemented from vtkPlusUsDevice.
Definition at line 2052 of file vtkPlusCapistranoVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific connect
Reimplemented from vtkPlusDevice.
Definition at line 1272 of file vtkPlusCapistranoVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific disconnect
Reimplemented from vtkPlusDevice.
Definition at line 1287 of file vtkPlusCapistranoVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific recording start
Reimplemented from vtkPlusDevice.
Definition at line 1298 of file vtkPlusCapistranoVideoSource.cxx.
|
overrideprotectedvirtual |
Device-specific recording stop
Reimplemented from vtkPlusDevice.
Definition at line 1305 of file vtkPlusCapistranoVideoSource.cxx.
|
protectedvirtual |
The internal function which actually does the grab.
Reimplemented from vtkPlusDevice.
Definition at line 1312 of file vtkPlusCapistranoVideoSource.cxx.
|
virtual |
Reimplemented from vtkPlusUsDevice.
bool vtkPlusCapistranoVideoSource::IsBoardAttached | ( | ) |
Check if a board is attached.
Definition at line 925 of file vtkPlusCapistranoVideoSource.cxx.
bool vtkPlusCapistranoVideoSource::IsFrozen | ( | ) |
Checks whether the device is frozen or live.
Definition at line 1430 of file vtkPlusCapistranoVideoSource.cxx.
|
inlineoverridevirtual |
Specify the device connected to this class
Reimplemented from vtkPlusDevice.
Definition at line 54 of file vtkPlusCapistranoVideoSource.h.
|
static |
|
static |
Constructor for a smart pointer of this class
|
overridevirtual |
Verify the device is correctly configured
Reimplemented from vtkPlusDevice.
Definition at line 788 of file vtkPlusCapistranoVideoSource.cxx.
|
overridevirtual |
A callback function is called when probe is attached
A callback function is called when probe is detached
Reimplemented from vtkPlusUsDevice.
Definition at line 694 of file vtkPlusCapistranoVideoSource.cxx.
|
overridevirtual |
Read configuration from xml data
Reimplemented from vtkPlusUsDevice.
Definition at line 720 of file vtkPlusCapistranoVideoSource.cxx.
|
static |
PlusStatus vtkPlusCapistranoVideoSource::SetAverageMode | ( | bool | averagemode | ) |
Definition at line 1727 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetBidirectionalMode | ( | bool | mode | ) |
Definition at line 1557 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetBModeViewOption | ( | unsigned int | bmodeviewoption | ) |
Definition at line 1734 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetCineBuffers | ( | int | cinebuffer | ) |
Definition at line 1584 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetContrast | ( | double | value | ) |
Definition at line 1753 of file vtkPlusCapistranoVideoSource.cxx.
|
virtual |
|
virtual |
Set Current Pixel Spacing values Of US Image (mm)
PlusStatus vtkPlusCapistranoVideoSource::SetDepthMm | ( | float | depthMm | ) |
Definition at line 1856 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetDepthMmDevice | ( | float | depthMm | ) |
Definition at line 1832 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetDerivativeCompensation | ( | unsigned char | derivativeCompensation | ) |
Definition at line 1681 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetDisplayZoomDevice | ( | double | zoom | ) |
Definition at line 1765 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetGainPercent | ( | double | gainPercent[3] | ) |
Definition at line 1794 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetGainPercentDevice | ( | double | gainPercent[3] | ) |
Definition at line 1801 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetImageSize | ( | const FrameSizeType & | imageSize | ) |
Definition at line 1741 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetIntensity | ( | double | value | ) |
Definition at line 1747 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetInterpolate | ( | bool | interpolate | ) |
Definition at line 1720 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetJitterCompensation | ( | unsigned char | jitterComp | ) |
Definition at line 1620 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetLutCenter | ( | double | lutcenter | ) |
Definition at line 1780 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetLutWindow | ( | double | lutwindow | ) |
Definition at line 1787 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetMISMode | ( | bool | mode | ) |
Set MIS Mode on/off. When MIS mode is turned on, the bidirectional mode for imaging is automatically set. One should not return to unidirectional mode while MIS mode is on. When turning off MIS mode, the system is set back to unidirectional mode, automatically, again. Only implemented with Capistrano SDK 2019.2 and newer.
Definition at line 1509 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetMISPulsePeriod | ( | unsigned int | val | ) |
Set the pulse period used for the MIS mode. The number written into the register will determine the number of 240 MHz clock periods, plus one. That is, if 0 is written, that corresponds to 1, 240 MHz clock (or about 4.2 ns). A value of 50 would be 51 clocks (or 51*4.2ns = 214.2 ns). The maximum value written can be 126 (corresponding to 127 clocks which is 533.4 ns). Only implemented with Capistrano SDK 2019.2 and newer.
Definition at line 1534 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetOverscan | ( | int | state | ) |
Definition at line 1669 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetPositionScale | ( | unsigned char | scale | ) |
Definition at line 1632 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetPulseFrequency | ( | float | pf | ) |
Definition at line 1598 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetPulseVoltage | ( | float | pv | ) |
Definition at line 1693 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetSampleFrequency | ( | float | sf | ) |
Definition at line 1591 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetScanDepth | ( | float | sd | ) |
Definition at line 1712 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetServoGain | ( | unsigned char | servoGain | ) |
Definition at line 1657 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetSoundVelocity | ( | float | ss | ) |
Definition at line 1706 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetSweepAngle | ( | float | sweepAngle | ) |
Definition at line 1645 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1502 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 993 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetWobbleRate | ( | unsigned char | wobbleRate | ) |
Definition at line 1608 of file vtkPlusCapistranoVideoSource.cxx.
PlusStatus vtkPlusCapistranoVideoSource::SetZoomFactor | ( | double | zoomfactor | ) |
Definition at line 1759 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1962 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1988 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1918 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1863 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 1873 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Wait US Data from US device
Definition at line 1436 of file vtkPlusCapistranoVideoSource.cxx.
|
overridevirtual |
Write configuration to xml data
Reimplemented from vtkPlusUsDevice.
Definition at line 765 of file vtkPlusCapistranoVideoSource.cxx.
|
protected |
Definition at line 329 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 322 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 34 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 33 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 45 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 37 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 39 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 41 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 51 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 47 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 49 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 43 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 31 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 35 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 32 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 44 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 36 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 38 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 40 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 50 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 46 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 48 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 42 of file vtkPlusCapistranoVideoSource.h.
|
static |
Definition at line 30 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 325 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 324 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 330 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 334 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 315 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 319 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 320 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 314 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 311 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 328 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 321 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 331 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 332 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 317 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 327 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 323 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 318 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 326 of file vtkPlusCapistranoVideoSource.h.
|
protected |
Definition at line 316 of file vtkPlusCapistranoVideoSource.h.