VTK  9.3.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 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
42 {
43 public:
45 
48  static vtkPointDataToCellData* New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
59  vtkSetMacro(PassPointData, bool);
60  vtkGetMacro(PassPointData, bool);
61  vtkBooleanMacro(PassPointData, bool);
63 
65 
71  vtkSetMacro(CategoricalData, bool);
72  vtkGetMacro(CategoricalData, bool);
73  vtkBooleanMacro(CategoricalData, bool);
75 
77 
81  vtkSetMacro(ProcessAllArrays, bool);
82  vtkGetMacro(ProcessAllArrays, bool);
83  vtkBooleanMacro(ProcessAllArrays, bool);
85 
91  virtual void AddPointDataArray(const char* name);
92 
98  virtual void RemovePointDataArray(const char* name);
99 
104  virtual void ClearPointDataArrays();
105 
106 protected:
108  ~vtkPointDataToCellData() override;
109 
110  virtual vtkIdType GetNumberOfPointArraysToProcess();
111  virtual void GetPointArraysToProcess(const char* names[]);
112 
113  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
114  vtkInformationVector* outputVector) override;
115 
119 
120  class Internals;
121  Internals* Implementation;
122 
123 private:
125  void operator=(const vtkPointDataToCellData&) = delete;
126 };
127 
128 VTK_ABI_NAMESPACE_END
129 #endif
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:315
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.
Superclass for algorithms that produce output of the same type as input.
map point data to cell data
static vtkDataSetAlgorithm * New()