VTK  9.1.0
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=========================================================================*/
43#ifndef vtkPointDataToCellData_h
44#define vtkPointDataToCellData_h
45
46#include "vtkDataSetAlgorithm.h"
47#include "vtkFiltersCoreModule.h" // For export macro
48
49class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
50{
51public:
53
58 void PrintSelf(ostream& os, vtkIndent indent) override;
60
62
67 vtkSetMacro(PassPointData, bool);
68 vtkGetMacro(PassPointData, bool);
69 vtkBooleanMacro(PassPointData, bool);
71
73
79 vtkSetMacro(CategoricalData, bool);
80 vtkGetMacro(CategoricalData, bool);
81 vtkBooleanMacro(CategoricalData, bool);
83
85
89 vtkSetMacro(ProcessAllArrays, bool);
90 vtkGetMacro(ProcessAllArrays, bool);
91 vtkBooleanMacro(ProcessAllArrays, bool);
93
99 virtual void AddPointDataArray(const char* name);
100
106 virtual void RemovePointDataArray(const char* name);
107
112 virtual void ClearPointDataArrays();
113
114protected:
117
119 vtkInformationVector* outputVector) override;
120
124
125 class Internals;
126 Internals* Implementation;
127
128private:
130 void operator=(const vtkPointDataToCellData&) = delete;
131};
132
133#endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
@ name
Definition: vtkX3D.h:225