vtkFetchMIWriter.h

Go to the documentation of this file.
00001 #ifndef __vtkFetchMIWriter_h
00002 #define __vtkFetchMIWriter_h
00003 
00004 // MRML includes
00005 #include "vtkMRMLScene.h"
00006 #include "vtkMRMLStorableNode.h"
00007 #include "vtkTagTable.h"
00008 
00009 // VTK includes
00010 #include "vtkObject.h"
00011 
00012 #include "vtkSlicerFetchMIModuleLogicExport.h"
00013 
00014 class VTK_SLICER_FETCHMI_MODULE_LOGIC_EXPORT vtkFetchMIWriter : public vtkObject
00015 {
00016   
00017 public:
00018   static vtkFetchMIWriter* New();
00019   vtkTypeRevisionMacro(vtkFetchMIWriter, vtkObject);
00020   void PrintSelf(ostream& os, vtkIndent indent);
00021 
00022   // Description:
00023   // Get/Set on the name of the filename containing the Document Declaration
00024   vtkGetStringMacro ( DocumentDeclarationFilename);
00025   vtkSetStringMacro ( DocumentDeclarationFilename);
00026 
00027   // Description:
00028   // Get/Set on the name of a filename containing header information
00029   vtkGetStringMacro ( HeaderFilename );
00030   vtkSetStringMacro ( HeaderFilename );
00031 
00032   // Description:
00033   // Get/Set on the name of a filename containing formatted metadata
00034   vtkGetStringMacro ( MetadataFilename );
00035   vtkSetStringMacro ( MetadataFilename );
00036 
00037   // Description:
00038   // Get/Set on the name of this writer.
00039   vtkGetStringMacro ( Name );
00040   vtkSetStringMacro ( Name );
00041 
00042   // Description:
00043   // Method that writes the document declaration for a resource post.
00044   // Derived classes must implement this if they need to use it.
00045   virtual void WriteDocumentDeclaration() { };
00046 
00047   // Description:
00048   // Method that writes the XML header document 
00049   // Derived classes must implement this if they need to use it.
00050   virtual void WriteXMLHeader ( const char *vtkNotUsed(dataFilename)) { };
00051 
00052   // Description:
00053   // Method that writes the metadata for a node
00054   // Derived classes must implement this if they need to use it..
00055   virtual void WriteMetadataForNode ( const char * vtkNotUsed(nodeID),
00056                                       vtkMRMLScene *vtkNotUsed(scene) ) {};
00057 
00058   // Description:
00059   // Method that writes the metadata for the scene.
00060   // Derived classes must implement this if they need to use it.
00061   virtual void WriteMetadataForScene ( vtkMRMLScene *vtkNotUsed(scene)) {};
00062     
00063  protected:
00064   vtkFetchMIWriter();
00065   virtual ~vtkFetchMIWriter();
00066   char *DocumentDeclarationFilename;
00067   char *HeaderFilename;
00068   char *MetadataFilename;
00069   char *Name;
00070 
00071   vtkFetchMIWriter(const vtkFetchMIWriter&); // Not implemented
00072   void operator=(const vtkFetchMIWriter&); // Not Implemented
00073 };
00074 
00075 #endif
00076 

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1