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

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 =========================================================================*/
00041 #ifndef __vtkStructuredGridWriter_h
00042 #define __vtkStructuredGridWriter_h
00043 
00044 #include "vtkDataWriter.h"
00045 
00046 class vtkStructuredGrid;
00047 
00048 class VTK_IO_EXPORT vtkStructuredGridWriter : public vtkDataWriter
00049 {
00050 public:
00051   static vtkStructuredGridWriter *New();
00052   vtkTypeRevisionMacro(vtkStructuredGridWriter,vtkDataWriter);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00057   void SetInput(vtkStructuredGrid *input);
00058   vtkStructuredGrid *GetInput();
00060                                
00061 protected:
00062   vtkStructuredGridWriter() {};
00063   ~vtkStructuredGridWriter() {};
00064 
00065   void WriteData();
00066   int WriteBlanking(ostream *fp, vtkStructuredGrid *ds);
00067 
00068 private:
00069   vtkStructuredGridWriter(const vtkStructuredGridWriter&);  // Not implemented.
00070   void operator=(const vtkStructuredGridWriter&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075