Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkHierarchicalDataExtractLevel.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkHierarchicalDataExtractLevel.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 =========================================================================*/
00028 #ifndef __vtkHierarchicalDataExtractLevel_h
00029 #define __vtkHierarchicalDataExtractLevel_h
00030 
00031 #include "vtkHierarchicalDataSetAlgorithm.h"
00032 
00033 class VTK_GRAPHICS_EXPORT vtkHierarchicalDataExtractLevel : public vtkHierarchicalDataSetAlgorithm 
00034 {
00035 public:
00036   vtkTypeRevisionMacro(vtkHierarchicalDataExtractLevel,vtkHierarchicalDataSetAlgorithm);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00039   static vtkHierarchicalDataExtractLevel *New();
00040 
00042 
00043   vtkSetMacro(MinLevel, unsigned int);
00044   vtkGetMacro(MinLevel, unsigned int);
00046 
00048 
00049   vtkSetMacro(MaxLevel, unsigned int);
00050   vtkGetMacro(MaxLevel, unsigned int);
00052 
00054 
00055   void SetLevelRange(unsigned int min, unsigned int max)
00056     {
00057       this->SetMinLevel(min);
00058       this->SetMaxLevel(max);
00059     }
00061 
00063 
00064   vtkGetVector2Macro(InputLevels, int);
00066 
00067 protected:
00068   vtkHierarchicalDataExtractLevel();
00069   ~vtkHierarchicalDataExtractLevel();
00070 
00071   virtual int RequestDataObject(vtkInformation* request, 
00072                                 vtkInformationVector** inputVector, 
00073                                 vtkInformationVector* outputVector);
00074   virtual int RequestInformation(vtkInformation *, 
00075                                  vtkInformationVector **, 
00076                                  vtkInformationVector *);
00077   virtual int RequestData(vtkInformation *, 
00078                           vtkInformationVector **, 
00079                           vtkInformationVector *);
00080 
00081   unsigned int MinLevel;
00082   unsigned int MaxLevel;
00083   int InputLevels[2];
00084 
00085 private:
00086   vtkHierarchicalDataExtractLevel(const vtkHierarchicalDataExtractLevel&);  // Not implemented.
00087   void operator=(const vtkHierarchicalDataExtractLevel&);  // Not implemented.
00088 };
00089 
00090 #endif
00091 
00092 

Generated on Mon Jan 21 23:07:25 2008 for VTK by  doxygen 1.4.3-20050530