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

dox/Common/vtkCompositeDataSet.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCompositeDataSet.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 =========================================================================*/ 00031 #ifndef __vtkCompositeDataSet_h 00032 #define __vtkCompositeDataSet_h 00033 00034 #include "vtkDataObject.h" 00035 00036 class vtkCompositeDataIterator; 00037 class vtkCompositeDataVisitor; 00038 00039 class VTK_COMMON_EXPORT vtkCompositeDataSet : public vtkDataObject 00040 { 00041 public: 00042 vtkTypeRevisionMacro(vtkCompositeDataSet,vtkDataObject); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00047 virtual vtkCompositeDataIterator* NewIterator() = 0; 00048 00051 virtual vtkCompositeDataVisitor* NewVisitor() = 0; 00052 00055 virtual int GetDataObjectType() {return VTK_COMPOSITE_DATA_SET;} 00056 00058 virtual void Initialize(); 00059 00061 00063 void SetUpdateExtent(int piece, int numPieces, int ghostLevel); 00064 void SetUpdateExtent(int piece, int numPieces) 00065 {this->SetUpdateExtent(piece, numPieces, 0);} 00066 void GetUpdateExtent(int &piece, int &numPieces, int &ghostLevel); 00068 00070 00071 vtkGetVector6Macro( UpdateExtent, int ); 00073 00075 00079 void SetUpdateExtent( int x1, int x2, int y1, int y2, int z1, int z2 ) 00080 { this->Superclass::SetUpdateExtent( x1, x2, y1, y2, z1, z2 ); }; 00081 void SetUpdateExtent( int ext[6] ) 00082 { this->Superclass::SetUpdateExtent( ext ); }; 00084 00085 protected: 00086 vtkCompositeDataSet(); 00087 ~vtkCompositeDataSet(); 00088 00089 private: 00090 vtkCompositeDataSet(const vtkCompositeDataSet&); // Not implemented. 00091 void operator=(const vtkCompositeDataSet&); // Not implemented. 00092 }; 00093 00094 #endif 00095