VTK  9.0.3
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 =========================================================================*/
37 #ifndef vtkPointDataToCellData_h
38 #define vtkPointDataToCellData_h
39 
40 #include "vtkDataSetAlgorithm.h"
41 #include "vtkFiltersCoreModule.h" // For export macro
42 
43 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51 
56  vtkSetMacro(PassPointData, bool);
57  vtkGetMacro(PassPointData, bool);
58  vtkBooleanMacro(PassPointData, bool);
60 
62 
67  vtkSetMacro(CategoricalData, bool);
68  vtkGetMacro(CategoricalData, bool);
69  vtkBooleanMacro(CategoricalData, bool);
71 
73 
77  vtkSetMacro(ProcessAllArrays, bool);
78  vtkGetMacro(ProcessAllArrays, bool);
79  vtkBooleanMacro(ProcessAllArrays, bool);
81 
87  virtual void AddPointDataArray(const char* name);
88 
94  virtual void RemovePointDataArray(const char* name);
95 
100  virtual void ClearPointDataArrays();
101 
102 protected:
105 
106  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
107  vtkInformationVector* outputVector) override;
108 
112 
113  class Internals;
114  Internals* Implementation;
115 
116 private:
118  void operator=(const vtkPointDataToCellData&) = delete;
119 };
120 
121 #endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
map point data to cell data
static vtkPointDataToCellData * New()
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
Methods invoked by print to print information about the object including superclasses.
~vtkPointDataToCellData() override
virtual void AddPointDataArray(const char *name)
Adds an array to be processed.
@ name
Definition: vtkX3D.h:225