VTK
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 =========================================================================*/
41 #ifndef vtkCellDataToPointData_h
42 #define vtkCellDataToPointData_h
43 
44 #include "vtkFiltersCoreModule.h" // For export macro
45 #include "vtkDataSetAlgorithm.h"
46 
47 class vtkDataSet;
48 
49 class VTKFILTERSCORE_EXPORT vtkCellDataToPointData : public vtkDataSetAlgorithm
50 {
51 public:
52  static vtkCellDataToPointData *New();
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
57 
62  vtkSetMacro(PassCellData,int);
63  vtkGetMacro(PassCellData,int);
64  vtkBooleanMacro(PassCellData,int);
66 
67 protected:
69  ~vtkCellDataToPointData() VTK_OVERRIDE {}
70 
71  int RequestData(vtkInformation* request,
72  vtkInformationVector** inputVector,
73  vtkInformationVector* outputVector) VTK_OVERRIDE;
74 
75  // Special traversal algorithm for unstructured grid
76  int RequestDataForUnstructuredGrid
78 
79  void interpolatePointData(vtkDataSet *input, vtkDataSet *output);
80 
81  // Same as above, but with special handling for masked cells in input.
82  void interpolatePointDataWithMask(vtkStructuredGrid *input,
83  vtkDataSet *output);
84 
86 private:
87  vtkCellDataToPointData(const vtkCellDataToPointData&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkCellDataToPointData&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
92 
93 
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
map cell data to point data
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
topologically regular array of data
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()