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