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

vtkMultiBlockDataVisitor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiBlockDataVisitor.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 =========================================================================*/
00034 #ifndef __vtkMultiBlockDataVisitor_h
00035 #define __vtkMultiBlockDataVisitor_h
00036 
00037 #include "vtkCompositeDataVisitor.h"
00038 
00039 class vtkCompositeDataIterator;
00040 class vtkDataSet;
00041 class vtkMultiBlockDataIterator;
00042 
00043 class VTK_FILTERING_EXPORT vtkMultiBlockDataVisitor : public vtkCompositeDataVisitor
00044 {
00045 public:
00046   static vtkMultiBlockDataVisitor *New();
00047 
00048   vtkTypeRevisionMacro(vtkMultiBlockDataVisitor,vtkCompositeDataVisitor);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00053   void SetDataIterator(vtkMultiBlockDataIterator* it);
00054   vtkGetObjectMacro(DataIterator, vtkMultiBlockDataIterator);
00056 
00058   virtual void Execute();
00059 
00060 protected:
00061   vtkMultiBlockDataVisitor(); 
00062   virtual ~vtkMultiBlockDataVisitor(); 
00063 
00064   vtkMultiBlockDataIterator* DataIterator;
00065 
00066   void ExecuteDataSet(vtkDataSet* ds);
00067   void ExecuteCompositeDataSet(vtkCompositeDataIterator* iter);
00068 
00069 private:
00070   vtkMultiBlockDataVisitor(const vtkMultiBlockDataVisitor&);  // Not implemented.
00071   void operator=(const vtkMultiBlockDataVisitor&);  // Not implemented.
00072 };
00073 
00074 #endif
00075