7 #ifndef __vtkPlusUpdateTransformCommand_h 8 #define __vtkPlusUpdateTransformCommand_h 10 #include "vtkPlusServerExport.h" 26 virtual void PrintSelf(ostream& os, vtkIndent indent);
42 virtual std::string
GetDescription(
const std::string& commandName);
47 vtkGetObjectMacro(TransformValue, vtkMatrix4x4);
48 vtkSetObjectMacro(TransformValue, vtkMatrix4x4);
49 void SetTransformValue(
double* matrixElements);
54 vtkGetMacro(TransformError,
double);
57 vtkGetMacro(TransformPersistent,
bool);
60 void SetNameToUpdateTransform();
68 std::string TransformName;
69 vtkMatrix4x4* TransformValue;
71 bool TransformPersistent;
73 double TransformError;
75 std::string TransformDate;
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual std::string GetDescription(const std::string &commandName)=0
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *aConfig)
virtual PlusStatus Execute()=0
This is an abstract superclass for commands in the OpenIGTLink network interface for Plus.
vtkGetStdStringMacro(Name)
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *aConfig)
vtkSetStdStringMacro(Name)
virtual void GetCommandNames(std::list< std::string > &cmdNames)=0