PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
This command reconstructs a volume from an image sequence and saves it to disk or sends it to the client in an IMAGE message. More...
#include <src/PlusServer/Commands/vtkPlusStealthLinkCommand.h>
Public Types | |
typedef vtkPlusCommand | Superclass |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlusStealthLinkCommand * | New () |
static vtkPlusStealthLinkCommand * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPlusCommand | |
static PlusStatus | GenerateCommandDeviceName (const std::string &uid, std::string &outDeviceName) |
static std::string | GenerateReplyDeviceName (uint32_t uid) |
static std::string | GetPrefixFromCommandDeviceName (const std::string &deviceName) |
static std::string | GetUidFromCommandDeviceName (const std::string &deviceName) |
static bool | IsCommandDeviceName (const std::string &deviceName) |
static bool | IsReplyDeviceName (const std::string &deviceName, const std::string &uid=std::string("")) |
Protected Member Functions | |
vtkPlusStealthLinkTracker * | GetStealthLinkDevice () |
PlusStatus | ProcessImageReply (const std::string &imageId, vtkImageData *volumeToSend, vtkMatrix4x4 *imageToReferenceOrientationMatrixWithSpacing, std::string &resultMessage) |
vtkPlusStealthLinkCommand () | |
virtual | ~vtkPlusStealthLinkCommand () |
Protected Member Functions inherited from vtkPlusCommand | |
virtual vtkPlusDataCollector * | GetDataCollector () |
virtual vtkIGSIOTransformRepository * | GetTransformRepository () |
void | QueueCommandResponse (PlusStatus status, const std::string &message, const std::string &error="", const igtl::MessageBase::MetaDataMap *metaData=nullptr) |
PlusStatus | ValidateName () |
vtkPlusCommand () | |
virtual | ~vtkPlusCommand () |
Protected Attributes | |
std::string | DicomImagesOutputDirectory |
bool | KeepReceivedDicomFiles |
std::string | StealthLinkDeviceId |
std::string | VolumeEmbeddedTransformToFrame |
Protected Attributes inherited from vtkPlusCommand | |
int | ClientId |
vtkPlusCommandProcessor * | CommandProcessor |
PlusCommandResponseList | CommandResponseQueue |
std::string | DeviceName |
uint32_t | Id |
igtl::MessageBase::MetaDataMap | MetaData |
std::string | Name |
bool | RespondWithCommandMessage |
Additional Inherited Members | |
Static Public Attributes inherited from vtkPlusCommand | |
static const std::string | DEVICE_NAME_COMMAND = "CMD" |
static const std::string | DEVICE_NAME_REPLY = "ACK" |
This command reconstructs a volume from an image sequence and saves it to disk or sends it to the client in an IMAGE message.
Definition at line 23 of file vtkPlusStealthLinkCommand.h.
Definition at line 27 of file vtkPlusStealthLinkCommand.h.
|
protected |
Definition at line 29 of file vtkPlusStealthLinkCommand.cxx.
|
protectedvirtual |
Definition at line 35 of file vtkPlusStealthLinkCommand.cxx.
|
inlinevirtual |
Implements vtkPlusCommand.
Definition at line 29 of file vtkPlusStealthLinkCommand.h.
|
virtual |
Executes the command
Implements vtkPlusCommand.
Definition at line 121 of file vtkPlusStealthLinkCommand.cxx.
|
virtual |
|
virtual |
Get all the command names that this class can execute
Implements vtkPlusCommand.
Definition at line 46 of file vtkPlusStealthLinkCommand.cxx.
|
virtual |
Gets the description for the specified command name.
Implements vtkPlusCommand.
Definition at line 53 of file vtkPlusStealthLinkCommand.cxx.
|
virtual |
If enabled then the DICOM files received through StealthLink will be preserved in the DicomImagesOutputDirectory. If disabled then the DICOM files are deleted after the volume is sent through OpenIGTLink.
|
protected |
Definition at line 183 of file vtkPlusStealthLinkCommand.cxx.
|
virtual |
|
static |
|
static |
|
virtual |
Reimplemented from vtkPlusCommand.
Definition at line 40 of file vtkPlusStealthLinkCommand.cxx.
|
protected |
Saves image to disk (if requested) and prepare sending image as a response (if requested)
Definition at line 167 of file vtkPlusStealthLinkCommand.cxx.
|
virtual |
Read command parameters from XML
Reimplemented from vtkPlusCommand.
Definition at line 71 of file vtkPlusStealthLinkCommand.cxx.
|
static |
|
virtual |
void vtkPlusStealthLinkCommand::SetNameToGetExam | ( | ) |
Set the command to get the exam data (image and Ras to VolumeEmbeddedTransformToFrame coordinate system transform). In the future there may be other command names.
Definition at line 65 of file vtkPlusStealthLinkCommand.cxx.
vtkPlusStealthLinkCommand::vtkGetStdStringMacro | ( | StealthLinkDeviceId | ) |
Id of the stealthlink device
vtkPlusStealthLinkCommand::vtkGetStdStringMacro | ( | DicomImagesOutputDirectory | ) |
The folder in which the dicom images will be stored. The default value is: PlusOutputDirectory\StealthLinkDicomOutput
vtkPlusStealthLinkCommand::vtkGetStdStringMacro | ( | VolumeEmbeddedTransformToFrame | ) |
The frame reference in which the image will be represented. Example if this is RAS then image will be defined in RAS coordinate system, if Reference, the image will be in reference coordinate system
vtkPlusStealthLinkCommand::vtkSetStdStringMacro | ( | StealthLinkDeviceId | ) |
vtkPlusStealthLinkCommand::vtkSetStdStringMacro | ( | DicomImagesOutputDirectory | ) |
vtkPlusStealthLinkCommand::vtkSetStdStringMacro | ( | VolumeEmbeddedTransformToFrame | ) |
|
virtual |
Write command parameters to XML
Reimplemented from vtkPlusCommand.
Definition at line 107 of file vtkPlusStealthLinkCommand.cxx.
|
protected |
Definition at line 85 of file vtkPlusStealthLinkCommand.h.
|
protected |
Definition at line 87 of file vtkPlusStealthLinkCommand.h.
|
protected |
Definition at line 84 of file vtkPlusStealthLinkCommand.h.
|
protected |
Definition at line 86 of file vtkPlusStealthLinkCommand.h.