Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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 =========================================================================*/
00032 #ifndef __vtkImageProgressIterator_h
00033 #define __vtkImageProgressIterator_h
00034 
00035 #include "vtkImageIterator.h"
00036 class vtkProcessObject;
00037 
00038 template<class DType>
00039 class vtkImageProgressIterator : public vtkImageIterator<DType> 
00040 {
00041 public:        
00042 
00044 
00047   vtkImageProgressIterator(vtkImageData *imgd, int *ext, 
00048                            vtkProcessObject *po, int id);
00050 
00053   void NextSpan();
00054   
00055 protected:
00056   vtkProcessObject *ProcessObject;
00057   unsigned long     Count;
00058   unsigned long     Count2;
00059   unsigned long     Target;
00060   int               ID;
00061 };
00062 
00063 #ifdef VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION
00064 #include "vtkImageProgressIterator.txx"
00065 #endif
00066 
00067 #endif