VTK
dox/IO/Legacy/vtkStructuredPointsWriter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkStructuredPointsWriter.h
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 =========================================================================*/
00024 #ifndef __vtkStructuredPointsWriter_h
00025 #define __vtkStructuredPointsWriter_h
00026 
00027 #include "vtkIOLegacyModule.h" // For export macro
00028 #include "vtkDataWriter.h"
00029 
00030 class vtkImageData;
00031 
00032 class VTKIOLEGACY_EXPORT vtkStructuredPointsWriter : public vtkDataWriter
00033 {
00034 public:
00035   static vtkStructuredPointsWriter *New();
00036   vtkTypeMacro(vtkStructuredPointsWriter,vtkDataWriter);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00041   vtkImageData* GetInput();
00042   vtkImageData* GetInput(int port);
00044 
00045 protected:
00046   vtkStructuredPointsWriter() {}
00047   ~vtkStructuredPointsWriter() {}
00048 
00049   void WriteData();
00050 
00051   virtual int FillInputPortInformation(int port, vtkInformation *info);
00052 
00053 private:
00054   vtkStructuredPointsWriter(const vtkStructuredPointsWriter&);  // Not implemented.
00055   void operator=(const vtkStructuredPointsWriter&);  // Not implemented.
00056 };
00057 
00058 #endif