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

vtkImageBlockWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageBlockWriter.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 =========================================================================*/
00036 #ifndef __vtkImageBlockWriter_h
00037 #define __vtkImageBlockWriter_h
00038 
00039 #include "vtkProcessObject.h"
00040 
00041 class vtkImageData;
00042 
00043 class VTK_PARALLEL_EXPORT vtkImageBlockWriter : public vtkProcessObject
00044 {
00045 public:
00046   static vtkImageBlockWriter *New();
00047   vtkTypeRevisionMacro(vtkImageBlockWriter,vtkProcessObject);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00053   vtkSetVector3Macro(Divisions, int);
00054   vtkGetVector3Macro(Divisions, int);
00056 
00058 
00060   vtkSetMacro(Overlap, int);
00061   vtkGetMacro(Overlap, int);
00063 
00065 
00066   void SetInput(vtkImageData *input);
00067   vtkImageData *GetInput();
00069   
00071 
00072   vtkSetStringMacro(FilePattern);
00073   vtkGetStringMacro(FilePattern);
00075 
00077   void Write();
00078 
00079   
00080 protected:
00081   vtkImageBlockWriter();
00082   ~vtkImageBlockWriter();
00083   
00084   char *FilePattern;
00085 
00086   int Divisions[3];
00087   int Overlap;
00088 private:
00089   vtkImageBlockWriter(const vtkImageBlockWriter&);  // Not implemented.
00090   void operator=(const vtkImageBlockWriter&);  // Not implemented.
00091 };
00092 
00093 
00094 #endif
00095 
00096