vtkMRMLEMSAtlasNode.h

Go to the documentation of this file.
00001 #ifndef __vtkMRMLEMSAtlasNode_h
00002 #define __vtkMRMLEMSAtlasNode_h
00003 
00004 #include "vtkMRML.h"
00005 #include "vtkMRMLNode.h"
00006 #include "vtkEMSegment.h"
00007 #include "vtkMRMLEMSVolumeCollectionNode.h"
00008 
00009 class VTK_EMSEGMENT_EXPORT vtkMRMLEMSAtlasNode : 
00010   public vtkMRMLEMSVolumeCollectionNode
00011 {
00012 public:
00013   static vtkMRMLEMSAtlasNode *New();
00014   vtkTypeMacro(vtkMRMLEMSAtlasNode,vtkMRMLEMSVolumeCollectionNode);
00015   void PrintSelf(ostream& os, vtkIndent indent);
00016 
00017   virtual vtkMRMLNode* CreateNodeInstance();
00018 
00019   // Description:
00020   // Set node attributes
00021   virtual void ReadXMLAttributes(const char** atts);
00022 
00023   // Description:
00024   // Write this node's information to a MRML file in XML format.
00025   virtual void WriteXML(ostream& of, int indent);
00026 
00027   // Description:
00028   // Copy the node's attributes to this object
00029   virtual void Copy(vtkMRMLNode *node);
00030 
00031   // Description:
00032   // Get node XML tag name (like Volume, Model)
00033   virtual const char* GetNodeTagName() {return "EMSAtlas";}
00034 
00035   vtkGetMacro(NumberOfTrainingSamples, int);
00036   vtkSetMacro(NumberOfTrainingSamples, int);
00037 
00038 protected:
00039   vtkMRMLEMSAtlasNode();
00040   ~vtkMRMLEMSAtlasNode();
00041   vtkMRMLEMSAtlasNode(const vtkMRMLEMSAtlasNode&);
00042   void operator=(const vtkMRMLEMSAtlasNode&);
00043 
00044 private:
00045   int NumberOfTrainingSamples;
00046 };
00047 
00048 #endif

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1