VTK  9.5.20250901
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
41VTK_ABI_NAMESPACE_BEGIN
43{
44public:
46
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
107protected:
110
112 virtual void GetPointArraysToProcess(const char* names[]);
113
115 vtkInformationVector* outputVector) override;
116
120
121 class Internals;
122 Internals* Implementation;
123
124private:
126 void operator=(const vtkPointDataToCellData&) = delete;
127};
128
129VTK_ABI_NAMESPACE_END
130#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
map point data to cell data
virtual vtkIdType GetNumberOfPointArraysToProcess()
static vtkPointDataToCellData * New()
Standard methods for instantiation, type information, and printing.
virtual void RemovePointDataArray(const char *name)
Removes an array to be processed.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual void GetPointArraysToProcess(const char *names[])
virtual void ClearPointDataArrays()
Removes all arrays to be processed from the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
~vtkPointDataToCellData() override
virtual void AddPointDataArray(const char *name)
Adds an array to be processed.
int vtkIdType
Definition vtkType.h:332
#define VTK_MARSHALAUTO