VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkNonOverlappingAMRLevelIdScalars.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkNonOverlappingAMRLevelIdScalars.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef __vtkNonOverlappingAMRLevelIdScalars_h
24 #define __vtkNonOverlappingAMRLevelIdScalars_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 #include "vtkNonOverlappingAMRAlgorithm.h"
28 
29 class vtkUniformGrid;
30 class vtkUniformGridAMR;
31 
32 class VTKFILTERSGENERAL_EXPORT vtkNonOverlappingAMRLevelIdScalars :
33  public vtkNonOverlappingAMRAlgorithm
34 {
35 public:
37  vtkTypeMacro(vtkNonOverlappingAMRLevelIdScalars,vtkNonOverlappingAMRAlgorithm);
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40 //BTX
41 protected:
44 
45  int RequestData(vtkInformation *,
46  vtkInformationVector **,
47  vtkInformationVector *);
48 
49  void AddColorLevels(vtkUniformGridAMR *input, vtkUniformGridAMR *output);
50  vtkUniformGrid* ColorLevel(vtkUniformGrid* input, int group);
51 
52 private:
54  void operator=(const vtkNonOverlappingAMRLevelIdScalars&); // Not implemented.
55 //ETX
56 };
57 
58 #endif