Parallel/vtkImageBlockWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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&);
00079 void operator=(const vtkImageBlockWriter&);
00080 };
00081
00082
00083 #endif
00084
00085