Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00032 #ifndef __vtkStructuredGridWriter_h
00033 #define __vtkStructuredGridWriter_h
00034 
00035 #include "vtkDataWriter.h"
00036 
00037 class vtkStructuredGrid;
00038 
00039 class VTK_IO_EXPORT vtkStructuredGridWriter : public vtkDataWriter
00040 {
00041 public:
00042   static vtkStructuredGridWriter *New();
00043   vtkTypeRevisionMacro(vtkStructuredGridWriter,vtkDataWriter);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00048   void SetInput(vtkStructuredGrid *input);
00049   vtkStructuredGrid *GetInput();
00051                                
00052 protected:
00053   vtkStructuredGridWriter() {};
00054   ~vtkStructuredGridWriter() {};
00055 
00056   void WriteData();
00057   void WriteBlanking(ostream *fp, vtkStructuredGrid *ds);
00058 
00059 private:
00060   vtkStructuredGridWriter(const vtkStructuredGridWriter&);  // Not implemented.
00061   void operator=(const vtkStructuredGridWriter&);  // Not implemented.
00062 };
00063 
00064 #endif
00065 
00066