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

vtkDataSetWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetWriter.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 =========================================================================*/
00026 #ifndef __vtkDataSetWriter_h
00027 #define __vtkDataSetWriter_h
00028 
00029 #include "vtkDataWriter.h"
00030 
00031 class VTK_IO_EXPORT vtkDataSetWriter : public vtkDataWriter
00032 {
00033 public:
00034   static vtkDataSetWriter *New();
00035   vtkTypeRevisionMacro(vtkDataSetWriter,vtkDataWriter);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   vtkDataSet* GetInput();
00041   vtkDataSet* GetInput(int port);
00043 
00044 protected:
00045   vtkDataSetWriter() {};
00046   ~vtkDataSetWriter() {};
00047 
00048   void WriteData();
00049 
00050   virtual int FillInputPortInformation(int port, vtkInformation *info);
00051 
00052 private:
00053   vtkDataSetWriter(const vtkDataSetWriter&);  // Not implemented.
00054   void operator=(const vtkDataSetWriter&);  // Not implemented.
00055 };
00056 
00057 #endif
00058 
00059 

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