• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Filtering/vtkMultiPieceDataSet.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiPieceDataSet.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 __vtkMultiPieceDataSet_h
00033 #define __vtkMultiPieceDataSet_h
00034 
00035 #include "vtkCompositeDataSet.h"
00036 
00037 class vtkDataSet;
00038 class VTK_FILTERING_EXPORT vtkMultiPieceDataSet : public vtkCompositeDataSet
00039 {
00040 public:
00041   static vtkMultiPieceDataSet* New();
00042   vtkTypeRevisionMacro(vtkMultiPieceDataSet, vtkCompositeDataSet);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046   virtual int GetDataObjectType() {return VTK_MULTIPIECE_DATA_SET;}
00047 
00051   void SetNumberOfPieces(unsigned int numpieces);
00052 
00054   unsigned int GetNumberOfPieces();
00055 
00057 
00058   vtkDataSet* GetPiece(unsigned int pieceno);
00059   vtkDataObject* GetPieceAsDataObject(unsigned int pieceno);
00061 
00064   void SetPiece(unsigned int pieceno, vtkDataObject* piece);
00065 
00067 
00068   int HasMetaData(unsigned int piece)
00069     { return this->Superclass::HasChildMetaData(piece); }
00071 
00073 
00076   vtkInformation* GetMetaData(unsigned int pieceno)
00077     { return this->Superclass::GetChildMetaData(pieceno); }
00079 
00080   //BTX
00082 
00083   static vtkMultiPieceDataSet* GetData(vtkInformation* info);
00084   static vtkMultiPieceDataSet* GetData(vtkInformationVector* v, int i=0);
00085   //ETX
00087 
00089 
00090   virtual vtkInformation* GetMetaData(vtkCompositeDataIterator* iter)
00091     { return this->Superclass::GetMetaData(iter); }
00093 
00095 
00096   virtual int HasMetaData(vtkCompositeDataIterator* iter)
00097     { return this->Superclass::HasMetaData(iter); }
00099 
00100 //BTX
00101 protected:
00102   vtkMultiPieceDataSet();
00103   ~vtkMultiPieceDataSet();
00104 
00105 private:
00106   vtkMultiPieceDataSet(const vtkMultiPieceDataSet&); // Not implemented.
00107   void operator=(const vtkMultiPieceDataSet&); // Not implemented.
00108 //ETX
00109 };
00110 
00111 #endif
00112 
00113 

Generated by  doxygen 1.7.1