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