Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 =========================================================================*/
00038 #ifndef __vtkDataSetWriter_h
00039 #define __vtkDataSetWriter_h
00040 
00041 #include "vtkDataWriter.h"
00042 
00043 class VTK_IO_EXPORT vtkDataSetWriter : public vtkDataWriter
00044 {
00045 public:
00046   static vtkDataSetWriter *New();
00047   vtkTypeRevisionMacro(vtkDataSetWriter,vtkDataWriter);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   void SetInput(vtkDataSet *input);
00053   vtkDataSet *GetInput();
00055 
00056 protected:
00057   vtkDataSetWriter() {};
00058   ~vtkDataSetWriter() {};
00059 
00060   void WriteData();
00061 
00062 private:
00063   vtkDataSetWriter(const vtkDataSetWriter&);  // Not implemented.
00064   void operator=(const vtkDataSetWriter&);  // Not implemented.
00065 };
00066 
00067 #endif
00068 
00069