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

Parallel/vtkImageBlockWriter.h

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