VTK
dox/Graphics/vtkExtractLevel.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractLevel.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 =========================================================================*/
00026 #ifndef __vtkExtractLevel_h
00027 #define __vtkExtractLevel_h
00028 
00029 #include "vtkHierarchicalBoxDataSetAlgorithm.h"
00030 
00031 class VTK_GRAPHICS_EXPORT vtkExtractLevel : public vtkHierarchicalBoxDataSetAlgorithm
00032 {
00033 public:
00034   static vtkExtractLevel* New();
00035   vtkTypeMacro(vtkExtractLevel, vtkHierarchicalBoxDataSetAlgorithm);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00038 
00040 
00042   void AddLevel(unsigned int level);
00043   void RemoveLevel(unsigned int level);
00044   void RemoveAllLevels();
00046 
00047 //BTX
00048 protected:
00049   vtkExtractLevel();
00050   ~vtkExtractLevel();
00051 
00053   virtual int RequestData(vtkInformation *, 
00054                           vtkInformationVector **, 
00055                           vtkInformationVector *);
00056 
00057 private:
00058   vtkExtractLevel(const vtkExtractLevel&); // Not implemented.
00059   void operator=(const vtkExtractLevel&); // Not implemented.
00060 
00061   class vtkSet;
00062   vtkSet* Levels;
00063 //ETX
00064 };
00065 
00066 #endif
00067 
00068