vtkMRMLModelTextureNode.h

Go to the documentation of this file.
00001 #ifndef _VTKMRMLMODELTEXTURENODE_H
00002 #define _VTKMRMLMODELTEXTURENODE_H
00003 
00004 #include <vtkMRMLNode.h>
00005 
00006 #include <string>
00007 
00008 class vtkImageData;
00009 class vtkTexture;
00010 
00011 class vtkMRMLModelTextureNode : public vtkMRMLNode
00012 {
00013 public:
00014   static vtkMRMLModelTextureNode *New();
00015   vtkTypeMacro(vtkMRMLModelTextureNode,vtkMRMLNode);
00016   virtual vtkMRMLNode* CreateNodeInstance();
00017 
00018   virtual const char* GetNodeTagName() {return "ModelTexture";};
00019 
00020   virtual void ReadXMLAttributes(const char** atts);
00021   virtual void WriteXML(std::ostream& of, int indent);
00022   void Copy(vtkMRMLNode *anode);
00023 
00024   std::string GetModelID();
00025 
00026   vtkTexture *GetTexture();
00027   void SetTexture(std::string t);
00028 
00029 protected:
00030   vtkMRMLModelTextureNode();
00031   ~vtkMRMLModelTextureNode();
00032 
00033 private:
00034   std::string modelID;
00035   vtkTexture *texture;
00036 };
00037 
00038 #endif

Generated on Mon Feb 26 12:11:16 2007 for TheSIGN by  doxygen 1.4.6