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

IO/vtkStructuredGridWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredGridWriter.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 __vtkStructuredGridWriter_h
00029 #define __vtkStructuredGridWriter_h
00030 
00031 #include "vtkDataWriter.h"
00032 
00033 class vtkStructuredGrid;
00034 
00035 class VTK_IO_EXPORT vtkStructuredGridWriter : public vtkDataWriter
00036 {
00037 public:
00038   static vtkStructuredGridWriter *New();
00039   vtkTypeRevisionMacro(vtkStructuredGridWriter,vtkDataWriter);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00044   void SetInput(vtkStructuredGrid *input);
00045   vtkStructuredGrid *GetInput();
00047                                
00048 protected:
00049   vtkStructuredGridWriter() {};
00050   ~vtkStructuredGridWriter() {};
00051 
00052   void WriteData();
00053   int WriteBlanking(ostream *fp, vtkStructuredGrid *ds);
00054 
00055 private:
00056   vtkStructuredGridWriter(const vtkStructuredGridWriter&);  // Not implemented.
00057   void operator=(const vtkStructuredGridWriter&);  // Not implemented.
00058 };
00059 
00060 #endif
00061 
00062