VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkNonOverlappingAMRLevelIdScalars.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 __vtkNonOverlappingAMRLevelIdScalars_h 00024 #define __vtkNonOverlappingAMRLevelIdScalars_h 00025 00026 #include "vtkFiltersGeneralModule.h" // For export macro 00027 #include "vtkNonOverlappingAMRAlgorithm.h" 00028 00029 class vtkUniformGrid; 00030 class vtkUniformGridAMR; 00031 00032 class VTKFILTERSGENERAL_EXPORT vtkNonOverlappingAMRLevelIdScalars : 00033 public vtkNonOverlappingAMRAlgorithm 00034 { 00035 public: 00036 static vtkNonOverlappingAMRLevelIdScalars* New(); 00037 vtkTypeMacro(vtkNonOverlappingAMRLevelIdScalars,vtkNonOverlappingAMRAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 //BTX 00041 protected: 00042 vtkNonOverlappingAMRLevelIdScalars(); 00043 ~vtkNonOverlappingAMRLevelIdScalars(); 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 vtkNonOverlappingAMRLevelIdScalars(const vtkNonOverlappingAMRLevelIdScalars&); // Not implemented. 00054 void operator=(const vtkNonOverlappingAMRLevelIdScalars&); // Not implemented. 00055 //ETX 00056 }; 00057 00058 #endif