00001 #ifndef _VTKMRMLSIGNCALIBRATIONTRANSFORMNODE_H 00002 #define _VTKMRMLSIGNCALIBRATIONTRANSFORMNODE_H 00003 00004 #include <vtkMRMLNode.h> 00005 00006 #include <string> 00007 00008 00009 class vtkMRMLSIGNCalibrationTransformNode : public vtkMRMLNode 00010 { 00011 public: 00012 static vtkMRMLSIGNCalibrationTransformNode *New(); 00013 vtkTypeMacro(vtkMRMLSIGNCalibrationTransformNode,vtkMRMLNode); 00014 virtual vtkMRMLNode* CreateNodeInstance(); 00015 00016 virtual const char* GetNodeTagName() {return "SIGNCalibrationTransform";}; 00017 00018 virtual void ReadXMLAttributes(const char** atts); 00019 virtual void WriteXML(std::ostream& of, int indent); 00020 void Copy(vtkMRMLNode *anode); 00021 00022 std::string GetSource(); 00023 std::string GetTarget(); 00024 void SetSource(std::string s); 00025 void SetTarget(std::string t); 00026 00027 protected: 00028 vtkMRMLSIGNCalibrationTransformNode(); 00029 ~vtkMRMLSIGNCalibrationTransformNode(); 00030 00031 private: 00032 std::string source; 00033 std::string target; 00034 }; 00035 00036 #endif
1.4.6