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 =========================================================================*/ 00024 #ifndef __vtkExtractDataSets_h 00025 #define __vtkExtractDataSets_h 00026 00027 #include "vtkHierarchicalBoxDataSetAlgorithm.h" 00028 00029 class VTK_GRAPHICS_EXPORT vtkExtractDataSets : public vtkHierarchicalBoxDataSetAlgorithm 00030 { 00031 public: 00032 static vtkExtractDataSets* New(); 00033 vtkTypeMacro(vtkExtractDataSets, vtkHierarchicalBoxDataSetAlgorithm); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00037 void AddDataSet(unsigned int level, unsigned int idx); 00038 00040 void ClearDataSetList(); 00041 00042 //BTX 00043 protected: 00044 vtkExtractDataSets(); 00045 ~vtkExtractDataSets(); 00046 00047 virtual int RequestData(vtkInformation *, 00048 vtkInformationVector **, 00049 vtkInformationVector *); 00050 00051 private: 00052 vtkExtractDataSets(const vtkExtractDataSets&); // Not implemented. 00053 void operator=(const vtkExtractDataSets&); // Not implemented. 00054 00055 class vtkInternals; 00056 vtkInternals* Internals; 00057 //ETX 00058 }; 00059 00060 #endif 00061 00062