Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00040 #ifndef __vtkImageBlockWriter_h
    00041 #define __vtkImageBlockWriter_h
    00042
    00043 #include "vtkProcessObject.h"
    00044
    00045 class vtkImageData;
    00046
    00047 class VTK_PARALLEL_EXPORT vtkImageBlockWriter : public vtkProcessObject
    00048 {
    00049 public:
    00050   static vtkImageBlockWriter *New();
    00051   vtkTypeRevisionMacro(vtkImageBlockWriter,vtkProcessObject);
    00052   void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055
    00057   vtkSetVector3Macro(Divisions, int);
    00058   vtkGetVector3Macro(Divisions, int);
    00060
    00062
    00064   vtkSetMacro(Overlap, int);
    00065   vtkGetMacro(Overlap, int);
    00067
    00069
    00070   void SetInput(vtkImageData *input);
    00071   vtkImageData *GetInput();
    00073
    00075
    00076   vtkSetStringMacro(FilePattern);
    00077   vtkGetStringMacro(FilePattern);
    00079
    00081   void Write();
    00082
    00083
    00084 protected:
    00085   vtkImageBlockWriter();
    00086   ~vtkImageBlockWriter();
    00087
    00088   char *FilePattern;
    00089
    00090   int Divisions[3];
    00091   int Overlap;
    00092 private:
    00093   vtkImageBlockWriter(const vtkImageBlockWriter&);  // Not implemented.
    00094   void operator=(const vtkImageBlockWriter&);  // Not implemented.
    00095 };
    00096
    00097
    00098 #endif
    00099
    00100