VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkCellDataToPointData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCellDataToPointData.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
40 #ifndef __vtkCellDataToPointData_h
41 #define __vtkCellDataToPointData_h
42 
43 #include "vtkFiltersCoreModule.h" // For export macro
44 #include "vtkDataSetAlgorithm.h"
45 
46 class vtkDataSet;
47 
48 class VTKFILTERSCORE_EXPORT vtkCellDataToPointData : public vtkDataSetAlgorithm
49 {
50 public:
51  static vtkCellDataToPointData *New();
52  vtkTypeMacro(vtkCellDataToPointData,vtkDataSetAlgorithm);
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
59  vtkSetMacro(PassCellData,int);
60  vtkGetMacro(PassCellData,int);
61  vtkBooleanMacro(PassCellData,int);
63 
64 protected:
67 
68  virtual int RequestData(vtkInformation* request,
69  vtkInformationVector** inputVector,
70  vtkInformationVector* outputVector);
71 
72  // Special traversal algorithm for unstructured grid
73  int RequestDataForUnstructuredGrid
74  (vtkInformation*, vtkInformationVector**, vtkInformationVector*);
75 
77 private:
78  vtkCellDataToPointData(const vtkCellDataToPointData&); // Not implemented.
79  void operator=(const vtkCellDataToPointData&); // Not implemented.
80 };
81 
82 #endif
83 
84 
map cell data to point data