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

vtkImageCheckerboard.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageCheckerboard.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 =========================================================================*/
00039 #ifndef __vtkImageCheckerboard_h
00040 #define __vtkImageCheckerboard_h
00041 
00042 #include "vtkImageTwoInputFilter.h"
00043 
00044 class VTK_IMAGING_EXPORT vtkImageCheckerboard : public vtkImageTwoInputFilter
00045 {
00046 public:
00047   static vtkImageCheckerboard *New();
00048   vtkTypeRevisionMacro(vtkImageCheckerboard,vtkImageTwoInputFilter);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00053   vtkSetVector3Macro(NumberOfDivisions,int);
00054   vtkGetVectorMacro(NumberOfDivisions,int,3);
00056 
00057 protected:
00058   vtkImageCheckerboard();
00059   ~vtkImageCheckerboard() {};
00060 
00061   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
00062                        int extent[6], int id);
00063   int NumberOfDivisions[3];
00064 private:
00065   vtkImageCheckerboard(const vtkImageCheckerboard&);  // Not implemented.
00066   void operator=(const vtkImageCheckerboard&);  // Not implemented.
00067 };
00068 
00069 #endif
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 
00080 
00081 
00082