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 
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 =========================================================================*/
00025 #ifndef __vtkImageBlockWriter_h
00026 #define __vtkImageBlockWriter_h
00027 
00028 #include "vtkProcessObject.h"
00029 
00030 class vtkImageData;
00031 
00032 class VTK_PARALLEL_EXPORT vtkImageBlockWriter : public vtkProcessObject
00033 {
00034 public:
00035   static vtkImageBlockWriter *New();
00036   vtkTypeRevisionMacro(vtkImageBlockWriter,vtkProcessObject);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00042   vtkSetVector3Macro(Divisions, int);
00043   vtkGetVector3Macro(Divisions, int);
00045 
00047 
00049   vtkSetMacro(Overlap, int);
00050   vtkGetMacro(Overlap, int);
00052 
00054 
00055   void SetInput(vtkImageData *input);
00056   vtkImageData *GetInput();
00058   
00060 
00061   vtkSetStringMacro(FilePattern);
00062   vtkGetStringMacro(FilePattern);
00064 
00066   void Write();
00067 
00068   
00069 protected:
00070   vtkImageBlockWriter();
00071   ~vtkImageBlockWriter();
00072   
00073   char *FilePattern;
00074 
00075   int Divisions[3];
00076   int Overlap;
00077 private:
00078   vtkImageBlockWriter(const vtkImageBlockWriter&);  // Not implemented.
00079   void operator=(const vtkImageBlockWriter&);  // Not implemented.
00080 };
00081 
00082 
00083 #endif
00084 
00085