VTK
dox/Filters/Extraction/vtkExtractDataSets.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractDataSets.h
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 =========================================================================*/
00028 #ifndef __vtkExtractDataSets_h
00029 #define __vtkExtractDataSets_h
00030 
00031 #include "vtkFiltersExtractionModule.h" // For export macro
00032 #include "vtkMultiBlockDataSetAlgorithm.h"
00033 
00034 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets :
00035           public vtkMultiBlockDataSetAlgorithm
00036 {
00037 public:
00038   static vtkExtractDataSets* New();
00039   vtkTypeMacro(vtkExtractDataSets, vtkMultiBlockDataSetAlgorithm);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043   void AddDataSet(unsigned int level, unsigned int idx);
00044 
00046   void ClearDataSetList();
00047 
00048 //BTX
00049 protected:
00050   vtkExtractDataSets();
00051   ~vtkExtractDataSets();
00052 
00053   virtual int RequestData(vtkInformation *,
00054                           vtkInformationVector **,
00055                           vtkInformationVector *);
00056   virtual int FillInputPortInformation(int port, vtkInformation *info);
00057   virtual int FillOutputPortInformation(int port, vtkInformation *info);
00058 
00059 private:
00060   vtkExtractDataSets(const vtkExtractDataSets&); // Not implemented.
00061   void operator=(const vtkExtractDataSets&); // Not implemented.
00062 
00063   class vtkInternals;
00064   vtkInternals* Internals;
00065 //ETX
00066 };
00067 
00068 #endif
00069 
00070