VTK  9.0.1
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:
46  static vtkPointDataToCellData* New();
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:
104  ~vtkPointDataToCellData() override;
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
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
map point data to cell data
static vtkDataSetAlgorithm * New()