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 =========================================================================*/
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 
49 {
50 public:
51  static vtkCellDataToPointData *New();
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
75 
76  void interpolatePointData(vtkDataSet *input, vtkDataSet *output);
77 
78  // Same as above, but with special handling for masked cells in input.
79  void interpolatePointDataWithMask(vtkStructuredGrid *input,
80  vtkDataSet *output);
81 
83 private:
84  vtkCellDataToPointData(const vtkCellDataToPointData&); // Not implemented.
85  void operator=(const vtkCellDataToPointData&); // Not implemented.
86 };
87 
88 #endif
89 
90 
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
#define VTKFILTERSCORE_EXPORT
map cell data to point data
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
topologically regular array of data
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()