PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusGetTransformCommand Class Reference

This command retrieves the value of a transformation in the transform repository. More...

#include <src/PlusServer/Commands/vtkPlusGetTransformCommand.h>

Inheritance diagram for vtkPlusGetTransformCommand:
Inheritance graph
[legend]
Collaboration diagram for vtkPlusGetTransformCommand:
Collaboration graph
[legend]

Public Types

typedef vtkPlusCommand Superclass
 

Public Member Functions

virtual vtkPlusCommandClone ()
 
virtual PlusStatus Execute ()
 
virtual const char * GetClassName ()
 
virtual void GetCommandNames (std::list< std::string > &cmdNames)
 
virtual std::string GetDescription (const std::string &commandName)
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual PlusStatus ReadConfiguration (vtkXMLDataElement *aConfig)
 
void SetNameToGetTransform ()
 
 vtkGetStdStringMacro (TransformName)
 
 vtkSetStdStringMacro (TransformName)
 
virtual PlusStatus WriteConfiguration (vtkXMLDataElement *aConfig)
 
- Public Member Functions inherited from vtkPlusCommand
virtual int GetClientId ()
 
virtual uint32_t GetId ()
 
virtual bool GetRespondWithCommandMessage ()
 
void PopCommandResponses (PlusCommandResponseList &responses)
 
virtual void SetClientId (int)
 
virtual void SetCommandProcessor (vtkPlusCommandProcessor *processor)
 
virtual void SetId (uint32_t)
 
void SetMetaData (const igtl::MessageBase::MetaDataMap &metaData)
 
virtual void SetRespondWithCommandMessage (bool)
 
 vtkGetStdStringMacro (Name)
 
 vtkGetStdStringMacro (DeviceName)
 
 vtkSetStdStringMacro (Name)
 
 vtkSetStdStringMacro (DeviceName)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusGetTransformCommandNew ()
 
static vtkPlusGetTransformCommandSafeDownCast (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

 vtkPlusGetTransformCommand ()
 
virtual ~vtkPlusGetTransformCommand ()
 
- Protected Member Functions inherited from vtkPlusCommand
virtual vtkPlusDataCollectorGetDataCollector ()
 
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 TransformName
 
- Protected Attributes inherited from vtkPlusCommand
int ClientId
 
vtkPlusCommandProcessorCommandProcessor
 
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"
 

Detailed Description

This command retrieves the value of a transformation in the transform repository.

Definition at line 20 of file vtkPlusGetTransformCommand.h.

Member Typedef Documentation

◆ Superclass

Definition at line 24 of file vtkPlusGetTransformCommand.h.

Constructor & Destructor Documentation

◆ vtkPlusGetTransformCommand()

vtkPlusGetTransformCommand::vtkPlusGetTransformCommand ( )
protected

Definition at line 22 of file vtkPlusGetTransformCommand.cxx.

◆ ~vtkPlusGetTransformCommand()

vtkPlusGetTransformCommand::~vtkPlusGetTransformCommand ( )
protectedvirtual

Definition at line 27 of file vtkPlusGetTransformCommand.cxx.

Member Function Documentation

◆ Clone()

virtual vtkPlusCommand* vtkPlusGetTransformCommand::Clone ( )
inlinevirtual

Implements vtkPlusCommand.

Definition at line 26 of file vtkPlusGetTransformCommand.h.

◆ Execute()

PlusStatus vtkPlusGetTransformCommand::Execute ( )
virtual

Executes the command

Implements vtkPlusCommand.

Definition at line 87 of file vtkPlusGetTransformCommand.cxx.

◆ GetClassName()

virtual const char* vtkPlusGetTransformCommand::GetClassName ( )
virtual

◆ GetCommandNames()

void vtkPlusGetTransformCommand::GetCommandNames ( std::list< std::string > &  cmdNames)
virtual

Get all the command names that this class can execute

Implements vtkPlusCommand.

Definition at line 38 of file vtkPlusGetTransformCommand.cxx.

◆ GetDescription()

std::string vtkPlusGetTransformCommand::GetDescription ( const std::string &  commandName)
virtual

Gets the description for the specified command name.

Implements vtkPlusCommand.

Definition at line 45 of file vtkPlusGetTransformCommand.cxx.

◆ IsA()

virtual int vtkPlusGetTransformCommand::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkPlusGetTransformCommand::IsTypeOf ( const char *  type)
static

◆ New()

static vtkPlusGetTransformCommand* vtkPlusGetTransformCommand::New ( )
static

◆ PrintSelf()

void vtkPlusGetTransformCommand::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkPlusCommand.

Definition at line 57 of file vtkPlusGetTransformCommand.cxx.

◆ ReadConfiguration()

PlusStatus vtkPlusGetTransformCommand::ReadConfiguration ( vtkXMLDataElement *  aConfig)
virtual

Read command parameters from XML

Reimplemented from vtkPlusCommand.

Definition at line 63 of file vtkPlusGetTransformCommand.cxx.

◆ SafeDownCast()

static vtkPlusGetTransformCommand* vtkPlusGetTransformCommand::SafeDownCast ( vtkObject *  o)
static

◆ SetNameToGetTransform()

void vtkPlusGetTransformCommand::SetNameToGetTransform ( )

Definition at line 32 of file vtkPlusGetTransformCommand.cxx.

◆ vtkGetStdStringMacro()

vtkPlusGetTransformCommand::vtkGetStdStringMacro ( TransformName  )

◆ vtkSetStdStringMacro()

vtkPlusGetTransformCommand::vtkSetStdStringMacro ( TransformName  )

◆ WriteConfiguration()

PlusStatus vtkPlusGetTransformCommand::WriteConfiguration ( vtkXMLDataElement *  aConfig)
virtual

Write command parameters to XML

Reimplemented from vtkPlusCommand.

Definition at line 74 of file vtkPlusGetTransformCommand.cxx.

Member Data Documentation

◆ TransformName

std::string vtkPlusGetTransformCommand::TransformName
protected

Definition at line 53 of file vtkPlusGetTransformCommand.h.


The documentation for this class was generated from the following files: