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

# Imaging/vtkImageCheckerboard.h

Go to the documentation of this file.

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