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

Common/vtkMultiBlockDataSet.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiBlockDataSet.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 =========================================================================*/
00035 #ifndef __vtkMultiBlockDataSet_h
00036 #define __vtkMultiBlockDataSet_h
00037 
00038 #include "vtkCompositeDataSet.h"
00039 
00040 class vtkDataSet;
00041 class vtkMultiBlockDataIterator;
00042 class vtkMultiBlockDataSetInternal;
00043 
00044 class VTK_COMMON_EXPORT vtkMultiBlockDataSet : public vtkCompositeDataSet
00045 {
00046 public:
00047   static vtkMultiBlockDataSet *New();
00048 
00049   vtkTypeRevisionMacro(vtkMultiBlockDataSet,vtkCompositeDataSet);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053   virtual vtkCompositeDataIterator* NewIterator();
00054 
00056   virtual vtkCompositeDataVisitor* NewVisitor();
00057 
00060   virtual int GetDataObjectType() {return VTK_MULTI_BLOCK_DATA_SET;}
00061 
00063   void AddDataSet(vtkDataObject* data);
00064 
00065   // Rescription:
00066   // Restore data object to initial state,
00067   virtual void Initialize();
00068 
00069 //BTX
00070   // Note that vtkMultiBlockDataIterator is dependent on the implementation
00071   // of the data structure in this class. Changes to the data structure
00072   // might require changes to vtkMultiBlockDataIterator.
00073   friend class vtkMultiBlockDataIterator;
00074 //ETX
00075 
00076 protected:
00077   vtkMultiBlockDataSet();
00078   ~vtkMultiBlockDataSet();
00079 
00080   vtkMultiBlockDataSetInternal* Internal;
00081 
00082 private:
00083   vtkMultiBlockDataSet(const vtkMultiBlockDataSet&);  // Not implemented.
00084   void operator=(const vtkMultiBlockDataSet&);  // Not implemented.
00085 };
00086 
00087 #endif
00088