VTK  9.4.20241218
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
40VTK_ABI_NAMESPACE_BEGIN
41class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
42{
43public:
45
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
106protected:
109
111 virtual void GetPointArraysToProcess(const char* names[]);
112
114 vtkInformationVector* outputVector) override;
115
119
120 class Internals;
121 Internals* Implementation;
122
123private:
125 void operator=(const vtkPointDataToCellData&) = delete;
126};
127
128VTK_ABI_NAMESPACE_END
129#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:315