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 =========================================================================*/
49 #ifndef vtkCellDataToPointData_h
50 #define vtkCellDataToPointData_h
51 
52 #include "vtkFiltersCoreModule.h" // For export macro
53 #include "vtkDataSetAlgorithm.h"
54 
55 class vtkDataSet;
56 
57 class VTKFILTERSCORE_EXPORT vtkCellDataToPointData : public vtkDataSetAlgorithm
58 {
59 public:
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
66  All=0,
67  Patch=1,
68  DataSetMax=2
69  };
70 
72 
77  vtkSetMacro(PassCellData,bool);
78  vtkGetMacro(PassCellData,bool);
79  vtkBooleanMacro(PassCellData,bool);
81 
83 
87  vtkSetClampMacro(ContributingCellOption, int, 0, 2);
88  vtkGetMacro(ContributingCellOption, int);
90 
92 
96  vtkSetMacro(ProcessAllArrays, bool);
97  vtkGetMacro(ProcessAllArrays, bool);
98  vtkBooleanMacro(ProcessAllArrays, bool);
100 
106  virtual void AddCellDataArray(const char *name);
107 
113  virtual void RemoveCellDataArray(const char *name);
114 
119  virtual void ClearCellDataArrays();
120 
121 protected:
124 
126  vtkInformationVector** inputVector,
127  vtkInformationVector* outputVector) override;
128 
130 
137 
139 
141 
146 
148 
154 
159 
160  class Internals;
161  Internals *Implementation;
162 
163 private:
165  void operator=(const vtkCellDataToPointData&) = delete;
166 };
167 
168 #endif
169 
170 
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkCellDataToPointData::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkCellDataToPointData::ProcessAllArrays
bool ProcessAllArrays
Option to activate selective processing of arrays.
Definition: vtkCellDataToPointData.h:158
vtkCellDataToPointData::PassCellData
bool PassCellData
Option to pass cell data arrays through to the output.
Definition: vtkCellDataToPointData.h:144
vtkCellDataToPointData::Implementation
Internals * Implementation
Definition: vtkCellDataToPointData.h:160
vtkCellDataToPointData::vtkCellDataToPointData
vtkCellDataToPointData()
vtkCellDataToPointData::InterpolatePointData
int InterpolatePointData(vtkDataSet *input, vtkDataSet *output)
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:49
vtkCellDataToPointData::RequestDataForUnstructuredData
int RequestDataForUnstructuredData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Special algorithm for unstructured grids and polydata to make sure that we properly take into account...
vtkCellDataToPointData::New
static vtkCellDataToPointData * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkCellDataToPointData::~vtkCellDataToPointData
~vtkCellDataToPointData() override
vtkCellDataToPointData::AddCellDataArray
virtual void AddCellDataArray(const char *name)
Adds an array to be processed.
vtkCellDataToPointData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCellDataToPointData
map cell data to point data
Definition: vtkCellDataToPointData.h:58
vtkX3D::name
@ name
Definition: vtkX3D.h:219
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkDataSetAlgorithm.h
vtkCellDataToPointData::ContributingCellEnum
ContributingCellEnum
Options to choose what cells contribute to the calculation.
Definition: vtkCellDataToPointData.h:65
vtkCellDataToPointData::RemoveCellDataArray
virtual void RemoveCellDataArray(const char *name)
Removes an array to be processed.
vtkCellDataToPointData::ContributingCellOption
int ContributingCellOption
Option to specify what cells to include in the computation.
Definition: vtkCellDataToPointData.h:152
vtkCellDataToPointData::ClearCellDataArrays
virtual void ClearCellDataArrays()
Removes all arrays to be processed from the list.