VTK  9.7.1
vtkPointDataToCellData.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
34 #ifndef vtkPointDataToCellData_h
35 #define vtkPointDataToCellData_h
36 
37 #include "vtkDataSetAlgorithm.h"
38 #include "vtkFiltersCoreModule.h" // For export macro
39 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkPointDataToCellData : public vtkDataSetAlgorithm
43 {
44 public:
46 
49  static vtkPointDataToCellData* New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
60  vtkSetMacro(PassPointData, bool);
61  vtkGetMacro(PassPointData, bool);
62  vtkBooleanMacro(PassPointData, bool);
64 
66 
72  vtkSetMacro(CategoricalData, bool);
73  vtkGetMacro(CategoricalData, bool);
74  vtkBooleanMacro(CategoricalData, bool);
76 
78 
82  vtkSetMacro(ProcessAllArrays, bool);
83  vtkGetMacro(ProcessAllArrays, bool);
84  vtkBooleanMacro(ProcessAllArrays, bool);
86 
92  virtual void AddPointDataArray(const char* name);
93 
99  virtual void RemovePointDataArray(const char* name);
100 
105  virtual void ClearPointDataArrays();
106 
107 protected:
109  ~vtkPointDataToCellData() override;
110 
111  virtual vtkIdType GetNumberOfPointArraysToProcess();
112  virtual void GetPointArraysToProcess(const char* names[]);
113 
114  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
115  vtkInformationVector* outputVector) override;
116 
120 
121  class Internals;
122  Internals* Implementation;
123 
124 private:
126  void operator=(const vtkPointDataToCellData&) = delete;
127 };
128 
129 VTK_ABI_NAMESPACE_END
130 #endif
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:363
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
Superclass for algorithms that produce output of the same type as input.
map point data to cell data
static vtkDataSetAlgorithm * New()
#define vtkPointDataToCellData