Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkXMLPImageDataWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkXMLPImageDataWriter.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkXMLPImageDataWriter_h
00029 #define __vtkXMLPImageDataWriter_h
00030 
00031 #include "vtkXMLPStructuredDataWriter.h"
00032 
00033 class vtkImageData;
00034 
00035 class VTK_IO_EXPORT vtkXMLPImageDataWriter : public vtkXMLPStructuredDataWriter
00036 {
00037 public:
00038   static vtkXMLPImageDataWriter* New();
00039   vtkTypeRevisionMacro(vtkXMLPImageDataWriter,vtkXMLPStructuredDataWriter);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00042   //BTX
00044 
00045   vtkImageData* GetInput();
00046   //ETX
00048   
00050   const char* GetDefaultFileExtension();
00051   
00052 protected:
00053   vtkXMLPImageDataWriter();
00054   ~vtkXMLPImageDataWriter();
00055   
00056   const char* GetDataSetName();
00057   void WritePrimaryElementAttributes(ostream &os, vtkIndent indent);
00058   vtkXMLStructuredDataWriter* CreateStructuredPieceWriter(); 
00059   
00060   // see algorithm for more info
00061   virtual int FillInputPortInformation(int port, vtkInformation* info);
00062 
00063 private:
00064   vtkXMLPImageDataWriter(const vtkXMLPImageDataWriter&);  // Not implemented.
00065   void operator=(const vtkXMLPImageDataWriter&);  // Not implemented.
00066 };
00067 
00068 #endif

Generated on Mon Jan 21 23:07:32 2008 for VTK by  doxygen 1.4.3-20050530