VTK
|
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 "vtkFiltersGeneralModule.h" // For export macro 00027 #include "vtkMultiBlockDataSetAlgorithm.h" 00028 00029 class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkMultiBlockDataSetAlgorithm 00030 { 00031 public: 00032 static vtkBlockIdScalars* New(); 00033 vtkTypeMacro(vtkBlockIdScalars, vtkMultiBlockDataSetAlgorithm); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 //BTX 00037 protected: 00038 vtkBlockIdScalars(); 00039 ~vtkBlockIdScalars(); 00040 00041 int RequestData(vtkInformation *, 00042 vtkInformationVector **, 00043 vtkInformationVector *); 00044 00045 vtkDataObject* ColorBlock(vtkDataObject* input, int group); 00046 00047 private: 00048 vtkBlockIdScalars(const vtkBlockIdScalars&); // Not implemented. 00049 void operator=(const vtkBlockIdScalars&); // Not implemented. 00050 //ETX 00051 }; 00052 00053 #endif 00054 00055