VTK
dox/Filters/General/vtkOverlappingAMRLevelIdScalars.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOverlappingAMRLevelIdScalars.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 =========================================================================*/
00023 #ifndef __vtkOverlappingAMRLevelIdScalars_h
00024 #define __vtkOverlappingAMRLevelIdScalars_h
00025 
00026 #include "vtkFiltersGeneralModule.h" // For export macro
00027 #include "vtkOverlappingAMRAlgorithm.h"
00028 
00029 class vtkUniformGrid;
00030 class vtkUniformGridAMR;
00031 
00032 class VTKFILTERSGENERAL_EXPORT vtkOverlappingAMRLevelIdScalars :
00033   public vtkOverlappingAMRAlgorithm
00034 {
00035 public:
00036   static vtkOverlappingAMRLevelIdScalars* New();
00037   vtkTypeMacro(vtkOverlappingAMRLevelIdScalars,vtkOverlappingAMRAlgorithm);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00040 //BTX
00041 protected:
00042   vtkOverlappingAMRLevelIdScalars();
00043   ~vtkOverlappingAMRLevelIdScalars();
00044 
00045   int RequestData(vtkInformation *,
00046                   vtkInformationVector **,
00047                   vtkInformationVector *);
00048 
00049   void AddColorLevels(vtkUniformGridAMR *input, vtkUniformGridAMR *output);
00050   vtkUniformGrid* ColorLevel(vtkUniformGrid* input, int group);
00051 
00052 private:
00053   vtkOverlappingAMRLevelIdScalars(const vtkOverlappingAMRLevelIdScalars&); // Not implemented.
00054   void operator=(const vtkOverlappingAMRLevelIdScalars&); // Not implemented.
00055 //ETX
00056 };
00057 
00058 #endif