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

vtkMultiBlockDataIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiBlockDataIterator.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 =========================================================================*/
00032 #ifndef __vtkMultiBlockDataIterator_h
00033 #define __vtkMultiBlockDataIterator_h
00034 
00035 #include "vtkCompositeDataIterator.h"
00036 
00037 class vtkMultiBlockDataSet;
00038 class vtkMultiBlockDataIteratorInternal;
00039 
00040 class VTK_FILTERING_EXPORT vtkMultiBlockDataIterator : public vtkCompositeDataIterator
00041 {
00042 public:
00043   static vtkMultiBlockDataIterator *New();
00044 
00045   vtkTypeRevisionMacro(vtkMultiBlockDataIterator,vtkCompositeDataIterator);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049   virtual void GoToFirstItem();
00050 
00052   virtual void GoToNextItem();
00053 
00056   virtual int IsDoneWithTraversal();
00057 
00060   virtual vtkDataObject* GetCurrentDataObject();
00061 
00063 
00064   void SetDataSet(vtkMultiBlockDataSet* dataset);
00065   vtkGetObjectMacro(DataSet, vtkMultiBlockDataSet);
00067 
00068 protected:
00069   vtkMultiBlockDataIterator(); 
00070   virtual ~vtkMultiBlockDataIterator(); 
00071 
00072   vtkMultiBlockDataSet* DataSet;
00073   vtkMultiBlockDataIteratorInternal* Internal;
00074 
00075 private:
00076   vtkMultiBlockDataIterator(const vtkMultiBlockDataIterator&);  // Not implemented.
00077   void operator=(const vtkMultiBlockDataIterator&);  // Not implemented.
00078 };
00079 
00080 #endif
00081