00001 #ifndef _VTKMRMLSIGNCATHETERNODE_H 00002 #define _VTKMRMLSIGNCATHETERNODE_H 00003 00004 #include <vtkMRMLNode.h> 00005 00006 #include <string> 00007 00008 00009 class vtkMRMLSIGNCatheterNode : public vtkMRMLNode 00010 { 00011 public: 00012 static vtkMRMLSIGNCatheterNode *New(); 00013 vtkTypeMacro(vtkMRMLSIGNCatheterNode,vtkMRMLNode); 00014 virtual vtkMRMLNode* CreateNodeInstance(); 00015 00016 virtual const char* GetNodeTagName() {return "SIGNCatheter";}; 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 GetCatheter(); 00023 std::string GetViewer(); 00024 void SetCatheter(std::string c); 00025 void SetViewer(std::string v); 00026 00027 protected: 00028 vtkMRMLSIGNCatheterNode(); 00029 ~vtkMRMLSIGNCatheterNode(); 00030 00031 private: 00032 std::string catheter; 00033 std::string viewer; 00034 }; 00035 00036 #endif
1.4.6