VTK
dox/Graphics/vtkCellDataToPointData.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCellDataToPointData.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 =========================================================================*/
00040 #ifndef __vtkCellDataToPointData_h
00041 #define __vtkCellDataToPointData_h
00042 
00043 #include "vtkDataSetAlgorithm.h"
00044 
00045 class vtkDataSet;
00046 
00047 class VTK_GRAPHICS_EXPORT vtkCellDataToPointData : public vtkDataSetAlgorithm
00048 {
00049 public:
00050   static vtkCellDataToPointData *New();
00051   vtkTypeMacro(vtkCellDataToPointData,vtkDataSetAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00058   vtkSetMacro(PassCellData,int);
00059   vtkGetMacro(PassCellData,int);
00060   vtkBooleanMacro(PassCellData,int);
00062 
00063 protected:
00064   vtkCellDataToPointData();
00065   ~vtkCellDataToPointData() {};
00066 
00067   virtual int RequestData(vtkInformation* request,
00068                           vtkInformationVector** inputVector,
00069                           vtkInformationVector* outputVector);
00070 
00071   // Special traversal algorithm for unstructured grid
00072   int RequestDataForUnstructuredGrid
00073     (vtkInformation*, vtkInformationVector**, vtkInformationVector*);
00074 
00075   int PassCellData;
00076 private:
00077   vtkCellDataToPointData(const vtkCellDataToPointData&);  // Not implemented.
00078   void operator=(const vtkCellDataToPointData&);  // Not implemented.
00079 };
00080 
00081 #endif
00082 
00083