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

# Common/vtkImageProgressIterator.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageProgressIterator.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 =========================================================================*/
    00046 #ifndef __vtkImageProgressIterator_h
    00047 #define __vtkImageProgressIterator_h
    00048
    00049 #include "vtkImageIterator.h"
    00050 class vtkProcessObject;
    00051
    00052 template<class DType>
    00053 class vtkImageProgressIterator : public vtkImageIterator<DType>
    00054 {
    00055 public:
    00056
    00058
    00061   vtkImageProgressIterator(vtkImageData *imgd, int *ext,
    00062                            vtkProcessObject *po, int id);
    00064
    00067   void NextSpan();
    00068
    00069 protected:
    00070   vtkProcessObject *ProcessObject;
    00071   unsigned long     Count;
    00072   unsigned long     Count2;
    00073   unsigned long     Target;
    00074   int               ID;
    00075 };
    00076
    00077 #ifdef VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION
    00078 #include "vtkImageProgressIterator.txx"
    00079 #endif
    00080
    00081 #endif