VTK  9.2.6
vtkPointDataToCellData.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPointDataToCellData.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=========================================================================*/
46#ifndef vtkPointDataToCellData_h
47#define vtkPointDataToCellData_h
48
49#include "vtkDataSetAlgorithm.h"
50#include "vtkFiltersCoreModule.h" // For export macro
51
52class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
53{
54public:
56
61 void PrintSelf(ostream& os, vtkIndent indent) override;
63
65
70 vtkSetMacro(PassPointData, bool);
71 vtkGetMacro(PassPointData, bool);
72 vtkBooleanMacro(PassPointData, bool);
74
76
82 vtkSetMacro(CategoricalData, bool);
83 vtkGetMacro(CategoricalData, bool);
84 vtkBooleanMacro(CategoricalData, bool);
86
88
92 vtkSetMacro(ProcessAllArrays, bool);
93 vtkGetMacro(ProcessAllArrays, bool);
94 vtkBooleanMacro(ProcessAllArrays, bool);
96
102 virtual void AddPointDataArray(const char* name);
103
109 virtual void RemovePointDataArray(const char* name);
110
115 virtual void ClearPointDataArrays();
116
117protected:
120
122 vtkInformationVector* outputVector) override;
123
127
128 class Internals;
129 Internals* Implementation;
130
131private:
133 void operator=(const vtkPointDataToCellData&) = delete;
134};
135
136#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
map point data to cell data
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 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.