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

vtkCompositeDataIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCompositeDataIterator.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 =========================================================================*/
00023 #ifndef __vtkCompositeDataIterator_h
00024 #define __vtkCompositeDataIterator_h
00025 
00026 #include "vtkObject.h"
00027 
00028 class vtkDataObject;
00029 
00030 class VTK_FILTERING_EXPORT vtkCompositeDataIterator : public vtkObject
00031 {
00032 public:
00033   vtkTypeRevisionMacro(vtkCompositeDataIterator,vtkObject);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037   void InitTraversal() { this->GoToFirstItem(); }
00038 
00040   virtual void GoToFirstItem() = 0;
00041 
00043   virtual void GoToNextItem() = 0;
00044 
00047   virtual int IsDoneWithTraversal() = 0;
00048 
00051   virtual vtkDataObject* GetCurrentDataObject() = 0;
00052 
00053 protected:
00054   vtkCompositeDataIterator(); 
00055   virtual ~vtkCompositeDataIterator(); 
00056 
00057 private:
00058   vtkCompositeDataIterator(const vtkCompositeDataIterator&);  // Not implemented.
00059   void operator=(const vtkCompositeDataIterator&);  // Not implemented.
00060 };
00061 
00062 #endif
00063 

Generated on Mon Jan 21 23:07:18 2008 for VTK by  doxygen 1.4.3-20050530