00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractLevel.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 =========================================================================*/ 00023 #ifndef __vtkExtractLevel_h 00024 #define __vtkExtractLevel_h 00025 00026 #include "vtkHierarchicalBoxDataSetAlgorithm.h" 00027 00028 class VTK_GRAPHICS_EXPORT vtkExtractLevel : public vtkHierarchicalBoxDataSetAlgorithm 00029 { 00030 public: 00031 static vtkExtractLevel* New(); 00032 vtkTypeRevisionMacro(vtkExtractLevel, vtkHierarchicalBoxDataSetAlgorithm); 00033 void PrintSelf(ostream& os, vtkIndent indent); 00034 00035 00037 00039 void AddLevel(unsigned int level); 00040 void RemoveLevel(unsigned int level); 00041 void RemoveAllLevels(); 00043 00044 //BTX 00045 protected: 00046 vtkExtractLevel(); 00047 ~vtkExtractLevel(); 00048 00050 virtual int RequestData(vtkInformation *, 00051 vtkInformationVector **, 00052 vtkInformationVector *); 00053 00054 private: 00055 vtkExtractLevel(const vtkExtractLevel&); // Not implemented. 00056 void operator=(const vtkExtractLevel&); // Not implemented. 00057 00058 class vtkSet; 00059 vtkSet* Levels; 00060 //ETX 00061 }; 00062 00063 #endif 00064 00065