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